# Generated by go2rpm
%bcond_without check
# https://github.com/mattn/go-colorable
%global goipath github.com/mattn/go-colorable
Version: 0.1.8
%gometa
%global common_description %{expand:
Colorable writer for windows.
For example, most of logger packages doesn't show colors on windows. This
package is possible to handle escape sequence for ansi color on windows.}
%global golicenses LICENSE
%global godocs _example README.md
Name: %{goname}
Release: 1%{?dist}
Summary: Colorable writer for windows
License: MIT
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/mattn/go-isatty)
%description
%{common_description}
%gopkg
%prep
%goprep
%build
for cmd in cmd/* ; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
%files
%license %{golicenses}
%doc %{godocs}
%{_bindir}/*
%gopkgfiles
%changelog
* Mon Dec 21 07:49:38 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.8-1
- Update to 0.1.8
- Close: rhbz#1884936
* Wed Jul 29 20:06:37 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.7-1
- Update to 0.1.7
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 02 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.1.4-1
- Update to latest version
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jul 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.1.2-2
- Add Obsoletes for old name
* Sun Apr 21 18:41:41 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.2-1
- Release 0.1.2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.9-0.2.gitefa5899
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Nov 02 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.0.9-0.1.20181102gitefa5899
- Bump to commit efa589957cd060542a26d2dd7832fd6a6c6c3ade
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.7.20170816gitad5389d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.20170816gitad5389d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Sep 22 2017 Matthias Runge <mrunge@redhat.com> - 0.0.5-20170816gitad5389d
- add requirement to golang-github-mattn-go-isatty (rhbz#1494218)
* Thu Sep 21 2017 Matthias Runge <mrunge@redaht.com> - 0-0.4.20170816gitad5389d
- fix import path (rhbz#1493760)
* Mon Sep 18 2017 Matthias Runge <mrunge@redhat.com> - 0-0.3.20170816gitad5389d
- update to latest commit
- own /usr/share/gocode/src/gopkg.in/mattn/go-colorable.v1/cmd/
- feedback from initial review (rhbz#1376412)
* Thu Apr 7 2016 Matthias Runge <mrunge@redhat.com> - 0.1git-9cbef7c
- initial package