]>
Commit | Line | Data |
---|---|---|
e22ec4a4 | 1 | Summary: Atomix-like game of moving marbles in puzzles |
a22dc248 JR |
2 | Summary(pl.UTF-8): Gra podobna do Atomiksa, polegająca na przesuwaniu klocków w układankach |
3 | Summary(pt_BR.UTF-8): Jogo tipo Atomix, de mover bolas de gude em labirintos | |
e22ec4a4 | 4 | Name: lmarbles |
d1f85547 JB |
5 | Version: 1.0.7 |
6 | Release: 1 | |
e22ec4a4 JB |
7 | License: GPL v2+ |
8 | Group: X11/Applications/Games | |
9 | Source0: http://dl.sourceforge.net/lgames/%{name}-%{version}.tar.gz | |
d1f85547 | 10 | # Source0-md5: b29156bc5021877d080e5e268012f4ec |
91e7ca59 | 11 | Patch0: %{name}-bugfix.patch |
6e1234be | 12 | URL: http://lgames.sourceforge.net/index.php?project=LMarbles |
e22ec4a4 | 13 | BuildRequires: SDL-devel >= 1.0.0 |
d1f85547 | 14 | BuildRequires: SDL_mixer-devel >= 1.0.0 |
91e7ca59 JB |
15 | BuildRequires: autoconf >= 2.13 |
16 | BuildRequires: automake | |
e22ec4a4 JB |
17 | Obsoletes: marbles |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
d1f85547 JB |
20 | %define _localstatedir /var/games |
21 | ||
e22ec4a4 JB |
22 | %description |
23 | Marbles is very similiar to Atomix and was heavily inspired by it. | |
24 | Goal is to create a more or less complex figure out of single marbles | |
25 | within a time limit to reach the next level. | |
26 | ||
27 | Sounds easy? Well, there is a problem: If a marble starts to move it | |
28 | will not stop until it hits a wall or marble. And to make it even more | |
29 | interesting there are obstacles like arrows, crumbling walls and | |
30 | teleports! | |
31 | ||
a22dc248 JR |
32 | %description -l pl.UTF-8 |
33 | Marbles to gra bardzo podobna do Atomiksa, w dużym stopniu nim | |
e22ec4a4 | 34 | inspirowana. Celem jest stworzenie bardziej lub mniej skomplikowanej |
a22dc248 JR |
35 | figury z pojedynczych klocków w ograniczonym czasie, aby przejść do |
36 | następnego poziomu. | |
e22ec4a4 | 37 | |
a22dc248 JR |
38 | Wydaje się łatwe? Hm, jest pewien problem: jeśli klocek zaczyna się |
39 | ruszać, nie zatrzymuje się, dopóki nie uderzy w ścianę lub inny | |
40 | klocek. Aby gra była jeszcze bardziej interesująca, są przeszkody w | |
41 | rodzaju strzałek, pękających ścian i teleportów! | |
e22ec4a4 | 42 | |
a22dc248 JR |
43 | %description -l pt_BR.UTF-8 |
44 | O Marbles é muito parecido com o jogo Atomix, pois foi inspirado nele. | |
45 | O objetivo é criar uma figura de bolas de gude mais ou menos complexa | |
e22ec4a4 JB |
46 | dentro de um limite de tempo. |
47 | ||
a22dc248 JR |
48 | Parece fácil? Bem, há um problema: quando uma bolinha de gude começa a |
49 | se mover, só pára quando bate em uma parede ou outra bolinha. E para | |
50 | ficar mais interessante, há alguns obstáculos como caminhos de mão | |
51 | única, paredes que desmoronam e teletransporte! | |
e22ec4a4 JB |
52 | |
53 | %prep | |
54 | %setup -q | |
91e7ca59 JB |
55 | %patch0 -p1 |
56 | ||
57 | %{__perl} -pi -e 's@^inst_dir="\$datadir/games/lmarbles"@inst_dir="\$datadir/lmarbles"@' \ | |
58 | configure.in | |
e22ec4a4 JB |
59 | |
60 | %build | |
91e7ca59 | 61 | %{__aclocal} |
e22ec4a4 | 62 | %{__autoconf} |
91e7ca59 JB |
63 | %{__autoheader} |
64 | %{__automake} | |
d1f85547 JB |
65 | %configure |
66 | ||
e22ec4a4 JB |
67 | %{__make} |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
e22ec4a4 JB |
71 | |
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
e22ec4a4 JB |
75 | %clean |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %triggerpostun -- marbles < 1.0.6 | |
79 | if [ -f /var/games/marbles.prfs.rpmsave ]; then | |
80 | mv -f /var/games/marbles.prfs.rpmsave /var/games/lmarbles.prfs | |
81 | fi | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %doc AUTHORS ChangeLog README src/manual | |
86 | %attr(2755,root,games) %{_bindir}/lmarbles | |
91e7ca59 | 87 | %{_datadir}/lmarbles |
e22ec4a4 | 88 | %{_mandir}/man6/* |
8dd16c8f | 89 | %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/%{name}.prfs |