# Generated by go2rpm %bcond_without check # https://github.com/cheggaaa/pb %global goipath gopkg.in/cheggaaa/pb.v1 %global forgeurl https://github.com/cheggaaa/pb Version: 1.0.28 %gometa %global common_description %{expand: Simple progress bar for console programs.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Console progress bar for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-cheggaaa-pb-1 = %{version}-%{release} Obsoletes: golang-gopkg-cheggaaa-pb-1 < 1.0.28-12 %global godevelheader %{expand: Provides: golang-gopkg-cheggaaa-pb-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-cheggaaa-pb-1-devel < 1.0.28-12} BuildRequires: golang(github.com/mattn/go-runewidth) BuildRequires: golang(golang.org/x/sys/unix) %if %{with check} # Tests BuildRequires: golang(github.com/fatih/color) BuildRequires: golang(github.com/mattn/go-colorable) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog