]> git.pld-linux.org Git - packages/pigz.git/blob - pigz.spec
6511785e8978c91fb53de63a284ddf1805b6366d
[packages/pigz.git] / pigz.spec
1 Summary:        A parallel implementation of gzip
2 Name:           pigz
3 Version:        2.3
4 Release:        1
5 License:        BSD
6 Group:          Applications/Archiving
7 Source0:        http://www.zlib.net/pigz/%{name}-%{version}.tar.gz
8 # Source0-md5:  042e3322534f2c3d761736350cac303f
9 Patch0:         %{name}-makefile.patch
10 URL:            http://www.zlib.net/pigz/
11 BuildRequires:  rpmbuild(macros)
12 BuildRequires:  zlib-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 A parallel implementation of gzip for modern multi-processor,
17 multi-core machines
18
19 %prep
20 %setup -q
21 %patch0 -p1
22
23 %build
24 %{__make} CFLAGS="%{rpmcflags}"
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28
29 install -d $RPM_BUILD_ROOT/%{_bindir}
30 install -d $RPM_BUILD_ROOT/%{_mandir}/man1
31 install {pigz,unpigz} $RPM_BUILD_ROOT/%{_bindir}
32 install pigz.1 $RPM_BUILD_ROOT/%{_mandir}/man1
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc README
40 %attr(755,root,root) %{_bindir}/pigz
41 %attr(755,root,root) %{_bindir}/unpigz
42 %{_mandir}/man1/pigz.1*
This page took 0.051555 seconds and 2 git commands to generate.