# Generated by go2rpm %bcond_without check # https://github.com/jedisct1/xsecretbox %global goipath github.com/jedisct1/xsecretbox Version: 1.0.2 %global tag 1.0.2 %gometa %global common_description %{expand: Go implementation of crypto_secretbox_xchacha20poly1305.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Go implementation of crypto_secretbox_xchacha20poly1305 License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/aead/chacha20/chacha) BuildRequires: golang(github.com/aead/poly1305) BuildRequires: golang(golang.org/x/crypto/curve25519) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog