pigz/pigz.spec

61 lines
1.5 KiB
RPMSpec
Raw Normal View History

2009-09-26 08:09:24 +00:00
Name: pigz
2010-04-26 11:58:56 +00:00
Version: 2.1.6
Release: 2%{?dist}
2009-09-26 08:09:24 +00:00
Summary: Parallel implementation of gzip
Group: Applications/File
License: zlib
URL: http://www.zlib.net/pigz/
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
%description
pigz, which stands for parallel implementation of gzip,
is a fully functional replacement for gzip that exploits
multiple processors and multiple cores to the hilt when compressing data.
%prep
%setup -q
%build
make %{?_smp_mflags} CFLAGS='%{optflags}'
%install
rm -rf $RPM_BUILD_ROOT
2009-09-26 10:26:23 +00:00
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
install -p -D unpigz $RPM_BUILD_ROOT%{_bindir}/unpigz
install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
2009-09-26 08:09:24 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc pigz.pdf README
%{_bindir}/pigz
%{_bindir}/unpigz
%{_datadir}/man/man1/pigz.*
%changelog
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-04-26 11:58:56 +00:00
* Mon Apr 26 2010 Adel Gadllah <adel.gadllah@gmail.com> - 2.1.6-1
- New upstream release
2009-09-26 10:26:23 +00:00
* Sat Sep 26 2009 Adel Gadllah <adel.gadllah@gmail.com> - 2.1.5-3
- Preserve timestamps
2009-09-26 08:09:24 +00:00
* Sat Sep 26 2009 Adel Gadllah <adel.gadllah@gmail.com> - 2.1.5-2
- Fix license tag
* Fri Sep 25 2009 Adel Gadllah <adel.gadllah@gmail.com> - 2.1.5-1
- Initial package