source: projects/specs/tags/6_0_REL/lib/liba/libarchive/libarchive-vl.spec @ 3913

Revision 3913, 2.7 KB checked in by Takemikaduchi, 13 years ago (diff)

add BR

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