%define version_tools 0.6.1 Summary: SCUMM graphic adventure game interpreter Summary(pl): Interpreter przygodówek opartych na SCUMM Name: scummvm Version: 0.6.1 Release: 1 License: GPL Group: X11/Applications/Games Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2 # Source0-md5: 392bf788bb367258e5c34f77eced954d Source1: http://dl.sourceforge.net/%{name}/%{name}-tools-%{version_tools}-src.tar.bz2 # Source1-md5: b2ba0801fbd85a568af1c5af14fd18ac Source2: %{name}.desktop Source3: %{name}.png URL: http://scummvm.sourceforge.net/ BuildRequires: libmad-devel BuildRequires: libvorbis-devel BuildRequires: mpeg2dec-devel BuildRequires: SDL-devel >= 1.2.2 BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description ScummVM is a collection of interpreters, capable of emulating several adventure game engines. ScummVM mainly supports games created using SCUMM (Script Creation Utility for Maniac Mansion), used in various LucasArts games such as Monkey Island, Day of the Tentacle, and others. ScummVM also contains interpreters for several non-SCUMM games. Currently these are Beneath a Steel Sky, Broken Sword 1 & 2, Flight of the Amazon Queen and Simon the Sorcerer 1 & 2. At this time ScummVM should be considered beta software, and is still under heavy development. Be aware that whilst we attempt to make sure that many games can be completed with few major bugs, crashes can happen. %description -l pl ScummVM jest zbiorem interpreterów zdolnych do emulacji kilku silników gier przygodowych. ScummVM głównie wspiera gry stworzone z użyciem silnika SCUMM (Script Creation Utility for Maniac Mansion), używanego przez takie tytuły stworzone przez Lucas Arts jak Monkey Island, Day of the Tentacle. ScummVM potrafi również interpretować kilka gier nie opartych na SCUMM. W chwili obecnej są to Beneath a Steel Sky, Broken Sword 1 i 2, Flight of the Amazon Queen oraz Simon the Sorcerer 1 i 2. ScummVM jest cały czas intensywnie rozwijany i powinien być traktowany jako program w stanie beta. Wiele gier powinno dać się skończyć bez większych błędów, należy być jednak świadomym, że program może się czasem wysypać. %package tools Summary: ScummVM tools Summary(pl): Narzędzia związane ze ScummVM Group: X11/Applications/Games %description tools Collection of various tools that may be useful to use in conjunction with ScummVM. %description tools -l pl Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM. %prep %setup -q -a 1 %build ./configure \ --disable-debug %{__make} \ CXX="%{__cxx}" \ CFLAGS="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}" cd %{name}-%{version_tools}-tools %{__make} \ CC="%{__cc}" \ CFLAGS="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir}} install scummvm $RPM_BUILD_ROOT%{_bindir} install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6 cd %{name}-%{version_tools}-tools install {rescumm,loom_tg16_extract,mm_nes_extract} $RPM_BUILD_ROOT%{_bindir} install {queenrebuild,simon2mp3,compress_san} $RPM_BUILD_ROOT%{_bindir} install {descumm,desword2} $RPM_BUILD_ROOT%{_bindir} install {simon1decr,convbdf} $RPM_BUILD_ROOT%{_bindir} install extract $RPM_BUILD_ROOT%{_bindir}/extract-scummvm cd - install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc NEWS README TODO %attr(755,root,root) %{_bindir}/scummvm %{_mandir}/man6/* %{_pixmapsdir}/* %{_desktopdir}/* %files tools %defattr(644,root,root,755) %doc %{name}-%{version_tools}-tools/README %attr(755,root,root) %{_bindir}/* %exclude %{_bindir}/scummvm