golang-github-fatih-color/golang-github-fatih-color.spec
2025-01-05 18:55:23 +01:00

57 lines
974 B
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/fatih/color
%global goipath github.com/fatih/color
Version: 1.18.0
%gometa -f -i
%global common_description %{expand:
Color package for Go (golang).}
%global golicenses LICENSE.md
%global godocs README.md
Name: golang-github-fatih-color
Release: %autorelease
Summary: Color package for Go (golang)
License: MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%dnl %autopatch -p1
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog