5 |
Summary: Library for reading and writing streaming archives |
Summary: Library for reading and writing streaming archives |
6 |
Name: libarchive |
Name: libarchive |
7 |
Version: 2.8.4 |
Version: 2.8.4 |
8 |
Release: %mkrel 2 |
Release: %mkrel 3 |
9 |
License: BSD |
License: BSD |
10 |
Group: System/Libraries |
Group: System/Libraries |
11 |
URL: http://code.google.com/p/libarchive/ |
URL: http://code.google.com/p/libarchive/ |
22 |
BuildRequires: zlib-devel |
BuildRequires: zlib-devel |
23 |
BuildRequires: lzma-devel |
BuildRequires: lzma-devel |
24 |
BuildRequires: sharutils |
BuildRequires: sharutils |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
25 |
|
|
26 |
%description |
%description |
27 |
Libarchive is a programming library that can create and read several different |
Libarchive is a programming library that can create and read several different |
79 |
create tar, pax, cpio, ar, and shar archives. |
create tar, pax, cpio, ar, and shar archives. |
80 |
|
|
81 |
%prep |
%prep |
|
|
|
82 |
%setup -q |
%setup -q |
83 |
%patch0 -p0 -b .headers |
%patch0 -p0 -b .headers |
84 |
|
|
85 |
%build |
%build |
86 |
autoreconf -fis |
autoreconf -fis |
87 |
|
|
88 |
%configure2_5x \ |
%configure2_5x --disable-static \ |
89 |
--enable-bsdtar=shared \ |
--enable-bsdtar=shared \ |
90 |
--enable-bsdcpio=shared |
--enable-bsdcpio=shared |
91 |
|
|
96 |
|
|
97 |
%makeinstall_std |
%makeinstall_std |
98 |
|
|
99 |
|
rm -f %{buildroot}%{_libdir}/*.la |
100 |
|
|
101 |
%clean |
%clean |
102 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
103 |
|
|
119 |
%files -n %{develname} |
%files -n %{develname} |
120 |
%defattr(-,root,root) |
%defattr(-,root,root) |
121 |
%attr(0755,root,root) %{_libdir}/*so |
%attr(0755,root,root) %{_libdir}/*so |
|
%attr(0644,root,root) %{_libdir}/*.*a |
|
122 |
%attr(0644,root,root) %{_libdir}/pkgconfig/libarchive.pc |
%attr(0644,root,root) %{_libdir}/pkgconfig/libarchive.pc |
123 |
%attr(0644,root,root) %{_includedir}/*.h |
%attr(0644,root,root) %{_includedir}/*.h |
124 |
%attr(0644,root,root) %{_mandir}/man3/* |
%attr(0644,root,root) %{_mandir}/man3/* |
125 |
%attr(0644,root,root) %{_mandir}/man5/* |
%attr(0644,root,root) %{_mandir}/man5/* |
|
|
|
|
|
|