Blob Blame History Raw
# 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.5%{?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
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5
- Second attempt - Rebuilt for
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sun May 05 23:58:09 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190627git2703a27
- Initial package