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