# Generated by go2rpm %bcond_without check # https://github.com/jaguilar/vt100 %global goipath github.com/jaguilar/vt100 %global commit 2703a27b14ea0ae9021ef4e0c406a45a4089587e %gometa %global common_description %{expand: Package Vt100 implements a quick-and-dirty programmable ANSI terminal emulator. You could, for example, use it to run a program like nethack that expects a terminal as a subprocess. It tracks the position of the cursor, colors, and various other aspects of the terminal's state, and allows you to inspect them. We do very much mean the dirty part. It's not that we think it might have bugs. It's that we're SURE it does. Currently, we only handle raw mode, with no cooked mode features like scrolling. We also misinterpret some of the control codes, which may or may not matter for your purpose.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Raw-mode vt100 screen reader License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/facebookgo/httpdown) BuildRequires: golang(github.com/golang/glog) BuildRequires: golang(github.com/kr/pty) BuildRequires: golang(github.com/pkg/term/termios) %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 * Sun May 05 23:58:09 CEST 2019 Robert-André Mauchin - 0-0.1.20190505git2703a27 - Initial package