blob: 96daadb22cff92c574f9c38ab9c6ef51c82b3aa3 [file] [log] [blame]
Dees_Troy3bde1232012-09-22 08:10:28 -04001Summary: pigz is a parallel implementation of gzip which utilizes multiple cores
2Name: pigz
3Version: 2.2.5
4Release: 1
5Source0: %{name}-%{version}.tar.gz
6License: zlib
7Group: Applications/Tools
8Packager: Duncan Brown <duncan@duncanbrown.org>
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10URL: http://www.zlib.net/pigz
11
12%description
13pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.
14
15%clean
16rm -rf $RPM_BUILD_ROOT
17%prep
18mkdir -p $RPM_BUILD_ROOT
19
20%setup -q
21%build
22make
23mkdir -p ${RPM_BUILD_ROOT}/usr/bin
24mkdir -p ${RPM_BUILD_ROOT}/usr/man/man1
25mv pigz unpigz ${RPM_BUILD_ROOT}/usr/bin
26mv pigz.1 ${RPM_BUILD_ROOT}/usr/man/man1
27
28%files
29%defattr(-,root,root)
30/usr/bin/pigz
31/usr/bin/unpigz
32%doc
33/usr/man/man1/pigz.1