]> git.pld-linux.org Git - packages/libzip.git/blobdiff - libzip.spec
package ziptool program and man page
[packages/libzip.git] / libzip.spec
index 2fe17523f1c8bb2e7731fdccdef09b8e238afcbe..a8ec381536c55cdd9d9a98763770e195ebe26357 100644 (file)
@@ -1,17 +1,20 @@
 Summary:       C library for reading, creating, and modifying zip archives
-Summary(pl):   Biblioteka C do odczytu, zapisu i modyfikacji archiwów zip
+Summary(pl.UTF-8):     Biblioteka C do odczytu, zapisu i modyfikacji archiwów zip
 Name:          libzip
-Version:       0.7.1
+Version:       1.1.3
 Release:       1
 License:       BSD
 Group:         Libraries
-Source0:       http://www.nih.at/libzip/%{name}-%{version}.tar.gz
-# Source0-md5: 12dd752b5388e4b79a53c2ad86920b17
+Source0:       http://www.nih.at/libzip/%{name}-%{version}.tar.xz
+# Source0-md5: f7196e2fbae93d7e1f843aedee9bdf40
 URL:           http://www.nih.at/libzip/
-BuildRequires: autoconf >= 2.57
+BuildRequires: autoconf >= 2.60
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRequires: zlib-devel >= 1.1.2
+Requires:      zlib >= 1.1.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -20,15 +23,15 @@ 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.
+%description -l pl.UTF-8
+libzip jest biblioteką C do odczytu, zapisu i modyfikacji archiwów
+zip. Pliki mogą być dodawane z buforów, plików lub skompresowanych
+danych kopiowanych bezpośrednio z innych archiwów 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
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libzip
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      zlib-devel >= 1.1.2
@@ -36,19 +39,19 @@ Requires:   zlib-devel >= 1.1.2
 %description devel
 Header files for libzip library.
 
-%description devel -l pl
-Pliki nag³ówkowe biblioteki libzip.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libzip.
 
 %package static
 Summary:       Static libzip library
-Summary(pl):   Statyczna biblioteka libzip
+Summary(pl.UTF-8):     Statyczna biblioteka libzip
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static libzip library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka libzip.
 
 %prep
@@ -65,10 +68,11 @@ Statyczna biblioteka libzip.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libzip.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -77,19 +81,27 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%doc README.md NEWS.md THANKS LICENSE AUTHORS
 %attr(755,root,root) %{_bindir}/zipcmp
 %attr(755,root,root) %{_bindir}/zipmerge
+%attr(755,root,root) %{_bindir}/ziptool
 %attr(755,root,root) %{_libdir}/libzip.so.*.*.*
-%{_mandir}/man1/*.1*
+%attr(755,root,root) %ghost %{_libdir}/libzip.so.4
+%{_mandir}/man1/zipcmp.1*
+%{_mandir}/man1/zipmerge.1*
+%{_mandir}/man1/ziptool.1*
 
 %files devel
 %defattr(644,root,root,755)
+%doc API-CHANGES TODO.md
 %attr(755,root,root) %{_libdir}/libzip.so
+%dir %{_libdir}/libzip
+%{_libdir}/libzip/include
 %{_includedir}/zip.h
 %{_pkgconfigdir}/libzip.pc
-%{_libdir}/libzip.la
-%{_mandir}/man3/*.3*
+%{_mandir}/man3/ZIP_SOURCE_GET_ARGS.3*
+%{_mandir}/man3/libzip.3*
+%{_mandir}/man3/zip_*.3*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.090026 seconds and 4 git commands to generate.