# Generated by go2rpm %bcond_without check # https://github.com/nicksnyder/go-i18n %global goipath github.com/nicksnyder/go-i18n Version: 2.0.0 %gometa %global common_description %{expand: go-i18n is a Go package and a command that helps you translate Go programs into multiple languages. - Supports pluralized strings for all 200+ languages in the Unicode Common Locale Data Repository (CLDR). - Code and tests are automatically generated from CLDR data. - Supports strings with named variables using text/template syntax. - Supports message files of any format (e.g. JSON, TOML, YAML, etc.). - Documented and tested!} %global golicenses LICENSE %global godocs CHANGELOG.md README.md dev.md example Name: %{goname} Release: 1%{?dist} Summary: Translate your Go program into multiple languages License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/BurntSushi/toml) BuildRequires: golang(github.com/pelletier/go-toml) BuildRequires: golang(golang.org/x/text/language) BuildRequires: golang(gopkg.in/yaml.v2) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu May 23 18:53:45 CEST 2019 Robert-André Mauchin - 2.0.0-1 - Release 2.0.0 * Tue Feb 19 2019 Elliott Sales de Andrade - 1.10.0-1 - First package for Fedora