pigz 2.7 OBS-URL: https://build.opensuse.org/request/show/975567 OBS-URL: https://build.opensuse.org/package/show/Archiving/pigz?expand=0&rev=12
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package pigz
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: pigz
|
|
Version: 2.7
|
|
Release: 0
|
|
Summary: Multi-core gzip version
|
|
License: Zlib
|
|
Group: Productivity/Archiving/Compression
|
|
URL: https://www.zlib.net/pigz/
|
|
Source0: https://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
|
Source1: https://www.zlib.net/%{name}/%{name}-%{version}-sig.txt#/%{name}-%{version}.tar.gz.asc
|
|
Source9: %{name}.keyring
|
|
Patch0: pigz-2.7-NOTHREAD-tests.patch
|
|
BuildRequires: zlib-devel
|
|
|
|
%description
|
|
A parallel implementation of gzip for modern multi-processor, multi-core machines
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%make_build
|
|
|
|
%check
|
|
%make_build tests
|
|
|
|
%install
|
|
install -Dpm 0755 pigz \
|
|
%{buildroot}%{_bindir}/pigz
|
|
install -Dpm 0644 pigz.1 \
|
|
%{buildroot}%{_mandir}/man1/pigz.1
|
|
ln -sv pigz %{buildroot}%{_bindir}/unpigz
|
|
|
|
%files
|
|
%doc README
|
|
%{_bindir}/pigz
|
|
%{_bindir}/unpigz
|
|
%{_mandir}/man1/pigz.1%{?ext_man}
|
|
|
|
%changelog
|