packages: pxz/pxz.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Thu Sep 22 18:31:47 CEST 2011
Author: baggins Date: Thu Sep 22 16:31:47 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
packages/pxz:
pxz.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/pxz/pxz.spec
diff -u /dev/null packages/pxz/pxz.spec:1.1
--- /dev/null Thu Sep 22 18:31:47 2011
+++ packages/pxz/pxz.spec Thu Sep 22 18:31:42 2011
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%define snap 20100608
+Summary: Parallel LZMA compressor using XZ
+#Summary(pl.UTF-8): -
+Name: pxz
+Version: 4.999.9
+Release: 0.%{snap}.1
+License: GPL v2
+Group: Applications/File
+#Source0: http://jnovy.fedorapeople.org/pxz/%{name}-%{version}beta.%{snap}git.tar.xz
+Source0: %{name}-%{version}beta.%{snap}git.tar.xz
+# Source0-md5: 734645e5f147678fe77e66db2a579360
+URL: http://jnovy.fedorapeople.org/pxz
+BuildRequires: xz-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Parallel XZ is a compression utility that takes advantage of running
+XZ compression simultaneously on different parts of an input file on
+multiple cores and processors. This significantly speeds up
+compression time.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{name}-%{version}beta
+
+%build
+%{__make} \
+ CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
+ LDFLAGS="%{rpmldflags} -llzma"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/pxz
+%{_mandir}/man1/pxz.1*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/09/22 16:31:42 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list