Blob Blame History Raw
# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/go-playground/locales
%global goipath         github.com/go-playground/locales
Version:                0.14.1

%gometa

%global common_description %{expand:
A set of locales generated from the CLDR Project which can be
used independently or within an i18n package; these were built for use with,
but not exclusive to https://github.com/go-playground/universal-translator.}

%global golicenses      LICENSE
%global godocs          README.md cmd/README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Set of locales generated from the CLDR Project

License:        MIT
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog