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://downloads.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
10 # Source0-md5: aa094c2224aad22d5340a1d2d919c883
11 Source1: http://downloads.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: libmpeg2-devel >= 0.3.2
25 BuildRequires: libpng-devel
26 BuildRequires: libvorbis-devel
30 BuildRequires: sed >= 4.0
31 BuildRequires: wxGTK2-unicode-devel
32 BuildRequires: wxWidgets-devel
33 BuildRequires: zlib-devel
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ę Sierra
95 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. Required for
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 Aftermath Media
229 (The 7th Guest, The 11th Hour).
231 %description engine-groovie -l pl.UTF-8
232 Silnik do uruchamiania gier stworzonych przez Trilobyte i Aftermath
233 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, used in
291 the three adventure games they made. It was later sold to Sanctuary
292 Woods, who continued development on it and named it M4 (MADS version 4
293 perhaps) and released two more games.
295 %description engine-m4 -l pl.UTF-8
296 MADS to MicroProse Adventure Development System, używany jest w trzech
297 grach stworzonych przez MicroProse. Został sprzedany do Sanctuary
298 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, and
308 was used by Activision to create some of their point'n'click adventure
311 %description engine-made -l pl.UTF-8
312 MADE to Multimedia Applications Development Environment, był używany
313 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 in the early
323 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 latach
327 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
519 %package engine-tucker
520 Summary: Tucker engine
521 Summary(pl.UTF-8): Silnik Tucker
522 Group: X11/Applications/Games
523 Requires: %{name} = %{version}-%{release}
525 %description engine-tucker
526 The Tucker engine is used in Bud Tucker in Double Trouble.
528 %description engine-tucker -l pl.UTF-8
529 Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
531 %package theme-classic
532 Summary: Theme classic for ScummVM
533 Summary(pl.UTF-8): Motyw classic dla ScummVM
534 Group: X11/Applications/Games
535 Requires: %{name} = %{version}-%{release}
537 %description theme-classic
538 Theme classic for ScummVM.
540 %description theme-classic -l pl.UTF-8
541 Motyw classic dla ScummVM.
543 %package theme-modern
544 Summary: Theme modern for ScummVM
545 Summary(pl.UTF-8): Motyw modern dla ScummVM
546 Group: X11/Applications/Games
547 Requires: %{name} = %{version}-%{release}
549 %description theme-modern
550 Theme modern for ScummVM.
552 %description theme-modern -l pl.UTF-8
553 Motyw modern dla ScummVM.
557 cd scummvm-tools-%{version_tools}
561 %{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
565 --prefix=%{_prefix} \
567 --enable-all-engines \
573 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -fpic $(wx-gtk2-unicode-config --cppflags)" \
574 LDFLAGS="%{rpmcflags} %{rpmldflags}"
576 cd scummvm-tools-%{version_tools}
578 --prefix=%{_prefix} \
583 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX -fpermissive $(wx-gtk2-unicode-config --cppflags)" \
584 LDFLAGS="%{rpmcflags} %{rpmldflags} $(wx-gtk2-unicode-config --libs)"
587 rm -rf $RPM_BUILD_ROOT
588 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
590 install scummvm $RPM_BUILD_ROOT%{_bindir}
591 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
593 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
595 %{__make} -C scummvm-tools-%{version_tools} install \
596 DESTDIR=$RPM_BUILD_ROOT
598 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
599 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
601 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
602 install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
605 rm -rf $RPM_BUILD_ROOT
608 %defattr(644,root,root,755)
609 %doc AUTHORS COPYRIGHT NEWS README TODO
610 %attr(755,root,root) %{_bindir}/scummvm
611 %dir %{_libdir}/scummvm
614 %{_desktopdir}/*.desktop
615 %dir %{_datadir}/%{name}
618 %defattr(644,root,root,755)
619 %doc scummvm-tools-%{version_tools}/README
620 %attr(755,root,root) %{_bindir}/*
621 %exclude %{_bindir}/scummvm
622 %{_datadir}/scummvm-tools
625 %defattr(644,root,root,755)
626 %dir %{_libdir}/scummvm/libagi.so
629 %defattr(644,root,root,755)
630 %dir %{_libdir}/scummvm/libagos.so
633 %defattr(644,root,root,755)
634 %dir %{_libdir}/scummvm/libcge.so
637 %defattr(644,root,root,755)
638 %dir %{_libdir}/scummvm/libcine.so
640 %files engine-composer
641 %defattr(644,root,root,755)
642 %dir %{_libdir}/scummvm/libcomposer.so
645 %defattr(644,root,root,755)
646 %dir %{_libdir}/scummvm/libcruise.so
649 %defattr(644,root,root,755)
650 %dir %{_libdir}/scummvm/libdraci.so
652 %files engine-drascula
653 %defattr(644,root,root,755)
654 %dir %{_libdir}/scummvm/libdrascula.so
656 %files engine-dreamweb
657 %defattr(644,root,root,755)
658 %dir %{_libdir}/scummvm/libdreamweb.so
661 %defattr(644,root,root,755)
662 %dir %{_libdir}/scummvm/libgob.so
664 %files engine-groovie
665 %defattr(644,root,root,755)
666 %dir %{_libdir}/scummvm/libgroovie.so
669 %defattr(644,root,root,755)
670 %dir %{_libdir}/scummvm/libhugo.so
673 %defattr(644,root,root,755)
674 %dir %{_libdir}/scummvm/libkyra.so
676 %files engine-lastexpress
677 %defattr(644,root,root,755)
678 %dir %{_libdir}/scummvm/liblastexpress.so
681 %defattr(644,root,root,755)
682 %dir %{_libdir}/scummvm/liblure.so
685 %defattr(644,root,root,755)
686 %dir %{_libdir}/scummvm/libm4.so
689 %defattr(644,root,root,755)
690 %dir %{_libdir}/scummvm/libmade.so
693 %defattr(644,root,root,755)
694 %dir %{_libdir}/scummvm/libmohawk.so
696 %files engine-parallaction
697 %defattr(644,root,root,755)
698 %dir %{_libdir}/scummvm/libparallaction.so
701 %defattr(644,root,root,755)
702 %dir %{_libdir}/scummvm/libqueen.so
705 %defattr(644,root,root,755)
706 %dir %{_libdir}/scummvm/libsaga.so
709 %defattr(644,root,root,755)
710 %dir %{_libdir}/scummvm/libsci.so
713 %defattr(644,root,root,755)
714 %dir %{_libdir}/scummvm/libscumm.so
717 %defattr(644,root,root,755)
718 %dir %{_libdir}/scummvm/libsky.so
721 %defattr(644,root,root,755)
722 %dir %{_libdir}/scummvm/libsword1.so
725 %defattr(644,root,root,755)
726 %dir %{_libdir}/scummvm/libsword2.so
728 %files engine-sword25
729 %defattr(644,root,root,755)
730 %dir %{_libdir}/scummvm/libsword25.so
732 %files engine-teenagent
733 %defattr(644,root,root,755)
734 %dir %{_libdir}/scummvm/libteenagent.so
736 %files engine-testbed
737 %defattr(644,root,root,755)
738 %dir %{_libdir}/scummvm/libtestbed.so
741 %defattr(644,root,root,755)
742 %dir %{_libdir}/scummvm/libtinsel.so
745 %defattr(644,root,root,755)
746 %dir %{_libdir}/scummvm/libtouche.so
749 %defattr(644,root,root,755)
750 %dir %{_libdir}/scummvm/libtoon.so
753 %defattr(644,root,root,755)
754 %dir %{_libdir}/scummvm/libtsage.so
757 %defattr(644,root,root,755)
758 %dir %{_libdir}/scummvm/libtucker.so
761 %defattr(644,root,root,755)
762 %{_datadir}/%{name}/scummclassic.*
765 %defattr(644,root,root,755)
766 %{_datadir}/%{name}/scummmodern.*