# Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/valyala/quicktemplate %global goipath github.com/valyala/quicktemplate Version: 1.7.0 %gometa %global common_description %{expand: Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template.} %global golicenses LICENSE qtc/LICENSE %global godocs examples README.md qtc/README.md Name: %{goname} Release: 1%{?dist} Summary: Fast, powerful, yet easy to use template engine for Go License: MIT URL: %{gourl} Source0: %{gosource} # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build for cmd in qtc; 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 qtc/LICENSE %doc examples README.md qtc/README.md %{_bindir}/* %gopkgfiles %changelog * Mon Aug 22 2022 Alessio - 1.7.0-1 - Initial package