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

Revision 3909, 2.5 KB checked in by daisuke, 13 years ago (diff)

libarchive: rebuild against liblzma.so.5

Line 
1Name:          libarchive
2Summary:       A library for handling streaming archive formats
3Version:       2.8.4
4Release:       3%{?_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* Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3
76- rebuild against liblzma.so.5
77
78* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2
79- rebuild with rpm-4.8.1 for pkg-config file
80
81* Sun Sep  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
82- new upstream release
83
84* Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
85- new upstream release
86- built with new toolchain
87
88* Wed Apr  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
89- new upstream release
90
91* Wed Apr  2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
92- Build for Vine Linux
93
94* Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
95- Initial packaging
Note: See TracBrowser for help on using the repository browser.