1 Summary: C library for reading, creating, and modifying zip archives
2 Summary(pl.UTF-8): Biblioteka C do odczytu, zapisu i modyfikacji archiwów zip
8 Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.bz2
9 # Source0-md5: 27610091ca27bf843a6646cd05de35b9
10 URL: http://www.nih.at/libzip/
11 BuildRequires: autoconf >= 2.57
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: zlib-devel >= 1.1.2
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 libzip is a C library for reading, creating, and modifying zip
19 archives. Files can be added from data buffers, files or compressed
20 data copied directly from other zip archives. Changes made without
21 closing the archive can be reverted.
23 %description -l pl.UTF-8
24 libzip jest biblioteką C do odczytu, zapisu i modyfikacji archiwów
25 zip. Pliki mogą być dodawane z buforów, plików lub skompresowanych
26 danych kopiowanych bezpośrednio z innych archiwów zip. Wykonane zmiany
27 mogą zostać cofnięte przed zamknięciem archiwum.
30 Summary: Header files for libzip library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libzip
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: zlib-devel >= 1.1.2
37 Header files for libzip library.
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki libzip.
43 Summary: Static libzip library
44 Summary(pl.UTF-8): Statyczna biblioteka libzip
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static libzip library.
51 %description static -l pl.UTF-8
52 Statyczna biblioteka libzip.
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
80 %doc AUTHORS NEWS README THANKS TODO
81 %attr(755,root,root) %{_bindir}/zipcmp
82 %attr(755,root,root) %{_bindir}/zipmerge
83 %attr(755,root,root) %{_bindir}/ziptorrent
84 %attr(755,root,root) %{_libdir}/libzip.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libzip.so.1
86 %{_mandir}/man1/zipcmp.1*
87 %{_mandir}/man1/zipmerge.1*
88 %{_mandir}/man1/ziptorrent.1*
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libzip.so
95 %{_pkgconfigdir}/libzip.pc
96 %{_mandir}/man3/libzip.3*
97 %{_mandir}/man3/zip_*.3*
100 %defattr(644,root,root,755)