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.xz
9 # Source0-md5: f7196e2fbae93d7e1f843aedee9bdf40
10 URL: http://www.nih.at/libzip/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake
13 BuildRequires: libtool >= 2:2
14 BuildRequires: tar >= 1:1.22
16 BuildRequires: zlib-devel >= 1.1.2
17 Requires: zlib >= 1.1.2
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 libzip is a C library for reading, creating, and modifying zip
22 archives. Files can be added from data buffers, files or compressed
23 data copied directly from other zip archives. Changes made without
24 closing the archive can be reverted.
26 %description -l pl.UTF-8
27 libzip jest biblioteką C do odczytu, zapisu i modyfikacji archiwów
28 zip. Pliki mogą być dodawane z buforów, plików lub skompresowanych
29 danych kopiowanych bezpośrednio z innych archiwów zip. Wykonane zmiany
30 mogą zostać cofnięte przed zamknięciem archiwum.
33 Summary: Header files for libzip library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libzip
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: zlib-devel >= 1.1.2
40 Header files for libzip library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki libzip.
46 Summary: Static libzip library
47 Summary(pl.UTF-8): Statyczna biblioteka libzip
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
52 Static libzip library.
54 %description static -l pl.UTF-8
55 Statyczna biblioteka libzip.
70 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libzip.la
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %doc README.md NEWS.md THANKS LICENSE AUTHORS
85 %attr(755,root,root) %{_bindir}/zipcmp
86 %attr(755,root,root) %{_bindir}/zipmerge
87 %attr(755,root,root) %{_libdir}/libzip.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libzip.so.4
89 %{_mandir}/man1/zipcmp.1*
90 %{_mandir}/man1/zipmerge.1*
93 %defattr(644,root,root,755)
94 %doc API-CHANGES TODO.md
95 %attr(755,root,root) %{_libdir}/libzip.so
96 %dir %{_libdir}/libzip
97 %{_libdir}/libzip/include
99 %{_pkgconfigdir}/libzip.pc
100 %{_mandir}/man3/ZIP_SOURCE_GET_ARGS.3*
101 %{_mandir}/man3/libzip.3*
102 %{_mandir}/man3/zip_*.3*
105 %defattr(644,root,root,755)