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