Blame golang-github-geertjohan-rice.spec

c608c6b
# Generated by go2rpm
c608c6b
%bcond_without check
c608c6b
c608c6b
# https://github.com/GeertJohan/go.rice
c608c6b
%global goipath         github.com/GeertJohan/go.rice
d45dece
Version:                1.0.2
c608c6b
c608c6b
%gometa
c608c6b
c608c6b
%global common_description %{expand:
c608c6b
Go.rice is a Go package that makes working with resources such as
c608c6b
html,js,css,images,templates, etc very easy.}
c608c6b
c608c6b
%global golicenses      LICENSE
c608c6b
%global godocs          example AUTHORS README.md
c608c6b
c608c6b
Name:           %{goname}
d45dece
Release:        1%{?dist}
c608c6b
Summary:        Go.rice is a Go package that makes working with resources such as html,js,css,images,templates, etc very easy
c608c6b
c608c6b
# Upstream license specification: BSD-2-Clause
c608c6b
License:        BSD
c608c6b
URL:            %{gourl}
c608c6b
Source0:        %{gosource}
c608c6b
c608c6b
BuildRequires:  golang(github.com/akavel/rsrc/binutil)
c608c6b
BuildRequires:  golang(github.com/akavel/rsrc/coff)
c608c6b
BuildRequires:  golang(github.com/daaku/go.zipexe)
c608c6b
BuildRequires:  golang(github.com/davecgh/go-spew/spew)
c608c6b
BuildRequires:  golang(github.com/GeertJohan/go.incremental)
c608c6b
BuildRequires:  golang(github.com/jessevdk/go-flags)
c608c6b
BuildRequires:  golang(github.com/nkovacs/streamquote)
c608c6b
BuildRequires:  golang(github.com/valyala/fasttemplate)
c608c6b
c608c6b
%description
c608c6b
%{common_description}
c608c6b
c608c6b
%gopkg
c608c6b
c608c6b
%prep
c608c6b
%goprep
c608c6b
c608c6b
%build
c608c6b
for cmd in rice; do
c608c6b
  %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
c608c6b
done
c608c6b
c608c6b
%install
c608c6b
%gopkginstall
c608c6b
install -m 0755 -vd                     %{buildroot}%{_bindir}
c608c6b
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
c608c6b
c608c6b
%if %{with check}
c608c6b
%check
c608c6b
%gocheck
c608c6b
%endif
c608c6b
c608c6b
%files
c608c6b
%license LICENSE
c608c6b
%doc example AUTHORS README.md
c608c6b
%{_bindir}/*
c608c6b
c608c6b
%gopkgfiles
c608c6b
c608c6b
%changelog
d45dece
* Fri Dec 18 12:23:53 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.2-1
d45dece
- Update to 1.0.2
d45dece
- Close: rhbz#1906847
d45dece
9631848
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
9631848
- Second attempt - Rebuilt for
9631848
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9631848
afbd667
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
afbd667
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
afbd667
779593a
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
779593a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
779593a
7aae444
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
7aae444
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7aae444
c608c6b
* Mon May 06 23:02:39 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-1
c608c6b
- Initial package
c608c6b