Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 945 Bytes

pigz.spec

File metadata and controls

33 lines (29 loc) · 945 Bytes
 
1
2
Summary: pigz is a parallel implementation of gzip which utilizes multiple cores
Name: pigz
3
Version: 2.8
4
5
Release: 1
Source0: %{name}-%{version}.tar.gz
7
8
9
10
11
12
13
14
15
16
17
18
Group: Applications/Tools
Packager: Duncan Brown <duncan@duncanbrown.org>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://www.zlib.net/pigz
%description
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.
%clean
rm -rf $RPM_BUILD_ROOT
%prep
mkdir -p $RPM_BUILD_ROOT
20
21
22
23
%setup -q
%build
make
mkdir -p ${RPM_BUILD_ROOT}/usr/bin
24
25
26
27
mkdir -p ${RPM_BUILD_ROOT}/usr/man/man1
mv pigz unpigz ${RPM_BUILD_ROOT}/usr/bin
mv pigz.1 ${RPM_BUILD_ROOT}/usr/man/man1
28
29
30
%files
%defattr(-,root,root)
/usr/bin/pigz
31
32
33
/usr/bin/unpigz
%doc
/usr/man/man1/pigz.1