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
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
126 Summary: Cinematique engine
127 Summary(pl.UTF-8): Silnik Cinematique
128 Group: X11/Applications/Games
129 Requires: %{name} = %{version}-%{release}
131 %description engine-cine
134 %description engine-cine -l pl.UTF-8
137 %package engine-cruise
138 Summary: Cruise engine
139 Summary(pl.UTF-8): Silnik Cruise
140 Group: X11/Applications/Games
141 Requires: %{name} = %{version}-%{release}
143 %description engine-cruise
146 %description engine-cruise -l pl.UTF-8
149 %package engine-draci
150 Summary: Draci engine
151 Summary(pl.UTF-8): Silnik Draci
152 Group: X11/Applications/Games
153 Requires: %{name} = %{version}-%{release}
155 %description engine-draci
158 %description engine-draci -l pl.UTF-8
161 %package engine-drascula
162 Summary: Drascula engine
163 Summary(pl.UTF-8): Silnik Drascula
164 Group: X11/Applications/Games
165 Requires: %{name} = %{version}-%{release}
167 %description engine-drascula
170 %description engine-drascula -l pl.UTF-8
175 Summary(pl.UTF-8): Silnik Gob
176 Group: X11/Applications/Games
177 Requires: %{name} = %{version}-%{release}
179 %description engine-gob
180 Engine to run adventure games created by Coktel Vision.
182 %description engine-gob -l pl.UTF-8
183 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
185 %package engine-groovie
186 Summary: Groovie engine
187 Summary(pl.UTF-8): Silnik Groovie
188 Group: X11/Applications/Games
189 Requires: %{name} = %{version}-%{release}
191 %description engine-groovie
192 Engine to run adventure games created by Trilobyte or
193 Aftermath Media (The 7th Guest, The 11th Hour).
195 %description engine-groovie -l pl.UTF-8
196 Silnik do uruchamiania gier stworzonych przez Trilobyte
197 i Aftermath Media (The 7th Guest, The 11th Hour).
200 Summary: Kyrandia engine
201 Summary(pl.UTF-8): Silnik Kyrandia
202 Group: X11/Applications/Games
203 Requires: %{name} = %{version}-%{release}
205 %description engine-kyra
208 %description engine-kyra -l pl.UTF-8
213 Summary(pl.UTF-8): Silnik Lure
214 Group: X11/Applications/Games
215 Requires: %{name} = %{version}-%{release}
217 %description engine-lure
218 Lure is the engine for the game Lure of the Temptress.
220 %description engine-lure -l pl.UTF-8
221 Lure jest silnikiem dla gry Lure of the Temptress.
224 Summary: M4/MADS engine
225 Summary(pl.UTF-8): Silnik M4/MADS
226 Group: X11/Applications/Games
227 Requires: %{name} = %{version}-%{release}
229 %description engine-m4
230 MADS stands for the MicroProse Adventure Development System,
231 used in the three adventure games they made. It was later sold
232 to Sanctuary Woods, who continued development on it and named
233 it M4 (MADS version 4 perhaps) and released two more games.
235 %description engine-m4 -l pl.UTF-8
236 MADS to MicroProse Adventure Development System, używany jest
237 w trzech grach stworzonych przez MicroProse. Został sprzedany
238 do Sanctuary Woods i dalej rozwijany jako M4.
242 Summary(pl.UTF-8): Silnik MADE
243 Group: X11/Applications/Games
244 Requires: %{name} = %{version}-%{release}
246 %description engine-made
247 MADE stands for Multimedia Applications Development Environment,
248 and was used by Activision to create some of their point'n'click
251 %description engine-made -l pl.UTF-8
252 MADE to Multimedia Applications Development Environment,
253 był używany przez Activision w grach przygodowych.
255 %package engine-mohawk
256 Summary: Mohawk engine
257 Summary(pl.UTF-8): Silnik Mohawk
258 Group: X11/Applications/Games
259 Requires: %{name} = %{version}-%{release}
261 %description engine-mohawk
262 The Mohawk engine was developed by Brøderbund starting
263 in the early 1990's with the Windows port of Myst.
265 %description engine-mohawk -l pl.UTF-8
266 Silnik Mohawk został stworzony przez Brøderbund we wczesnych
267 latach 90-ych, na potrzeby gry Myst.
269 %package engine-parallaction
270 Summary: Parallaction engine
271 Summary(pl.UTF-8): Silnik Parallaction
272 Group: X11/Applications/Games
273 Requires: %{name} = %{version}-%{release}
275 %description engine-parallaction
278 %description engine-parallaction -l pl.UTF-8
281 %package engine-queen
282 Summary: Queen engine
283 Summary(pl.UTF-8): Silnik Queen
284 Group: X11/Applications/Games
285 Requires: %{name} = %{version}-%{release}
287 %description engine-queen
288 The Queen Engine is used to play Interactive Binary Illusions' Flight
291 %description engine-queen -l pl.UTF-8
292 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
293 Interactive Binary Illusions.
296 Summary: Scripts for Animated Graphic Adventures
297 Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
298 Group: X11/Applications/Games
299 Requires: %{name} = %{version}-%{release}
301 %description engine-saga
302 SAGA (Scripts for Animated Graphic Adventures) engine.
304 %description engine-saga -l pl.UTF-8
305 Silnik SAGA (Scripts for Animated Graphic Adventures).
308 Summary: Sierra's "SCript Interpreter"
309 Summary(pl.UTF-8): SCript Interpreter Sierry
310 Group: X11/Applications/Games
311 Requires: %{name} = %{version}-%{release}
313 %description engine-sci
314 Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
316 %description engine-sci -l pl.UTF-8
317 SCript Interpreter Sierry.
319 %package engine-scumm
320 Summary: Script Creation Utility for Maniac Mansion
321 Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
322 Group: X11/Applications/Games
323 Requires: %{name} = %{version}-%{release}
325 %description engine-scumm
326 SCUMM is a utility used to create the famous LucasArts adventure games
327 like the Monkey Island series and also gave ScummVM its name.
329 %description engine-scumm -l pl.UTF-8
330 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
331 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
336 Summary(pl.UTF-8): Silnik Sky
337 Group: X11/Applications/Games
338 Requires: %{name} = %{version}-%{release}
340 %description engine-sky
341 Sky is the internal name for the Virtual Theatre variant which runs
344 %description engine-sky -l pl.UTF-8
345 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
348 %package engine-sword1
349 Summary: Sword1 engine
350 Summary(pl.UTF-8): Silnik Sword1
351 Group: X11/Applications/Games
352 Requires: %{name} = %{version}-%{release}
354 %description engine-sword1
357 %description engine-sword1 -l pl.UTF-8
360 %package engine-sword2
361 Summary: Sword2 engine
362 Summary(pl.UTF-8): Silnik Sword2
363 Group: X11/Applications/Games
364 Requires: %{name} = %{version}-%{release}
366 %description engine-sword2
369 %description engine-sword2 -l pl.UTF-8
372 %package engine-teenagent
373 Summary: TeenAgent engine
374 Summary(pl.UTF-8): Silnik TeenAgent
375 Group: X11/Applications/Games
376 Requires: %{name} = %{version}-%{release}
378 %description engine-teenagent
379 This engine is only used by TeenAgent.
381 %description engine-teenagent -l pl.UTF-8
382 Ten silnik jest używany tylko przez TeenAgenta.
384 %package engine-tinsel
385 Summary: Tinsel engine
386 Summary(pl.UTF-8): Silnik Tinsel
387 Group: X11/Applications/Games
388 Requires: %{name} = %{version}-%{release}
390 %description engine-tinsel
391 This engine is only used by Discworld 1 and Discworld 2.
393 %description engine-tinsel -l pl.UTF-8
394 Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
396 %package engine-touche
397 Summary: Touche engine
398 Summary(pl.UTF-8): Silnik Touche
399 Group: X11/Applications/Games
400 Requires: %{name} = %{version}-%{release}
402 %description engine-touche
403 This engine is only used by Touche: The Adventures of the Fifth
406 %description engine-touche -l pl.UTF-8
407 Ten silnik jest używany tylko przez Touché: Przygody Piątego
410 %package engine-tucker
411 Summary: Tucker engine
412 Summary(pl.UTF-8): Silnik Tucker
413 Group: X11/Applications/Games
414 Requires: %{name} = %{version}-%{release}
416 %description engine-tucker
417 The Tucker engine is used in Bud Tucker in Double Trouble.
419 %description engine-tucker -l pl.UTF-8
420 Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
422 %package theme-classic
423 Summary: Theme classic for ScummVM
424 Summary(pl.UTF-8): Motyw classic dla ScummVM
425 Group: X11/Applications/Games
426 Requires: %{name} = %{version}-%{release}
428 %description theme-classic
429 Theme classic for ScummVM.
431 %description theme-classic -l pl.UTF-8
432 Motyw classic dla ScummVM.
434 %package theme-modern
435 Summary: Theme modern for ScummVM
436 Summary(pl.UTF-8): Motyw modern dla ScummVM
437 Group: X11/Applications/Games
438 Requires: %{name} = %{version}-%{release}
440 %description theme-modern
441 Theme modern for ScummVM.
443 %description theme-modern -l pl.UTF-8
444 Motyw modern dla ScummVM.
450 %{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
457 --enable-all-engines \
463 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
464 LDFLAGS="%{rpmcflags} %{rpmldflags}"
466 cd scummvm-tools-%{version_tools}
473 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
474 LDFLAGS="%{rpmcflags} %{rpmldflags} $(wx-gtk2-unicode-config --libs)"
477 rm -rf $RPM_BUILD_ROOT
478 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
480 install scummvm $RPM_BUILD_ROOT%{_bindir}
481 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
483 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
485 %{__make} -C scummvm-tools-%{version_tools} install \
486 DESTDIR=$RPM_BUILD_ROOT%{_bindir}
488 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
489 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
491 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
492 install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
495 rm -rf $RPM_BUILD_ROOT
498 %defattr(644,root,root,755)
499 %doc AUTHORS COPYRIGHT NEWS README TODO
500 %attr(755,root,root) %{_bindir}/scummvm
501 %dir %{_libdir}/scummvm
504 %{_desktopdir}/*.desktop
505 %dir %{_datadir}/%{name}
508 %defattr(644,root,root,755)
509 %doc scummvm-tools-%{version_tools}/README
510 %attr(755,root,root) %{_bindir}/*
511 %exclude %{_bindir}/scummvm
514 %defattr(644,root,root,755)
515 %dir %{_libdir}/scummvm/libagi.so
518 %defattr(644,root,root,755)
519 %dir %{_libdir}/scummvm/libagos.so
522 %defattr(644,root,root,755)
523 %dir %{_libdir}/scummvm/libcine.so
526 %defattr(644,root,root,755)
527 %dir %{_libdir}/scummvm/libcruise.so
530 %defattr(644,root,root,755)
531 %dir %{_libdir}/scummvm/libdraci.so
533 %files engine-drascula
534 %defattr(644,root,root,755)
535 %dir %{_libdir}/scummvm/libdrascula.so
538 %defattr(644,root,root,755)
539 %dir %{_libdir}/scummvm/libgob.so
541 %files engine-groovie
542 %defattr(644,root,root,755)
543 %dir %{_libdir}/scummvm/libgroovie.so
546 %defattr(644,root,root,755)
547 %dir %{_libdir}/scummvm/libkyra.so
550 %defattr(644,root,root,755)
551 %dir %{_libdir}/scummvm/liblure.so
554 %defattr(644,root,root,755)
555 %dir %{_libdir}/scummvm/libm4.so
558 %defattr(644,root,root,755)
559 %dir %{_libdir}/scummvm/libmade.so
562 %defattr(644,root,root,755)
563 %dir %{_libdir}/scummvm/libmohawk.so
565 %files engine-parallaction
566 %defattr(644,root,root,755)
567 %dir %{_libdir}/scummvm/libparallaction.so
570 %defattr(644,root,root,755)
571 %dir %{_libdir}/scummvm/libqueen.so
574 %defattr(644,root,root,755)
575 %dir %{_libdir}/scummvm/libsaga.so
578 %defattr(644,root,root,755)
579 %dir %{_libdir}/scummvm/libsci.so
582 %defattr(644,root,root,755)
583 %dir %{_libdir}/scummvm/libscumm.so
586 %defattr(644,root,root,755)
587 %dir %{_libdir}/scummvm/libsky.so
590 %defattr(644,root,root,755)
591 %dir %{_libdir}/scummvm/libsword1.so
594 %defattr(644,root,root,755)
595 %dir %{_libdir}/scummvm/libsword2.so
597 %files engine-teenagent
598 %defattr(644,root,root,755)
599 %dir %{_libdir}/scummvm/libteenagent.so
602 %defattr(644,root,root,755)
603 %dir %{_libdir}/scummvm/libtinsel.so
606 %defattr(644,root,root,755)
607 %dir %{_libdir}/scummvm/libtouche.so
610 %defattr(644,root,root,755)
611 %dir %{_libdir}/scummvm/libtucker.so
614 %defattr(644,root,root,755)
615 %{_datadir}/%{name}/scummclassic.*
618 %defattr(644,root,root,755)
619 %{_datadir}/%{name}/scummmodern.*