]> git.pld-linux.org Git - packages/libzip.git/blob - libzip.spec
- new
[packages/libzip.git] / libzip.spec
1 Summary:        C library for reading, creating, and modifying zip archives
2 Summary(pl):    Biblioteka C do odczytu, zapisu i modyfikacji archiwów zip
3 Name:           libzip
4 Version:        0.7.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://www.nih.at/libzip/%{name}-%{version}.tar.gz
9 # Source0-md5:  12dd752b5388e4b79a53c2ad86920b17
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
24 libzip jest bibliotek± C do odczytu, zapisu i modyfikacji archiwów
25 zip. Pliki mog± byæ dodawane z buforów, plików lub skompresowane dane,
26 mog± byæ kopiowane bezpo¶rednio z innego archiwum 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):    Pliki nag³ówkowe biblioteki libzip
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 Header files for libzip library.
37
38 %description devel -l pl
39 Pliki nag³ówkowe biblioteki libzip.
40
41 %package static
42 Summary:        Static libzip library
43 Summary(pl):    Statyczna biblioteka libzip
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static libzip library.
49
50 %description static -l pl
51 Statyczna biblioteka libzip.
52
53 %prep
54 %setup -q
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README THANKS TODO
80 %attr(755,root,root) %{_bindir}/zipcmp
81 %attr(755,root,root) %{_bindir}/zipmerge
82 %attr(755,root,root) %{_libdir}/libzip.so.*.*.*
83 %{_mandir}/man1/*.1*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libzip.so
88 %{_includedir}/zip.h
89 %{_pkgconfigdir}/libzip.pc
90 %{_libdir}/libzip.la
91 %{_mandir}/man3/*.3*
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libzip.a
This page took 0.087214 seconds and 4 git commands to generate.