1 %define version_tools 0.12.0
2 Summary: Graphic adventure game interpreter
3 Summary(pl.UTF-8): Interpreter gier przygodowych
8 Group: X11/Applications/Games
9 Source0: http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
10 # Source0-md5: cd5620c57645948c8da0d4d9c9fcffb3
11 Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5: af927a7cb59952ed869628250a916ab1
13 Source2: %{name}.desktop
14 Patch0: %{name}-wx-config.patch
15 URL: http://scummvm.org/
16 BuildRequires: SDL-devel >= 1.2.2
17 BuildRequires: wxWidgets-devel
18 %ifarch %{ix86} %{x8664}
19 BuildRequires: fluidsynth-devel
21 BuildRequires: libmad-devel
22 BuildRequires: libvorbis-devel
23 BuildRequires: mpeg2dec-devel
27 BuildRequires: sed >= 4.0
28 BuildRequires: zlib-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define specflags_sparc -fPIC
34 ScummVM is a program which allows you to run certain classic graphical
35 point-and-click adventure games, provided you already have their data
36 files. The clever part about this: ScummVM just replaces the
37 executables shipped with the game, allowing you to play them on
38 systems for which they were never designed!
40 Some of the adventures ScummVM supports include Adventure Soft's Simon
41 the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1
42 and Broken Sword 2; Flight of the Amazon Queen; Wyrmkeep's Inherit the
43 Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of
44 Kyrandia and games based on LucasArts' SCUMM (Script Creation Utility
45 for Maniac Mansion) system such as Monkey Island, Day of the Tentacle,
46 Sam and Max and more. You can find a thorough list with details on
47 which games are supported and how well on the project page.
49 %description -l pl.UTF-8
50 ScummVM jest programem umożliwiającym uruchamianie klasycznych
51 graficznych gier przygodowych, pod warunkiem, że posiadane są ich
52 pliki danych. ScummVM używany jest w miejsce pliku wykonywalnego
53 dostarczonego razem z grą, co umożliwia granie na systemach, na które
54 gry nie zostały przeznaczone.
56 ScummVM obsługuje między innymi Simon the Sorcerer 1 i 2 firmy
57 Adventure Soft; Beneath A Steel Sky, Broken Sword 1 i 2 firmy
58 Revolution; Flight of the Amazon Queen; Inherit the Earth firmy
59 Wyrmkeep; serię Gobliiins firmy Coktel Vision; The Legend of Kyrandia
60 firmy Westwood i gry bazujące na silniku SCUMM (Script Creation
61 Utility for Maniac Mansion) firmy LucasArts, takie jak Monkey Island,
62 Day of the Tentacle, Sam and Max i inne. Szczegółowa lista znajduje
63 się na stronie projektu.
66 Summary: ScummVM tools
67 Summary(pl.UTF-8): Narzędzia związane ze ScummVM
68 Group: X11/Applications/Games
71 Collection of various tools that may be useful to use in conjunction
74 %description tools -l pl.UTF-8
75 Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM.
78 Summary: Adventure Game Interpreter
79 Summary(pl.UTF-8): Adventure Game Interpreter
80 Group: X11/Applications/Games
82 %description engine-agi
83 The AGI (Adventure Game Interpreter) engine was used by Sierra in
84 their early adventure games.
86 %description engine-agi -l pl.UTF-8
87 Silnik AGI (Adventure Game Interpreter) był używany przez firmę
88 Sierra w jej wczesnych grach przygodowych.
92 Summary(pl.UTF-8): Silnik AGOS
93 Group: X11/Applications/Games
95 %description engine-agos
96 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
97 is based on AberMUD V, with graphical extensions.
98 Required for following games:
103 - Simon the Sorcerer 2
106 %description engine-agos -l pl.UTF-8
107 Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
108 bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
109 Używany w następujących grach:
114 - Simon the Sorcerer 2
118 Summary: Cinematique engine
119 Summary(pl.UTF-8): Silnik Cinematique
120 Group: X11/Applications/Games
122 %description engine-cine
125 %description engine-cine -l pl.UTF-8
128 %package engine-cruise
129 Summary: Cruise engine
130 Summary(pl.UTF-8): Silnik Cruise
131 Group: X11/Applications/Games
133 %description engine-cruise
136 %description engine-cruise -l pl.UTF-8
139 %package engine-drascula
140 Summary: Drascula engine
141 Summary(pl.UTF-8): Silnik Drascula
142 Group: X11/Applications/Games
144 %description engine-drascula
147 %description engine-drascula -l pl.UTF-8
152 Summary(pl.UTF-8): Silnik Gob
153 Group: X11/Applications/Games
155 %description engine-gob
156 Engine to run adventure games created by Coktel Vision.
158 %description engine-gob -l pl.UTF-8
159 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
163 Summary(pl.UTF-8): Silnik Igor
164 Group: X11/Applications/Games
166 %description engine-igor
169 %description engine-igor -l pl.UTF-8
173 Summary: Kyrandia engine
174 Summary(pl.UTF-8): Silnik Kyrandia
175 Group: X11/Applications/Games
177 %description engine-kyra
180 %description engine-kyra -l pl.UTF-8
185 Summary(pl.UTF-8): Silnik Lure
186 Group: X11/Applications/Games
188 %description engine-lure
189 Lure is the work-in-progress engine for the game Lure of the
192 %description engine-lure -l pl.UTF-8
193 Lure jest nieskończonym silnikiem dla gry Lure of the Temptress.
195 %package engine-parallaction
196 Summary: Parallaction engine
197 Summary(pl.UTF-8): Silnik Parallaction
198 Group: X11/Applications/Games
200 %description engine-parallaction
203 %description engine-parallaction -l pl.UTF-8
206 %package engine-queen
207 Summary: Queen engine
208 Summary(pl.UTF-8): Silnik Queen
209 Group: X11/Applications/Games
211 %description engine-queen
212 The Queen Engine is used to play Interactive Binary Illusions' Flight
215 %description engine-queen -l pl.UTF-8
216 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
217 Interactive Binary Illusions.
220 Summary: Scripts for Animated Graphic Adventures
221 Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
222 Group: X11/Applications/Games
224 %description engine-saga
225 SAGA (Scripts for Animated Graphic Adventures) engine.
227 %description engine-saga -l pl.UTF-8
228 Silnik SAGA (Scripts for Animated Graphic Adventures).
230 %package engine-scumm
231 Summary: Script Creation Utility for Maniac Mansion
232 Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
233 Group: X11/Applications/Games
235 %description engine-scumm
236 SCUMM is a utility used to create the famous LucasArts adventure games
237 like the Monkey Island series and also gave ScummVM its name.
239 %description engine-scumm -l pl.UTF-8
240 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
241 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
246 Summary(pl.UTF-8): Silnik Sky
247 Group: X11/Applications/Games
249 %description engine-sky
250 Sky is the internal name for the Virtual Theatre variant which runs
253 %description engine-sky -l pl.UTF-8
254 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
257 %package engine-sword1
258 Summary: Sword1 engine
259 Summary(pl.UTF-8): Silnik Sword1
260 Group: X11/Applications/Games
262 %description engine-sword1
265 %description engine-sword1 -l pl.UTF-8
268 %package engine-sword2
269 Summary: Sword2 engine
270 Summary(pl.UTF-8): Silnik Sword2
271 Group: X11/Applications/Games
273 %description engine-sword2
276 %description engine-sword2 -l pl.UTF-8
279 %package engine-touche
280 Summary: Touche engine
281 Summary(pl.UTF-8): Silnik Touche
282 Group: X11/Applications/Games
284 %description engine-touche
285 This engine is only used by Touche: The Adventures of the Fifth
288 %description engine-touche -l pl.UTF-8
289 Ten silnik jest używany tylko przez Touché: Przygody Piątego
292 %package theme-modern
293 Summary: Theme modern for ScummVM
294 Summary(pl.UTF-8): Motyw modern dla ScummVM
295 Group: X11/Applications/Games
297 %description theme-modern
298 Theme modern for ScummVM.
300 %description theme-modern -l pl.UTF-8
301 Motyw modern dla ScummVM.
307 sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/posix/posix-provider.cpp
308 sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/sdl/sdl-provider.cpp
323 CXXFLAGS="%{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
324 LDFLAGS="%{rpmldflags}"
326 cd scummvm-tools-%{version_tools}
329 CXXFLAGS="%{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
330 LDFLAGS="%{rpmldflags} $(wx-gtk2-unicode-config --libs)"
333 rm -rf $RPM_BUILD_ROOT
334 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
336 install scummvm $RPM_BUILD_ROOT%{_bindir}
337 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
339 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
341 cd scummvm-tools-%{version_tools}
342 install compress_agos $RPM_BUILD_ROOT%{_bindir}
343 install compress_kyra $RPM_BUILD_ROOT%{_bindir}
344 install compress_queen $RPM_BUILD_ROOT%{_bindir}
345 install compress_saga $RPM_BUILD_ROOT%{_bindir}
346 install compress_scumm_bun $RPM_BUILD_ROOT%{_bindir}
347 install compress_scumm_san $RPM_BUILD_ROOT%{_bindir}
348 install compress_scumm_sou $RPM_BUILD_ROOT%{_bindir}
349 install compress_sword1 $RPM_BUILD_ROOT%{_bindir}
350 install compress_sword2 $RPM_BUILD_ROOT%{_bindir}
351 install compress_touche $RPM_BUILD_ROOT%{_bindir}
352 install convert_dxa.sh $RPM_BUILD_ROOT%{_bindir}
353 install dekyra $RPM_BUILD_ROOT%{_bindir}
354 install descumm $RPM_BUILD_ROOT%{_bindir}
355 install desword2 $RPM_BUILD_ROOT%{_bindir}
356 install encode_dxa $RPM_BUILD_ROOT%{_bindir}
357 install extract_agos $RPM_BUILD_ROOT%{_bindir}
358 install extract_kyra $RPM_BUILD_ROOT%{_bindir}
359 install extract_loom_tg16 $RPM_BUILD_ROOT%{_bindir}
360 install extract_mm_apple $RPM_BUILD_ROOT%{_bindir}
361 install extract_mm_c64 $RPM_BUILD_ROOT%{_bindir}
362 install extract_mm_nes $RPM_BUILD_ROOT%{_bindir}
363 install extract_scumm_mac $RPM_BUILD_ROOT%{_bindir}
364 install extract_zak_c64 $RPM_BUILD_ROOT%{_bindir}
367 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
368 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
370 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
371 install gui/themes/modern.ini $RPM_BUILD_ROOT%{_datadir}/%{name}
372 install gui/themes/modern.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
375 rm -rf $RPM_BUILD_ROOT
378 %defattr(644,root,root,755)
379 %doc AUTHORS COPYRIGHT NEWS README TODO
380 %attr(755,root,root) %{_bindir}/scummvm
381 %dir %{_libdir}/scummvm
384 %{_desktopdir}/*.desktop
385 %dir %{_datadir}/%{name}
388 %defattr(644,root,root,755)
389 %doc scummvm-tools-%{version_tools}/README
390 %attr(755,root,root) %{_bindir}/*
391 %exclude %{_bindir}/scummvm
394 %defattr(644,root,root,755)
395 %dir %{_libdir}/scummvm/libagi.so
398 %defattr(644,root,root,755)
399 %dir %{_libdir}/scummvm/libagos.so
402 %defattr(644,root,root,755)
403 %dir %{_libdir}/scummvm/libcine.so
406 %defattr(644,root,root,755)
407 %dir %{_libdir}/scummvm/libcruise.so
409 %files engine-drascula
410 %defattr(644,root,root,755)
411 %dir %{_libdir}/scummvm/libdrascula.so
414 %defattr(644,root,root,755)
415 %dir %{_libdir}/scummvm/libgob.so
418 %defattr(644,root,root,755)
419 %dir %{_libdir}/scummvm/libigor.so
422 %defattr(644,root,root,755)
423 %dir %{_libdir}/scummvm/libkyra.so
426 %defattr(644,root,root,755)
427 %dir %{_libdir}/scummvm/liblure.so
429 %files engine-parallaction
430 %defattr(644,root,root,755)
431 %dir %{_libdir}/scummvm/libparallaction.so
434 %defattr(644,root,root,755)
435 %dir %{_libdir}/scummvm/libqueen.so
438 %defattr(644,root,root,755)
439 %dir %{_libdir}/scummvm/libsaga.so
442 %defattr(644,root,root,755)
443 %dir %{_libdir}/scummvm/libscumm.so
446 %defattr(644,root,root,755)
447 %dir %{_libdir}/scummvm/libsky.so
450 %defattr(644,root,root,755)
451 %dir %{_libdir}/scummvm/libsword1.so
454 %defattr(644,root,root,755)
455 %dir %{_libdir}/scummvm/libsword2.so
458 %defattr(644,root,root,755)
459 %dir %{_libdir}/scummvm/libtouche.so
462 %defattr(644,root,root,755)
463 %{_datadir}/%{name}/modern.*