1 | Name: libarchive |
---|
2 | Summary: A library for handling streaming archive formats |
---|
3 | Version: 2.8.4 |
---|
4 | Release: 4%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: BSD |
---|
8 | URL: http://code.google.com/p/libarchive/ |
---|
9 | |
---|
10 | Source0: http://libarchive.googlecode.com/files/%{name}-%{version}.tar.gz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: zlib-devel |
---|
14 | BuildRequires: bzip2-devel |
---|
15 | BuildRequires: libacl-devel |
---|
16 | BuildRequires: libattr-devel |
---|
17 | BuildRequires: openssl-devel |
---|
18 | BuildRequires: libxml2-devel |
---|
19 | BuildRequires: xz-devel |
---|
20 | BuildRequires: sharutils |
---|
21 | |
---|
22 | %description |
---|
23 | Libarchive is a programming library that can create and read several different |
---|
24 | streaming archive formats, including most popular tar variants, several cpio |
---|
25 | formats, and both BSD and GNU ar variants. It can also write shar archives and |
---|
26 | read ISO9660 CDROM images and ZIP archives. |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Development files for %{name} |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | |
---|
33 | %description devel |
---|
34 | The %{name}-devel package contains libraries and header files for |
---|
35 | developing applications that use %{name}. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q |
---|
39 | |
---|
40 | %build |
---|
41 | %configure \ |
---|
42 | --disable-static \ |
---|
43 | --disable-bsdtar --disable-bsdcpio |
---|
44 | make %{?_smp_mflags} |
---|
45 | |
---|
46 | %install |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
49 | #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS |
---|
50 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
51 | find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';' |
---|
52 | find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';' |
---|
53 | find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';' |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | %post -p /sbin/ldconfig |
---|
59 | |
---|
60 | %postun -p /sbin/ldconfig |
---|
61 | |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root,-) |
---|
65 | %doc COPYING README NEWS |
---|
66 | %{_libdir}/*.so.* |
---|
67 | |
---|
68 | %files devel |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %doc |
---|
71 | %{_includedir}/* |
---|
72 | %{_mandir}/*/* |
---|
73 | %{_libdir}/*.so |
---|
74 | %{_libdir}/pkgconfig/*.pc |
---|
75 | |
---|
76 | %changelog |
---|
77 | * Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4 |
---|
78 | - add BuildRequires: openssl-devel, libxml2-devel |
---|
79 | |
---|
80 | * Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3 |
---|
81 | - rebuild against liblzma.so.5 |
---|
82 | |
---|
83 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2 |
---|
84 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
85 | |
---|
86 | * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1 |
---|
90 | - new upstream release |
---|
91 | - built with new toolchain |
---|
92 | |
---|
93 | * Wed Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5 |
---|
97 | - Build for Vine Linux |
---|
98 | |
---|
99 | * Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1 |
---|
100 | - Initial packaging |
---|