# Generated by go2rpm 1 %bcond_without check # https://github.com/kljensen/snowball %global goipath github.com/kljensen/snowball Version: 0.6.0 %gometa %global common_description %{expand: Go implementation of the Snowball stemmers.} %global golicenses LICENSE %global godocs README.md HISTORY.md norwegian/README.md\\\ russian/README.md spanish/README.md swedish/README.md\\\ english/README.md Name: %{goname} Release: 1%{?dist} Summary: Go implementation of the Snowball stemmers License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in gostem; 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 %doc README.md HISTORY.md norwegian/README.md russian/README.md %doc spanish/README.md swedish/README.md english/README.md %{_bindir}/* %gopkgfiles %changelog * Tue Nov 05 14:27:24 +03 2019 ElXreno - 0.6.0-1 - Initial package