Summary: Oxyd clone Summary(pl): Klon gry Oxyd Name: enigma Version: 0.40a Release: 1 License: GPL Group: X11/Applications/Games Source0: http://freesoftware.fsf.org/download/enigma/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png BuildRequires: autoconf BuildRequires: automake BuildRequires: lua-devel >= 4.0 BuildRequires: SDL-devel >= 1.2 BuildRequires: SDL_image-devel >= 1.2.0 BuildRequires: SDL_mixer-devel >= 1.2.0 URL: http://www.freesoftware.fsf.org/enigma/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %description Enigma is a tribute to and a re-implementation of one of the most original and intriguing computer games of the 1990's: Oxyd. Your objective is easily explained: find and uncover all pairs of identical Oxyd stones in each landscape. Sounds simple? It would be, if it weren't for hidden traps, vast mazes, insurmountable obstacles and innumerable puzzles blocking your direct way to the Oxyd stones... So far, Enigma implements about 80% of the game engine and a couple of simple objects, but a great deal is still missing. In particular, the game currently lacks game objects, graphics and sound effects, and, most importantly, the 200 levels that made Oxyd so entertaining. %description -l pl Enigma jest hołdem dla i reimplementacją jednej z najoryginalniejszych i najbardziej intrygujących gier komputerowych lat dziewięćdziesiątych, Oxyd. Zadanie jest proste: znajdź i odkryj wszystkie pary identycznych Oxydowych kamieni na każdej planszy. Brzmi łatwo? Tak by było, gdyby nie ukryte pułapki, obszerne labirynty, niepokonane przeszkody i niezliczone łamigłówki blokujące drogę do Oxydowych kamieni... Jak na razie Enigma implementuje około 80% silnika gry i kilka prostych obiektów, lecz wiele rzeczy jeszcze brakuje, szczególnie obiektów, grafiki, efektów dźwiękowych, i, co najważniejsze, 200 poziomów dzięki którym Oxyd był tak przyjemny. %prep %setup -q %build aclocal autoheader %{__autoconf} %{__automake} %configure \ CXX="%{__cxx}" %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_datadir}/enigma/{fonts,sound,gfx,levels},%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_applnkdir}/Games} install enigma.6 $RPM_BUILD_ROOT%{_mandir}/man6 install enigma $RPM_BUILD_ROOT%{_bindir} install fonts/*.{png,txt,bmf} $RPM_BUILD_ROOT%{_datadir}/enigma/fonts install gfx/*.png $RPM_BUILD_ROOT%{_datadir}/enigma/gfx install levels/*.{lua,png} $RPM_BUILD_ROOT%{_datadir}/enigma/levels install sound/*.{wav,s3m} $RPM_BUILD_ROOT%{_datadir}/enigma/sound install *.lua $RPM_BUILD_ROOT%{_datadir}/enigma install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS NEWS README TODO %attr(755,root,root) %{_bindir}/* %{_datadir}/enigma %{_mandir}/man6/* %{_pixmapsdir}/* %{_applnkdir}/Games/*