1 %define version_tools 1.0.0rc1
3 Summary: Graphic adventure game interpreter
4 Summary(pl.UTF-8): Interpreter gier przygodowych
9 Group: X11/Applications/Games
10 Source0: http://dl.sourceforge.net/scummvm/%{name}-%{version}%{pre}.tar.bz2
11 # Source0-md5: f3fabedc7ff2424d6a4bc678229b22ce
12 Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
13 # Source1-md5: 3434770afa91a8eaf4fa31c9229d7686
14 Source2: %{name}.desktop
15 Patch0: %{name}-wx-config.patch
16 URL: http://scummvm.org/
17 BuildRequires: SDL-devel >= 1.2.2
18 BuildRequires: alsa-lib-devel >= 0.9
19 BuildRequires: flac-devel >= 1.0.1
20 %ifarch %{ix86} %{x8664}
21 BuildRequires: fluidsynth-devel
23 BuildRequires: libmad-devel
24 BuildRequires: libvorbis-devel
25 BuildRequires: libmpeg2-devel >= 0.3.2
29 BuildRequires: wxGTK2-unicode-devel
30 BuildRequires: wxWidgets-devel
31 BuildRequires: zlib-devel
32 BuildRequires: sed >= 4.0
33 BuildRequires: zlib-devel
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define specflags_sparc -fPIC
39 ScummVM is a program which allows you to run certain classic graphical
40 point-and-click adventure games, provided you already have their data
41 files. The clever part about this: ScummVM just replaces the
42 executables shipped with the game, allowing you to play them on
43 systems for which they were never designed!
45 Some of the adventures ScummVM supports include Adventure Soft's Simon
46 the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1
47 and Broken Sword 2; Flight of the Amazon Queen; Wyrmkeep's Inherit the
48 Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of
49 Kyrandia and games based on LucasArts' SCUMM (Script Creation Utility
50 for Maniac Mansion) system such as Monkey Island, Day of the Tentacle,
51 Sam and Max and more. You can find a thorough list with details on
52 which games are supported and how well on the project page.
54 %description -l pl.UTF-8
55 ScummVM jest programem umożliwiającym uruchamianie klasycznych
56 graficznych gier przygodowych, pod warunkiem, że posiadane są ich
57 pliki danych. ScummVM używany jest w miejsce pliku wykonywalnego
58 dostarczonego razem z grą, co umożliwia granie na systemach, na które
59 gry nie zostały przeznaczone.
61 ScummVM obsługuje między innymi Simon the Sorcerer 1 i 2 firmy
62 Adventure Soft; Beneath A Steel Sky, Broken Sword 1 i 2 firmy
63 Revolution; Flight of the Amazon Queen; Inherit the Earth firmy
64 Wyrmkeep; serię Gobliiins firmy Coktel Vision; The Legend of Kyrandia
65 firmy Westwood i gry bazujące na silniku SCUMM (Script Creation
66 Utility for Maniac Mansion) firmy LucasArts, takie jak Monkey Island,
67 Day of the Tentacle, Sam and Max i inne. Szczegółowa lista znajduje
68 się na stronie projektu.
71 Summary: ScummVM tools
72 Summary(pl.UTF-8): Narzędzia związane ze ScummVM
73 Group: X11/Applications/Games
76 Collection of various tools that may be useful to use in conjunction
79 %description tools -l pl.UTF-8
80 Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM.
83 Summary: Adventure Game Interpreter
84 Summary(pl.UTF-8): Adventure Game Interpreter
85 Group: X11/Applications/Games
87 %description engine-agi
88 The AGI (Adventure Game Interpreter) engine was used by Sierra in
89 their early adventure games.
91 %description engine-agi -l pl.UTF-8
92 Silnik AGI (Adventure Game Interpreter) był używany przez firmę
93 Sierra w jej wczesnych grach przygodowych.
97 Summary(pl.UTF-8): Silnik AGOS
98 Group: X11/Applications/Games
100 %description engine-agos
101 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
102 is based on AberMUD V, with graphical extensions.
103 Required for following games:
108 - Simon the Sorcerer 2
111 %description engine-agos -l pl.UTF-8
112 Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
113 bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
114 Używany w następujących grach:
119 - Simon the Sorcerer 2
123 Summary: Cinematique engine
124 Summary(pl.UTF-8): Silnik Cinematique
125 Group: X11/Applications/Games
127 %description engine-cine
130 %description engine-cine -l pl.UTF-8
133 %package engine-cruise
134 Summary: Cruise engine
135 Summary(pl.UTF-8): Silnik Cruise
136 Group: X11/Applications/Games
138 %description engine-cruise
141 %description engine-cruise -l pl.UTF-8
144 %package engine-drascula
145 Summary: Drascula engine
146 Summary(pl.UTF-8): Silnik Drascula
147 Group: X11/Applications/Games
149 %description engine-drascula
152 %description engine-drascula -l pl.UTF-8
157 Summary(pl.UTF-8): Silnik Gob
158 Group: X11/Applications/Games
160 %description engine-gob
161 Engine to run adventure games created by Coktel Vision.
163 %description engine-gob -l pl.UTF-8
164 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
166 %package engine-groovie
167 Summary: Groovie engine
168 Summary(pl.UTF-8): Silnik Groovie
169 Group: X11/Applications/Games
171 %description engine-groovie
172 Engine to run adventure games created by Trilobyte or
173 Aftermath Media (The 7th Guest, The 11th Hour).
175 %description engine-groovie -l pl.UTF-8
176 Silnik do uruchamiania gier stworzonych przez Trilobyte
177 i Aftermath Media (The 7th Guest, The 11th Hour).
181 Summary(pl.UTF-8): Silnik Igor
182 Group: X11/Applications/Games
184 %description engine-igor
187 %description engine-igor -l pl.UTF-8
191 Summary: Kyrandia engine
192 Summary(pl.UTF-8): Silnik Kyrandia
193 Group: X11/Applications/Games
195 %description engine-kyra
198 %description engine-kyra -l pl.UTF-8
203 Summary(pl.UTF-8): Silnik Lure
204 Group: X11/Applications/Games
206 %description engine-lure
207 Lure is the engine for the game Lure of the Temptress.
209 %description engine-lure -l pl.UTF-8
210 Lure jest silnikiem dla gry Lure of the Temptress.
214 Summary(pl.UTF-8): Silnik M4
215 Group: X11/Applications/Games
217 %description engine-m4
218 MADS stands for the MicroProse Adventure Development System,
219 used in the three adventure games they made. It was later sold
220 to Sanctuary Woods, who continued development on it and named
221 it M4 (MADS version 4 perhaps) and released two more games.
223 %description engine-m4 -l pl.UTF-8
224 MADS to MicroProse Adventure Development System, używany jest
225 w trzech grach stworzonych przez MicroProse. Został sprzedany
226 do Sanctuary Woods i dalej rozwijany jako M4.
230 Summary(pl.UTF-8): Silnik MADE
231 Group: X11/Applications/Games
233 %description engine-made
234 MADE stands for Multimedia Applications Development Environment,
235 and was used by Activision to create some of their point'n'click
238 %description engine-made -l pl.UTF-8
239 MADE to Multimedia Applications Development Environment,
240 był używany przez Activision w grach przygodowych.
242 %package engine-parallaction
243 Summary: Parallaction engine
244 Summary(pl.UTF-8): Silnik Parallaction
245 Group: X11/Applications/Games
247 %description engine-parallaction
250 %description engine-parallaction -l pl.UTF-8
253 %package engine-queen
254 Summary: Queen engine
255 Summary(pl.UTF-8): Silnik Queen
256 Group: X11/Applications/Games
258 %description engine-queen
259 The Queen Engine is used to play Interactive Binary Illusions' Flight
262 %description engine-queen -l pl.UTF-8
263 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
264 Interactive Binary Illusions.
267 Summary: Scripts for Animated Graphic Adventures
268 Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
269 Group: X11/Applications/Games
271 %description engine-saga
272 SAGA (Scripts for Animated Graphic Adventures) engine.
274 %description engine-saga -l pl.UTF-8
275 Silnik SAGA (Scripts for Animated Graphic Adventures).
278 Summary: Sierra's "SCript Interpreter"
279 Summary(pl.UTF-8): SCript Interpreter Sierry
280 Group: X11/Applications/Games
282 %description engine-sci
283 Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
285 %description engine-sci -l pl.UTF-8
286 SCript Interpreter Sierry.
288 %package engine-scumm
289 Summary: Script Creation Utility for Maniac Mansion
290 Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
291 Group: X11/Applications/Games
293 %description engine-scumm
294 SCUMM is a utility used to create the famous LucasArts adventure games
295 like the Monkey Island series and also gave ScummVM its name.
297 %description engine-scumm -l pl.UTF-8
298 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
299 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
304 Summary(pl.UTF-8): Silnik Sky
305 Group: X11/Applications/Games
307 %description engine-sky
308 Sky is the internal name for the Virtual Theatre variant which runs
311 %description engine-sky -l pl.UTF-8
312 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
315 %package engine-sword1
316 Summary: Sword1 engine
317 Summary(pl.UTF-8): Silnik Sword1
318 Group: X11/Applications/Games
320 %description engine-sword1
323 %description engine-sword1 -l pl.UTF-8
326 %package engine-sword2
327 Summary: Sword2 engine
328 Summary(pl.UTF-8): Silnik Sword2
329 Group: X11/Applications/Games
331 %description engine-sword2
334 %description engine-sword2 -l pl.UTF-8
337 %package engine-tinsel
338 Summary: Tinsel engine
339 Summary(pl.UTF-8): Silnik Tinsel
340 Group: X11/Applications/Games
342 %description engine-tinsel
343 This engine is only used by Discworld 1 and Discworld 2.
346 %description engine-tinsel -l pl.UTF-8
347 Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
349 %package engine-touche
350 Summary: Touche engine
351 Summary(pl.UTF-8): Silnik Touche
352 Group: X11/Applications/Games
354 %description engine-touche
355 This engine is only used by Touche: The Adventures of the Fifth
358 %description engine-touche -l pl.UTF-8
359 Ten silnik jest używany tylko przez Touché: Przygody Piątego
362 %package engine-tucker
363 Summary: Tucker engine
364 Summary(pl.UTF-8): Silnik Tucker
365 Group: X11/Applications/Games
367 %description engine-tucker
368 The Tucker engine is used in Bud Tucker in Double Trouble.
370 %description engine-tucker -l pl.UTF-8
371 Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
373 %package theme-classic
374 Summary: Theme classic for ScummVM
375 Summary(pl.UTF-8): Motyw classic dla ScummVM
376 Group: X11/Applications/Games
378 %description theme-classic
379 Theme classic for ScummVM.
381 %description theme-classic -l pl.UTF-8
382 Motyw classic dla ScummVM.
384 %package theme-modern
385 Summary: Theme modern for ScummVM
386 Summary(pl.UTF-8): Motyw modern dla ScummVM
387 Group: X11/Applications/Games
389 %description theme-modern
390 Theme modern for ScummVM.
392 %description theme-modern -l pl.UTF-8
393 Motyw modern dla ScummVM.
396 %setup -q -a 1 -n %{name}-%{version}%{pre}
399 %{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
406 --enable-all-engines \
412 CXXFLAGS="%{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
413 LDFLAGS="%{rpmldflags}"
415 cd scummvm-tools-%{version_tools}
418 CXXFLAGS="%{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
419 LDFLAGS="%{rpmldflags} $(wx-gtk2-unicode-config --libs)"
422 rm -rf $RPM_BUILD_ROOT
423 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
425 install scummvm $RPM_BUILD_ROOT%{_bindir}
426 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
428 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
430 cd scummvm-tools-%{version_tools}
431 install compress_agos $RPM_BUILD_ROOT%{_bindir}
432 install compress_kyra $RPM_BUILD_ROOT%{_bindir}
433 install compress_queen $RPM_BUILD_ROOT%{_bindir}
434 install compress_saga $RPM_BUILD_ROOT%{_bindir}
435 install compress_scumm_bun $RPM_BUILD_ROOT%{_bindir}
436 install compress_scumm_san $RPM_BUILD_ROOT%{_bindir}
437 install compress_scumm_sou $RPM_BUILD_ROOT%{_bindir}
438 install compress_sword1 $RPM_BUILD_ROOT%{_bindir}
439 install compress_sword2 $RPM_BUILD_ROOT%{_bindir}
440 install compress_touche $RPM_BUILD_ROOT%{_bindir}
441 install convert_dxa.sh $RPM_BUILD_ROOT%{_bindir}
442 install dekyra $RPM_BUILD_ROOT%{_bindir}
443 install descumm $RPM_BUILD_ROOT%{_bindir}
444 install desword2 $RPM_BUILD_ROOT%{_bindir}
445 install encode_dxa $RPM_BUILD_ROOT%{_bindir}
446 install extract_agos $RPM_BUILD_ROOT%{_bindir}
447 install extract_kyra $RPM_BUILD_ROOT%{_bindir}
448 install extract_loom_tg16 $RPM_BUILD_ROOT%{_bindir}
449 install extract_mm_apple $RPM_BUILD_ROOT%{_bindir}
450 install extract_mm_c64 $RPM_BUILD_ROOT%{_bindir}
451 install extract_mm_nes $RPM_BUILD_ROOT%{_bindir}
452 install extract_scumm_mac $RPM_BUILD_ROOT%{_bindir}
453 install extract_zak_c64 $RPM_BUILD_ROOT%{_bindir}
456 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
457 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
459 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
460 install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
463 rm -rf $RPM_BUILD_ROOT
466 %defattr(644,root,root,755)
467 %doc AUTHORS COPYRIGHT NEWS README TODO
468 %attr(755,root,root) %{_bindir}/scummvm
469 %dir %{_libdir}/scummvm
472 %{_desktopdir}/*.desktop
473 %dir %{_datadir}/%{name}
476 %defattr(644,root,root,755)
477 %doc scummvm-tools-%{version_tools}/README
478 %attr(755,root,root) %{_bindir}/*
479 %exclude %{_bindir}/scummvm
482 %defattr(644,root,root,755)
483 %dir %{_libdir}/scummvm/libagi.so
486 %defattr(644,root,root,755)
487 %dir %{_libdir}/scummvm/libagos.so
490 %defattr(644,root,root,755)
491 %dir %{_libdir}/scummvm/libcine.so
494 %defattr(644,root,root,755)
495 %dir %{_libdir}/scummvm/libcruise.so
497 %files engine-drascula
498 %defattr(644,root,root,755)
499 %dir %{_libdir}/scummvm/libdrascula.so
502 %defattr(644,root,root,755)
503 %dir %{_libdir}/scummvm/libgob.so
505 %files engine-groovie
506 %defattr(644,root,root,755)
507 %dir %{_libdir}/scummvm/libgroovie.so
510 %defattr(644,root,root,755)
511 %dir %{_libdir}/scummvm/libigor.so
514 %defattr(644,root,root,755)
515 %dir %{_libdir}/scummvm/libkyra.so
518 %defattr(644,root,root,755)
519 %dir %{_libdir}/scummvm/liblure.so
522 %defattr(644,root,root,755)
523 %dir %{_libdir}/scummvm/libm4.so
526 %defattr(644,root,root,755)
527 %dir %{_libdir}/scummvm/libmade.so
529 %files engine-parallaction
530 %defattr(644,root,root,755)
531 %dir %{_libdir}/scummvm/libparallaction.so
534 %defattr(644,root,root,755)
535 %dir %{_libdir}/scummvm/libqueen.so
538 %defattr(644,root,root,755)
539 %dir %{_libdir}/scummvm/libsaga.so
542 %defattr(644,root,root,755)
543 %dir %{_libdir}/scummvm/libsci.so
546 %defattr(644,root,root,755)
547 %dir %{_libdir}/scummvm/libscumm.so
550 %defattr(644,root,root,755)
551 %dir %{_libdir}/scummvm/libsky.so
554 %defattr(644,root,root,755)
555 %dir %{_libdir}/scummvm/libsword1.so
558 %defattr(644,root,root,755)
559 %dir %{_libdir}/scummvm/libsword2.so
562 %defattr(644,root,root,755)
563 %dir %{_libdir}/scummvm/libtinsel.so
566 %defattr(644,root,root,755)
567 %dir %{_libdir}/scummvm/libtouche.so
570 %defattr(644,root,root,755)
571 %dir %{_libdir}/scummvm/libtucker.so
574 %defattr(644,root,root,755)
575 %{_datadir}/%{name}/scummclassic.*
578 %defattr(644,root,root,755)
579 %{_datadir}/%{name}/scummmodern.*