pigz/pigz.spec

43 lines
1.0 KiB
RPMSpec
Raw Normal View History

2009-09-26 08:09:24 +00:00
Name: pigz
2022-03-21 20:58:01 +00:00
Version: 2.7
2023-08-20 19:58:43 +00:00
Release: %autorelease
2009-09-26 08:09:24 +00:00
Summary: Parallel implementation of gzip
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
2022-03-21 20:58:01 +00:00
Patch0: 67fd6e436f4f479aead529a719e24d6864cf1dfa.diff
2009-09-26 08:09:24 +00:00
2018-07-17 16:05:43 +00:00
BuildRequires: gcc
2021-02-01 15:31:17 +00:00
BuildRequires: make
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
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
%check
2014-05-19 09:19:33 +00:00
make tests CFLAGS="$RPM_OPT_FLAGS"
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