Blame golang-github-nicksnyder-i18n.spec

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