Author: areq Date: Sat Oct 13 17:30:37 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - init PLD spec
---- Files affected: SPECS: libconfig.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libconfig.spec diff -u /dev/null SPECS/libconfig.spec:1.1 --- /dev/null Sat Oct 13 19:30:37 2007 +++ SPECS/libconfig.spec Sat Oct 13 19:30:32 2007 @@ -0,0 +1,99 @@ +# $Revision$, $Date$ +Summary: C/C++ Configuration File Library +Name: libconfig +Version: 1.1.3 +Release: 0.1 +License: GPL +Group: Libraries +Source0: http://www.hyperrealm.com/libconfig/%{name}-%{version}.tar.gz +# Source0-md5: c0cd4b5ed44bbc1dca32eafaac377e33 +URL: http://www.hyperrealm.com/main.php?s=libconfig +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Libconfig is a simple library for manipulating structured +configuration files. + +Libconfig is very compact . just 25K for the stripped C shared library +(one-fifth the size of the expat XML parser library) and 39K 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 devel +Summary: Header files for libconfig library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libconfig +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for libconfig library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki libconfig. + +%package static +Summary: Static libconfig library +Summary(pl.UTF-8): Statyczna biblioteka libconfig +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libconfig library. + +%description static -l pl.UTF-8 +Statyczna biblioteka libconfig. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS README TODO +%attr(755,root,root) %{_libdir}/lib*.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/lib*.so +%{_libdir}/lib*.la +%{_includedir}/libconfig.h* +%{_pkgconfigdir}/*.pc +%{_infodir}/libconfig* + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/10/13 17:30:32 areq +- init PLD spec + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
