avatar
abfonly has added 6d417c1008
Imported from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  2048.c-master.zip: 661d9c471d2db42cc8f762b3beff8a2d895a6fd2
... ... --- /dev/null
... ... +++ b/2048.c.spec
... ... @@ -0,0 +1,33 @@
1
Summary:	Console version of the game 2048 for GNU/Linux
2
Name:		2048.c
3
Version:	0.1
4
Release:	1
5
License:	MIT
6
Group:		Games/Puzzles
7
Url:		https://github.com/mevdschee/2048.c
8
#this is master branch https://github.com/mevdschee/2048.c/tree/master
9
Source0:	2048.c-master.zip
10
11
12
%description
13
%{summary}
14
15
%files
16
%doc LICENSE README.md
17
%{_bindir}/2048
18
19
#-----------------------------------------
20
%prep
21
%setup -qn 2048.c-master
22
23
%build
24
%setup_compile_flags
25
make
26
27
%install
28
install -Dm755 2048 %{buildroot}%{_bindir}/2048
29
30
31
%check
32
./2048 test  
33

Comments