2009-09-26 08:09:24 +00:00
|
|
|
Name: pigz
|
2023-08-20 20:01:51 +00:00
|
|
|
Version: 2.8
|
2023-08-20 19:58:43 +00:00
|
|
|
Release: %autorelease
|
2009-09-26 08:09:24 +00:00
|
|
|
Summary: Parallel implementation of gzip
|
2023-07-29 17:47:53 +00:00
|
|
|
License: Zlib
|
2020-12-27 01:14:53 +00:00
|
|
|
URL: https://www.zlib.net/pigz/
|
|
|
|
Source0: https://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
2018-07-17 16:05:43 +00:00
|
|
|
BuildRequires: gcc
|
2021-02-01 15:31:17 +00:00
|
|
|
BuildRequires: make
|
2012-07-31 18:47:50 +00:00
|
|
|
BuildRequires: ncompress
|
2021-02-01 15:31:17 +00:00
|
|
|
BuildRequires: zlib-devel
|
2009-09-26 08:09:24 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
pigz, which stands for parallel implementation of gzip,
|
|
|
|
is a fully functional replacement for gzip that exploits
|
2020-12-27 01:14:53 +00:00
|
|
|
multiple processors and multiple cores to the hilt when
|
|
|
|
compressing data.
|
2009-09-26 08:09:24 +00:00
|
|
|
|
|
|
|
%prep
|
2021-02-01 15:31:17 +00:00
|
|
|
%autosetup -p1
|
2009-09-26 08:09:24 +00:00
|
|
|
|
|
|
|
%build
|
2020-12-27 01:14:53 +00:00
|
|
|
%make_build CFLAGS="$RPM_OPT_FLAGS"
|
2009-09-26 08:09:24 +00:00
|
|
|
|
|
|
|
%install
|
2009-09-26 10:26:23 +00:00
|
|
|
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
|
2012-07-31 18:47:50 +00:00
|
|
|
pushd $RPM_BUILD_ROOT%{_bindir}; ln pigz unpigz; popd
|
2009-09-26 10:26:23 +00:00
|
|
|
install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
|
2009-09-26 08:09:24 +00:00
|
|
|
|
2012-07-31 18:47:50 +00:00
|
|
|
%check
|
2014-05-19 09:19:33 +00:00
|
|
|
make tests CFLAGS="$RPM_OPT_FLAGS"
|
2012-07-31 18:47:50 +00:00
|
|
|
|
2009-09-26 08:09:24 +00:00
|
|
|
%files
|
|
|
|
%doc pigz.pdf README
|
|
|
|
%{_bindir}/pigz
|
|
|
|
%{_bindir}/unpigz
|
|
|
|
%{_datadir}/man/man1/pigz.*
|
|
|
|
|
|
|
|
%changelog
|
2023-08-20 19:58:43 +00:00
|
|
|
%autochangelog
|