source: projects/specs/trunk/lib/liba/libarchive/libarchive-vl.spec @ 1872

Revision 1872, 2.3 KB checked in by inagaki, 14 years ago (diff)

update: apr, libarchive
built with rpm-4.8.1: apr, hal

Line 
1Name:          libarchive
2Summary:       A library for handling streaming archive formats
3Version:       2.8.4
4Release:       1%{?_dist_release}
5
6Group:         System Environment/Libraries
7License:       BSD
8URL:           http://code.google.com/p/libarchive/
9
10Source0:       http://libarchive.googlecode.com/files/%{name}-%{version}.tar.gz
11
12BuildRoot:     %{_tmppath}/%{name}-%{version}-root
13BuildRequires: zlib-devel
14BuildRequires: bzip2-devel
15BuildRequires: libacl-devel
16BuildRequires: libattr-devel
17BuildRequires: xz-devel
18BuildRequires: sharutils
19
20%description
21Libarchive is a programming library that can create and read several different
22streaming archive formats, including most popular tar variants, several cpio
23formats, and both BSD and GNU ar variants. It can also write shar archives and
24read ISO9660 CDROM images and ZIP archives.
25
26%package       devel
27Summary:       Development files for %{name}
28Group:         Development/Libraries
29Requires:      %{name} = %{version}-%{release}
30
31%description   devel
32The %{name}-devel package contains libraries and header files for
33developing applications that use %{name}.
34
35%prep
36%setup -q
37
38%build
39%configure \
40    --disable-static \
41    --disable-bsdtar --disable-bsdcpio
42make %{?_smp_mflags}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46make install DESTDIR=$RPM_BUILD_ROOT
47#iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
48find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
49find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
50find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
51find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
52
53%clean
54rm -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  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
76- new upstream release
77
78* Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
79- new upstream release
80- built with new toolchain
81
82* Wed Apr  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
83- new upstream release
84
85* Wed Apr  2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
86- Build for Vine Linux
87
88* Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
89- Initial packaging
Note: See TracBrowser for help on using the repository browser.