# Generated by go2rpm %bcond_without check # https://github.com/crossdock/crossdock-go %global goipath github.com/crossdock/crossdock-go %global commit 049aabb0122b03bc9bd30cab8f3f91fb60166361 %gometa %global common_description %{expand: A Go client for Crossdock.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: %mkrel 2 Summary: Go client for Crossdock Group: Development/Other License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/davecgh/go-spew/spew) BuildRequires: golang(github.com/pmezard/go-difflib/difflib) BuildRequires: golang(golang.org/x/net/context) BuildRequires: golang(golang.org/x/net/context/ctxhttp) %description %{common_description} %gopkg %prep %goprep %build for cmd in _codegen; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %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 README.md %{_bindir}/* %gopkgfiles %changelog * Wed Mar 16 2022 umeabot <umeabot> 0-2.mga9 + Revision: 1794267 - Mageia 9 Mass Rebuild * Sun Nov 21 2021 guillomovitch <guillomovitch> 0-1.mga9 + Revision: 1758526 - imported package golang-github-crossdock