Blame golang-github-klauspost-pgzip.spec

b392f7d
# Generated by go2rpm
b392f7d
%bcond_without check
b392f7d
b392f7d
# https://github.com/klauspost/pgzip
b392f7d
%global goipath         github.com/klauspost/pgzip
ef03504
Version:                1.2.5
b392f7d
b392f7d
%gometa
b392f7d
b392f7d
%global common_description %{expand:
b392f7d
Go parallel gzip compression/decompression. This is a fully gzip compatible drop
b392f7d
in replacement for "compress/gzip".
b392f7d
b392f7d
This will split compression into blocks that are compressed in parallel. This
b392f7d
can be useful for compressing big amounts of data. The output is a standard gzip
b392f7d
file.
b392f7d
b392f7d
The gzip decompression is modified so it decompresses ahead of the current
b392f7d
reader. This means that reads will be non-blocking if the decompressor can keep
b392f7d
ahead of your code reading from it. CRC calculation also takes place in a
b392f7d
separate goroutine.}
b392f7d
b392f7d
%global golicenses      LICENSE
b392f7d
%global godocs          README.md
b392f7d
b392f7d
Name:           %{goname}
27c5d29
Release:        1%{?dist}
b392f7d
Summary:        Go parallel gzip (de)compression
b392f7d
b392f7d
License:        MIT
b392f7d
URL:            %{gourl}
b392f7d
Source0:        %{gosource}
b392f7d
b392f7d
BuildRequires:  golang(github.com/klauspost/compress/flate)
b392f7d
b392f7d
%if %{with check}
b392f7d
# Tests
b392f7d
BuildRequires:  golang(github.com/klauspost/compress/gzip)
b392f7d
%endif
b392f7d
b392f7d
%description
b392f7d
%{common_description}
b392f7d
b392f7d
%gopkg
b392f7d
b392f7d
%prep
b392f7d
%goprep
b392f7d
b392f7d
%install
b392f7d
%gopkginstall
b392f7d
b392f7d
%if %{with check}
b392f7d
%check
b392f7d
%gocheck
b392f7d
%endif
b392f7d
b392f7d
%gopkgfiles
b392f7d
b392f7d
%changelog
ef03504
* Mon Dec 21 02:31:50 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.5-1
ef03504
- Update to 1.2.5
ef03504
- Close: rhbz#1875033
ef03504
27c5d29
* Tue Jul 28 19:31:50 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.4-1
27c5d29
- Update to 1.2.4
27c5d29
2b79539
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
2b79539
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2b79539
a6edaef
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
a6edaef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a6edaef
70a538f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
70a538f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
70a538f
b392f7d
* Mon Apr 29 01:00:09 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.1-1
b392f7d
- Initial package