# Generated by go2rpm # See https://github.com/flynn/noise/issues/34 %ifnarch armv7hl %bcond_without check %endif # https://github.com/flynn/noise %global goipath github.com/flynn/noise %global commit 2492fe189ae688d7edbeae0fd575de2f1c5fec8e %gometa %global common_description %{expand: Go implementation of the Noise Protocol Framework.} %global golicenses LICENSE %global godocs vectors.txt CONTRIBUTING.md README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Go implementation of the Noise Protocol Framework # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/crypto/blake2b) BuildRequires: golang(golang.org/x/crypto/blake2s) BuildRequires: golang(golang.org/x/crypto/chacha20poly1305) BuildRequires: golang(golang.org/x/crypto/curve25519) %if %{with check} # Tests BuildRequires: golang(gopkg.in/check.v1) %endif %description %{common_description} %gopkg %prep %goprep %build for cmd in vectorgen; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc vectors.txt CONTRIBUTING.md README.md %{_bindir}/* %gopkgfiles %changelog * Sat Feb 01 18:42:19 CST 2020 Joe Doss - 0-0.1.20200201git2492fe1 - Initial package