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