2008-03-19 09:16:09 +00:00
|
|
|
Name: libarchive
|
2010-03-08 14:56:21 +00:00
|
|
|
Version: 2.8.1
|
2010-01-06 14:07:33 +00:00
|
|
|
Release: 1%{?dist}
|
2008-03-19 09:16:09 +00:00
|
|
|
Summary: A library for handling streaming archive formats
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD
|
2009-01-08 10:33:03 +00:00
|
|
|
URL: http://code.google.com/p/libarchive/
|
|
|
|
Source0: http://libarchive.googlecode.com/files/libarchive-%{version}.tar.gz
|
2008-03-19 09:16:09 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2009-05-12 12:38:37 +00:00
|
|
|
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: sharutils
|
2008-03-19 09:16:09 +00:00
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: bzip2-devel
|
2009-07-27 13:39:58 +00:00
|
|
|
BuildRequires: xz-devel
|
2008-12-09 10:33:03 +00:00
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
BuildRequires: libattr-devel
|
2009-05-12 12:38:37 +00:00
|
|
|
BuildRequires: openssl-devel
|
2010-01-06 14:07:33 +00:00
|
|
|
BuildRequires: libxml2-devel
|
2009-05-12 12:38:37 +00:00
|
|
|
|
|
|
|
# The patch touches Makefile.am files:
|
|
|
|
BuildRequires: automake autoconf
|
|
|
|
BuildRequires: libtool
|
2008-03-19 09:16:09 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Libarchive is a programming library that can create and read several different
|
|
|
|
streaming archive formats, including most popular tar variants, several cpio
|
|
|
|
formats, and both BSD and GNU ar variants. It can also write shar archives and
|
|
|
|
read ISO9660 CDROM images and ZIP archives.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2009-05-12 12:38:37 +00:00
|
|
|
libtoolize --force || :
|
|
|
|
autoreconf || :
|
|
|
|
%configure --disable-static --disable-bsdtar --disable-bsdcpio
|
2008-03-19 09:16:09 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING README NEWS
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_libdir}/*.so
|
2010-01-06 14:07:33 +00:00
|
|
|
%{_libdir}/pkgconfig/*
|
2008-03-19 09:16:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2010-03-08 14:56:21 +00:00
|
|
|
* Mon Mar 8 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.8.1-1
|
|
|
|
- Update to 2.8.1
|
|
|
|
|
2010-02-05 10:29:24 +00:00
|
|
|
* Fri Feb 5 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.8.0-1
|
|
|
|
- Update to 2.8.0
|
|
|
|
|
2010-01-06 14:07:33 +00:00
|
|
|
* Wed Jan 6 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.7.902a-1
|
|
|
|
- Update to 2.7.902a
|
|
|
|
|
2009-08-21 14:14:28 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.7.1-2
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-08-07 11:47:21 +00:00
|
|
|
* Fri Aug 7 2009 Tomas Bzatek <tbzatek@redhat.com> 2.7.1-1
|
|
|
|
- Update to 2.7.1
|
|
|
|
- Drop deprecated lzma dependency, libxz handles both formats
|
|
|
|
|
2009-07-27 13:39:58 +00:00
|
|
|
* Mon Jul 27 2009 Tomas Bzatek <tbzatek@redhat.com> 2.7.0-3
|
|
|
|
- Enable XZ compression format
|
|
|
|
|
2009-07-25 05:18:51 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-12 12:38:37 +00:00
|
|
|
* Tue May 12 2009 Tomas Bzatek <tbzatek@redhat.com> 2.7.0-1
|
|
|
|
- Update to 2.7.0
|
|
|
|
|
2009-03-06 10:22:51 +00:00
|
|
|
* Fri Mar 6 2009 Tomas Bzatek <tbzatek@redhat.com> 2.6.2-1
|
|
|
|
- Update to 2.6.2
|
|
|
|
|
2009-02-25 13:41:02 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-16 14:18:20 +00:00
|
|
|
* Mon Feb 16 2009 Tomas Bzatek <tbzatek@redhat.com> 2.6.1-1
|
|
|
|
- Update to 2.6.1
|
|
|
|
|
2009-01-08 10:33:03 +00:00
|
|
|
* Thu Jan 8 2009 Tomas Bzatek <tbzatek@redhat.com> 2.6.0-1
|
|
|
|
- Update to 2.6.0
|
|
|
|
|
2008-12-15 16:24:46 +00:00
|
|
|
* Mon Dec 15 2008 Tomas Bzatek <tbzatek@redhat.com> 2.5.904a-1
|
|
|
|
- Update to 2.5.904a
|
|
|
|
|
2008-12-09 10:33:03 +00:00
|
|
|
* Tue Dec 9 2008 Tomas Bzatek <tbzatek@redhat.com> 2.5.903a-2
|
|
|
|
- Add LZMA support
|
|
|
|
|
2008-12-08 16:20:40 +00:00
|
|
|
* Mon Dec 8 2008 Tomas Bzatek <tbzatek@redhat.com> 2.5.903a-1
|
|
|
|
- Update to 2.5.903a
|
|
|
|
|
2008-07-22 12:38:12 +00:00
|
|
|
* Tue Jul 22 2008 Tomas Bzatek <tbzatek@redhat.com> 2.5.5-1
|
|
|
|
- Update to 2.5.5
|
|
|
|
|
2008-04-02 09:02:41 +00:00
|
|
|
* Wed Apr 2 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.17-1
|
|
|
|
- Update to 2.4.17
|
|
|
|
|
2008-03-19 09:16:09 +00:00
|
|
|
* Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
|
|
|
|
- Initial packaging
|