/
bastet.spec
94 lines (73 loc) · 2.32 KB
/
bastet.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Name: bastet
Version: 0.43
Release: 5
License: GPLv3+
Summary: Tetris clone giving you the worst bricks possible
Group: Games/Other
Url: http://fph.altervista.org/prog/bastet.html
Source0: http://fph.altervista.org/prog/files/%{name}-%{version}.tgz
BuildRequires: ncurses-devel
BuildRequires: boost-devel
%description
Bastet stands for "bastard tetris", and is a simple ncurses-based Tetris(R)
clone for Linux. Instead of choosing the next block randomly, this fiendish
program uses a special algorithm to give you the worst possible brick.
Playing Bastet can be a very frustrating experience!
%prep
%setup -q
%build
%serverbuild
%make
%install
# binary
mkdir -p %{buildroot}%{_bindir}
install -p bastet %{buildroot}%{_bindir}/bastet
# empty high score file
mkdir -p %{buildroot}%{_var}/%{_gamesdir}
touch %{buildroot}%{_var}/%{_gamesdir}/%{name}.scores2
# manpage
mkdir -p %{buildroot}%{_mandir}/man6
install -p %{name}.6 %{buildroot}%{_mandir}/man6/%{name}.6
%files
%doc AUTHORS NEWS README
%attr(2755,root,games) %{_bindir}/%{name}
%attr(664,root,games) %{_var}/%{_gamesdir}/%{name}.scores2
%{_mandir}/man6/%{name}.*
%changelog
* Fri Jun 08 2012 Matthew Dawkins <mattydaw@mandriva.org> 0.43-4
+ Revision: 803550
- rebuild for boost libs
- cleaned up spec
* Mon Mar 14 2011 Funda Wang <fwang@mandriva.org> 0.43-3
+ Revision: 644475
- rebuild for new boost
* Mon Aug 23 2010 Funda Wang <fwang@mandriva.org> 0.43-2mdv2011.0
+ Revision: 572152
- rebuild for new boost
* Fri Mar 05 2010 Jani Välimaa <wally@mandriva.org> 0.43-1mdv2011.0
+ Revision: 514788
- new version 0.43
- drop unneeded patches
- add missing BR
- change description
- fix license
- add url
* Thu Sep 10 2009 Thierry Vignaud <tv@mandriva.org> 0.41-6mdv2010.0
+ Revision: 436806
- rebuild
* Wed Apr 01 2009 Nicolas Vigier <nvigier@mandriva.com> 0.41-5mdv2009.1
+ Revision: 363329
- fix Summary
* Wed Jul 23 2008 Thierry Vignaud <tv@mandriva.org> 0.41-4mdv2009.0
+ Revision: 243166
- rebuild
* Mon Feb 18 2008 Thierry Vignaud <tv@mandriva.org> 0.41-2mdv2008.1
+ Revision: 171453
- BuildRequires: curses-devel
- rebuild
- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake
- kill re-definition of %%buildroot on Pixel's request
+ Olivier Blin <blino@mandriva.org>
- restore BuildRoot
+ Nicolas Vigier <nvigier@mandriva.com>
- Import bastet