X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=scummvm.spec;h=2f435b2b7673c9aef35188942413a23719fcbbe3;hb=1475bf4ddd634b4dfece1bf482f6433870b2a6a3;hp=345c9f4ffb88731813319b7e6bfacbabbf2e08b2;hpb=7b9fe6193a48b0b8f41665b1011fa14fb42c6fb6;p=packages%2Fscummvm.git diff --git a/scummvm.spec b/scummvm.spec index 345c9f4..2f435b2 100644 --- a/scummvm.spec +++ b/scummvm.spec @@ -1,70 +1,83 @@ -# -# TODO: -# - add desktop file and png icon. (when gui is ready) -# -%define _snap 20020919 +%define version_tools 0.7.0 Summary: SCUMM graphic adventure game interpreter Summary(pl): Interpreter przygodówek opartych na SCUMM Name: scummvm -Version: 0.2.0.%{_snap} -Release: 1 +Version: 0.7.0 +Release: 2 License: GPL Group: X11/Applications/Games -Source0: %{name}-%{_snap}.tar.bz2 -#Source0: http://telia.dl.sourceforge.net/sourceforge/scummvm/%{name}_%{version}-src.tgz -Source1: %{name}-tools-%{_snap}.tar.bz2 -Patch0: %{name}-lame.patch -BuildRequires: mad-devel +Source0: http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2 +# Source0-md5: 7e2f9bc1bc54aa78285f7f3189ee8a7c +Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2 +# Source1-md5: eeebbd4e309a8564dd911d5c26fed2f0 +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) -%define _prefix /usr/X11R6 -%define _mandir %{_prefix}/man - %description -ScummVM is an implementation of the SCUMM (Script Creation Utility for -Maniac Mansion) engine used in various Lucas Arts games such as Monkey -Island and Day of the Tentacle. At this time ScummVM should be considered -ALPHA software, as it's still under heavy development. Be aware that while -many games will work with few major bugs, crashes can happen. Also note -that saved games can, and probably will, be incompatible between releases. +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. -Also ScummVM is capable of playing several non-SCUMM games, at the moment -this includes Simon The Sorcerer. +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 implementacj± silnika SCUMM (Narzêdzie tworz±ce skrypty dla -Maniac Mansion) u¿ywanego w wielu grach Lucas Arts takich jak Monkey Island, -czy Day of the Tentacle. ScummVM jest ca³y czas intensywnie rozwijany i -powinien byæ traktowany jako program w stanie ALPHA. Wiele gier mo¿e siê -wysypywaæ, lub dzia³aæ z b³êdami. Zapisane stany gry bêd± prawdopodobnie -niekompatybilne pomiêdzy ró¿nymi wersjami ScummVM. +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 potrafi równie¿ obs³u¿yæ gry nie oparte na silniku SCUMM. W chwili -obecnej jest to Simon The Sorcerer. +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: SCUMM tools -Summary(pl): Narzêdzia zwi±zane ze SCUMM +Summary: ScummVM tools +Summary(pl): Narzêdzia zwi±zane ze ScummVM Group: X11/Applications/Games %description tools -SCUMM tools. +Collection of various tools that may be useful to use in conjunction +with ScummVM. %description tools -l pl -Narzêdzia zwi±zane ze SCUMM. +Zestaw narzêdzi mog±cych byæ u¿ytecznymi w po³±czeniu ze ScummVM. %prep -%setup -q -a 1 -n %{name} -%patch0 -p1 +%setup -q -a 1 %build +./configure \ + --disable-debug \ + --enable-kyra + %{__make} \ CXX="%{__cxx}" \ - CFLAGS="%{rpmcflags}" \ + CXXFLAGS="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}" -cd tools +cd %{name}-tools-%{version_tools} %{__make} \ CC="%{__cc}" \ CFLAGS="%{rpmcflags}" \ @@ -72,26 +85,46 @@ cd tools %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6} +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir}} install scummvm $RPM_BUILD_ROOT%{_bindir} install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6 -install tools/{descumm{3,5,6},rescumm} $RPM_BUILD_ROOT%{_bindir} -install tools/extract $RPM_BUILD_ROOT%{_bindir}/extract-scummvm +cd %{name}-tools-%{version_tools} +install compress_san $RPM_BUILD_ROOT%{_bindir} +install convbdf $RPM_BUILD_ROOT%{_bindir} +install dekyra $RPM_BUILD_ROOT%{_bindir} +install descumm $RPM_BUILD_ROOT%{_bindir} +install desword2 $RPM_BUILD_ROOT%{_bindir} +install extract $RPM_BUILD_ROOT%{_bindir}/extract-scummvm +install kyra_unpak $RPM_BUILD_ROOT%{_bindir} +install loom_tg16_extract $RPM_BUILD_ROOT%{_bindir} +install mm_nes_extract $RPM_BUILD_ROOT%{_bindir} +install queenrebuild $RPM_BUILD_ROOT%{_bindir} +install rescumm $RPM_BUILD_ROOT%{_bindir} +install saga2mp3 $RPM_BUILD_ROOT%{_bindir} +install simon1decr $RPM_BUILD_ROOT%{_bindir} +install simon2mp3 $RPM_BUILD_ROOT%{_bindir} +install sword1mp3 $RPM_BUILD_ROOT%{_bindir} +install sword2mp3 $RPM_BUILD_ROOT%{_bindir} +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 debian/README.Debian +%doc NEWS README TODO %attr(755,root,root) %{_bindir}/scummvm %{_mandir}/man6/* +%{_pixmapsdir}/* +%{_desktopdir}/* %files tools %defattr(644,root,root,755) -%doc tools/readme.txt -%attr(755,root,root) %{_bindir}/descumm* -%attr(755,root,root) %{_bindir}/extract-scummvm -%attr(755,root,root) %{_bindir}/rescumm +%doc %{name}-tools-%{version_tools}/README +%attr(755,root,root) %{_bindir}/* +%exclude %{_bindir}/scummvm