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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Abandoned Bricks is yet anonther teris clone. It has SDL-based
25 For single player game there are three game modes. In Classic mode you
26 start each level with clean screen. In Challenge mode you start levels
27 with some garbage at bottom, and you only have two brick types
28 (shapes) for the level. In Bastet mode you start levels with clean
29 screen. You always get the worst possible brick for the moment, and
30 next brick preview is not available. You get 20 points for each brick,
31 and high bonuses for lines.
33 In two player games (duel), the goal is to remain the only one still
34 playing. When you drop more than one line, the other player gets
35 additional garbage lines at the bottom. For two lines he gets one, for
36 three he gets two and for four he gets three (in short: what you've
39 %description -l pl.UTF-8
40 Abandoned Bricks jest kolejnym klonem gry tetris. Interface gry
41 wykorzystuje bibliotekę SDL.
43 Dla jednego gracza są dostępne trzy tryby gry: "Klasyczny" w którym
44 każdy poziom gracz rozpoczyna z czystym ekranem, "Wyzwanie" w którym
45 każdy poziom na początku jest zaśmiecony pewną ilością klocków, oraz
46 są dostępne tylko dwa typy klocków oraz "Bastet" w którym gra dobiera
47 zawsze najgorszy klocek w danej sytuacji.
49 Dla dwóch graczy celem gry jest przetrwać w grze dłużej niż
50 przeciwnik. Jeżeli jednemu graczowi uda się usunąć więcej niż jedną
51 linię, przeciwnik otrzymuje dodatkowe śmieci.
54 %setup -q -n %{name}-%{version}-src
57 %{__sed} -i -e 's,\r$,,' *.cpp *.h
67 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{/var/games/abrick,%{_bindir},%{_datadir}}
70 install abrick $RPM_BUILD_ROOT%{_bindir}/abrick
71 touch $RPM_BUILD_ROOT/var/games/abrick/hiscore.dat
72 cp -a data $RPM_BUILD_ROOT%{_datadir}/abrick
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
80 %attr(2755,root,games) %{_bindir}/%{name}
82 %dir %attr(775,root,games) /var/games/abrick
83 %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/abrick/hiscore.dat