# Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/jhillyerd/enmime %global goipath github.com/jhillyerd/enmime Version: 0.9.3 %gometa %global common_description %{expand: MIME mail encoding and decoding package for Go.} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md CHANGELOG.md Name: %{goname} Release: %autorelease Summary: MIME mail encoding and decoding package for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cention-sany/utf7) BuildRequires: golang(github.com/gogs/chardet) BuildRequires: golang(github.com/jaytaylor/html2text) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(golang.org/x/text/encoding) BuildRequires: golang(golang.org/x/text/encoding/charmap) BuildRequires: golang(golang.org/x/text/encoding/japanese) BuildRequires: golang(golang.org/x/text/encoding/korean) BuildRequires: golang(golang.org/x/text/encoding/simplifiedchinese) BuildRequires: golang(golang.org/x/text/encoding/traditionalchinese) BuildRequires: golang(golang.org/x/text/encoding/unicode) BuildRequires: golang(golang.org/x/text/transform) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check rm envelope_test.go %gocheck %endif %gopkgfiles %changelog %autochangelog