]>
Commit | Line | Data |
---|---|---|
1a24a0db | 1 | Summary: Tetris game |
dbe16c03 | 2 | Summary(hu.UTF-8): Egy Tetris-klón |
1a24a0db | 3 | Summary(pl.UTF-8): Gra typu tetris |
4 | Name: bastet | |
330f64e3 | 5 | Version: 0.43.2 |
e9745cf2 | 6 | Release: 6 |
1a24a0db | 7 | License: GPL v3+ |
8 | Group: X11/Applications/Games | |
330f64e3 JB |
9 | #Source0Download: https://github.com/fph/bastet/releases |
10 | Source0: https://github.com/fph/bastet/archive/%{version}/%{name}-%{version}.tar.gz | |
11 | # Source0-md5: aee009b77b8cf9516d686bd24673800e | |
12 | Patch0: %{name}-boost.patch | |
1c060949 | 13 | Patch1: format-security.patch |
1a24a0db | 14 | URL: http://fph.altervista.org/prog/bastet.html |
f1cfbc73 | 15 | BuildRequires: boost-devel |
330f64e3 | 16 | BuildRequires: ncurses-devel >= 6 |
1a24a0db | 17 | BuildRequires: sed >= 4.0 |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
dbe16c03 ZU |
21 | Bastet stands for "bastard tetris", and is a simple ncurses-based |
22 | Tetris(R) clone for Linux. Unlike normal Tetris(R), however, Bastet | |
23 | does not choose your next brick at random. Instead, it uses a special | |
24 | algorithm designed to choose the worst brick possible. As you can | |
25 | imagine, playing Bastet can be a very frustrating experience! | |
26 | ||
27 | %description -l hu.UTF-8 | |
28 | Bastet a "bastard tetris" rövidítése, és egy egyszerű ncurses-alapú | |
29 | Tetris(R)-klón Linux-ra. A hagyományos Tetris(R)-szel ellentétben a | |
30 | Bastet a következő elemet nem véletlenszerűen választja, hanem egy | |
31 | speciális algoritmust használ, amellyel a lehető legrosszabb elemet | |
330f64e3 JB |
32 | választja ki. Gondolhatod, hogy a Bastet-tel való játék nagyon |
33 | mennyire frusztráló lehet! | |
1a24a0db | 34 | |
35 | %description -l pl.UTF-8 | |
330f64e3 JB |
36 | Bastet oznacza "bastard tetris". Jest to prosty klon gry tetris z |
37 | tekstowym interfejsem użytkownika opartym o bibliotekę ncurses. W | |
38 | odróżnieniu od innych implementacji gry tetris Bastet używa | |
39 | wyrafinowanego algorytmu, który dobiera zawsze najgorszy klocek do | |
40 | aktualnej sytuacji. Można się zatem domyślić, że granie w Bastet jest | |
41 | bardzo frustrującym przeżyciem. | |
1a24a0db | 42 | |
43 | %prep | |
44 | %setup -q | |
330f64e3 | 45 | %patch0 -p1 |
1c060949 | 46 | %patch1 -p1 |
1a24a0db | 47 | |
48 | %build | |
abd790ee | 49 | NCURSES_LIBS=$(ncurses6-config --libs) |
1a24a0db | 50 | %{__make} \ |
51 | CXX="%{__cxx}" \ | |
52 | CXXFLAGS="%{rpmcxxflags}" \ | |
330f64e3 | 53 | LDFLAGS="%{rpmldflags} $NCURSES_LIBS -lboost_program_options" |
1a24a0db | 54 | |
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | install -d $RPM_BUILD_ROOT%{_bindir} | |
58 | ||
59 | install bastet $RPM_BUILD_ROOT%{_bindir} | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc AUTHORS NEWS README | |
330f64e3 | 67 | %attr(755,root,root) %{_bindir}/bastet |