507936f
%global goipath github.com/decker502/dnspod-go
507936f
Version:        0.2.0
507936f
%gometa
507936f
507936f
%global common_description %{expand:
507936f
This library is a Go client you can use to interact with the DNSPod API.}
507936f
507936f
Name:           %{goname}
507936f
Release:        1%{?dist}
507936f
Summary:        Go client for the DNSPod API
507936f
License:        MIT
507936f
URL:            %{gourl}
507936f
Source0:        %{gosource}
507936f
507936f
#BuildRequires:  golang(github.com/foo/bar)
507936f
507936f
507936f
%description
507936f
%{common_description}
507936f
507936f
507936f
%package devel
507936f
Summary:        %{summary}
507936f
BuildArch:      noarch
507936f
507936f
507936f
%description devel
507936f
%{common_description}
507936f
507936f
This package contains the source code needed for building packages that import
507936f
the %{goipath} Go namespace.
507936f
507936f
507936f
%prep
507936f
%forgeautosetup
507936f
507936f
507936f
%install
507936f
%goinstall
507936f
507936f
507936f
%check
507936f
%gochecks
507936f
507936f
507936f
%files devel -f devel.file-list
507936f
%license LICENSE
507936f
%doc README.md
507936f
507936f
507936f
%changelog
507936f
* Wed Apr 17 2019 Carl George <carl@george.computer> - 0.2.0-1
507936f
- Initial package