# Generated by go2rpm 1.1 %bcond_without check # https://github.com/AlecAivazis/survey %global goipath github.com/AlecAivazis/survey Version: 2.1.1 %gometa %global common_description %{expand: A golang library for building interactive prompts with full support for windows and posix terminals.} %global golicenses LICENSE terminal/LICENSE.txt %global godocs examples CONTRIBUTING.md README.md terminal/README.md Name: %{goname} Release: 1%{?dist} Summary: A library for building interactive prompts License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/kballard/go-shellquote) BuildRequires: golang(github.com/mgutz/ansi) BuildRequires: golang(golang.org/x/crypto/ssh/terminal) BuildRequires: golang(golang.org/x/text/width) %if %{with check} # Tests BuildRequires: golang(github.com/hinshun/vt10x) BuildRequires: golang(github.com/Netflix/go-expect) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Sep 23 12:36:49 CDT 2020 Joe Doss - 2.1.1-1 - Initial package