# Generated by go2rpm 1 # Needs network access %bcond_with check # https://github.com/schollz/progressbar/v3 %global goipath github.com/schollz/progressbar/v3 %global forgeurl https://github.com/schollz/progressbar Version: 3.8.3 %gometa %global common_description %{expand: A very simple thread-safe progress bar which should work on every OS.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: Really basic thread-safe progress bar for Golang applications License: MIT URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-github-schollz-progressbar-3 = %{version}-%{release} Obsoletes: golang-github-schollz-progressbar-3 < 3.8.3-6 %global godevelheader %{expand: Provides: golang-github-schollz-progressbar-3-devel = %{version}-%{release} Obsoletes: golang-github-schollz-progressbar-3-devel < 3.8.3-6} BuildRequires: golang(github.com/k0kubun/go-ansi) BuildRequires: golang(github.com/mattn/go-runewidth) BuildRequires: golang(github.com/mitchellh/colorstring) BuildRequires: golang(golang.org/x/crypto/ssh/terminal) %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 %autochangelog