commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2018-10-01 09:05:23 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is "libconfig" Mon Oct 1 09:05:23 2018 rev:14 rq:637116 version:1.7.2 Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2018-03-29 11:50:15.217965183 +0200 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2018-10-01 09:05:29.263889152 +0200 @@ -1,0 +2,11 @@ +Fri Sep 21 12:23:11 UTC 2018 - astie...@suse.com + +- libconfig 1.7.2: + * fix a slow memory leak +- includes changes from 1.7.1: + * Fixed a bug that caused incorrect processing of strings with +escape sequences. + * Added a new 'fsync' configuration option. +- switch to upstream bootstrapped tarball + +--- Old: libconfig-1.7.tar.gz New: libconfig-1.7.2.tar.gz Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.WsjQ3t/_old 2018-10-01 09:05:30.691887922 +0200 +++ /var/tmp/diff_new_pack.WsjQ3t/_new 2018-10-01 09:05:30.719887898 +0200 @@ -18,21 +18,16 @@ %define _soversion 11 Name: libconfig -Version:1.7 +Version:1.7.2 Release:0 Summary:A library for manipulating structured configuration files License:LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url:https://hyperrealm.github.io/libconfig -Source0: https://github.com/hyperrealm/libconfig/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL:https://hyperrealm.github.io/libconfig +Source: https://hyperrealm.github.io/libconfig/dist/%{name}-%{version}.tar.gz Source1:baselibs.conf -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: bison BuildRequires: fdupes -BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: libtool BuildRequires: makeinfo BuildRequires: pkgconfig @@ -100,17 +95,11 @@ %prep %setup -q -# remove autogenerated files -pushd lib > /dev/null -rm scanner.c scanner.h grammar.c grammar.h -popd > /dev/null - %build -autoreconf -fvi %configure \ --disable-silent-rules \ --disable-static -make -j1 +make %{?_smp_mflags} %install %make_install @@ -118,7 +107,7 @@ %fdupes -s %{buildroot}%{_docdir} %check -./tests/libconfig_tests +make %{?_smp_mflags} check %post -n libconfig%{_soversion} -p /sbin/ldconfig %postun -n libconfig%{_soversion} -p /sbin/ldconfig @@ -152,7 +141,7 @@ %{_includedir}/libconfig.h++ %{_libdir}/libconfig++.so %{_libdir}/pkgconfig/libconfig++.pc -%{_infodir}/libconfig.info%{ext_info} +%{_infodir}/libconfig.info%{?ext_info} %dir %{_libdir}/cmake %dir %{_libdir}/cmake/libconfig %dir %{_libdir}/cmake/libconfig++ ++ libconfig-1.7.tar.gz -> libconfig-1.7.2.tar.gz ++ 37778 lines of diff (skipped)
commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2018-03-29 11:50:13 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is "libconfig" Thu Mar 29 11:50:13 2018 rev:13 rq:591263 version:1.7 Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2018-02-12 10:08:22.988277553 +0100 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2018-03-29 11:50:15.217965183 +0200 @@ -1,0 +2,5 @@ +Mon Mar 26 17:06:46 CEST 2018 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + +--- Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.sY5Fos/_old 2018-03-29 11:50:15.917939972 +0200 +++ /var/tmp/diff_new_pack.sY5Fos/_new 2018-03-29 11:50:15.917939972 +0200 @@ -21,7 +21,7 @@ Version:1.7 Release:0 Summary:A library for manipulating structured configuration files -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: Development/Libraries/C and C++ Url:https://hyperrealm.github.io/libconfig Source0: https://github.com/hyperrealm/libconfig/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -126,11 +126,13 @@ %postun -n libconfig++%{_soversion} -p /sbin/ldconfig %files -n libconfig%{_soversion} -%doc AUTHORS COPYING* README +%license COPYING* +%doc AUTHORS README %{_libdir}/libconfig.so.* %files -n libconfig++%{_soversion} -%doc AUTHORS COPYING* README +%license COPYING* +%doc AUTHORS README %{_libdir}/libconfig++.so.* %files devel
commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2018-02-12 10:08:16 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is "libconfig" Mon Feb 12 10:08:16 2018 rev:12 rq:573967 version:1.7 Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2017-11-14 14:45:15.326314266 +0100 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2018-02-12 10:08:22.988277553 +0100 @@ -1,0 +2,5 @@ +Wed Feb 7 20:06:08 UTC 2018 - jeng...@inai.de + +- Ensure neutrality of description, and strip other OS mentions. + +--- Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.4Y4Jtg/_old 2018-02-12 10:08:24.476223928 +0100 +++ /var/tmp/diff_new_pack.4Y4Jtg/_new 2018-02-12 10:08:24.480223784 +0100 @@ -1,7 +1,7 @@ # # spec file for package libconfig # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: libconfig Version:1.7 Release:0 -Summary:A simple library for manipulating structured configuration files +Summary:A library for manipulating structured configuration files License:LGPL-2.1+ Group: Development/Libraries/C and C++ Url:https://hyperrealm.github.io/libconfig @@ -37,78 +37,65 @@ BuildRequires: pkgconfig %description -Libconfig is a simple library for manipulating structured -configuration files, like this one: test.cfg. This file format -is more compact and more readable than XML. And unlike XML, it -is type-aware, so it is not necessary to do string parsing in -application code. - -Libconfig is very compact — just 38K for the stripped C shared -library (less than one-fourth the size of the expat XML parser -library) and 66K for the stripped C++ shared library. This makes -it well-suited for memory-constrained systems like handheld -devices. +libconfig is a library for manipulating structured configuration +files. The supported file format is more compact and more readable +than XML. Unlike XML, it is type-aware, so it is not necessary to do +string parsing in application code. The library includes bindings for both the C and C++ languages. -It works on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X, -Solaris, FreeBSD) and Windows (2000, XP and later). %package -n libconfig%{_soversion} -Summary:Shared libraries for libconfig +Summary:C API of libconfig Group: System/Libraries %description -n libconfig%{_soversion} -Libconfig is a simple library for manipulating structured -configuration files, like this one: test.cfg. This file format -is more compact and more readable than XML. And unlike XML, it -is type-aware, so it is not necessary to do string parsing in -application code. +libconfig is a library for manipulating structured configuration +files. The supported file format is more compact and more readable +than XML. Unlike XML, it is type-aware, so it is not necessary to do +string parsing in application code. This package contains the shared libraries for libconfig. %package devel -Summary:C-Bindings development files for libconfig +Summary:C bindings development files for libconfig Group: Development/Languages/C and C++ Requires: libconfig%{_soversion} = %{version} Recommends: libconfig-doc = %{version} %description devel -Libconfig is a simple library for manipulating structured -configuration files, like this one: test.cfg. This file format -is more compact and more readable than XML. And unlike XML, it -is type-aware, so it is not necessary to do string parsing in -application code. +libconfig is a library for manipulating structured configuration +files. The supported file format is more compact and more readable +than XML. Unlike XML, it is type-aware, so it is not necessary to do +string parsing in application code. -This package contains the C-bindings development files. +This package contains the C bindings development files. %package -n libconfig++%{_soversion} -Summary:Shared libraries for libconfig +Summary:C++ API of libconfig Group: System/Libraries %description -n libconfig++%{_soversion} -Libconfig is a simple library for manipulating structured -configuration files, like this one: test.cfg. This file format -is more compact and more readable than XML. And unlike XML,
commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2017-11-14 14:45:10 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is "libconfig" Tue Nov 14 14:45:10 2017 rev:11 rq:541032 version:1.7 Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2017-07-30 11:21:02.035116552 +0200 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2017-11-14 14:45:15.326314266 +0100 @@ -1,0 +2,29 @@ +Sat Nov 11 15:08:53 UTC 2017 - aavind...@gmail.com + +- Update to 1.7: + * Redesigned the directory-include feature to avoid using +platform-specific directory scanning code, and to fix a bug in +the handling of nested includes. The application can now do its +own directory scanning and/or wildcard expansion by registering +an include function. + * Added new CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION to allow +either %f or %g-style formatting for floating point values. + * Improved the options APIs in both the C and C++ libraries. + * Improved the automatic conversion between int and int64 values. + * Fixed build errors caused by out-of-sync generated lexer and +parser source files. + * Added an API to clear an existing configuration. + * Fixed a problem where a group or list could be added to an array. + * Changed default float precision from 2 to 6. + * Modified grammar to allow trailing commas in lists and arrays. + * Removed logic that clipped negative values to 0 in (unsigned int) +cast operator. + * Updated manual and added a new chapter on other libconfig +implementations and bindings. + * Various internal code cleanup. + * Fixed failing unit tests. + * Upgraded VS2015 solution/project files to VS2017. +- Use new project URL +- sonum updated from 8 to 11 + +--- Old: libconfig-1.6.tar.gz New: libconfig-1.7.tar.gz Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.7UK1Bc/_old 2017-11-14 14:45:16.050287956 +0100 +++ /var/tmp/diff_new_pack.7UK1Bc/_new 2017-11-14 14:45:16.054287811 +0100 @@ -16,14 +16,14 @@ # -%define _soversion 8 +%define _soversion 11 Name: libconfig -Version:1.6 +Version:1.7 Release:0 Summary:A simple library for manipulating structured configuration files License:LGPL-2.1+ Group: Development/Libraries/C and C++ -Url:https://github.com/hyperrealm/libconfig +Url:https://hyperrealm.github.io/libconfig Source0: https://github.com/hyperrealm/libconfig/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:baselibs.conf BuildRequires: autoconf ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.7UK1Bc/_old 2017-11-14 14:45:16.102286066 +0100 +++ /var/tmp/diff_new_pack.7UK1Bc/_new 2017-11-14 14:45:16.106285921 +0100 @@ -1,2 +1,2 @@ -libconfig++8 -libconfig8 +libconfig++11 +libconfig11 ++ libconfig-1.6.tar.gz -> libconfig-1.7.tar.gz ++ 47822 lines of diff (skipped)
commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2017-07-30 11:21:01 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is "libconfig" Sun Jul 30 11:21:01 2017 rev:10 rq:510069 version:1.6 Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2015-06-08 08:27:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2017-07-30 11:21:02.035116552 +0200 @@ -1,0 +2,20 @@ +Thu Jul 13 09:42:53 UTC 2017 - tchva...@suse.com + +- Update to 1.6.0: + * Added include_dir feature (support for Debian-style conf.d/ +includes) (pull request #36) + * Added octal_ints feature (support for integer expressed in octal, +useful for permissions and masks in UNIX-like systems (pull req #42) + * Fixed "Removing a setting removes all siblings" (issue #41) +Props random85 + * Allow specifying the number of decimals wanted when outputting +Based upon a suggestion by zhaopingsun (issue #31) + * Make libconfig usable from CMake (pull request/issue #28) +Props thfi + * Documentation fixes +- Copyright and examples +- Included TeX patch from Debian (fixes FTBS with TeXlive) + * Resync Debian packaging +includes updated packages for GCC5 transition + +--- Old: libconfig-1.5.tar.gz New: libconfig-1.6.tar.gz Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.7cFR5G/_old 2017-07-30 11:21:03.010978966 +0200 +++ /var/tmp/diff_new_pack.7cFR5G/_new 2017-07-30 11:21:03.014978402 +0200 @@ -1,7 +1,7 @@ # # spec file for package libconfig # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,29 +16,25 @@ # -%define docbuild 0 -%define _soversion 9 +%define _soversion 8 Name: libconfig -Version:1.5 +Version:1.6 Release:0 Summary:A simple library for manipulating structured configuration files License:LGPL-2.1+ Group: Development/Libraries/C and C++ -Url:http://www.hyperrealm.com/libconfig -Source0:http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz +Url:https://github.com/hyperrealm/libconfig +Source0: https://github.com/hyperrealm/libconfig/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:baselibs.conf +BuildRequires: autoconf +BuildRequires: automake BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?docbuild} == 1 -BuildRequires: texinfo -BuildRequires: texlive -BuildRequires: texlive-latex -Requires(pre): info -%endif +BuildRequires: libtool +BuildRequires: makeinfo +BuildRequires: pkgconfig %description Libconfig is a simple library for manipulating structured @@ -114,82 +110,64 @@ This package contains the C++-bindings development files. -%if 0%{?docbuild} == 1 -%package doc -Summary:Documentation files for libconfig -Group: Documentation/Other -%if 0%{?suse_version} >= 1130 -BuildArch: noarch -%endif - -%description doc -Documentation files for package libconfig. -%endif - %prep %setup -q +# remove autogenerated files +pushd lib > /dev/null +rm scanner.c scanner.h grammar.c grammar.h +popd > /dev/null + %build -%configure -make %{?_smp_mflags} -%if 0%{?docbuild} == 1 -make %{?_smp_mflags} html -make %{?_smp_mflags} pdf -%endif +autoreconf -fvi +%configure \ + --disable-silent-rules \ + --disable-static +make -j1 %install %make_install -# clean up -pushd examples -make clean -find . -name '*.vcproj' -o -name '.deps' -exec rm -Rf '{}' '+' -popd -rm %{buildroot}%{_libdir}/*.{l,}a -%fdupes -s examples %{buildroot}%{_docdir} +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes -s %{buildroot}%{_docdir} -%post -n libconfig%{_soversion} -p /sbin/ldconfig +%check +./tests/libconfig_tests +%post -n libconfig%{_soversion} -p /sbin/ldconfig %postun -n libconfig%{_soversion} -p /sbin/ldconfig - %post -n libconfig++%{_soversion} -p /sbin/ldconfig - %postun -n libconfig++%{_soversion} -p /sbin/ldconfig -%if 0%{?docbuild} == 1 -%files doc -%defattr(-,root,root) -%doc doc/*.html doc/*.pdf examples -%endif - %files -n libconfig%{_soversion} -%defattr(-,root,root) %doc AUTHORS COPYING* README %{_libdir}/libconfig.so.*
commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2014-10-06 12:06:22 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is libconfig Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2013-01-01 12:00:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2014-10-06 12:06:25.0 +0200 @@ -1,0 +2,5 @@ +Sun Oct 5 22:19:54 UTC 2014 - jeng...@inai.de + +- Make doc subpackage noarch; improve on RPM group classification + +--- Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.9sFnpZ/_old 2014-10-06 12:06:26.0 +0200 +++ /var/tmp/diff_new_pack.9sFnpZ/_new 2014-10-06 12:06:26.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libconfig # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -# %define docbuild 0 Name: libconfig @@ -25,8 +24,9 @@ %define _soversion 9 Summary:A simple library for manipulating structured configuration files License:LGPL-2.1+ -Group: System/Libraries +Group: Development/Libraries/C and C++ Url:http://www.hyperrealm.com/main.php?s=libconfig + Source0:http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz Source1:baselibs.conf BuildRequires: bison @@ -101,7 +101,6 @@ This package contains the shared libraries for libconfig. %package -n libconfig++-devel - Summary:C++-Bindings development files for libconfig Group: Development/Languages/C and C++ Requires: libconfig++%{_soversion} = %{version} @@ -121,6 +120,9 @@ %package doc Summary:Documentation files for libconfig Group: Documentation/Other +%if 0%{?suse_version} = 1130 +BuildArch: noarch +%endif %description doc Documentation files for package libconfig. @@ -142,7 +144,7 @@ # clean up pushd examples make clean -find . -name '*.vcproj' -o -name '.deps' |xargs rm -r +find . -name '*.vcproj' -o -name '.deps' -exec rm -Rf '{}' '+' popd rm %{buildroot}%{_libdir}/*.{l,}a %fdupes -s examples %{buildroot}%{_docdir} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2013-01-01 12:00:46 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is libconfig, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2012-05-22 10:09:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2013-01-01 12:00:47.0 +0100 @@ -1,0 +2,21 @@ +Sat Dec 29 15:50:18 UTC 2012 - p.drou...@gmail.com + +- Update to 1.4.9 version: + * lib/libconfigcpp.c++ - Fixed compiler warnings in constructor + initializers + * tinytest/tiytest.c, tinytest/tinytest.h - added tt_file_exists(); + added alternate implementations of some test macros since MSVC does + not support C99 fully; added comparators for text files (ignoring + line endings) + * tests/tests.c - use tt_file_exists() rather than access(); alias + snprintf to _snprintf for MSVC; compare files as text files rather + than as binary files + * lib/scanner.l - fixed parsing issue when backslash in string is + followed by invalid escape character; reported by Jimmy Scott + * lib/scanner.c - regenerated + * lib/libconfig.h, lib/libconfig.h++, lib/Makefile.am, + doc/libconfig.texi, configure.ac - bump version numbers + * aclocal.m4, ac_config.h - regenerated + * m4/*, aux-build/*, libtool - updated to newer + +--- Old: libconfig-1.4.8.tar.gz New: libconfig-1.4.9.tar.gz Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.Mke9Qk/_old 2013-01-01 12:00:50.0 +0100 +++ /var/tmp/diff_new_pack.Mke9Qk/_new 2013-01-01 12:00:50.0 +0100 @@ -20,7 +20,7 @@ %define docbuild 0 Name: libconfig -Version:1.4.8 +Version:1.4.9 Release:0 %define _soversion 9 Summary:A simple library for manipulating structured configuration files ++ libconfig-1.4.8.tar.gz - libconfig-1.4.9.tar.gz ++ 24382 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libconfig for openSUSE:Factory
Hello community, here is the log from the commit of package libconfig for openSUSE:Factory checked in at 2012-05-22 10:09:06 Comparing /work/SRC/openSUSE:Factory/libconfig (Old) and /work/SRC/openSUSE:Factory/.libconfig.new (New) Package is libconfig, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/libconfig/libconfig.changes 2012-03-22 12:34:37.0 +0100 +++ /work/SRC/openSUSE:Factory/.libconfig.new/libconfig.changes 2012-05-22 10:09:08.0 +0200 @@ -1,0 +2,6 @@ +Sat May 19 11:25:58 UTC 2012 - davejpla...@gmail.com + +- Added baselibs.conf for 32 bit ffado +- Disabled pdf and html docs, moved info to devel package + +--- New: baselibs.conf Other differences: -- ++ libconfig.spec ++ --- /var/tmp/diff_new_pack.PD2OzJ/_old 2012-05-22 10:09:10.0 +0200 +++ /var/tmp/diff_new_pack.PD2OzJ/_new 2012-05-22 10:09:10.0 +0200 @@ -16,6 +16,9 @@ # +# +%define docbuild 0 + Name: libconfig Version:1.4.8 Release:0 @@ -24,17 +27,20 @@ License:LGPL-2.1+ Group: System/Libraries Url:http://www.hyperrealm.com/main.php?s=libconfig -Source: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz +Source0:http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz +Source1:baselibs.conf BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: pkg-config +%if 0%{?docbuild} == 1 BuildRequires: texinfo BuildRequires: texlive BuildRequires: texlive-latex -BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): info +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libconfig is a simple library for manipulating structured @@ -43,6 +49,16 @@ is type-aware, so it is not necessary to do string parsing in application code. +Libconfig is very compact — just 38K for the stripped C shared +library (less than one-fourth the size of the expat XML parser +library) and 66K for the stripped C++ shared library. This makes +it well-suited for memory-constrained systems like handheld +devices. + +The library includes bindings for both the C and C++ languages. +It works on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X, +Solaris, FreeBSD) and Windows (2000, XP and later). + %package -n libconfig%{_soversion} Summary:Shared libraries for libconfig Group: System/Libraries @@ -85,6 +101,7 @@ This package contains the shared libraries for libconfig. %package -n libconfig++-devel + Summary:C++-Bindings development files for libconfig Group: Development/Languages/C and C++ Requires: libconfig++%{_soversion} = %{version} @@ -100,21 +117,25 @@ This package contains the C++-bindings development files. +%if 0%{?docbuild} == 1 %package doc Summary:Documentation files for libconfig Group: Documentation/Other %description doc Documentation files for package libconfig. +%endif %prep %setup -q %build %configure -make %{?_smp_mflags} -make pdf +make %{?_smp_flags} +%if 0%{?docbuild} == 1 make html +make pdf +%endif %install %make_install @@ -134,16 +155,11 @@ %postun -n libconfig++%{_soversion} -p /sbin/ldconfig -%post doc -%install_info --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz - -%postun doc -%install_info_delete --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz - +%if 0%{?docbuild} == 1 %files doc %defattr(-,root,root) %doc doc/*.html doc/*.pdf examples -%{_infodir}/libconfig.info.gz +%endif %files -n libconfig%{_soversion} %defattr(-,root,root) @@ -162,11 +178,18 @@ %{_libdir}/libconfig.so %{_libdir}/pkgconfig/libconfig.pc +%post -n libconfig++-devel +%install_info --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz + +%postun -n libconfig++-devel +%install_info_delete --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz + %files -n libconfig++-devel %defattr(-,root,root) %doc ChangeLog TODO %{_includedir}/libconfig.h++ %{_libdir}/libconfig++.so %{_libdir}/pkgconfig/libconfig++.pc +%{_infodir}/libconfig.info.gz %changelog ++ baselibs.conf ++ libconfig++9 libconfig9 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org