# Generated by go2rpm %bcond_without check # https://github.com/akavel/rsrc %global goipath github.com/akavel/rsrc Version: 0.8.0 %gometa %global common_description %{expand: Tool for embedding binary resources in Go programs.} %global golicenses LICENSE.txt %global godocs AUTHORS README.txt Name: %{goname} Release: 1%{?dist} Summary: Tool for embedding .ico & manifest resources in Go programs License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/rsrc %{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.txt %doc AUTHORS README.txt %{_bindir}/* %gopkgfiles %changelog * Mon May 06 23:05:12 CEST 2019 Robert-André Mauchin - 0.8.0-1 - Initial package