[packages/libarchive] - updated to 3.2.0, added bsdcat subpackage

qboosh qboosh at pld-linux.org
Wed Jun 15 18:30:15 CEST 2016


commit d9046622084d3886daf7c68359371235288f6fe9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jun 15 18:30:39 2016 +0200

    - updated to 3.2.0, added bsdcat subpackage

 libarchive.spec | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)
---
diff --git a/libarchive.spec b/libarchive.spec
index 9259160..ceaa59b 100644
--- a/libarchive.spec
+++ b/libarchive.spec
@@ -5,12 +5,12 @@
 Summary:	Multi-format archive and compression library
 Summary(pl.UTF-8):	Biblioteka do archiwizacji i kompresji w wielu formatach
 Name:		libarchive
-Version:	3.1.2
-Release:	4
+Version:	3.2.0
+Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	http://www.libarchive.org/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	efad5a503f66329bb9d2f4308b5de98a
+# Source0-md5:	596210b5a9c2ff74a0f7ca34838d655f
 Patch0:		%{name}-man_progname.patch
 URL:		http://www.libarchive.org/
 BuildRequires:	acl-devel
@@ -18,11 +18,14 @@ BuildRequires:	attr-devel
 BuildRequires:	bzip2-devel
 # for <ext2fs/ext2_fs.h>
 BuildRequires:	e2fsprogs-devel
-BuildRequires:	libxml2-devel
+BuildRequires:	libxml2-devel >= 2
+BuildRequires:	lz4-devel >= r131
 BuildRequires:	lzo-devel >= 2
 BuildRequires:	nettle-devel
+BuildRequires:	pkgconfig
 BuildRequires:	xz-devel
 BuildRequires:	zlib-devel
+Requires:	lz4-libs >= r131
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -52,6 +55,7 @@ Requires:	acl-devel
 Requires:	attr-devel
 Requires:	bzip2-devel
 Requires:	libxml2-devel
+Requires:	lz4-devel >= r131
 Requires:	nettle-devel
 Requires:	xz-devel
 Requires:	zlib-devel
@@ -74,6 +78,18 @@ Static libarchive library.
 %description static -l pl.UTF-8
 Statyczna biblioteka libarchive.
 
+%package -n bsdcat
+Summary:	bsdcat - cat(1) implementation based on libarchive
+Summary(pl.UTF-8):	bsdcat - implementacja programu cat(1) oparta na libarchive
+Group:		Applications/Archiving
+Requires:	%{name} = %{version}-%{release}
+
+%description -n bsdcat
+bsdcat - cat(1) implementation based on libarchive.
+
+%description -n bsdcat -l pl.UTF-8
+bsdcat - implementacja programu cat(1), oparta na libarchive.
+
 %package -n bsdcpio
 Summary:	bsdcpio - cpio(1) implementation based on libarchive
 Summary(pl.UTF-8):	bsdcpio - implementacja programu cpio(1) oparta na libarchive
@@ -105,6 +121,7 @@ bsdtar - implementacja programu tar(1), oparta na libarchive.
 %build
 %configure \
 	--disable-silent-rules \
+	--enable-bsdcat=shared \
 	--enable-bsdcpio=shared \
 	--enable-bsdtar=shared \
 	--enable-static%{!?with_static_libs:=no}
@@ -148,6 +165,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libarchive.a
 %endif
 
+%files -n bsdcat
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/bsdcat
+%{_mandir}/man1/bsdcat.1*
+
 %files -n bsdcpio
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bsdcpio
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libarchive.git/commitdiff/d9046622084d3886daf7c68359371235288f6fe9



More information about the pld-cvs-commit mailing list