1 Summary: Abandoned Bricks is SDL based tetris clone
2 Summary(hu.UTF-8): Egy Tetris-klón
3 Summary(pl.UTF-8): Abandoned Bricks to gra typu tetris oparta o SDL
8 Group: X11/Applications/Games
9 Source0: http://dl.sourceforge.net/project/abrick/abrick/abrick-1.12/%{name}-%{version}-src.tar.gz
10 # Source0-md5: 56bdb952e2c247abfccf6e4a5251753c
11 Patch0: %{name}-buildfix.patch
12 Patch1: %{name}-paths.patch
13 Patch2: %{name}-usage.patch
14 URL: http://abrick.sourceforge.net/
15 BuildRequires: SDL-devel
16 BuildRequires: SDL_image-devel
17 BuildRequires: SDL_mixer-devel
18 BuildRequires: sed >= 4.0
19 Requires: group(games)
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Abandoned Bricks is yet anonther teris clone. It has SDL-based
26 For single player game there are three game modes. In Classic mode you
27 start each level with clean screen. In Challenge mode you start levels
28 with some garbage at bottom, and you only have two brick types
29 (shapes) for the level. In Bastet mode you start levels with clean
30 screen. You always get the worst possible brick for the moment, and
31 next brick preview is not available. You get 20 points for each brick,
32 and high bonuses for lines.
34 In two player games (duel), the goal is to remain the only one still
35 playing. When you drop more than one line, the other player gets
36 additional garbage lines at the bottom. For two lines he gets one, for
37 three he gets two and for four he gets three (in short: what you've
40 %description -l pl.UTF-8
41 Abandoned Bricks jest kolejnym klonem gry tetris. Interface gry
42 wykorzystuje bibliotekę SDL.
44 Dla jednego gracza są dostępne trzy tryby gry: "Klasyczny" w którym
45 każdy poziom gracz rozpoczyna z czystym ekranem, "Wyzwanie" w którym
46 każdy poziom na początku jest zaśmiecony pewną ilością klocków, oraz
47 są dostępne tylko dwa typy klocków oraz "Bastet" w którym gra dobiera
48 zawsze najgorszy klocek w danej sytuacji.
50 Dla dwóch graczy celem gry jest przetrwać w grze dłużej niż
51 przeciwnik. Jeżeli jednemu graczowi uda się usunąć więcej niż jedną
52 linię, przeciwnik otrzymuje dodatkowe śmieci.
55 %setup -q -n %{name}-%{version}-src
58 %{__sed} -i -e 's,\r$,,' *.cpp *.h
68 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{/var/games/abrick,%{_bindir},%{_datadir}}
71 install abrick $RPM_BUILD_ROOT%{_bindir}/abrick
72 touch $RPM_BUILD_ROOT/var/games/abrick/hiscore.dat
73 cp -a data $RPM_BUILD_ROOT%{_datadir}/abrick
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
81 %attr(2755,root,games) %{_bindir}/%{name}
83 %dir %attr(775,root,games) /var/games/abrick
84 %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/abrick/hiscore.dat