Blob Blame History Raw
# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/minio/sha256-simd
%global goipath         github.com/minio/sha256-simd
Version:                1.0.1

%gometa

%global common_description %{expand:
Accelerate SHA256 computations in pure Go using  AVX512, SHA Extensions for x86
and ARM64 for ARM. On AVX512 it provides an up to 8x improvement (over 3 GB/s
per core). SHA Extensions give a performance boost of close to 4x over native.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Accelerate SHA256 computations in pure Go using simd

License:        Apache-2.0
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog