Blame golang-github-cespare-xxhash.spec

31a0f26
# Generated by go2rpm
31a0f26
%bcond_without check
31a0f26
0c406a3
# https://github.com/cespare/xxhash
654e844
%global goipath         github.com/cespare/xxhash
2a0b37e
Version:                2.1.1
0c406a3
654e844
%gometa
0c406a3
2a0b37e
%global goaltipaths     github.com/cespare/xxhash/v2
2a0b37e
31a0f26
%global common_description %{expand:
31a0f26
xxhash is a Go implementation of the 64-bit xxHash algorithm, XXH64. This is a
31a0f26
high-quality hashing algorithm that is much faster than anything in the Go
31a0f26
standard library.}
31a0f26
31a0f26
%global golicenses      LICENSE.txt
31a0f26
%global godocs          README.md
31a0f26
654e844
Name:           %{goname}
1acfbac
Release:        2%{?dist}
ac9f2c0
Summary:        Go implementation of the 64-bit xxHash algorithm (XXH64)
31a0f26
654e844
License:        MIT
654e844
URL:            %{gourl}
654e844
Source0:        %{gosource}
0c406a3
0c406a3
%description
31a0f26
%{common_description}
0c406a3
31a0f26
%gopkg
0c406a3
0c406a3
%prep
31a0f26
%goprep
0c406a3
31a0f26
%build
31a0f26
for cmd in xxhsum; do
31a0f26
  %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
31a0f26
done
0c406a3
654e844
%install
31a0f26
%gopkginstall
31a0f26
install -m 0755 -vd                     %{buildroot}%{_bindir}
31a0f26
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
0c406a3
31a0f26
%if %{with check}
654e844
%check
31a0f26
%gocheck
31a0f26
%endif
0c406a3
31a0f26
%files
31a0f26
%license %{golicenses}
31a0f26
%doc %{godocs}
31a0f26
%{_bindir}/*
0c406a3
31a0f26
%gopkgfiles
0c406a3
0c406a3
%changelog
1acfbac
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
1acfbac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1acfbac
2a0b37e
* Fri Jul 24 22:02:00 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.1.1-1
2a0b37e
- Update to 2.1.1
2a0b37e
f58df67
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
f58df67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f58df67
05d5480
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
05d5480
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
05d5480
31a0f26
* Wed Apr 24 21:45:39 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.0-1
31a0f26
- Release 2.0.0
31a0f26
eb97eb8
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-0.2
eb97eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
eb97eb8
654e844
* Sat Nov 10 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.1.0-1
654e844
- Release 1.1.0
654e844
- Update to new Go packaging
654e844
198cfa3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
198cfa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
198cfa3
0c406a3
* Tue Feb 13 2018 Kaushal <kshlmster@gmail.com> - 1.0.0-1
0c406a3
- First package for Fedora