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
7ec4166
%global goipathsex      github.com/nicksnyder/go-i18n/v2
7ec4166
Epoch:                  1
7ec4166
Version:                1.10.1
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
cb292a5
%global godocs          CHANGELOG.md README.md dev.md
ca1736f
26532ab
Name:           %{goname}
46aa546
Release:        4%{?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)
7ec4166
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
cb292a5
rm -r %{buildroot}%{gopath}/src/%{goipath}/v2
cb292a5
sed -i -e '/v2/d' %{gorpmname %{goipath}}-%{gofilelist}
26532ab
ca1736f
%if %{with check}
26532ab
%check
ca1736f
%gocheck
ca1736f
%endif
26532ab
ca1736f
%gopkgfiles
26532ab
26532ab
%changelog
46aa546
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.1-4
46aa546
- Second attempt - Rebuilt for
46aa546
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
46aa546
d9a4250
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.1-3
d9a4250
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d9a4250
3fe73e9
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.1-2
3fe73e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3fe73e9
7ec4166
* Wed Oct 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.10.1-1
7ec4166
- Downgrade to latest v1 release; v2 can be found in golang-github-nicksnyder-i18n-2
7ec4166
f1d3ef7
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
f1d3ef7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f1d3ef7
9cb432f
* Fri Jul 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-1
9cb432f
- Update to latest version
9cb432f
31c700a
* Tue Jul 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.0-2
ff55c4e
- Add binary subpackage
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