Blame golang-github-chai2010-gettext.spec

881aeda
# Generated by go2rpm
881aeda
%bcond_without check
881aeda
881aeda
# https://github.com/chai2010/gettext-go
881aeda
%global goipath         github.com/chai2010/gettext-go
392e040
Version:                1.0.2
881aeda
881aeda
%gometa
881aeda
881aeda
%global common_description %{expand:
881aeda
Package Gettext implements a basic GNU's gettext library.}
881aeda
881aeda
%global golicenses      LICENSE
881aeda
%global godocs          examples README.md
881aeda
881aeda
Name:           %{goname}
2d9b7ec
Release:        2%{?dist}
881aeda
Summary:        GNU gettext for Go
881aeda
881aeda
# Upstream license specification: BSD-3-Clause
881aeda
License:        BSD
881aeda
URL:            %{gourl}
881aeda
Source0:        %{gosource}
881aeda
881aeda
%description
881aeda
%{common_description}
881aeda
881aeda
%gopkg
881aeda
881aeda
%prep
881aeda
%goprep
881aeda
392e040
%build
392e040
for cmd in cmd/* ; do
392e040
  %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
392e040
done
392e040
881aeda
%install
881aeda
%gopkginstall
392e040
install -m 0755 -vd                     %{buildroot}%{_bindir}
392e040
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
881aeda
881aeda
%if %{with check}
881aeda
%check
392e040
%gocheck
881aeda
%endif
881aeda
392e040
%files
392e040
%license LICENSE
392e040
%doc examples README.md
392e040
%{_bindir}/*
392e040
881aeda
%gopkgfiles
881aeda
881aeda
%changelog
2d9b7ec
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
2d9b7ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2d9b7ec
392e040
* Fri Jul 24 22:16:55 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.2-1
392e040
- Update to 1.0.2
392e040
9ad0c3e
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
9ad0c3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9ad0c3e
72931bc
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
72931bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
72931bc
881aeda
* Fri May 10 21:11:27 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190629gitbf70f2a
881aeda
- Initial package