Imported from SRPM

This commit is contained in:
Sergey Zhemoytel 2022-03-04 22:22:51 +03:00
commit 7aa3aacc14
2 changed files with 35 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
gambit-0.1.0.tar.gz: b44fbc89ea1a82243026f6b2f2deaf6a0e839d57

33
gambit.spec Normal file
View file

@ -0,0 +1,33 @@
%define debug %nil
%define debug_package %nil
Name: gambit
Version: 0.1.0
Release: 1
Summary: Chess in terminal
URL: https://github.com/maaslalani/gambit
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
License: MIT
Group: Games/Boards
BuildRequires: go
BuildRequires: git-core
BuildRequires: upx
%description
Chess board in your terminal
%prep
%setup -q
%build
go build -o %{name}
upx %{name}
%install
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE
%{_bindir}/%{name}