Author: qboosh Date: Thu Feb 7 18:25:11 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 2.6 - License is MIT-like now
---- Files affected: SPECS: libconfuse.spec (1.8 -> 1.9) ---- Diffs: ================================================================ Index: SPECS/libconfuse.spec diff -u SPECS/libconfuse.spec:1.8 SPECS/libconfuse.spec:1.9 --- SPECS/libconfuse.spec:1.8 Thu Feb 7 18:44:20 2008 +++ SPECS/libconfuse.spec Thu Feb 7 19:25:05 2008 @@ -7,46 +7,43 @@ Summary: libConfuse - a library for parsing configuration files Summary(pl.UTF-8): libConfuse - biblioteka do analizy plików konfiguracyjnych Name: libconfuse -Version: 2.5 +Version: 2.6 Release: 1 -License: LGPL -Group: Development/Libraries -Source0: http://download.savannah.gnu.org/releases/confuse/%{_name}-%{version}.tar.gz -# Source0-md5: 4bc9b73d77ebd571ac834619ce0b3582 +License: MIT +Group: Libraries +Source0: http://bzero.se/confuse/%{_name}-%{version}.tar.gz +# Source0-md5: 0e883d66f0f58fc33585b430c652aa30 Patch0: %{name}-no_tests.patch URL: http://www.nongnu.org/confuse/ -BuildRequires: autoconf +BuildRequires: autoconf >= 2.50 BuildRequires: automake > 1.6.3 -BuildRequires: gettext-devel >= 0.14.1 +BuildRequires: gettext-devel >= 0.16.1 BuildRequires: libtool > 1.4.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -libConfuse is a configuration file parser library, licensed under the -terms of the LGPL, and written in C. It supports sections and (lists -of) values (strings, integers, floats, booleans or other sections), as -well as some other features (such as single/double-quoted strings, -environment variable expansion, functions and nested include -statements). +libConfuse is a configuration file parser library written in C. It +supports sections and (lists of) values (strings, integers, floats, +booleans or other sections), as well as some other features (such as +single/double-quoted strings, environment variable expansion, +functions and nested include statements). It makes it very easy to add configuration file capability to a -program using a simple API. The goal of libConfuse is not to be *the* -configuration file parser library with a gazillion of features. -Instead, it aims to be easy to use and quick to integrate with your -code. +program using a simple API. libConfuse aims to be easy to use and +quick to integrate with your code. %description -l pl.UTF-8 Biblioteka libConfuse jest analizatorem plików konfiguracyjnych. -Napisana została w języku C na licencji LGPL. Plik konfiguracyjny może -zawierać sekcje i listę wartości następujących typów: napisy, liczby -całkowite, zmiennoprzecinkowe, wartości logiczne. Napisy mogą być z -pojedynczym lub podwójnym cudzysłowem. Zmienne środowiskowe są -rozwijane. Można używać funkcji i zagnieżdżać wyrażenia. +Napisana została w języku C. Plik konfiguracyjny może zawierać sekcje +i listę wartości następujących typów: napisy, liczby całkowite, +zmiennoprzecinkowe, wartości logiczne. Napisy mogą być z pojedynczym +lub podwójnym cudzysłowem. Zmienne środowiskowe są rozwijane. Można +używać funkcji i zagnieżdżać wyrażenia. Biblioteka umożliwia w prosty sposób dodanie do programu obsługę -plików konfiguracyjnych używając prostego API. Celem libConfuse nie -jest stworzenie analizatora plików z milionem funkcji, ale prostej -biblioteki umożliwiającej szybką integrację z kodem programu. +plików konfiguracyjnych używając prostego API. libConfuse ma być +biblioteką prostą w użyciu i pozwalać na szybką integrację z kodem +programu. %package devel Summary: Header files for libConfuse library @@ -84,7 +81,7 @@ %{__autoheader} %{__automake} %configure \ - --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \ + %{!?with_static_libs:--disable-static} \ --enable-shared %{__make} @@ -99,7 +96,6 @@ install doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3 rm -rf examples/{ftpconf,reread,simple,*.o} -install %{name}.pc $RPM_BUILD_ROOT%{_pkgconfigdir} install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %find_lang %{_name} @@ -113,22 +109,24 @@ %files -f %{_name}.lang %defattr(644,root,root,755) %doc AUTHORS NEWS README -%attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%attr(755,root,root) %{_libdir}/libconfuse.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libconfuse.so.0 %files devel %defattr(644,root,root,755) %doc doc/html doc/tutorial-html -%attr(755,root,root) %{_libdir}/lib*.so -%{_libdir}/lib*.la -%{_includedir}/*.h -%{_pkgconfigdir}/* -%{_mandir}/man3/* +%attr(755,root,root) %{_libdir}/libconfuse.so +%{_libdir}/libconfuse.la +%{_includedir}/confuse.h +%{_pkgconfigdir}/libconfuse.pc +%{_mandir}/man3/cfg_*.3* +%{_mandir}/man3/confuse.h.3* %{_examplesdir}/%{name}-%{version} %if %{with static_libs} %files static %defattr(644,root,root,755) -%{_libdir}/lib*.a +%{_libdir}/libconfuse.a %endif %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -137,6 +135,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.9 2008-02-07 18:25:05 qboosh +- updated to 2.6 +- License is MIT-like now + Revision 1.8 2008-02-07 17:44:20 qboosh - pl fix ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libconfuse.spec?r1=1.8&r2=1.9&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
