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