Blame golang-github-nicksnyder-i18n.spec

26532ab
%global goipath github.com/nicksnyder/go-i18n
26532ab
Version:        1.10.0
26532ab
26532ab
%gometa
26532ab
26532ab
Name:           %{goname}
26532ab
Release:        1%{?dist}
26532ab
Summary:        Translate your Go program into multiple languages
26532ab
License:        MIT
26532ab
URL:            %{gourl}
26532ab
Source0:        %{gosource}
26532ab
Patch0001:      https://github.com/nicksnyder/go-i18n/commit/dcabc04bafa409ece9c72bd55b1233fd01f7e06b.patch
26532ab
26532ab
%description
26532ab
%{summary}
26532ab
26532ab
26532ab
%package devel
26532ab
Summary:       %{summary}
26532ab
BuildArch:     noarch
26532ab
26532ab
BuildRequires: golang(github.com/pelletier/go-toml)
26532ab
BuildRequires: golang(golang.org/x/text/language)
26532ab
BuildRequires: golang(gopkg.in/yaml.v2)
26532ab
26532ab
%description devel
26532ab
%{summary}
26532ab
26532ab
This package contains library source intended for building other packages which
26532ab
use import path with %{goipath} prefix.
26532ab
26532ab
26532ab
%prep
26532ab
%forgeautosetup -p1
26532ab
26532ab
26532ab
%install
26532ab
%goinstall
26532ab
26532ab
26532ab
%check
26532ab
%gochecks
26532ab
26532ab
26532ab
%files devel -f devel.file-list
26532ab
%doc README.md CHANGELOG
26532ab
%license LICENSE
26532ab
26532ab
26532ab
%changelog
26532ab
* Tue Feb 19 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.10.0-1
26532ab
- First package for Fedora