Author: megabajt Date: Thu Jan 25 11:44:09 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: libzip.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libzip.spec diff -u /dev/null SPECS/libzip.spec:1.1 --- /dev/null Thu Jan 25 12:44:09 2007 +++ SPECS/libzip.spec Thu Jan 25 12:44:04 2007 @@ -0,0 +1,106 @@ +# $Revision$, $Date$ +Summary: C library for reading, creating, and modifying zip archives +Summary(pl): Biblioteka C do odczytu, zapisu i modyfikacji archiwów zip +Name: libzip +Version: 0.7.1 +Release: 1 +License: BSD +Group: Libraries +Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.gz +# Source0-md5: 12dd752b5388e4b79a53c2ad86920b17 +URL: http://www.nih.at/libzip/ +BuildRequires: autoconf >= 2.57 +BuildRequires: automake +BuildRequires: libtool +BuildRequires: zlib-devel >= 1.1.2 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +libzip is a C library for reading, creating, and modifying zip +archives. Files can be added from data buffers, files or compressed +data copied directly from other zip archives. Changes made without +closing the archive can be reverted. + +%description -l pl +libzip jest biblioteką C do odczytu, zapisu i modyfikacji archiwów +zip. Pliki mogą być dodawane z buforów, plików lub skompresowane dane, +mogą być kopiowane bezpośrednio z innego archiwum zip. Wykonane zmiany +mogą zostać cofnięte przed zamknięciem archiwum. + +%package devel +Summary: Header files for libzip library +Summary(pl): Pliki nagłówkowe biblioteki libzip +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for libzip library. + +%description devel -l pl +Pliki nagłówkowe biblioteki libzip. + +%package static +Summary: Static libzip library +Summary(pl): Statyczna biblioteka libzip +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libzip library. + +%description static -l pl +Statyczna biblioteka libzip. + +%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 ChangeLog NEWS README THANKS TODO +%attr(755,root,root) %{_bindir}/zipcmp +%attr(755,root,root) %{_bindir}/zipmerge +%attr(755,root,root) %{_libdir}/libzip.so.*.*.* +%{_mandir}/man1/*.1* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libzip.so +%{_includedir}/zip.h +%{_pkgconfigdir}/libzip.pc +%{_libdir}/libzip.la +%{_mandir}/man3/*.3* + +%files static +%defattr(644,root,root,755) +%{_libdir}/libzip.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/01/25 11:44:04 megabajt +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
