# Generated by go2rpm %bcond_without check # https://github.com/gosexy/gettext %global goipath github.com/gosexy/gettext Version: 0.9 %gometa %global godevelheader %{expand: Requires: gettext-devel} %global common_description %{expand: Go bindings for GNU gettext, an internationalization and localization library for writing multilingual systems.} %global golicenses LICENSE %global godocs _examples README.md Name: %{goname} Release: 8%{?dist} Summary: Go bindings for GNU's gettext License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/jessevdk/go-flags) BuildRequires: gettext-devel %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(gopkg.in/check.v1) %endif %description %{common_description} %package -n go-xgettext Summary: Program for extracting translatable strings from Go programs %description -n go-xgettext The go-xgettext program is an implementation of xgettext implemented in go. It can reliably parse go source files to identify content to translate. %gopkg %prep %goprep %build for cmd in go-xgettext; 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 -d . %endif %files -n go-xgettext %license LICENSE %doc _examples README.md %{_bindir}/* %gopkgfiles %changelog * Tue Jul 19 2022 Maxwell G - 0.9-8 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Thu Jan 20 2022 Fedora Release Engineering - 0.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 02 20:43:37 CEST 2019 Robert-André Mauchin - 0.9-1 - Release 0.9 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.8.git305f360 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.7.git305f360 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.6.git305f360 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.5.git305f360 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.4.git305f360 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.3.git305f360 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Aug 09 2016 Zygmunt Krynicki - 0-0.3.git305f360 - Build and install go-xgettext to a separate binary package * Tue Jul 26 2016 Zygmunt Krynicki - 0-0.2.git305f360 - Update to latest upstream snapshot - Include test data in the devel and unit test packages and enable unit tests * Fri Jun 10 2016 Zygmunt Krynicki - 0-0.1.git98b7b91 - First package for Fedora