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

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

add BR

RevLine 
[1872]1Name:          libarchive
2Summary:       A library for handling streaming archive formats
3Version:       2.8.4
[3913]4Release:       4%{?_dist_release}
[521]5
[1872]6Group:         System Environment/Libraries
7License:       BSD
8URL:           http://code.google.com/p/libarchive/
[521]9
[1872]10Source0:       http://libarchive.googlecode.com/files/%{name}-%{version}.tar.gz
11
12BuildRoot:     %{_tmppath}/%{name}-%{version}-root
[521]13BuildRequires: zlib-devel
14BuildRequires: bzip2-devel
[827]15BuildRequires: libacl-devel
16BuildRequires: libattr-devel
[3913]17BuildRequires: openssl-devel
18BuildRequires: libxml2-devel
[827]19BuildRequires: xz-devel
[521]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
[1872]28%package       devel
29Summary:       Development files for %{name}
30Group:         Development/Libraries
31Requires:      %{name} = %{version}-%{release}
[521]32
[1872]33%description   devel
[521]34The %{name}-devel package contains libraries and header files for
35developing applications that use %{name}.
36
37%prep
38%setup -q
39
40%build
[827]41%configure \
42    --disable-static \
43    --disable-bsdtar --disable-bsdcpio
[521]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
[827]74%{_libdir}/pkgconfig/*.pc
[521]75
76%changelog
[3913]77* Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4
78- add BuildRequires: openssl-devel, libxml2-devel
79
[3909]80* Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3
81- rebuild against liblzma.so.5
82
[1901]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
[1872]86* Sun Sep  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
87- new upstream release
88
[827]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
[521]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.