]> git.pld-linux.org Git - packages/enigma.git/blob - enigma.spec
- rel 3
[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:        3
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:  libstdc++-devel
20 BuildRequires:  xerces-c-devel >= 2.4
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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...
30
31 %description -l de.UTF-8
32 Bei Enigma handelt es sich um ein Remake des 1990 erschienen
33 Spiele-Klassikers Oxyd. Das Ziel des Spiels ist schnell erklärt:
34 Versuchen Sie alle gleichfarbigen "Oxyd"-Steine in jeder Landschaft zu
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
38 den Steinen blockieren...
39
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.
47
48 %prep
49 %setup -q
50 %patch0 -p1
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
55
56 %build
57 %{__gettextize}
58 %{__aclocal}
59 %{__autoheader}
60 %{__autoconf}
61 %{__automake}
62 %configure
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
69  
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install %{SOURCE1}                      $RPM_BUILD_ROOT%{_desktopdir}
74 install data/gfx/enigma_marble.png      $RPM_BUILD_ROOT%{_pixmapsdir}/enigma.png
75
76 rm -f doc/manual/{images,}/Makefile*
77 rm -f doc/manual/enigma.texi
78
79 %find_lang %{name} --all-name
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files -f %{name}.lang
85 %defattr(644,root,root,755)
86 %doc CHANGES README doc/manual
87 %attr(755,root,root) %{_bindir}/*
88 %{_datadir}/%{name}
89 %{_desktopdir}/*.desktop
90 %{_mandir}/man6/*
91 %{_pixmapsdir}/*
This page took 0.084532 seconds and 3 git commands to generate.