4f6ddc5
# Generated by go2rpm 1.2
4f6ddc5
# There is a failure during the checks
4f6ddc5
%bcond_with check
4f6ddc5
4f6ddc5
# https://github.com/gookit/color
4f6ddc5
%global goipath         github.com/gookit/color
fab8a69
Version:                1.3.6
4f6ddc5
4f6ddc5
%gometa
4f6ddc5
4f6ddc5
%global common_description %{expand:
4f6ddc5
A Terminal color rendering tool library, support 8/16 colors, 256 colors 
4f6ddc5
and RGB color rendering output.}
4f6ddc5
4f6ddc5
%global golicenses      LICENSE
4f6ddc5
%global godocs          _examples README.zh-CN.md README.md
4f6ddc5
4f6ddc5
Name:           %{goname}
4f6ddc5
Release:        1%{?dist}
4f6ddc5
Summary:        Terminal color rendering tool library
4f6ddc5
4f6ddc5
License:        MIT
4f6ddc5
URL:            %{gourl}
4f6ddc5
Source0:        %{gosource}
4f6ddc5
4f6ddc5
%if %{with check}
4f6ddc5
# Tests
4f6ddc5
BuildRequires:  golang(github.com/stretchr/testify/assert)
4f6ddc5
%endif
4f6ddc5
4f6ddc5
%description
4f6ddc5
%{common_description}
4f6ddc5
4f6ddc5
%gopkg
4f6ddc5
4f6ddc5
%prep
4f6ddc5
%goprep
4f6ddc5
4f6ddc5
%install
4f6ddc5
%gopkginstall
4f6ddc5
4f6ddc5
%if %{with check}
4f6ddc5
%check
4f6ddc5
%gocheck
4f6ddc5
%endif
4f6ddc5
4f6ddc5
%gopkgfiles
4f6ddc5
4f6ddc5
%changelog
fab8a69
* Sun Jan 17 15:52:32 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.6-1
fab8a69
- Update to 1.3.6
fab8a69
4f6ddc5
* Wed Oct 07 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.3.1-1
4f6ddc5
- Initial package for Fedora