## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.8.0 %bcond_without check # https://github.com/esimov/stackblur-go %global goipath github.com/esimov/stackblur-go Version: 1.1.0 %gometa -f %global common_description %{expand: A fast, almost Gaussian Blur implementation in Go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: A fast, almost Gaussian Blur implementation in Go License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/stackblur %{goipath}/cmd %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}/stackblur %gopkgfiles %changelog * Sun Aug 14 2022 Robert-André Mauchin 1.1.0-1 - Uncommitted changes