# Generated by go2rpm 1.12.0 %bcond_without check # https://gitlab.com/jackorp/specfile_parser_simple %global goipath gitlab.com/jackorp/specfile_parser_simple %global forgeurl https://gitlab.com/jackorp/specfile_parser_simple Version: 0.1.0 %gometa -L -f %global common_description %{expand:\ Parser library for static analysis of RPM specfile} %global golicenses LICENSE %global godocs README.md Name: golang-gitlab-jackorp-specfile-parser-simple Release: 1%{?dist} Summary: Parser library for static analysis of RPM specfile License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: pkgconfig(libgit2) %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/specfile_parser_simple %{goipath} %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}/* %gopkgfiles %changelog * Mon May 13 2024 Jarek Prokop - 0.1.0-1 - Initial package.