Package jansson: Specfile
%def_with doc Name: jansson Version: 2.12 Release: alt1 Summary: C library for encoding, decoding and manipulating JSON data License: MIT Group: System/Libraries Url: http://www.digip.org/jansson/ Source: %name-%version.tar %if_with doc BuildRequires: python-module-sphinx %endif %description Jansson is a C library for encoding, decoding and manipulating JSON data. It features: - Simple and intuitive API and data model - Comprehensive documentation - No dependencies on other libraries - Full Unicode support (UTF-8) - Extensive test suite %package -n lib%name Summary: C library for encoding, decoding and manipulating JSON data Group: System/Libraries Provides: %name = %version-%release %description -n lib%name Jansson is a C library for encoding, decoding and manipulating JSON data. It features: - Simple and intuitive API and data model - Comprehensive documentation - No dependencies on other libraries - Full Unicode support (UTF-8) - Extensive test suite %package -n lib%name-devel Summary: C library for encoding, decoding and manipulating JSON data Group: Development/C Requires: lib%name = %version-%release %description -n lib%name-devel Jansson is a C library for encoding, decoding and manipulating JSON data. It features: - Simple and intuitive API and data model - Comprehensive documentation - No dependencies on other libraries - Full Unicode support (UTF-8) - Extensive test suite %prep %setup %build %autoreconf %configure %make_build %if_with doc %make html %endif %install %makeinstall_std %check %make check %files -n lib%name %_libdir/*.so.* %doc README* LICENSE CHANGES %files -n lib%name-devel %_includedir/*.h %_pkgconfigdir/* %_libdir/*so %if_with doc %doc doc/_build/html/* %endif %changelog * Thu Jun 27 2019 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.12-alt1 - 2.12 * Tue Nov 20 2018 Oleg Solovyov <mcpain@altlinux.org> 2.10-alt1 - 2.10 * Wed May 23 2018 Michael Shigorin <mike@altlinux.org> 2.7-alt2 - introduce doc knob (on by default) - minor spec cleanup * Fri Jul 08 2016 Alexey Shabalin <shaba@altlinux.ru> 2.7-alt1 - 2.7 * Mon Sep 08 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.6-alt1.git20140827 - Version 2.6 * Sat Dec 15 2012 Slava Dubrovskiy <dubrsl@altlinux.org> 2.4-alt1 - Buld for ALT |