# Generated by go2rpm %bcond_without check # https://github.com/chai2010/gettext-go %global goipath github.com/chai2010/gettext-go Version: 1.0.2 %gometa %global common_description %{expand: Package Gettext implements a basic GNU's gettext library.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: 2%{?dist} Summary: GNU gettext for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* ; 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 examples README.md %{_bindir}/* %gopkgfiles %changelog * Mon Jul 27 2020 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 24 22:16:55 CEST 2020 Robert-André Mauchin - 1.0.2-1 - Update to 1.0.2 * Tue Jan 28 2020 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 10 21:11:27 CEST 2019 Robert-André Mauchin - 0-0.1.20190629gitbf70f2a - Initial package