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