# Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/timtadh/lexmachine %global goipath github.com/timtadh/lexmachine Version: 0.2.2 %gometa %global common_description %{expand: A full lexical analysis framework for the Go programming language.} %global golicenses LICENSE %global godocs examples README.md CHANGELOG Name: %{goname} Release: 1%{?dist} Summary: Lex machinary for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/lexc %{goipath}/lexc %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 examples README.md CHANGELOG %{_bindir}/lexc %gopkgfiles %changelog * Fri Jun 24 2022 Julien Rische - 0.2.2-1.20220624git2474ad5 - Initial package