]> git.pld-linux.org Git - packages/libzip.git/blob - libzip.spec
- verbose man list
[packages/libzip.git] / libzip.spec
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
3 Name:           libzip
4 Version:        0.9.3
5 Release:        1
6 License:        BSD
7 Group:          Libraries
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)
16
17 %description
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.
22
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.
28
29 %package devel
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
35
36 %description devel
37 Header files for libzip library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki libzip.
41
42 %package static
43 Summary:        Static libzip library
44 Summary(pl.UTF-8):      Statyczna biblioteka libzip
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static libzip library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka libzip.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
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*
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libzip.so
93 %{_libdir}/libzip.la
94 %{_includedir}/zip.h
95 %{_pkgconfigdir}/libzip.pc
96 %{_mandir}/man3/libzip.3*
97 %{_mandir}/man3/zip_*.3*
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/libzip.a
This page took 0.079742 seconds and 4 git commands to generate.