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