# Generated by go2rpm 1.3 %bcond_without check # https://github.com/skip2/go-qrcode %global goipath github.com/skip2/go-qrcode %global commit da1b6568686e89143e94f980a98bc2dbd5537f13 %gometa %global common_description %{expand: :sparkles: QR Code encoder (Go).} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: :sparkles: QR Code encoder (Go) License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in qrcode; 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 -d . %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog * Fri Jul 16 14:38:47 CDT 2021 Joe Doss - 0-0.1.20210716gitda1b656 - Initial package