]> git.pld-linux.org Git - packages/enigma.git/blob - enigma.spec
- remove redundant entry for SDL-devel from BuildRequires.
[packages/enigma.git] / enigma.spec
1 Summary:        Oxyd clone
2 Summary(pl):    Klon gry Oxyd
3 Name:           enigma
4 Version:        0.40a
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://freesoftware.fsf.org/download/enigma/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  lua-devel >= 4.0
14 BuildRequires:  SDL_image-devel >= 1.2.0
15 BuildRequires:  SDL_mixer-devel >= 1.2.0
16 URL:            http://www.freesoftware.fsf.org/enigma/
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
23 Enigma is a tribute to and a re-implementation of one of the most
24 original and intriguing computer games of the 1990's: Oxyd. Your
25 objective is easily explained: find and uncover all pairs of identical
26 Oxyd stones in each landscape. Sounds simple? It would be, if it
27 weren't for hidden traps, vast mazes, insurmountable obstacles and
28 innumerable puzzles blocking your direct way to the Oxyd stones...
29
30 So far, Enigma implements about 80% of the game engine and a couple of
31 simple objects, but a great deal is still missing. In particular, the
32 game currently lacks game objects, graphics and sound effects, and,
33 most importantly, the 200 levels that made Oxyd so entertaining.
34
35 %description -l pl
36 Enigma jest ho³dem dla i reimplementacj± jednej z najoryginalniejszych
37 i najbardziej intryguj±cych gier komputerowych lat
38 dziewiêædziesi±tych, Oxyd. Zadanie jest proste: znajd¼ i odkryj
39 wszystkie pary identycznych Oxydowych kamieni na ka¿dej planszy. Brzmi
40 ³atwo? Tak by by³o, gdyby nie ukryte pu³apki, obszerne labirynty,
41 niepokonane przeszkody i niezliczone ³amig³ówki blokuj±ce drogê do
42 Oxydowych kamieni...
43
44 Jak na razie Enigma implementuje oko³o 80% silnika gry i kilka
45 prostych obiektów, lecz wiele rzeczy jeszcze brakuje, szczególnie
46 obiektów, grafiki, efektów d¼wiêkowych, i, co najwa¿niejsze, 200
47 poziomów dziêki którym Oxyd by³ tak przyjemny.
48
49 %prep
50 %setup -q
51
52 %build
53 aclocal
54 autoheader
55 %{__autoconf}
56 %{__automake}
57
58 %configure \
59         CXX="%{__cxx}"
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_datadir}/enigma/{fonts,sound,gfx,levels},%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_applnkdir}/Games}
66
67 install enigma.6                $RPM_BUILD_ROOT%{_mandir}/man6
68 install enigma                  $RPM_BUILD_ROOT%{_bindir}
69 install fonts/*.{png,txt,bmf}   $RPM_BUILD_ROOT%{_datadir}/enigma/fonts
70 install gfx/*.png               $RPM_BUILD_ROOT%{_datadir}/enigma/gfx
71 install levels/*.{lua,png}      $RPM_BUILD_ROOT%{_datadir}/enigma/levels
72 install sound/*.{wav,s3m}       $RPM_BUILD_ROOT%{_datadir}/enigma/sound
73 install *.lua                   $RPM_BUILD_ROOT%{_datadir}/enigma
74
75 install %{SOURCE1}              $RPM_BUILD_ROOT%{_applnkdir}/Games
76 install %{SOURCE2}              $RPM_BUILD_ROOT%{_pixmapsdir}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc AUTHORS NEWS README TODO
84 %attr(755,root,root) %{_bindir}/*
85 %{_datadir}/enigma
86 %{_mandir}/man6/*
87 %{_pixmapsdir}/*
88 %{_applnkdir}/Games/*
This page took 0.02632 seconds and 3 git commands to generate.