]> git.pld-linux.org Git - packages/enigma.git/blob - enigma.spec
337869683d6a7113d44d3beac9d27abde284480f
[packages/enigma.git] / enigma.spec
1 Summary:        Oxyd clone
2 Summary(pl):    Klon gry Oxyd
3 Name:           enigma
4 Version:        1.00
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://download.berlios.de/enigma-game/%{name}-%{version}.tar.gz
9 # Source0-md5:  428a9cce666cd45812e785f00a483ef9
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
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
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 %{__aclocal}
56 %{__autoheader}
57 %{__autoconf}
58 %{__automake}
59 %configure
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
66  
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 install %{SOURCE1}                      $RPM_BUILD_ROOT%{_desktopdir}
71 install data/gfx/enigma_marble.png      $RPM_BUILD_ROOT%{_pixmapsdir}/enigma.png
72
73 rm -f doc/manual/{images,}/Makefile*
74 rm -f doc/manual/enigma.texi
75
76 %find_lang %{name} --all-name
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc CHANGES README doc/manual
84 %attr(755,root,root) %{_bindir}/*
85 %{_datadir}/%{name}
86 %{_desktopdir}/*.desktop
87 %{_mandir}/man6/*
88 %{_pixmapsdir}/*
This page took 0.048896 seconds and 2 git commands to generate.