C/C++ Configuration File Library
http://www.hyperrealm.com/main.php?s=libconfig
Libconfig is a simple library for manipulating structured configuration files. 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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:dragonagat:gnome/libconfigduo && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
libconfig-1.3.2.tar.bz2 | 0000408088 399 KB | |
libconfigduo.spec | 0000002207 2.16 KB | |
wizard.xml | 0000000827 827 Bytes |
Latest Revision
dragonagat
committed
(revision 6)
--This line, and those below, will be ignored-- Initial release A libconfig-1.3.2.tar.bz2 D libconfig-1.3.2.tar.gz M libconfigduo.spec Diff for working copy: . Index: libconfigduo.spec =================================================================== --- libconfigduo.spec (revision 5) +++ libconfigduo.spec (working copy) @@ -1,10 +1,9 @@ Name: libconfigduo -# List of additional build dependencies -#BuildRequires: gcc-c++ libxml2-devel +BuildRequires: gcc-c++ info Version: 1.3.2 Release: 1 License: LGPL v2.1 or later -Source: libconfig-1.3.2.tar.gz +Source: libconfig-%{version}.tar.bz2 Group: Development/Libraries/C and C++ Summary: C/C++ Configuration File Library @@ -16,39 +15,58 @@ readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code. +%package devel +Group: Development/Libraries/C and C++ +Summary: Development files for libconfigduo + +Þscription devel +Libconfig is a simple library for manipulating structured +configuration files. 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. %prep %setup -q -n libconfig-%version %build - -# Assume that the package is built by plain 'make' if there's no ./configure. -# This test is there only because the wizard doesn't know much about the -# package, feel free to clean it up -if test -x ./configure; then - %configure -fi -make - - +%configure +%__make %install +%makeinstall +strip "%{buildroot}%{_libdir}/libconfig.so" +strip "%{buildroot}%{_libdir}/libconfig++.so" -make DESTDIR=%buildroot install +%post +install-info "%{_infodir}/libconfig.info.gz" "%{_infodir}/dir" +ldconfig - - -# Write a proper %%files section and remove these two commands and -# the '-f filelist' option to %%files -echo '%Þfattr(-,root,root)' >filelist -find %buildroot -type f -printf '/%%P*\n' >>filelist - +%postun +install-info --remove libconfig "%{_infodir}/dir" +ldconfig %clean -rm -rf %buildroot +rm -rf %{buildroot} -%files -f filelist +%files Þfattr(-,root,root) +%{_libdir}/libconfig++.so* +%{_libdir}/libconfig.so* + +%doc %{_datadir}/info/libconfig.info.gz + +%files devel +Þfattr(-,root,root) +%{_includedir}/libconfig.h +%{_includedir}/libconfig.h++ + +%{_libdir}/libconfig++.a +%{_libdir}/libconfig++.la +%{_libdir}/libconfig.a +%{_libdir}/libconfig.la + +%{_libdir}/pkgconfig/libconfig++.pc +%{_libdir}/pkgconfig/libconfig.pc # This is a place for a proper filelist: # /usr/bin/libconfigduo @@ -61,7 +79,6 @@ # that rpmbuild will detect if the install section forgets to install # something that is listed here - %changelog * Sun Mar 29 2009 dragonagat@gmail.com -- packaged libconfigduo version 1.3.2 using the buildservice spec file wizard +- Initial libconfigduo 1.3.2 package Index: libconfig-1.3.2.tar.bz2 =================================================================== Binary file libconfig-1.3.2.tar.bz2 has changed Index: libconfig-1.3.2.tar.gz =================================================================== Binary file libconfig-1.3.2.tar.gz has changed
Comments 0