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
ce337a7
Version:                1.4.2
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}
1a15d28
Release:        2%{?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
1a15d28
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
1a15d28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
1a15d28
ce337a7
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.2-1
ce337a7
- Update to latest upstream release 1.4.2 (rhbz#1963608)
ce337a7
969fad2
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-3
969fad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
969fad2
d1c853e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.6-2
d1c853e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d1c853e
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
ce337a7
- Initial package for Fedora