From 6c8712a4f0b6c31ed03c87c98ade92bfe57c1d24 Mon Sep 17 00:00:00 2001 From: Carl George Date: Apr 22 2019 16:44:11 +0000 Subject: Initial package https://bugzilla.redhat.com/show_bug.cgi?id=1701021 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df24d6e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dnsimple-go-*.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 86fb357..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-dnsimple - -Go client for the DNSimple API v2 \ No newline at end of file diff --git a/golang-github-dnsimple.spec b/golang-github-dnsimple.spec new file mode 100644 index 0000000..2e532c5 --- /dev/null +++ b/golang-github-dnsimple.spec @@ -0,0 +1,54 @@ +%global goipath github.com/dnsimple/dnsimple-go +Version: 0.23.0 +%gometa + +%global common_description %{expand: +This library is a Go client you can use to interact with the DNSimple API v2.} + +Name: %{goname} +Release: 1%{?dist} +Summary: Go client for the DNSimple API v2 +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/google/go-querystring/query) +BuildRequires: golang(golang.org/x/oauth2) + + +%description +%{common_description} + + +%package devel +Summary: %{summary} +BuildArch: noarch + + +%description devel +%{common_description} + +This package contains the source code needed for building packages that import +the %{goipath} Go namespace. + + +%prep +%forgeautosetup + + +%install +%goinstall + + +%check +%gochecks + + +%files devel -f devel.file-list +%license LICENSE.txt +%doc README.md CHANGELOG.md + + +%changelog +* Wed Apr 17 2019 Carl George - 0.23.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1f82d31 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dnsimple-go-0.23.0.tar.gz) = 144d5d02974f8e04a2863867407fb2cd80ed9304521ce73b74bca462b3ecfc7eafc1b0a3e398441919c8cfce48030bc55155d42611ca2eb189f85c2ce6ae58b0