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