1 | Name: libarchive |
---|
2 | Version: 2.6.0 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: A library for handling streaming archive formats |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: BSD |
---|
8 | URL: http://people.freebsd.org/~kientzle/libarchive/ |
---|
9 | Source0: http://people.freebsd.org/~kientzle/libarchive/src/libarchive-%{version}.tar.gz |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildRequires: zlib-devel |
---|
13 | BuildRequires: bzip2-devel |
---|
14 | BuildRequires: sharutils |
---|
15 | |
---|
16 | %description |
---|
17 | Libarchive is a programming library that can create and read several different |
---|
18 | streaming archive formats, including most popular tar variants, several cpio |
---|
19 | formats, and both BSD and GNU ar variants. It can also write shar archives and |
---|
20 | read ISO9660 CDROM images and ZIP archives. |
---|
21 | |
---|
22 | %package devel |
---|
23 | Summary: Development files for %{name} |
---|
24 | Group: Development/Libraries |
---|
25 | Requires: %{name} = %{version}-%{release} |
---|
26 | |
---|
27 | %description devel |
---|
28 | The %{name}-devel package contains libraries and header files for |
---|
29 | developing applications that use %{name}. |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q |
---|
33 | |
---|
34 | %build |
---|
35 | %configure --disable-static --disable-bsdtar |
---|
36 | make %{?_smp_mflags} |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
41 | #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS |
---|
42 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
43 | find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';' |
---|
44 | find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';' |
---|
45 | find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';' |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf $RPM_BUILD_ROOT |
---|
49 | |
---|
50 | %post -p /sbin/ldconfig |
---|
51 | |
---|
52 | %postun -p /sbin/ldconfig |
---|
53 | |
---|
54 | |
---|
55 | %files |
---|
56 | %defattr(-,root,root,-) |
---|
57 | %doc COPYING README NEWS |
---|
58 | %{_libdir}/*.so.* |
---|
59 | |
---|
60 | %files devel |
---|
61 | %defattr(-,root,root,-) |
---|
62 | %doc |
---|
63 | %{_includedir}/* |
---|
64 | %{_mandir}/*/* |
---|
65 | %{_libdir}/*.so |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Wed Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1 |
---|
69 | - new upstream release |
---|
70 | |
---|
71 | * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5 |
---|
72 | - Build for Vine Linux |
---|
73 | |
---|
74 | * Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1 |
---|
75 | - Initial packaging |
---|