1Summary: pigz is a parallel implementation of gzip which utilizes multiple cores 2Name: pigz 3Version: 2.1.6 4Release: 1 5Source0: %{name}-%{version}.tar.gz 6License: GPL 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%setup -q 20%build 21make 22mkdir -p ${RPM_BUILD_ROOT}/usr/bin 23mv pigz ${RPM_BUILD_ROOT}/usr/bin 24%files 25%defattr(-,root,root) 26/usr/bin/pigz 27