Initial import (#1477137)
This commit is contained in:
parent
1c89d45dcc
commit
f8c0598245
|
@ -0,0 +1 @@
|
|||
/1.0.1.tar.gz
|
1
sources
1
sources
|
@ -0,0 +1 @@
|
|||
SHA512 (1.0.1.tar.gz) = 511aab2b61c0e8ceac9a02cc33b6220e753da47dbeb9def04452fe1b3b5a492dd0b88f7ee9ac55ffce1e9c7b0654fe475df3c7ee9ff95ef25b4672f4157048be
|
|
@ -0,0 +1,42 @@
|
|||
Name: tetrominos
|
||||
Version: 1.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple CLI logical game
|
||||
Summary(cs): Jednoduchá terminálová logická hra
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/sparkoo/NTetris
|
||||
Source0: https://github.com/sparkoo/NTetris/archive/%{version}.tar.gz
|
||||
|
||||
BuildRequires: ncurses-devel
|
||||
Requires: ncurses
|
||||
|
||||
%description
|
||||
Build tetromino blocks to fill full lines. Based on Ncurses lib for CLI gaming.
|
||||
|
||||
%description -l cs
|
||||
Postavte tetromino bloky tak, aby zaplnily celé řádky.
|
||||
|
||||
%prep
|
||||
%setup -q -n NTetris-%{version}
|
||||
|
||||
%build
|
||||
make clean
|
||||
export CFLAGS="%{optflags}"
|
||||
export LDFLAGS="%{__global_ldflags} -Wl,--build-id=sha1"
|
||||
%make_build PREFIX=%{_prefix}
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix}
|
||||
mv %{buildroot}%{_bindir}/ntetris %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 8 2017 Michal Vala <mvala@redhat.com> 1.0.1-1
|
||||
- initial version created many years ago as a school project
|
Loading…
Reference in New Issue