# Generated by go2rpm 1 # Needs network access %bcond_with check # https://github.com/schollz/progressbar/v3 %global goipath github.com/schollz/progressbar/v3 Version: 3.3.4 %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: 1%{?dist} Summary: A really 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/mattn/go-runewidth) 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 %gocheck %endif %gopkgfiles %changelog * Thu Jul 30 21:49:57 CEST 2020 Robert-André Mauchin - 3.3.4-1 - Initial package