Blame golang-github-pierrec-lz4.spec

1d6b7ab
# Generated by go2rpm
fd3343f
%bcond_without check
fd3343f
fd3343f
# https://github.com/pierrec/lz4
fd3343f
%global goipath         github.com/pierrec/lz4
0c7bcb3
Version:                4.1.3
1d6b7ab
1d6b7ab
%gometa
fd3343f
3b12380
%global goaltipaths     github.com/pierrec/lz4/v4
3b12380
fd3343f
%global common_description %{expand:
169c6f3
Package lz4 implements reading and writing lz4 compressed data (a frame), as
169c6f3
specified in
1d6b7ab
http://fastcompression.blogspot.com/2013/04/lz4-streaming-format-final.html.
fd3343f
169c6f3
This package is compatible with the LZ4 frame format although the block level
169c6f3
compression and decompression functions are exposed and are fully compatible
dccd1fa
with the LZ4 block format definition, they are low level and should not be
fd3343f
used directly.}
fd3343f
1d6b7ab
%global golicenses      LICENSE
1d6b7ab
%global godocs          README.md
fd3343f
fd3343f
Name:           %{goname}
eedc188
Release:        3%{?dist}
dccd1fa
Summary:        LZ4 compression and decompression in pure Go
1d6b7ab
1d6b7ab
# Upstream license specification: BSD-3-Clause
fd3343f
License:        BSD
fd3343f
URL:            %{gourl}
fd3343f
Source0:        %{gosource}
fd3343f
1d6b7ab
BuildRequires:  golang(code.cloudfoundry.org/bytefmt)
3ab535d
BuildRequires:  golang(github.com/pierrec/cmdflag)
3b12380
BuildRequires:  golang(github.com/schollz/progressbar/v3)
fd3343f
1d6b7ab
%description
fd3343f
%{common_description}
fd3343f
1d6b7ab
%gopkg
fd3343f
fd3343f
%prep
1d6b7ab
%goprep
fd3343f
1d6b7ab
%build
1d6b7ab
for cmd in cmd/* ; do
1d6b7ab
  %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
1d6b7ab
done
fd3343f
fd3343f
%install
1d6b7ab
%gopkginstall
1d6b7ab
install -m 0755 -vd                     %{buildroot}%{_bindir}
1d6b7ab
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
fd3343f
fd3343f
%if %{with check}
fd3343f
%check
1d6b7ab
%gocheck
fd3343f
%endif
fd3343f
1d6b7ab
%files
5bd6e4d
%license LICENSE
5bd6e4d
%doc README.md
1d6b7ab
%{_bindir}/*
fd3343f
1d6b7ab
%gopkgfiles
fd3343f
fd3343f
%changelog
eedc188
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-3
eedc188
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
eedc188
8d8e0a3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.3-2
8d8e0a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8d8e0a3
0c7bcb3
* Tue Jan  5 18:06:48 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 4.1.3-1
0c7bcb3
- Update to 4.1.3
0c7bcb3
- Close: rhbz#1912532
0c7bcb3
5bd6e4d
* Mon Dec 21 10:58:01 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 4.1.2-1
5bd6e4d
- Update to 4.1.2
5bd6e4d
- Close: rhbz#1885756
5bd6e4d
3b12380
* Thu Sep 17 21:21:55 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 4.0.2-1
3b12380
- Update to 4.0.2
3b12380
4821e79
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
4821e79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4821e79
5442640
* Sun Feb 16 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.2.1-1
5442640
- Update to latest version
5442640
55e7495
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
55e7495
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
55e7495
3ab535d
* Sat Aug 03 19:44:11 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.1-1
3ab535d
- Release 3.0.1
3ab535d
f5191fd
* Thu Jul 25 00:23:40 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.2.4-1
f5191fd
- Release 2.2.4
f5191fd
1d6b7ab
* Tue Apr 23 20:28:43 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.2.3-1
1d6b7ab
- Release 2.2.3
1d6b7ab
169c6f3
* Tue Apr 02 21:57:17 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.1.1-1
169c6f3
- Release 2.1.1 (#1693414)
169c6f3
fd3343f
* Mon Oct 29 2018 Robert-André Mauchin <zebob.m@gmail.com> - 2.1.0-1
fd3343f
- First package for Fedora