1 %define version_tools 0.8.0
2 Summary: SCUMM graphic adventure game interpreter
3 Summary(pl): Interpreter przygodówek opartych na SCUMM
8 Group: X11/Applications/Games
9 Source0: http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
10 # Source0-md5: 56bfbcfbe5adde42a2a9e3d6dc3d9068
11 Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5: cc7e13ea10acf692c10e90b9507074ed
13 Source2: %{name}.desktop
15 Patch0: %{name}-copyprotection.patch
16 URL: http://scummvm.sourceforge.net/
17 BuildRequires: SDL-devel >= 1.2.2
18 BuildRequires: fluidsynth-devel
19 BuildRequires: libmad-devel
20 BuildRequires: libvorbis-devel
21 BuildRequires: mpeg2dec-devel
25 BuildRequires: sed >= 4.0
26 BuildRequires: zlib-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 ScummVM is a collection of interpreters, capable of emulating several
31 adventure game engines. ScummVM mainly supports games created using
32 SCUMM (Script Creation Utility for Maniac Mansion), used in various
33 LucasArts games such as Monkey Island, Day of the Tentacle, and
36 ScummVM also contains interpreters for several non-SCUMM games.
37 Currently these are Beneath a Steel Sky, Broken Sword 1 & 2, Flight of
38 the Amazon Queen and Simon the Sorcerer 1 & 2.
40 At this time ScummVM should be considered beta software, and is still
41 under heavy development. Be aware that whilst we attempt to make sure
42 that many games can be completed with few major bugs, crashes can
46 ScummVM jest zbiorem interpreterów zdolnych do emulacji kilku silników
47 gier przygodowych. ScummVM g³ównie wspiera gry stworzone z u¿yciem
48 silnika SCUMM (Script Creation Utility for Maniac Mansion), u¿ywanego
49 przez takie tytu³y stworzone przez Lucas Arts jak Monkey Island, Day
52 ScummVM potrafi równie¿ interpretowaæ kilka gier nie opartych na
53 SCUMM. W chwili obecnej s± to Beneath a Steel Sky, Broken Sword 1 i 2,
54 Flight of the Amazon Queen oraz Simon the Sorcerer 1 i 2.
56 ScummVM jest ca³y czas intensywnie rozwijany i powinien byæ traktowany
57 jako program w stanie beta. Wiele gier powinno daæ siê skoñczyæ bez
58 wiêkszych b³êdów, nale¿y byæ jednak ¶wiadomym, ¿e program mo¿e siê
62 Summary: ScummVM tools
63 Summary(pl): Narzêdzia zwi±zane ze ScummVM
64 Group: X11/Applications/Games
67 Collection of various tools that may be useful to use in conjunction
70 %description tools -l pl
71 Zestaw narzêdzi mog±cych byæ u¿ytecznymi w po³±czeniu ze ScummVM.
77 sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' base/plugins.cpp
90 CXXFLAGS="%{rpmcflags} -DDYNAMIC_MODULES -fpic" \
91 LDFLAGS="%{rpmldflags}"
93 cd tools-%{version_tools}
96 CFLAGS="%{rpmcflags}" \
97 LDFLAGS="%{rpmldflags}"
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
103 install scummvm $RPM_BUILD_ROOT%{_bindir}
104 install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
106 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
108 cd tools-%{version_tools}
109 install compress_queen $RPM_BUILD_ROOT%{_bindir}
110 install compress_saga $RPM_BUILD_ROOT%{_bindir}
111 install compress_san $RPM_BUILD_ROOT%{_bindir}
112 install compress_scumm_bun $RPM_BUILD_ROOT%{_bindir}
113 install compress_scumm_sou $RPM_BUILD_ROOT%{_bindir}
114 install compress_simon $RPM_BUILD_ROOT%{_bindir}
115 install compress_sword1 $RPM_BUILD_ROOT%{_bindir}
116 install compress_sword2 $RPM_BUILD_ROOT%{_bindir}
117 install dekyra $RPM_BUILD_ROOT%{_bindir}
118 install descumm $RPM_BUILD_ROOT%{_bindir}
119 install desword2 $RPM_BUILD_ROOT%{_bindir}
120 install extract_kyra $RPM_BUILD_ROOT%{_bindir}
121 install extract_loom_tg16 $RPM_BUILD_ROOT%{_bindir}
122 install extract_mm_c64 $RPM_BUILD_ROOT%{_bindir}
123 install extract_mm_nes $RPM_BUILD_ROOT%{_bindir}
124 install extract_scumm_mac $RPM_BUILD_ROOT%{_bindir}
125 install extract_simon1_amiga $RPM_BUILD_ROOT%{_bindir}
126 install extract_zak_c64 $RPM_BUILD_ROOT%{_bindir}
129 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
130 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
133 rm -rf $RPM_BUILD_ROOT
136 %defattr(644,root,root,755)
137 %doc AUTHORS NEWS README TODO
138 %attr(755,root,root) %{_bindir}/scummvm
145 %defattr(644,root,root,755)
146 %doc tools-%{version_tools}/README
147 %attr(755,root,root) %{_bindir}/*
148 %exclude %{_bindir}/scummvm