diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b8c728a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-putio-19b9c636c877741bdbc4a461dea101d871b09b3c.tar.gz diff --git a/golang-github-putdotio-putio.spec b/golang-github-putdotio-putio.spec new file mode 100644 index 0000000..a11cd6b --- /dev/null +++ b/golang-github-putdotio-putio.spec @@ -0,0 +1,50 @@ +# Generated by go2rpm 1 +%bcond_without check + +# https://github.com/putdotio/go-putio +%global goipath github.com/putdotio/go-putio +%global commit 19b9c636c877741bdbc4a461dea101d871b09b3c + +%gometa + +%global common_description %{expand: +Putio is a Go client library for accessing the Put.io API v2.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Put.io Go API client + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +%if %{with check} +# Tests +BuildRequires: golang(golang.org/x/oauth2) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Wed Sep 25 19:18:52 CEST 2019 Robert-André Mauchin - 0-0.1.20190927git19b9c63 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..123d3fa --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-putio-19b9c636c877741bdbc4a461dea101d871b09b3c.tar.gz) = 60f2945a541ac496f9678fcc5941855ce82f5e07b59171953f94409ae6ba42a541d59ddb5d282ffd9499a5d9319c520aa4286348f3ed4ae5d2b6b3dd07b3d6ac