update code
This commit is contained in:
parent
435424b375
commit
9cfa914072
39
pigz.spec
39
pigz.spec
@ -1,17 +1,18 @@
|
|||||||
Name: pigz
|
#spec from tarball
|
||||||
Version: 2.4
|
Name: pigz
|
||||||
Release: 5
|
Version: 2.4
|
||||||
Summary: A parallel implementation of gzip which utilizes multiple cores
|
Release: 6
|
||||||
License: Zlib
|
Summary: pigz is a parallel implementation of gzip which utilizes multiple cores
|
||||||
URL: http://www.zlib.net/pigz/
|
License: zlib
|
||||||
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
URL: http://www.zlib.net/pigz
|
||||||
|
|
||||||
BuildRequires: ncompress zlib-devel gcc
|
BuildRequires: zlib-devel gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pigz, which stands for parallel implementation of gzip, is a fully functional
|
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that
|
||||||
replacement for gzip that exploits multiple processors and multiple cores to
|
exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by
|
||||||
the hilt when compressing data.
|
Mark Adler, and uses the zlib and pthread libraries.
|
||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
@ -22,11 +23,10 @@ the hilt when compressing data.
|
|||||||
%make_build CFLAGS="%{optflags}"
|
%make_build CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -p -D pigz %{buildroot}%{_bindir}/pigz
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
||||||
pushd %{buildroot}%{_bindir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||||
ln pigz unpigz
|
mv pigz unpigz ${RPM_BUILD_ROOT}%{_bindir}
|
||||||
popd
|
mv pigz.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||||
install -p -D pigz.1 %{buildroot}%{_mandir}/man1/pigz.1
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -40,6 +40,12 @@ make test
|
|||||||
%{_mandir}/man1/pigz.1*
|
%{_mandir}/man1/pigz.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 2.4-5
|
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 2.4-5
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
@ -48,3 +54,4 @@ make test
|
|||||||
|
|
||||||
* Fri Aug 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.4-4
|
* Fri Aug 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.4-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user