packages: pigz/pigz.spec (NEW) - initial version

lkrotowski lkrotowski at pld-linux.org
Mon Sep 14 12:51:55 CEST 2009


Author: lkrotowski                   Date: Mon Sep 14 10:51:55 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial version

---- Files affected:
packages/pigz:
   pigz.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/pigz/pigz.spec
diff -u /dev/null packages/pigz/pigz.spec:1.1
--- /dev/null	Mon Sep 14 12:51:55 2009
+++ packages/pigz/pigz.spec	Mon Sep 14 12:51:50 2009
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary:	A parallel implementation of gzip
+Name:		pigz
+Version:	2.1.5
+Release:	1
+License:	BSD
+Group:		Applications/Archiving
+Source0:	http://www.zlib.net/pigz/%{name}-%{version}.tar.gz
+# Source0-md5:	580873165ef3a369674f0c0af4c96d67
+URL:		http://www.zlib.net/pigz/
+BuildRequires:	rpmbuild(macros)
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A parallel implementation of gzip for modern multi-processor,
+multi-core machines
+
+%prep
+%setup -q
+
+%build
+%{__make} CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/%{_bindir}
+install -d $RPM_BUILD_ROOT/%{_mandir}/man1
+install {pigz,unpigz} $RPM_BUILD_ROOT/%{_bindir}
+install pigz.1 $RPM_BUILD_ROOT/%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/pigz
+%attr(755,root,root) %{_bindir}/unpigz
+%{_mandir}/man1/pigz.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  2009/09/14 10:51:50  lkrotowski
+- initial version
+
================================================================


More information about the pld-cvs-commit mailing list