pigz/pigz.spec

90 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

2019-12-13 16:00:01 +08:00
#spec from source code(%{name}-%{version}.tar.gz)
2019-11-06 19:47:33 +08:00
Name: pigz
2023-01-19 11:37:45 +08:00
Version: 2.7
Release: 3
2019-11-06 19:47:33 +08:00
Summary: pigz is a parallel implementation of gzip which utilizes multiple cores
License: zlib
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
URL: http://www.zlib.net/pigz
2019-09-30 11:13:43 -04:00
2019-11-06 19:47:33 +08:00
BuildRequires: zlib-devel gcc
Patch0: 0001-pigz-fix-cc.patch
2019-09-30 11:13:43 -04:00
%description
2019-11-06 19:47:33 +08:00
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. pigz was written by
Mark Adler, and uses the zlib and pthread libraries.
2019-09-30 11:13:43 -04:00
%package_help
2019-09-30 11:13:43 -04:00
%prep
%autosetup -n %{name}-%{version} -p1
%build
%make_build CFLAGS="%{optflags}"
%install
2019-11-06 19:47:33 +08:00
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
mv pigz unpigz ${RPM_BUILD_ROOT}%{_bindir}
mv pigz.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
2019-09-30 11:13:43 -04:00
%check
make test
%files
%defattr(-,root,root)
%doc README
%{_bindir}/*pigz
%files help
%{_mandir}/man1/pigz.1*
%changelog
* Sun Mar 10 2024 wyxhjr <yuexiang.oerv@isrc.iscas.ac.cn> - 2.7-3
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: fix software package
* Sun Apr 23 2023 Zhang Chao <chaozhangm@isoftstone.com> - 2.7-2
- Fix CC compiler support
2023-01-19 11:37:45 +08:00
* Thu Jan 19 2023 zhangnan <zhangnan134@huawei.com> - 2.7-1
- update to 2.7
* Tue Oct 25 2022 yanglongkang<yanglongkang@h-partners.com> - 2.6-2
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: rebuild for next release
2021-12-03 10:28:34 +08:00
* Fri Dec 3 2021 guozhaorui<guozhaorui1@huawei.com> - 2.6-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update version to 2.6
2019-12-13 16:00:01 +08:00
* Wed Dec 4 2019 shenyangyang<shenyangyang4@huawei.com> - 2.4-7
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: modify comments
2019-11-06 19:47:33 +08:00
* Wed Oct 9 2019 shenyangyang<shenyangyang4@huawei.com> - 2.4-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:modify spec according the spec in tarball
2019-09-30 11:13:43 -04:00
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 2.4-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add help package
* Fri Aug 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.4-4
- Package init
2019-11-06 19:47:33 +08:00