[packages/pixz] - initial
zawadaa
zawadaa at pld-linux.org
Wed Mar 13 11:32:21 CET 2013
commit b249faec90e9ba5bd13c180e80c64837dc866cf6
Author: Andrzej Zawadzki <zawadaa at pld-linux.org>
Date: Wed Mar 13 11:31:54 2013 +0100
- initial
pixz.spec | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
---
diff --git a/pixz.spec b/pixz.spec
new file mode 100644
index 0000000..21761c8
--- /dev/null
+++ b/pixz.spec
@@ -0,0 +1,39 @@
+Summary: A parallel, indexing version of XZ
+Name: pixz
+Version: 1.0.2
+Release: 1
+License: BSD-2-Clause
+Group: Applications/Archiving
+Source0: http://sourceforge.net/projects/pixz/files/%{name}-%{version}.tgz
+# Source0-md5: 90034c862d7c9340b76611f3fb909855
+URL: https://github.com/vasi/pixz
+BuildRequires: rpmbuild(macros)
+BuildRequires: xz-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pixz (pronounced 'pixie') is a parallel, indexing version of XZ
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS="$LDFLAGS -lm -lcrypto -pie"
+%{__make} CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/%{_bindir}
+install -d $RPM_BUILD_ROOT/%{_mandir}/man1
+install pixz $RPM_BUILD_ROOT/%{_bindir}
+install pixz.1 $RPM_BUILD_ROOT/%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README
+%attr(755,root,root) %{_bindir}/pixz
+%{_mandir}/man1/pixz.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pixz.git/commitdiff/b249faec90e9ba5bd13c180e80c64837dc866cf6
More information about the pld-cvs-commit
mailing list