]>
Commit | Line | Data |
---|---|---|
e94235b8 | 1 | Summary: Oxyd clone |
4c93bea0 | 2 | Summary(pl.UTF-8): Klon gry Oxyd |
e94235b8 | 3 | Name: enigma |
e24371d9 | 4 | Version: 1.01 |
e4d2db0f | 5 | Release: 3 |
372aee31 | 6 | License: GPL v2+ |
e94235b8 | 7 | Group: X11/Applications/Games |
0d482d9f | 8 | Source0: http://download.berlios.de/enigma-game/%{name}-%{version}.tar.gz |
e24371d9 | 9 | # Source0-md5: d3804534ac03425051ebfd383ed1b4ee |
e94235b8 | 10 | Source1: %{name}.desktop |
e4d2db0f | 11 | Patch0: %{name}-gcc.patch |
52ea77c1 | 12 | URL: http://www.nongnu.org/enigma/ |
ae29d634 | 13 | BuildRequires: SDL_image-devel >= 1.2.0 |
372aee31 | 14 | BuildRequires: SDL_mixer-devel >= 1.2.5 |
2baf8731 | 15 | BuildRequires: SDL_ttf-devel |
e94235b8 | 16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
ac61c0c6 | 18 | BuildRequires: gettext-devel |
3945194f | 19 | BuildRequires: libpng-devel |
ac61c0c6 | 20 | BuildRequires: libstdc++-devel |
372aee31 | 21 | BuildRequires: xerces-c-devel >= 2.4 |
e94235b8 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
e94235b8 | 24 | %description |
e053d3a7 | 25 | Enigma is a puzzle game inspired by Oxyd on the Atari ST and |
26 | Rock'n'Roll on the Amiga: You control a small black marble and have to | |
27 | find and uncover all pairs of identical Oxyd stones in each landscape. | |
28 | Sounds simple? It would be, if it weren't for hidden traps, vast | |
29 | mazes, insurmountable obstacles and lots of hairy puzzles, blocking | |
30 | your direct way to the Oxyd stones... | |
e94235b8 | 31 | |
2916873f | 32 | %description -l de.UTF-8 |
de34210e | 33 | Bei Enigma handelt es sich um ein Remake des 1990 erschienen |
2916873f | 34 | Spiele-Klassikers Oxyd. Das Ziel des Spiels ist schnell erklärt: |
de34210e | 35 | Versuchen Sie alle gleichfarbigen "Oxyd"-Steine in jeder Landschaft zu |
2916873f JR |
36 | finden und aufzudecken. Hört sich einfach an? Wäre es vielleicht auch, |
37 | würden nicht versteckte Fallen, gewaltige Irrgärten, scheinbar | |
3945194f | 38 | unüberwindliche Hindernisse und viele, viele Rätsel den direkten Weg |
39 | zu den Steinen blockieren... | |
de34210e | 40 | |
2916873f JR |
41 | %description -l pl.UTF-8 |
42 | Enigma jest grą logiczną zainspirowaną przez Oxyd z Atari ST i | |
43 | Rock'n'Roll z Amigi. Kontroluje się małą czarną kulkę mając za zadanie | |
44 | odnaleźć i odkryć wszystkie pary identycznych kamieni Oxyd na każdej | |
45 | planszy. Proste? Było by, gdyby nie ukryte pułapki, przepastne | |
46 | labirynty, niepokonane przeszkody i mnóstwo włochatych zagadek | |
47 | blokujących drogę do kamieni Oxyd. | |
52ea77c1 | 48 | |
e94235b8 | 49 | %prep |
52ea77c1 | 50 | %setup -q |
e4d2db0f | 51 | %patch0 -p1 |
52ea77c1 JB |
52 | |
53 | # hack: don't rebuild it, requires too new(?) version of texi2html | |
54 | # (doesn't work with texi2html 1.56k from tetex 2.0.2) | |
55 | touch doc/manual/*.html | |
e94235b8 | 56 | |
57 | %build | |
e24371d9 | 58 | %{__gettextize} |
f42a1e23 | 59 | %{__aclocal} |
60 | %{__autoheader} | |
e94235b8 | 61 | %{__autoconf} |
62 | %{__automake} | |
758ff28f | 63 | %configure |
e94235b8 | 64 | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
372aee31 | 69 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
3945194f | 70 | |
372aee31 | 71 | %{__make} install \ |
72 | DESTDIR=$RPM_BUILD_ROOT | |
e94235b8 | 73 | |
758ff28f | 74 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
75 | install data/gfx/enigma_marble.png $RPM_BUILD_ROOT%{_pixmapsdir}/enigma.png | |
e94235b8 | 76 | |
ae29d634 | 77 | rm -f doc/manual/{images,}/Makefile* |
78 | rm -f doc/manual/enigma.texi | |
79 | ||
372aee31 | 80 | %find_lang %{name} --all-name |
81 | ||
e94235b8 | 82 | %clean |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
372aee31 | 85 | %files -f %{name}.lang |
e94235b8 | 86 | %defattr(644,root,root,755) |
372aee31 | 87 | %doc CHANGES README doc/manual |
e94235b8 | 88 | %attr(755,root,root) %{_bindir}/* |
ae29d634 | 89 | %{_datadir}/%{name} |
372aee31 | 90 | %{_desktopdir}/*.desktop |
e94235b8 | 91 | %{_mandir}/man6/* |
92 | %{_pixmapsdir}/* |