2011-06-23 13:24:20 +02:00
|
|
|
#
|
|
|
|
# spec file for package pigz
|
|
|
|
#
|
2021-02-08 07:56:55 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2011-06-23 13:24:20 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2021-02-08 07:56:55 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-06-23 13:24:20 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: pigz
|
2021-02-08 07:56:55 +01:00
|
|
|
Version: 2.6
|
2012-12-14 10:33:44 +01:00
|
|
|
Release: 0
|
2011-06-23 13:24:20 +02:00
|
|
|
Summary: Multi-core gzip version
|
2012-12-14 10:33:44 +01:00
|
|
|
License: Zlib
|
|
|
|
Group: Productivity/Archiving/Compression
|
2021-02-08 07:56:55 +01:00
|
|
|
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
|
2018-07-18 22:35:51 +02:00
|
|
|
BuildRequires: zlib-devel
|
2011-06-23 13:24:20 +02:00
|
|
|
|
|
|
|
%description
|
2018-07-18 22:35:51 +02:00
|
|
|
A parallel implementation of gzip for modern multi-processor, multi-core machines
|
2011-06-23 13:24:20 +02:00
|
|
|
|
|
|
|
%prep
|
2013-03-15 10:46:52 +01:00
|
|
|
%setup -q
|
2021-02-08 07:56:55 +01:00
|
|
|
%autopatch -p1
|
2011-06-23 13:24:20 +02:00
|
|
|
|
|
|
|
%build
|
2021-02-08 07:56:55 +01:00
|
|
|
%make_build CFLAGS="%{optflags}"
|
2018-07-18 22:35:51 +02:00
|
|
|
|
|
|
|
%check
|
2021-02-08 07:56:55 +01:00
|
|
|
%make_build tests CFLAGS="%{optflags}"
|
2011-06-23 13:24:20 +02:00
|
|
|
|
|
|
|
%install
|
2018-07-18 22:35:51 +02:00
|
|
|
install -Dpm 0755 pigz \
|
|
|
|
%{buildroot}%{_bindir}/pigz
|
|
|
|
install -Dpm 0644 pigz.1 \
|
|
|
|
%{buildroot}%{_mandir}/man1/pigz.1
|
2013-03-15 10:46:52 +01:00
|
|
|
ln -sv pigz %{buildroot}%{_bindir}/unpigz
|
2011-06-23 13:24:20 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README
|
2013-03-15 10:46:52 +01:00
|
|
|
%{_bindir}/pigz
|
|
|
|
%{_bindir}/unpigz
|
2018-07-18 22:35:51 +02:00
|
|
|
%{_mandir}/man1/pigz.1%{?ext_man}
|
2011-06-23 13:24:20 +02:00
|
|
|
|
|
|
|
%changelog
|