Blob Blame History Raw
# Generated by go2rpm
%bcond_without check
%bcond_with bootstrap

# https://github.com/ajstarks/svgo
%global goipath         github.com/ajstarks/svgo
%global commit          bd5c74aaa11ced81d5a9b999a5abd363a3f3c058

%gometa

%global goipaths0       github.com/ajstarks/svgo
%global goipathsex0     github.com/ajstarks/svgo/personal

%if %{without bootstrap}
%global goipaths1       github.com/ajstarks/svgo/personal
%endif

%global common_description %{expand:
The library generates SVG as defined by the Scalable Vector Graphics 1.1
Specification (http://www.w3.org/TR/SVG11/). Output goes to the specified
io.Writer.}

%global golicenses      LICENSE
%global godocs          README.markdown

Name:           %{goname}
Version:        0
Release:        0.8%{?dist}
Summary:        Go Language Library for SVG generation

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%if %{without bootstrap}
BuildRequires:  golang(github.com/ajstarks/deck/generate)
%endif
BuildRequires:  golang(honnef.co/go/tools/structlayout)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%if %{with bootstrap}
%gocheck -d personal
%else
%gocheck
%endif
%endif

%gopkgfiles

%changelog
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Sun Jan 26 18:43:55 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.7.20200126gitbd5c74a
- Bump to commit bd5c74aaa11ced81d5a9b999a5abd363a3f3c058
- License changed from CC-BY to MIT

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Thu May 16 22:47:15 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20190516git6ce6a3b
- Bump to commit 6ce6a3bcf6cde6c5007887677ebd148ec30f42a4

* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.git644b8db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git644b8db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Thu May 03 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.2.20180421git644b8db
- Fix typo in the changelog

* Fri Mar 23 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20180421git644b8db
- First package for Fedora