1 %define version_tools 1.4.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: 361000b78ebf0d0f449e98238d677be1
11 Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5: 471138a83de3bacd565e18b617055494
13 Source2: %{name}.desktop
14 Patch0: %{name}-wx-config.patch
15 URL: http://scummvm.org/
16 BuildRequires: SDL-devel >= 1.2.2
17 BuildRequires: alsa-lib-devel >= 0.9
18 BuildRequires: flac-devel >= 1.0.1
19 %ifarch %{ix86} %{x8664}
20 BuildRequires: fluidsynth-devel
22 BuildRequires: freetype-devel
23 BuildRequires: libmad-devel
24 BuildRequires: libpng-devel
25 BuildRequires: libvorbis-devel
26 BuildRequires: libmpeg2-devel >= 0.3.2
30 BuildRequires: wxGTK2-unicode-devel
31 BuildRequires: wxWidgets-devel
32 BuildRequires: zlib-devel
33 BuildRequires: sed >= 4.0
34 BuildRequires: zlib-devel
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 %define specflags_sparc -fPIC
40 ScummVM is a program which allows you to run certain classic graphical
41 point-and-click adventure games, provided you already have their data
42 files. The clever part about this: ScummVM just replaces the
43 executables shipped with the game, allowing you to play them on
44 systems for which they were never designed!
46 Some of the adventures ScummVM supports include Adventure Soft's Simon
47 the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1
48 and Broken Sword 2; Flight of the Amazon Queen; Wyrmkeep's Inherit the
49 Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of
50 Kyrandia and games based on LucasArts' SCUMM (Script Creation Utility
51 for Maniac Mansion) system such as Monkey Island, Day of the Tentacle,
52 Sam and Max and more. You can find a thorough list with details on
53 which games are supported and how well on the project page.
55 %description -l pl.UTF-8
56 ScummVM jest programem umożliwiającym uruchamianie klasycznych
57 graficznych gier przygodowych, pod warunkiem, że posiadane są ich
58 pliki danych. ScummVM używany jest w miejsce pliku wykonywalnego
59 dostarczonego razem z grą, co umożliwia granie na systemach, na które
60 gry nie zostały przeznaczone.
62 ScummVM obsługuje między innymi Simon the Sorcerer 1 i 2 firmy
63 Adventure Soft; Beneath A Steel Sky, Broken Sword 1 i 2 firmy
64 Revolution; Flight of the Amazon Queen; Inherit the Earth firmy
65 Wyrmkeep; serię Gobliiins firmy Coktel Vision; The Legend of Kyrandia
66 firmy Westwood i gry bazujące na silniku SCUMM (Script Creation
67 Utility for Maniac Mansion) firmy LucasArts, takie jak Monkey Island,
68 Day of the Tentacle, Sam and Max i inne. Szczegółowa lista znajduje
69 się na stronie projektu.
72 Summary: ScummVM tools
73 Summary(pl.UTF-8): Narzędzia związane ze ScummVM
74 Group: X11/Applications/Games
77 Collection of various tools that may be useful to use in conjunction
80 %description tools -l pl.UTF-8
81 Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM.
84 Summary: Adventure Game Interpreter
85 Summary(pl.UTF-8): Adventure Game Interpreter
86 Group: X11/Applications/Games
87 Requires: %{name} = %{version}-%{release}
89 %description engine-agi
90 The AGI (Adventure Game Interpreter) engine was used by Sierra in
91 their early adventure games.
93 %description engine-agi -l pl.UTF-8
94 Silnik AGI (Adventure Game Interpreter) był używany przez firmę
95 Sierra w jej wczesnych grach przygodowych.
99 Summary(pl.UTF-8): Silnik AGOS
100 Group: X11/Applications/Games
101 Requires: %{name} = %{version}-%{release}
103 %description engine-agos
104 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
105 is based on AberMUD V, with graphical extensions.
106 Required for following games:
111 - Simon the Sorcerer 2
114 %description engine-agos -l pl.UTF-8
115 Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
116 bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
117 Używany w następujących grach:
122 - Simon the Sorcerer 2
127 Summary(pl.UTF-8): Silnik CGE
128 Group: X11/Applications/Games
129 Requires: %{name} = %{version}-%{release}
131 %description engine-cge
134 %description engine-cge -l pl.UTF-8
138 Summary: Cinematique engine
139 Summary(pl.UTF-8): Silnik Cinematique
140 Group: X11/Applications/Games
141 Requires: %{name} = %{version}-%{release}
143 %description engine-cine
146 %description engine-cine -l pl.UTF-8
149 %package engine-composer
150 Summary: Composer engine
151 Summary(pl.UTF-8): Silnik Composer
152 Group: X11/Applications/Games
153 Requires: %{name} = %{version}-%{release}
155 %description engine-composer
158 %description engine-composer -l pl.UTF-8
161 %package engine-cruise
162 Summary: Cruise engine
163 Summary(pl.UTF-8): Silnik Cruise
164 Group: X11/Applications/Games
165 Requires: %{name} = %{version}-%{release}
167 %description engine-cruise
170 %description engine-cruise -l pl.UTF-8
173 %package engine-draci
174 Summary: Draci engine
175 Summary(pl.UTF-8): Silnik Draci
176 Group: X11/Applications/Games
177 Requires: %{name} = %{version}-%{release}
179 %description engine-draci
182 %description engine-draci -l pl.UTF-8
185 %package engine-drascula
186 Summary: Drascula engine
187 Summary(pl.UTF-8): Silnik Drascula
188 Group: X11/Applications/Games
189 Requires: %{name} = %{version}-%{release}
191 %description engine-drascula
194 %description engine-drascula -l pl.UTF-8
197 %package engine-dreamweb
198 Summary: Dreamweb engine
199 Summary(pl.UTF-8): Silnik Dreamweb
200 Group: X11/Applications/Games
201 Requires: %{name} = %{version}-%{release}
203 %description engine-dreamweb
206 %description engine-dreamweb -l pl.UTF-8
211 Summary(pl.UTF-8): Silnik Gob
212 Group: X11/Applications/Games
213 Requires: %{name} = %{version}-%{release}
215 %description engine-gob
216 Engine to run adventure games created by Coktel Vision.
218 %description engine-gob -l pl.UTF-8
219 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
221 %package engine-groovie
222 Summary: Groovie engine
223 Summary(pl.UTF-8): Silnik Groovie
224 Group: X11/Applications/Games
225 Requires: %{name} = %{version}-%{release}
227 %description engine-groovie
228 Engine to run adventure games created by Trilobyte or
229 Aftermath Media (The 7th Guest, The 11th Hour).
231 %description engine-groovie -l pl.UTF-8
232 Silnik do uruchamiania gier stworzonych przez Trilobyte
233 i Aftermath Media (The 7th Guest, The 11th Hour).
237 Summary(pl.UTF-8): Silnik Hugo
238 Group: X11/Applications/Games
239 Requires: %{name} = %{version}-%{release}
241 %description engine-hugo
244 %description engine-hugo -l pl.UTF-8
248 Summary: Kyrandia engine
249 Summary(pl.UTF-8): Silnik Kyrandia
250 Group: X11/Applications/Games
251 Requires: %{name} = %{version}-%{release}
253 %description engine-kyra
256 %description engine-kyra -l pl.UTF-8
259 %package engine-lastexpress
260 Summary: Lastexpress engine
261 Summary(pl.UTF-8): Silnik Lastexpress
262 Group: X11/Applications/Games
263 Requires: %{name} = %{version}-%{release}
265 %description engine-lastexpress
266 Lastexpress is the engine for the game Lastexpress of the Temptress.
268 %description engine-lastexpress -l pl.UTF-8
269 Lastexpress jest silnikiem dla gry Lastexpress of the Temptress.
273 Summary(pl.UTF-8): Silnik Lure
274 Group: X11/Applications/Games
275 Requires: %{name} = %{version}-%{release}
277 %description engine-lure
278 Lure is the engine for the game Lure of the Temptress.
280 %description engine-lure -l pl.UTF-8
281 Lure jest silnikiem dla gry Lure of the Temptress.
284 Summary: M4/MADS engine
285 Summary(pl.UTF-8): Silnik M4/MADS
286 Group: X11/Applications/Games
287 Requires: %{name} = %{version}-%{release}
289 %description engine-m4
290 MADS stands for the MicroProse Adventure Development System,
291 used in the three adventure games they made. It was later sold
292 to Sanctuary Woods, who continued development on it and named
293 it M4 (MADS version 4 perhaps) and released two more games.
295 %description engine-m4 -l pl.UTF-8
296 MADS to MicroProse Adventure Development System, używany jest
297 w trzech grach stworzonych przez MicroProse. Został sprzedany
298 do Sanctuary Woods i dalej rozwijany jako M4.
302 Summary(pl.UTF-8): Silnik MADE
303 Group: X11/Applications/Games
304 Requires: %{name} = %{version}-%{release}
306 %description engine-made
307 MADE stands for Multimedia Applications Development Environment,
308 and was used by Activision to create some of their point'n'click
311 %description engine-made -l pl.UTF-8
312 MADE to Multimedia Applications Development Environment,
313 był używany przez Activision w grach przygodowych.
315 %package engine-mohawk
316 Summary: Mohawk engine
317 Summary(pl.UTF-8): Silnik Mohawk
318 Group: X11/Applications/Games
319 Requires: %{name} = %{version}-%{release}
321 %description engine-mohawk
322 The Mohawk engine was developed by Brøderbund starting
323 in the early 1990's with the Windows port of Myst.
325 %description engine-mohawk -l pl.UTF-8
326 Silnik Mohawk został stworzony przez Brøderbund we wczesnych
327 latach 90-ych, na potrzeby gry Myst.
329 %package engine-parallaction
330 Summary: Parallaction engine
331 Summary(pl.UTF-8): Silnik Parallaction
332 Group: X11/Applications/Games
333 Requires: %{name} = %{version}-%{release}
335 %description engine-parallaction
338 %description engine-parallaction -l pl.UTF-8
341 %package engine-queen
342 Summary: Queen engine
343 Summary(pl.UTF-8): Silnik Queen
344 Group: X11/Applications/Games
345 Requires: %{name} = %{version}-%{release}
347 %description engine-queen
348 The Queen Engine is used to play Interactive Binary Illusions' Flight
351 %description engine-queen -l pl.UTF-8
352 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
353 Interactive Binary Illusions.
356 Summary: Scripts for Animated Graphic Adventures
357 Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
358 Group: X11/Applications/Games
359 Requires: %{name} = %{version}-%{release}
361 %description engine-saga
362 SAGA (Scripts for Animated Graphic Adventures) engine.
364 %description engine-saga -l pl.UTF-8
365 Silnik SAGA (Scripts for Animated Graphic Adventures).
368 Summary: Sierra's "SCript Interpreter"
369 Summary(pl.UTF-8): SCript Interpreter Sierry
370 Group: X11/Applications/Games
371 Requires: %{name} = %{version}-%{release}
373 %description engine-sci
374 Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
376 %description engine-sci -l pl.UTF-8
377 SCript Interpreter Sierry.
379 %package engine-scumm
380 Summary: Script Creation Utility for Maniac Mansion
381 Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
382 Group: X11/Applications/Games
383 Requires: %{name} = %{version}-%{release}
385 %description engine-scumm
386 SCUMM is a utility used to create the famous LucasArts adventure games
387 like the Monkey Island series and also gave ScummVM its name.
389 %description engine-scumm -l pl.UTF-8
390 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
391 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
396 Summary(pl.UTF-8): Silnik Sky
397 Group: X11/Applications/Games
398 Requires: %{name} = %{version}-%{release}
400 %description engine-sky
401 Sky is the internal name for the Virtual Theatre variant which runs
404 %description engine-sky -l pl.UTF-8
405 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
408 %package engine-sword1
409 Summary: Sword1 engine
410 Summary(pl.UTF-8): Silnik Sword1
411 Group: X11/Applications/Games
412 Requires: %{name} = %{version}-%{release}
414 %description engine-sword1
417 %description engine-sword1 -l pl.UTF-8
420 %package engine-sword2
421 Summary: Sword2 engine
422 Summary(pl.UTF-8): Silnik Sword2
423 Group: X11/Applications/Games
424 Requires: %{name} = %{version}-%{release}
426 %description engine-sword2
429 %description engine-sword2 -l pl.UTF-8
432 %package engine-sword25
433 Summary: Sword2.5 engine
434 Summary(pl.UTF-8): Silnik Sword2.5
435 Group: X11/Applications/Games
436 Requires: %{name} = %{version}-%{release}
438 %description engine-sword25
441 %description engine-sword25 -l pl.UTF-8
444 %package engine-teenagent
445 Summary: TeenAgent engine
446 Summary(pl.UTF-8): Silnik TeenAgent
447 Group: X11/Applications/Games
448 Requires: %{name} = %{version}-%{release}
450 %description engine-teenagent
451 This engine is only used by TeenAgent.
453 %description engine-teenagent -l pl.UTF-8
454 Ten silnik jest używany tylko przez TeenAgenta.
456 %package engine-testbed
457 Summary: Testbed engine
458 Summary(pl.UTF-8): Silnik Testbed
459 Group: X11/Applications/Games
460 Requires: %{name} = %{version}-%{release}
462 %description engine-testbed
463 TestBed: the Testing framework engine
465 %description engine-testbed -l pl.UTF-8
466 TestBed: the Testing framework engine
468 %package engine-tinsel
469 Summary: Tinsel engine
470 Summary(pl.UTF-8): Silnik Tinsel
471 Group: X11/Applications/Games
472 Requires: %{name} = %{version}-%{release}
474 %description engine-tinsel
475 This engine is only used by Discworld 1 and Discworld 2.
477 %description engine-tinsel -l pl.UTF-8
478 Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
482 Summary(pl.UTF-8): Silnik Toon
483 Group: X11/Applications/Games
484 Requires: %{name} = %{version}-%{release}
486 %description engine-toon
489 %description engine-toon -l pl.UTF-8
492 %package engine-touche
493 Summary: Touche engine
494 Summary(pl.UTF-8): Silnik Touche
495 Group: X11/Applications/Games
496 Requires: %{name} = %{version}-%{release}
498 %description engine-touche
499 This engine is only used by Touche: The Adventures of the Fifth
502 %description engine-touche -l pl.UTF-8
503 Ten silnik jest używany tylko przez Touché: Przygody Piątego
506 %package engine-tsage
507 Summary: Tsage engine
508 Summary(pl.UTF-8): Silnik Tsage
509 Group: X11/Applications/Games
510 Requires: %{name} = %{version}-%{release}
512 %description engine-tsage
513 This engine is only used by Ringworld: Revenge Of The Patriarch.
515 %description engine-tsage -l pl.UTF-8
516 Ten silnik jest używany tylko przez Ringworld: Revenge Of The Patriach.
518 %package engine-tucker
519 Summary: Tucker engine
520 Summary(pl.UTF-8): Silnik Tucker
521 Group: X11/Applications/Games
522 Requires: %{name} = %{version}-%{release}
524 %description engine-tucker
525 The Tucker engine is used in Bud Tucker in Double Trouble.
527 %description engine-tucker -l pl.UTF-8
528 Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
530 %package theme-classic
531 Summary: Theme classic for ScummVM
532 Summary(pl.UTF-8): Motyw classic dla ScummVM
533 Group: X11/Applications/Games
534 Requires: %{name} = %{version}-%{release}
536 %description theme-classic
537 Theme classic for ScummVM.
539 %description theme-classic -l pl.UTF-8
540 Motyw classic dla ScummVM.
542 %package theme-modern
543 Summary: Theme modern for ScummVM
544 Summary(pl.UTF-8): Motyw modern dla ScummVM
545 Group: X11/Applications/Games
546 Requires: %{name} = %{version}-%{release}
548 %description theme-modern
549 Theme modern for ScummVM.
551 %description theme-modern -l pl.UTF-8
552 Motyw modern dla ScummVM.
556 cd scummvm-tools-%{version_tools}
560 %{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
566 --enable-all-engines \
572 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
573 LDFLAGS="%{rpmcflags} %{rpmldflags}"
575 cd scummvm-tools-%{version_tools}
582 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
583 LDFLAGS="%{rpmcflags} %{rpmldflags} $(wx-gtk2-unicode-config --libs)"
586 rm -rf $RPM_BUILD_ROOT
587 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
589 install scummvm $RPM_BUILD_ROOT%{_bindir}
590 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
592 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
594 %{__make} -C scummvm-tools-%{version_tools} install \
595 DESTDIR=$RPM_BUILD_ROOT
597 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
598 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
600 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
601 install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
604 rm -rf $RPM_BUILD_ROOT
607 %defattr(644,root,root,755)
608 %doc AUTHORS COPYRIGHT NEWS README TODO
609 %attr(755,root,root) %{_bindir}/scummvm
610 %dir %{_libdir}/scummvm
613 %{_desktopdir}/*.desktop
614 %dir %{_datadir}/%{name}
617 %defattr(644,root,root,755)
618 %doc scummvm-tools-%{version_tools}/README
619 %attr(755,root,root) %{_bindir}/*
620 %exclude %{_bindir}/scummvm
621 %{_datadir}/scummvm-tools
624 %defattr(644,root,root,755)
625 %dir %{_libdir}/scummvm/libagi.so
628 %defattr(644,root,root,755)
629 %dir %{_libdir}/scummvm/libagos.so
632 %defattr(644,root,root,755)
633 %dir %{_libdir}/scummvm/libcge.so
636 %defattr(644,root,root,755)
637 %dir %{_libdir}/scummvm/libcine.so
639 %files engine-composer
640 %defattr(644,root,root,755)
641 %dir %{_libdir}/scummvm/libcomposer.so
644 %defattr(644,root,root,755)
645 %dir %{_libdir}/scummvm/libcruise.so
648 %defattr(644,root,root,755)
649 %dir %{_libdir}/scummvm/libdraci.so
651 %files engine-drascula
652 %defattr(644,root,root,755)
653 %dir %{_libdir}/scummvm/libdrascula.so
655 %files engine-dreamweb
656 %defattr(644,root,root,755)
657 %dir %{_libdir}/scummvm/libdreamweb.so
660 %defattr(644,root,root,755)
661 %dir %{_libdir}/scummvm/libgob.so
663 %files engine-groovie
664 %defattr(644,root,root,755)
665 %dir %{_libdir}/scummvm/libgroovie.so
668 %defattr(644,root,root,755)
669 %dir %{_libdir}/scummvm/libhugo.so
672 %defattr(644,root,root,755)
673 %dir %{_libdir}/scummvm/libkyra.so
675 %files engine-lastexpress
676 %defattr(644,root,root,755)
677 %dir %{_libdir}/scummvm/liblastexpress.so
680 %defattr(644,root,root,755)
681 %dir %{_libdir}/scummvm/liblure.so
684 %defattr(644,root,root,755)
685 %dir %{_libdir}/scummvm/libm4.so
688 %defattr(644,root,root,755)
689 %dir %{_libdir}/scummvm/libmade.so
692 %defattr(644,root,root,755)
693 %dir %{_libdir}/scummvm/libmohawk.so
695 %files engine-parallaction
696 %defattr(644,root,root,755)
697 %dir %{_libdir}/scummvm/libparallaction.so
700 %defattr(644,root,root,755)
701 %dir %{_libdir}/scummvm/libqueen.so
704 %defattr(644,root,root,755)
705 %dir %{_libdir}/scummvm/libsaga.so
708 %defattr(644,root,root,755)
709 %dir %{_libdir}/scummvm/libsci.so
712 %defattr(644,root,root,755)
713 %dir %{_libdir}/scummvm/libscumm.so
716 %defattr(644,root,root,755)
717 %dir %{_libdir}/scummvm/libsky.so
720 %defattr(644,root,root,755)
721 %dir %{_libdir}/scummvm/libsword1.so
724 %defattr(644,root,root,755)
725 %dir %{_libdir}/scummvm/libsword2.so
727 %files engine-sword25
728 %defattr(644,root,root,755)
729 %dir %{_libdir}/scummvm/libsword25.so
731 %files engine-teenagent
732 %defattr(644,root,root,755)
733 %dir %{_libdir}/scummvm/libteenagent.so
735 %files engine-testbed
736 %defattr(644,root,root,755)
737 %dir %{_libdir}/scummvm/libtestbed.so
740 %defattr(644,root,root,755)
741 %dir %{_libdir}/scummvm/libtinsel.so
744 %defattr(644,root,root,755)
745 %dir %{_libdir}/scummvm/libtouche.so
748 %defattr(644,root,root,755)
749 %dir %{_libdir}/scummvm/libtoon.so
752 %defattr(644,root,root,755)
753 %dir %{_libdir}/scummvm/libtsage.so
756 %defattr(644,root,root,755)
757 %dir %{_libdir}/scummvm/libtucker.so
760 %defattr(644,root,root,755)
761 %{_datadir}/%{name}/scummclassic.*
764 %defattr(644,root,root,755)
765 %{_datadir}/%{name}/scummmodern.*