# Generated by go2rpm %bcond_without check # https://github.com/appc/goaci %global goipath github.com/appc/goaci Version: 0.1.1 %gometa %global common_description %{expand: Goaci is a simple command-line tool to build Go projects into ACIs which conform to the app container specification.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Tool to build Go projects into ACIs # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/appc/spec/aci) BuildRequires: golang(github.com/appc/spec/schema) BuildRequires: golang(github.com/appc/spec/schema/types) BuildRequires: golang(golang.org/x/tools/go/vcs) %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/goaci %{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 README.md %{_bindir}/* %gopkgfiles %changelog * Sun May 12 14:19:39 CEST 2019 Robert-André Mauchin - 0.1.1-1 - Initial package