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