1 %define version_tools 1.1.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: 6793c3fe801d4fcd3d5b4fc2c27d0e9e
11 Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5: d89ba46b7395671181333f29d963057f
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
88 %description engine-agi
89 The AGI (Adventure Game Interpreter) engine was used by Sierra in
90 their early adventure games.
92 %description engine-agi -l pl.UTF-8
93 Silnik AGI (Adventure Game Interpreter) był używany przez firmę
94 Sierra w jej wczesnych grach przygodowych.
98 Summary(pl.UTF-8): Silnik AGOS
99 Group: X11/Applications/Games
101 %description engine-agos
102 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
103 is based on AberMUD V, with graphical extensions.
104 Required for following games:
109 - Simon the Sorcerer 2
112 %description engine-agos -l pl.UTF-8
113 Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
114 bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
115 Używany w następujących grach:
120 - Simon the Sorcerer 2
124 Summary: Cinematique engine
125 Summary(pl.UTF-8): Silnik Cinematique
126 Group: X11/Applications/Games
128 %description engine-cine
131 %description engine-cine -l pl.UTF-8
134 %package engine-cruise
135 Summary: Cruise engine
136 Summary(pl.UTF-8): Silnik Cruise
137 Group: X11/Applications/Games
139 %description engine-cruise
142 %description engine-cruise -l pl.UTF-8
145 %package engine-draci
146 Summary: Draci engine
147 Summary(pl.UTF-8): Silnik Draci
148 Group: X11/Applications/Games
150 %description engine-draci
153 %description engine-draci -l pl.UTF-8
156 %package engine-drascula
157 Summary: Drascula engine
158 Summary(pl.UTF-8): Silnik Drascula
159 Group: X11/Applications/Games
161 %description engine-drascula
164 %description engine-drascula -l pl.UTF-8
169 Summary(pl.UTF-8): Silnik Gob
170 Group: X11/Applications/Games
172 %description engine-gob
173 Engine to run adventure games created by Coktel Vision.
175 %description engine-gob -l pl.UTF-8
176 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
178 %package engine-groovie
179 Summary: Groovie engine
180 Summary(pl.UTF-8): Silnik Groovie
181 Group: X11/Applications/Games
183 %description engine-groovie
184 Engine to run adventure games created by Trilobyte or
185 Aftermath Media (The 7th Guest, The 11th Hour).
187 %description engine-groovie -l pl.UTF-8
188 Silnik do uruchamiania gier stworzonych przez Trilobyte
189 i Aftermath Media (The 7th Guest, The 11th Hour).
192 Summary: Kyrandia engine
193 Summary(pl.UTF-8): Silnik Kyrandia
194 Group: X11/Applications/Games
196 %description engine-kyra
199 %description engine-kyra -l pl.UTF-8
204 Summary(pl.UTF-8): Silnik Lure
205 Group: X11/Applications/Games
207 %description engine-lure
208 Lure is the engine for the game Lure of the Temptress.
210 %description engine-lure -l pl.UTF-8
211 Lure jest silnikiem dla gry Lure of the Temptress.
214 Summary: M4/MADS engine
215 Summary(pl.UTF-8): Silnik M4/MADS
216 Group: X11/Applications/Games
218 %description engine-m4
219 MADS stands for the MicroProse Adventure Development System,
220 used in the three adventure games they made. It was later sold
221 to Sanctuary Woods, who continued development on it and named
222 it M4 (MADS version 4 perhaps) and released two more games.
224 %description engine-m4 -l pl.UTF-8
225 MADS to MicroProse Adventure Development System, używany jest
226 w trzech grach stworzonych przez MicroProse. Został sprzedany
227 do Sanctuary Woods i dalej rozwijany jako M4.
231 Summary(pl.UTF-8): Silnik MADE
232 Group: X11/Applications/Games
234 %description engine-made
235 MADE stands for Multimedia Applications Development Environment,
236 and was used by Activision to create some of their point'n'click
239 %description engine-made -l pl.UTF-8
240 MADE to Multimedia Applications Development Environment,
241 był używany przez Activision w grach przygodowych.
243 %package engine-mohawk
244 Summary: Mohawk engine
245 Summary(pl.UTF-8): Silnik Mohawk
246 Group: X11/Applications/Games
248 %description engine-mohawk
249 The Mohawk engine was developed by Brøderbund starting
250 in the early 1990's with the Windows port of Myst.
252 %description engine-mohawk -l pl.UTF-8
253 Silnik Mohawk został stworzony przez Brøderbund we wczesnych
254 latach 90-ych, na potrzeby gry Myst.
256 %package engine-parallaction
257 Summary: Parallaction engine
258 Summary(pl.UTF-8): Silnik Parallaction
259 Group: X11/Applications/Games
261 %description engine-parallaction
264 %description engine-parallaction -l pl.UTF-8
267 %package engine-queen
268 Summary: Queen engine
269 Summary(pl.UTF-8): Silnik Queen
270 Group: X11/Applications/Games
272 %description engine-queen
273 The Queen Engine is used to play Interactive Binary Illusions' Flight
276 %description engine-queen -l pl.UTF-8
277 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
278 Interactive Binary Illusions.
281 Summary: Scripts for Animated Graphic Adventures
282 Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
283 Group: X11/Applications/Games
285 %description engine-saga
286 SAGA (Scripts for Animated Graphic Adventures) engine.
288 %description engine-saga -l pl.UTF-8
289 Silnik SAGA (Scripts for Animated Graphic Adventures).
292 Summary: Sierra's "SCript Interpreter"
293 Summary(pl.UTF-8): SCript Interpreter Sierry
294 Group: X11/Applications/Games
296 %description engine-sci
297 Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
299 %description engine-sci -l pl.UTF-8
300 SCript Interpreter Sierry.
302 %package engine-scumm
303 Summary: Script Creation Utility for Maniac Mansion
304 Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
305 Group: X11/Applications/Games
307 %description engine-scumm
308 SCUMM is a utility used to create the famous LucasArts adventure games
309 like the Monkey Island series and also gave ScummVM its name.
311 %description engine-scumm -l pl.UTF-8
312 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
313 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
318 Summary(pl.UTF-8): Silnik Sky
319 Group: X11/Applications/Games
321 %description engine-sky
322 Sky is the internal name for the Virtual Theatre variant which runs
325 %description engine-sky -l pl.UTF-8
326 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
329 %package engine-sword1
330 Summary: Sword1 engine
331 Summary(pl.UTF-8): Silnik Sword1
332 Group: X11/Applications/Games
334 %description engine-sword1
337 %description engine-sword1 -l pl.UTF-8
340 %package engine-sword2
341 Summary: Sword2 engine
342 Summary(pl.UTF-8): Silnik Sword2
343 Group: X11/Applications/Games
345 %description engine-sword2
348 %description engine-sword2 -l pl.UTF-8
351 %package engine-teenagent
352 Summary: TeenAgent engine
353 Summary(pl.UTF-8): Silnik TeenAgent
354 Group: X11/Applications/Games
356 %description engine-teenagent
357 This engine is only used by TeenAgent.
359 %description engine-teenagent -l pl.UTF-8
360 Ten silnik jest używany tylko przez TeenAgenta.
362 %package engine-tinsel
363 Summary: Tinsel engine
364 Summary(pl.UTF-8): Silnik Tinsel
365 Group: X11/Applications/Games
367 %description engine-tinsel
368 This engine is only used by Discworld 1 and Discworld 2.
370 %description engine-tinsel -l pl.UTF-8
371 Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
373 %package engine-touche
374 Summary: Touche engine
375 Summary(pl.UTF-8): Silnik Touche
376 Group: X11/Applications/Games
378 %description engine-touche
379 This engine is only used by Touche: The Adventures of the Fifth
382 %description engine-touche -l pl.UTF-8
383 Ten silnik jest używany tylko przez Touché: Przygody Piątego
386 %package engine-tucker
387 Summary: Tucker engine
388 Summary(pl.UTF-8): Silnik Tucker
389 Group: X11/Applications/Games
391 %description engine-tucker
392 The Tucker engine is used in Bud Tucker in Double Trouble.
394 %description engine-tucker -l pl.UTF-8
395 Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
397 %package theme-classic
398 Summary: Theme classic for ScummVM
399 Summary(pl.UTF-8): Motyw classic dla ScummVM
400 Group: X11/Applications/Games
402 %description theme-classic
403 Theme classic for ScummVM.
405 %description theme-classic -l pl.UTF-8
406 Motyw classic dla ScummVM.
408 %package theme-modern
409 Summary: Theme modern for ScummVM
410 Summary(pl.UTF-8): Motyw modern dla ScummVM
411 Group: X11/Applications/Games
413 %description theme-modern
414 Theme modern for ScummVM.
416 %description theme-modern -l pl.UTF-8
417 Motyw modern dla ScummVM.
423 %{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
430 --enable-all-engines \
436 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
437 LDFLAGS="%{rpmcflags} %{rpmldflags}"
439 cd scummvm-tools-%{version_tools}
446 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
447 LDFLAGS="%{rpmcflags} %{rpmldflags} $(wx-gtk2-unicode-config --libs)"
450 rm -rf $RPM_BUILD_ROOT
451 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
453 install scummvm $RPM_BUILD_ROOT%{_bindir}
454 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
456 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
458 %{__make} -C scummvm-tools-%{version_tools} install \
459 DESTDIR=$RPM_BUILD_ROOT%{_bindir}
461 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
462 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
464 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
465 install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
468 rm -rf $RPM_BUILD_ROOT
471 %defattr(644,root,root,755)
472 %doc AUTHORS COPYRIGHT NEWS README TODO
473 %attr(755,root,root) %{_bindir}/scummvm
474 %dir %{_libdir}/scummvm
477 %{_desktopdir}/*.desktop
478 %dir %{_datadir}/%{name}
481 %defattr(644,root,root,755)
482 %doc scummvm-tools-%{version_tools}/README
483 %attr(755,root,root) %{_bindir}/*
484 %exclude %{_bindir}/scummvm
487 %defattr(644,root,root,755)
488 %dir %{_libdir}/scummvm/libagi.so
491 %defattr(644,root,root,755)
492 %dir %{_libdir}/scummvm/libagos.so
495 %defattr(644,root,root,755)
496 %dir %{_libdir}/scummvm/libcine.so
499 %defattr(644,root,root,755)
500 %dir %{_libdir}/scummvm/libcruise.so
503 %defattr(644,root,root,755)
504 %dir %{_libdir}/scummvm/libdraci.so
506 %files engine-drascula
507 %defattr(644,root,root,755)
508 %dir %{_libdir}/scummvm/libdrascula.so
511 %defattr(644,root,root,755)
512 %dir %{_libdir}/scummvm/libgob.so
514 %files engine-groovie
515 %defattr(644,root,root,755)
516 %dir %{_libdir}/scummvm/libgroovie.so
519 %defattr(644,root,root,755)
520 %dir %{_libdir}/scummvm/libkyra.so
523 %defattr(644,root,root,755)
524 %dir %{_libdir}/scummvm/liblure.so
527 %defattr(644,root,root,755)
528 %dir %{_libdir}/scummvm/libm4.so
531 %defattr(644,root,root,755)
532 %dir %{_libdir}/scummvm/libmade.so
535 %defattr(644,root,root,755)
536 %dir %{_libdir}/scummvm/libmohawk.so
538 %files engine-parallaction
539 %defattr(644,root,root,755)
540 %dir %{_libdir}/scummvm/libparallaction.so
543 %defattr(644,root,root,755)
544 %dir %{_libdir}/scummvm/libqueen.so
547 %defattr(644,root,root,755)
548 %dir %{_libdir}/scummvm/libsaga.so
551 %defattr(644,root,root,755)
552 %dir %{_libdir}/scummvm/libsci.so
555 %defattr(644,root,root,755)
556 %dir %{_libdir}/scummvm/libscumm.so
559 %defattr(644,root,root,755)
560 %dir %{_libdir}/scummvm/libsky.so
563 %defattr(644,root,root,755)
564 %dir %{_libdir}/scummvm/libsword1.so
567 %defattr(644,root,root,755)
568 %dir %{_libdir}/scummvm/libsword2.so
570 %files engine-teenagent
571 %defattr(644,root,root,755)
572 %dir %{_libdir}/scummvm/libteenagent.so
575 %defattr(644,root,root,755)
576 %dir %{_libdir}/scummvm/libtinsel.so
579 %defattr(644,root,root,755)
580 %dir %{_libdir}/scummvm/libtouche.so
583 %defattr(644,root,root,755)
584 %dir %{_libdir}/scummvm/libtucker.so
587 %defattr(644,root,root,755)
588 %{_datadir}/%{name}/scummclassic.*
591 %defattr(644,root,root,755)
592 %{_datadir}/%{name}/scummmodern.*