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