## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # 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 * Mon May 09 2022 Robert-André Mauchin 0.9.3-1 - Initial import