]> git.pld-linux.org Git - packages/abrick.git/blame - abrick.spec
- no need to R: group(games). It is defined in default groups file.
[packages/abrick.git] / abrick.spec
CommitLineData
3be0a7f3 1Summary: Abandoned Bricks is SDL based tetris clone
2Summary(hu.UTF-8): Egy Tetris-klón
3Summary(pl.UTF-8): Abandoned Bricks to gra typu tetris oparta o SDL
4Name: abrick
5Version: 1.12
0ea822bd 6Release: 2
3be0a7f3 7License: GPL v2
8Group: X11/Applications/Games
9Source0: http://dl.sourceforge.net/project/abrick/abrick/abrick-1.12/%{name}-%{version}-src.tar.gz
10# Source0-md5: 56bdb952e2c247abfccf6e4a5251753c
11Patch0: %{name}-buildfix.patch
12Patch1: %{name}-paths.patch
13Patch2: %{name}-usage.patch
14URL: http://abrick.sourceforge.net/
15BuildRequires: SDL-devel
16BuildRequires: SDL_image-devel
17BuildRequires: SDL_mixer-devel
18BuildRequires: sed >= 4.0
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Abandoned Bricks is yet anonther teris clone. It has SDL-based
23interface.
24
25For single player game there are three game modes. In Classic mode you
26start each level with clean screen. In Challenge mode you start levels
27with some garbage at bottom, and you only have two brick types
28(shapes) for the level. In Bastet mode you start levels with clean
29screen. You always get the worst possible brick for the moment, and
30next brick preview is not available. You get 20 points for each brick,
31and high bonuses for lines.
32
33In two player games (duel), the goal is to remain the only one still
34playing. When you drop more than one line, the other player gets
35additional garbage lines at the bottom. For two lines he gets one, for
36three he gets two and for four he gets three (in short: what you've
37dropped minus one).
38
39%description -l pl.UTF-8
40Abandoned Bricks jest kolejnym klonem gry tetris. Interface gry
41wykorzystuje bibliotekę SDL.
42
43Dla jednego gracza są dostępne trzy tryby gry: "Klasyczny" w którym
44każdy poziom gracz rozpoczyna z czystym ekranem, "Wyzwanie" w którym
45każdy poziom na początku jest zaśmiecony pewną ilością klocków, oraz
46są dostępne tylko dwa typy klocków oraz "Bastet" w którym gra dobiera
47zawsze najgorszy klocek w danej sytuacji.
48
49Dla dwóch graczy celem gry jest przetrwać w grze dłużej niż
50przeciwnik. Jeżeli jednemu graczowi uda się usunąć więcej niż jedną
51linię, przeciwnik otrzymuje dodatkowe śmieci.
52
53%prep
54%setup -q -n %{name}-%{version}-src
55
56# undos sources
57%{__sed} -i -e 's,\r$,,' *.cpp *.h
58
59%patch0 -p1
60%patch1 -p1
61%patch2 -p1
62
63%build
64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69install -d $RPM_BUILD_ROOT{/var/games/abrick,%{_bindir},%{_datadir}}
70install abrick $RPM_BUILD_ROOT%{_bindir}/abrick
71touch $RPM_BUILD_ROOT/var/games/abrick/hiscore.dat
72cp -a data $RPM_BUILD_ROOT%{_datadir}/abrick
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
79%doc CHANGES README
80%attr(2755,root,games) %{_bindir}/%{name}
81%{_datadir}/abrick
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
This page took 0.074068 seconds and 4 git commands to generate.