# # spec file for package pigz # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: pigz Version: 2.3.3 Release: 1.12 Summary: Multi-core gzip version License: Apache-2.0 and Libpng and Zlib Group: Productivity/Archiving/Compression Url: http://www.zlib.net/pigz/ Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz Source1: macros.pigz BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A parallel implementation of gzip for modern multi-processor, multi-core machines %prep %setup -q # fix linkign failure sed -i 's|-lm|-lm -lz|g' Makefile %build make %{?_smp_mflags} CFLAGS="%{optflags}" %check make tests %{?_smp_mflags} CFLAGS="%{optflags}" %install install -Dm0755 pigz %{buildroot}%{_bindir}/pigz install -Dm0644 pigz.1 %{buildroot}%{_mandir}/man1/pigz.1 install -Dm0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.pigz %files %defattr(-,root,root) %doc README %{_bindir}/pigz %{_mandir}/man1/pigz.1%{?ext_man} %config %{_sysconfdir}/rpm/macros.pigz %changelog * Fri Feb 20 2015 mpluskal@suse.com - Update to 2.3.3: * no upstream changelog provided - Enable tests when building - Allways use optflags * Wed Nov 26 2014 malcolmlewis@opensuse.org - Update to version 2.3.1: + No changelog provided. - Fix license string. * Thu Dec 9 2010 cristian.rodriguez@opensuse.org - Fix rpm group - Update to a git version that includes SUSE fixes and compile warning fixes - add an rpm macro, so when this package isinstalled the definition of %%__gzip changes to /usr/bin/pigz * Wed Mar 3 2010 visnov@suse.de - include symlinks patch * Tue Oct 20 2009 jmatejek@suse.de - initial package