Dees_Troy | 3bde123 | 2012-09-22 08:10:28 -0400 | [diff] [blame^] | 1 | Summary: pigz is a parallel implementation of gzip which utilizes multiple cores |
| 2 | Name: pigz |
| 3 | Version: 2.2.5 |
| 4 | Release: 1 |
| 5 | Source0: %{name}-%{version}.tar.gz |
| 6 | License: zlib |
| 7 | Group: Applications/Tools |
| 8 | Packager: Duncan Brown <duncan@duncanbrown.org> |
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
| 10 | URL: http://www.zlib.net/pigz |
| 11 | |
| 12 | %description |
| 13 | pigz, 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 |
| 16 | rm -rf $RPM_BUILD_ROOT |
| 17 | %prep |
| 18 | mkdir -p $RPM_BUILD_ROOT |
| 19 | |
| 20 | %setup -q |
| 21 | %build |
| 22 | make |
| 23 | mkdir -p ${RPM_BUILD_ROOT}/usr/bin |
| 24 | mkdir -p ${RPM_BUILD_ROOT}/usr/man/man1 |
| 25 | mv pigz unpigz ${RPM_BUILD_ROOT}/usr/bin |
| 26 | mv 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 |