diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e863f29 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +dnspod-go-*.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 6bf5e4b..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-decker502-dnspod - -Go client for the DNSPod API \ No newline at end of file diff --git a/golang-github-decker502-dnspod.spec b/golang-github-decker502-dnspod.spec new file mode 100644 index 0000000..140bb0d --- /dev/null +++ b/golang-github-decker502-dnspod.spec @@ -0,0 +1,53 @@ +%global goipath github.com/decker502/dnspod-go +Version: 0.2.0 +%gometa + +%global common_description %{expand: +This library is a Go client you can use to interact with the DNSPod API.} + +Name: %{goname} +Release: 1%{?dist} +Summary: Go client for the DNSPod API +License: MIT +URL: %{gourl} +Source0: %{gosource} + +#BuildRequires: golang(github.com/foo/bar) + + +%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 +%doc README.md + + +%changelog +* Wed Apr 17 2019 Carl George - 0.2.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..20c58c8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dnspod-go-0.2.0.tar.gz) = 564054010dae14a0a589d6b008d5687d1a1d7126383ece709295a53c7d922db59c87918e46e987b3de982644fb4cde79ddf4bd08a9acc989c1cd39592243a845