]> git.pld-linux.org Git - packages/enigma.git/blob - enigma.spec
- release 5
[packages/enigma.git] / enigma.spec
1 Summary:        Oxyd clone
2 Summary(pl.UTF-8):      Klon gry Oxyd
3 Name:           enigma
4 Version:        1.01
5 Release:        5
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://download.berlios.de/enigma-game/%{name}-%{version}.tar.gz
9 # Source0-md5:  d3804534ac03425051ebfd383ed1b4ee
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-gcc.patch
12 URL:            http://www.nongnu.org/enigma/
13 BuildRequires:  SDL_image-devel >= 1.2.0
14 BuildRequires:  SDL_mixer-devel >= 1.2.5
15 BuildRequires:  SDL_ttf-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  xerces-c-devel >= 2.4
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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...
31
32 %description -l de.UTF-8
33 Bei Enigma handelt es sich um ein Remake des 1990 erschienen
34 Spiele-Klassikers Oxyd. Das Ziel des Spiels ist schnell erklärt:
35 Versuchen Sie alle gleichfarbigen "Oxyd"-Steine in jeder Landschaft zu
36 finden und aufzudecken. Hört sich einfach an? Wäre es vielleicht auch,
37 würden nicht versteckte Fallen, gewaltige Irrgärten, scheinbar
38 unüberwindliche Hindernisse und viele, viele Rätsel den direkten Weg
39 zu den Steinen blockieren...
40
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.
48
49 %prep
50 %setup -q
51 %patch0 -p1
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
56
57 %build
58 %{__gettextize}
59 %{__aclocal}
60 %{__autoheader}
61 %{__autoconf}
62 %{__automake}
63 %configure
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 install %{SOURCE1}                      $RPM_BUILD_ROOT%{_desktopdir}
75 install data/gfx/enigma_marble.png      $RPM_BUILD_ROOT%{_pixmapsdir}/enigma.png
76
77 rm -f doc/manual/{images,}/Makefile*
78 rm -f doc/manual/enigma.texi
79
80 %find_lang %{name} --all-name
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc CHANGES README doc/manual
88 %attr(755,root,root) %{_bindir}/*
89 %{_datadir}/%{name}
90 %{_desktopdir}/*.desktop
91 %{_mandir}/man6/*
92 %{_pixmapsdir}/*
This page took 0.080257 seconds and 3 git commands to generate.