From 35f8bc6595e8ce31135c9d608ff32822acd16b79 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:47:43 +0100 Subject: [PATCH] rebuilt to remove deps on /lib*/libacl.la [release 3.1.2-2mamba;Mon Jul 01 2013] --- README.md | 3 ++ libarchive.spec | 139 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 libarchive.spec diff --git a/README.md b/README.md index 41d6b49..24d9daa 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libarchive +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. + diff --git a/libarchive.spec b/libarchive.spec new file mode 100644 index 0000000..219b38c --- /dev/null +++ b/libarchive.spec @@ -0,0 +1,139 @@ +Name: libarchive +Version: 3.1.2 +Release: 2mamba +Summary: Single library to read/write tar, cpio, pax, zip, iso9660, etc. +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://libarchive.org/ +Source: http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libacl-devel +BuildRequires: libattr-devel +BuildRequires: libbzip2-devel +BuildRequires: liblzma-devel +BuildRequires: liblzo-devel +BuildRequires: libnettle-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: libe2fs-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +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. + +This package contains static libraries and header files need for development. + +%package tools +Group: Applications/Archiving +Summary: Archiving tools built on libarchive +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +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. +This package contains the following programs built on libarchive: + - bsdtar + A full-featured 'tar' replacement. + - bsdcpio + A different interface to cpio with essentially the same functionality. + +%prep +%setup -q + +%build +%configure \ + --enable-shared \ + --disable-static \ + --enable-bsdtar=shared \ + --enable-bsdcpio=shared \ + --enable-largefile + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +mv %{buildroot}%{_mandir}/man5/cpio.5 %{buildroot}%{_mandir}/man5/archive_cpio.5 +mv %{buildroot}%{_mandir}/man5/tar.5 %{buildroot}%{_mandir}/man5/archive_tar.5 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libarchive.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/archive_entry.h +%{_includedir}/archive.h +%{_libdir}/libarchive.la +%{_libdir}/libarchive.so +%{_libdir}/pkgconfig/libarchive.pc +%{_mandir}/man3/* +%{_mandir}/man5/* +%doc examples +%doc contrib/libarchive_autodetect-st_lib_archive.m4 +%doc NEWS README + +%files tools +%defattr(-,root,root) +%{_bindir}/bsdcpio +%{_bindir}/bsdtar +%{_mandir}/man1/bsdcpio.* +%{_mandir}/man1/bsdtar.* + +%changelog +* Mon Jul 01 2013 Silvan Calarco 3.1.2-2mamba +- rebuilt to remove deps on /lib*/libacl.la + +* Sat Apr 27 2013 Automatic Build System 3.1.2-1mamba +- update to 3.1.2 + +* Mon Dec 03 2012 Automatic Build System 3.0.4-1mamba +- update to 3.0.4 + +* Mon Apr 23 2012 Silvan Calarco 2.8.5-1mamba +- update to 2.8.5 + +* Sat Feb 18 2012 Silvan Calarco 2.8.4-3mamba +- rebuilt with new attr due to change of position of library from /usr/lib to /lib + +* Wed Jan 12 2011 Automatic Build System 2.8.4-2mamba +- automatic update by autodist + +* Wed Oct 06 2010 Silvan Calarco 2.8.4-1mamba +- update to 2.8.4 + +* Thu Nov 12 2009 Davide Madrisan 2.7.1-1mamba +- update to 2.7.1 +- fixed project and tarball URLs + +* Sun Jan 11 2009 Silvan Calarco 2.6.0-1mamba +- automatic update by autodist + +* Thu Aug 28 2008 Aleph0 2.5.5-1mamba +- update to 2.5.5 + +* Sat Mar 08 2008 Aleph0 2.4.13-1mamba +- package created by autospec