[packages/pixz] - up to 1.0.7

baggins baggins at pld-linux.org
Thu Oct 14 21:28:11 CEST 2021


commit ff2c8cf08569b32a4fad4e8483da5929f88d90c2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Oct 14 21:27:57 2021 +0200

    - up to 1.0.7

 pixz.spec | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/pixz.spec b/pixz.spec
index 787f54f..14c7a86 100644
--- a/pixz.spec
+++ b/pixz.spec
@@ -2,12 +2,12 @@
 # - fill proper gcc BR for -pie
 Summary:	A parallel, indexing version of XZ
 Name:		pixz
-Version:	1.0.2
-Release:	2
+Version:	1.0.7
+Release:	1
 License:	BSD-2-Clause
 Group:		Applications/Archiving
-Source0:	http://downloads.sourceforge.net/pixz/%{name}-%{version}.tgz
-# Source0-md5:	90034c862d7c9340b76611f3fb909855
+Source0:	https://github.com/vasi/pixz/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	06fcda5892dfad818fe45e8e63427134
 URL:		https://github.com/vasi/pixz
 BuildRequires:	libarchive-devel
 BuildRequires:	openssl-devel
@@ -22,20 +22,24 @@ Pixz (pronounced 'pixie') is a parallel, indexing version of XZ
 %setup -q
 
 %build
-export LDFLAGS="$LDFLAGS -lm -lcrypto -pie"
-%{__make} CFLAGS="%{rpmcflags}"
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install -p pixz $RPM_BUILD_ROOT/%{_bindir}
-cp -p pixz.1 $RPM_BUILD_ROOT/%{_mandir}/man1
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE README
+%doc LICENSE README.md NEWS
 %attr(755,root,root) %{_bindir}/pixz
 %{_mandir}/man1/pixz.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pixz.git/commitdiff/ff2c8cf08569b32a4fad4e8483da5929f88d90c2



More information about the pld-cvs-commit mailing list