source: projects/specs/branches/6/lib/libz/libzip/libzip-vl.spec @ 1901

Revision 1901, 2.2 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

Line 
1Summary:        C library for reading, creating, and modifying zip archives
2Name:           libzip
3Version:        0.9.3
4Release:        2%{?_dist_release}
5
6Group:          System Environment/Libraries
7License:        BSD
8URL:            http://www.nih.at/libzip/index.html
9Source0:        http://www.nih.at/libzip/%{name}-%{version}.tar.bz2
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12BuildRequires:  zlib-devel >= 1.2.2
13BuildRequires:  pkgconfig
14
15%description
16libzip is a C library for reading, creating, and modifying zip archives. Files
17can be added from data buffers, files, or compressed data copied directly from
18other zip archives. Changes made without closing the archive can be reverted.
19The API is documented by man pages.
20
21%package devel
22Summary: Development files for %{name}
23Group: Development/Libraries
24Requires: %{name} = %{version}-%{release}
25Requires: pkgconfig
26Requires: zlib-devel
27
28%description devel
29The %{name}-devel package contains libraries and header files for
30developing applications that use %{name}.
31
32%prep
33%setup -q
34
35%build
36%configure --disable-static
37make %{?_smp_mflags}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
42
43find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%post -p /sbin/ldconfig
49
50%postun -p /sbin/ldconfig
51
52%files
53%defattr(-,root,root,-)
54%doc AUTHORS NEWS README THANKS TODO
55%{_bindir}/zipcmp
56%{_bindir}/zipmerge
57%{_bindir}/ziptorrent
58%{_libdir}/libzip.so.1*
59%{_mandir}/man1/*zip*
60
61%files devel
62%defattr(-,root,root,-)
63%{_includedir}/zip.h
64%{_libdir}/libzip.so
65%{_libdir}/pkgconfig/libzip.pc
66%{_mandir}/man3/*zip*
67
68
69%changelog
70* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
71- rebuild with rpm-4.8.1 for pkg-config file
72
73* Sat Mar  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.3-1
74- new upstream release
75- built with new toolchain
76
77* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9-5
78- fixed %%changelog based on libzip-0.9-1vl5(VinePlus/5.0) package
79
80* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9-4
81- Initial build for Vine Linux
82
83* Sat Feb 14 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9-1
84- initial release
85
Note: See TracBrowser for help on using the repository browser.