Blob Blame History Raw
# Generated by go2rpm 1.2
# There is a failure during the checks
%bcond_with check

# https://github.com/gookit/color
%global goipath         github.com/gookit/color
Version:                1.3.1

%gometa

%global common_description %{expand:
A Terminal color rendering tool library, support 8/16 colors, 256 colors 
and RGB color rendering output.}

%global golicenses      LICENSE
%global godocs          _examples README.zh-CN.md README.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Terminal color rendering tool library

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

%if %{with check}
# Tests
BuildRequires:  golang(github.com/stretchr/testify/assert)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Wed Oct 07 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.3.1-1
- Initial package for Fedora