# Generated by go2rpm
%bcond_without check
# https://github.com/schollz/progressbar
%global goipath github.com/schollz/progressbar/v2
%global forgeurl https://github.com/schollz/progressbar
Version: 2.15.0
%gometa
%global common_description %{expand:
A very simple thread-safe progress bar which should work on every OS without
problems. I needed a progressbar for croc and everything I tried had problems,
so I made another one.}
%global golicenses LICENSE
%global godocs examples README.md
Name: %{goname}
Release: 2%{?dist}
Summary: Basic thread-safe progress bar for Golang applications
License: MIT
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/k0kubun/go-ansi)
BuildRequires: golang(github.com/mitchellh/colorstring)
%if %{with check}
# Tests
BuildRequires: golang(github.com/stretchr/testify/assert)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
# Needs network
%gocheck -d .
%endif
%gopkgfiles
%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Feb 16 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.15.0-1
- Update to latest version
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 10 00:14:12 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.12.1-1
- Initial package