# Generated by go2rpm 1 %bcond_without check # https://github.com/shurcooL/githubv4 %global goipath github.com/shurcooL/githubv4 %global commit e003124d66e430e2f6b853080a90ddbc280a159b %gometa %global common_description %{expand: Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://developer.github.com/v4/).} %global golicenses LICENSE %global godocs example README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Package githubv4 is a client library for accessing GitHub GraphQL API v4 License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/shurcooL/graphql) BuildRequires: golang(golang.org/x/oauth2) %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/githubv4 %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc example README.md %{_bindir}/* %gopkgfiles %changelog * Wed Jul 22 19:12:13 CEST 2020 Robert-André Mauchin - 0-0.1.20200722gite003124 - Initial package