1 %define version_tools 0.10.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: 398bbd5616a54aae8dbe7d9e6c55f064
11 Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5: c72250ad730243d43cf2d1aea0428acd
13 Source2: %{name}.desktop
14 URL: http://scummvm.org/
15 BuildRequires: SDL-devel >= 1.2.2
16 %ifarch %{ix86} %{x8664}
17 BuildRequires: fluidsynth-devel
19 BuildRequires: libmad-devel
20 BuildRequires: libvorbis-devel
21 BuildRequires: mpeg2dec-devel
25 BuildRequires: sed >= 4.0
26 BuildRequires: zlib-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define specflags_sparc -fPIC
32 ScummVM is a program which allows you to run certain classic graphical
33 point-and-click adventure games, provided you already have their data
34 files. The clever part about this: ScummVM just replaces the
35 executables shipped with the game, allowing you to play them on
36 systems for which they were never designed!
38 Some of the adventures ScummVM supports include Adventure Soft's Simon
39 the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1
40 and Broken Sword 2; Flight of the Amazon Queen; Wyrmkeep's Inherit the
41 Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of
42 Kyrandia and games based on LucasArts' SCUMM (Script Creation Utility
43 for Maniac Mansion) system such as Monkey Island, Day of the Tentacle,
44 Sam and Max and more. You can find a thorough list with details on
45 which games are supported and how well on the project page.
47 %description -l pl.UTF-8
48 ScummVM jest programem umożliwiającym uruchamianie klasycznych
49 graficznych gier przygodowych, pod warunkiem, że posiadane są ich
50 pliki danych. ScummVM używany jest w miejsce pliku wykonywalnego
51 dostarczonego razem z grą, co umożliwia granie na systemach, na które
52 gry nie zostały przeznaczone.
54 ScummVM obsługuje między innymi Simon the Sorcerer 1 i 2 firmy
55 Adventure Soft; Beneath A Steel Sky, Broken Sword 1 i 2 firmy
56 Revolution; Flight of the Amazon Queen; Inherit the Earth firmy
57 Wyrmkeep; serię Gobliiins firmy Coktel Vision; The Legend of Kyrandia
58 firmy Westwood i gry bazujące na silniku SCUMM (Script Creation
59 Utility for Maniac Mansion) firmy LucasArts, takie jak Monkey Island,
60 Day of the Tentacle, Sam and Max i inne. Szczegółowa lista znajduje
61 się na stronie projektu.
64 Summary: ScummVM tools
65 Summary(pl.UTF-8): Narzędzia związane ze ScummVM
66 Group: X11/Applications/Games
69 Collection of various tools that may be useful to use in conjunction
72 %description tools -l pl.UTF-8
73 Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM.
76 Summary: Adventure Game Interpreter
77 Summary(pl.UTF-8): Adventure Game Interpreter
78 Group: X11/Applications/Games
80 %description engine-agi
81 The AGI (Adventure Game Interpreter) engine was used by Sierra in
82 their early adventure games.
84 %description engine-agi -l pl.UTF-8
85 Silnik AGI (Adventure Game Interpreter) był używany przez firmę
86 Sierra w jej wczesnych grach przygodowych.
90 Summary(pl.UTF-8): Silnik AGOS
91 Group: X11/Applications/Games
93 %description engine-agos
94 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
95 is based on AberMUD V, with graphical extensions.
97 %description engine-agos -l pl.UTF-8
98 Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
99 bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
102 Summary: Cinematique engine
103 Summary(pl.UTF-8): Silnik Cinematique
104 Group: X11/Applications/Games
106 %description engine-cine
109 %description engine-cine -l pl.UTF-8
112 %package engine-cruise
113 Summary: Cruise engine
114 Summary(pl.UTF-8): Silnik Cruise
115 Group: X11/Applications/Games
117 %description engine-cruise
120 %description engine-cruise -l pl.UTF-8
125 Summary(pl.UTF-8): Silnik Gob
126 Group: X11/Applications/Games
128 %description engine-gob
129 Engine to run adventure games created by Coktel Vision.
131 %description engine-gob -l pl.UTF-8
132 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
135 Summary: Kyrandia engine
136 Summary(pl.UTF-8): Silnik Kyrandia
137 Group: X11/Applications/Games
139 %description engine-kyra
142 %description engine-kyra -l pl.UTF-8
147 Summary(pl.UTF-8): Silnik Lure
148 Group: X11/Applications/Games
150 %description engine-lure
151 Lure is the work-in-progress engine for the game Lure of the
154 %description engine-lure -l pl.UTF-8
155 Lure jest nieskończonym silnikiem dla gry Lure of the Temptress.
157 %package engine-parallaction
158 Summary: Parallaction engine
159 Summary(pl.UTF-8): Silnik Parallaction
160 Group: X11/Applications/Games
162 %description engine-parallaction
165 %description engine-parallaction -l pl.UTF-8
168 %package engine-queen
169 Summary: Queen engine
170 Summary(pl.UTF-8): Silnik Queen
171 Group: X11/Applications/Games
173 %description engine-queen
174 The Queen Engine is used to play Interactive Binary Illusions' Flight
177 %description engine-queen -l pl.UTF-8
178 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
179 Interactive Binary Illusions.
182 Summary: Scripts for Animated Graphic Adventures
183 Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
184 Group: X11/Applications/Games
186 %description engine-saga
187 SAGA (Scripts for Animated Graphic Adventures) engine.
189 %description engine-saga -l pl.UTF-8
190 Silnik SAGA (Scripts for Animated Graphic Adventures).
192 %package engine-scumm
193 Summary: Script Creation Utility for Maniac Mansion
194 Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
195 Group: X11/Applications/Games
197 %description engine-scumm
198 SCUMM is a utility used to create the famous LucasArts adventure games
199 like the Monkey Island series and also gave ScummVM its name.
201 %description engine-scumm -l pl.UTF-8
202 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
203 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
208 Summary(pl.UTF-8): Silnik Sky
209 Group: X11/Applications/Games
211 %description engine-sky
212 Sky is the internal name for the Virtual Theatre variant which runs
215 %description engine-sky -l pl.UTF-8
216 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
219 %package engine-sword1
220 Summary: Sword1 engine
221 Summary(pl.UTF-8): Silnik Sword1
222 Group: X11/Applications/Games
224 %description engine-sword1
227 %description engine-sword1 -l pl.UTF-8
230 %package engine-sword2
231 Summary: Sword2 engine
232 Summary(pl.UTF-8): Silnik Sword2
233 Group: X11/Applications/Games
235 %description engine-sword2
238 %description engine-sword2 -l pl.UTF-8
241 %package engine-touche
242 Summary: Touche engine
243 Summary(pl.UTF-8): Silnik Touche
244 Group: X11/Applications/Games
246 %description engine-touche
247 This engine is only used by Touche: The Adventures of the Fifth
250 %description engine-touche -l pl.UTF-8
251 Ten silnik jest używany tylko przez Touché: Przygody Piątego
254 %package theme-modern
255 Summary: Theme modern for ScummVM
256 Summary(pl.UTF-8): Motyw modern dla ScummVM
257 Group: X11/Applications/Games
259 %description theme-modern
260 Theme modern for ScummVM.
262 %description theme-modern -l pl.UTF-8
263 Motyw modern dla ScummVM.
268 sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/posix/posix-provider.cpp
269 sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/sdl/sdl-provider.cpp
282 CXXFLAGS="%{rpmcflags} -DDYNAMIC_MODULES -fpic" \
283 LDFLAGS="%{rpmldflags}"
285 cd scummvm-tools-%{version_tools}
288 CFLAGS="%{rpmcflags} -DUNIX" \
289 LDFLAGS="%{rpmldflags}"
292 rm -rf $RPM_BUILD_ROOT
293 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
295 install scummvm $RPM_BUILD_ROOT%{_bindir}
296 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
298 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
300 cd scummvm-tools-%{version_tools}
301 install compress_agos $RPM_BUILD_ROOT%{_bindir}
302 install compress_kyra $RPM_BUILD_ROOT%{_bindir}
303 install compress_queen $RPM_BUILD_ROOT%{_bindir}
304 install compress_saga $RPM_BUILD_ROOT%{_bindir}
305 install compress_scumm_bun $RPM_BUILD_ROOT%{_bindir}
306 install compress_scumm_san $RPM_BUILD_ROOT%{_bindir}
307 install compress_scumm_sou $RPM_BUILD_ROOT%{_bindir}
308 install compress_sword1 $RPM_BUILD_ROOT%{_bindir}
309 install compress_sword2 $RPM_BUILD_ROOT%{_bindir}
310 install compress_touche $RPM_BUILD_ROOT%{_bindir}
311 install convert_dxa.sh $RPM_BUILD_ROOT%{_bindir}
312 install dekyra $RPM_BUILD_ROOT%{_bindir}
313 install descumm $RPM_BUILD_ROOT%{_bindir}
314 install desword2 $RPM_BUILD_ROOT%{_bindir}
315 install encode_dxa $RPM_BUILD_ROOT%{_bindir}
316 install extract_agos $RPM_BUILD_ROOT%{_bindir}
317 install extract_kyra $RPM_BUILD_ROOT%{_bindir}
318 install extract_loom_tg16 $RPM_BUILD_ROOT%{_bindir}
319 install extract_mm_apple $RPM_BUILD_ROOT%{_bindir}
320 install extract_mm_c64 $RPM_BUILD_ROOT%{_bindir}
321 install extract_mm_nes $RPM_BUILD_ROOT%{_bindir}
322 install extract_scumm_mac $RPM_BUILD_ROOT%{_bindir}
323 install extract_zak_c64 $RPM_BUILD_ROOT%{_bindir}
326 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
327 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
329 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
330 install gui/themes/modern.ini $RPM_BUILD_ROOT%{_datadir}/%{name}
331 install gui/themes/modern.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
334 rm -rf $RPM_BUILD_ROOT
337 %defattr(644,root,root,755)
338 %doc AUTHORS COPYRIGHT NEWS README TODO
339 %attr(755,root,root) %{_bindir}/scummvm
340 %dir %{_libdir}/scummvm
343 %{_desktopdir}/*.desktop
344 %dir %{_datadir}/%{name}
347 %defattr(644,root,root,755)
348 %doc scummvm-tools-%{version_tools}/README
349 %attr(755,root,root) %{_bindir}/*
350 %exclude %{_bindir}/scummvm
353 %defattr(644,root,root,755)
354 %dir %{_libdir}/scummvm/libagi.so
357 %defattr(644,root,root,755)
358 %dir %{_libdir}/scummvm/libagos.so
361 %defattr(644,root,root,755)
362 %dir %{_libdir}/scummvm/libcine.so
365 %defattr(644,root,root,755)
366 %dir %{_libdir}/scummvm/libcruise.so
369 %defattr(644,root,root,755)
370 %dir %{_libdir}/scummvm/libgob.so
373 %defattr(644,root,root,755)
374 %dir %{_libdir}/scummvm/libkyra.so
377 %defattr(644,root,root,755)
378 %dir %{_libdir}/scummvm/liblure.so
380 %files engine-parallaction
381 %defattr(644,root,root,755)
382 %dir %{_libdir}/scummvm/libparallaction.so
385 %defattr(644,root,root,755)
386 %dir %{_libdir}/scummvm/libqueen.so
389 %defattr(644,root,root,755)
390 %dir %{_libdir}/scummvm/libsaga.so
393 %defattr(644,root,root,755)
394 %dir %{_libdir}/scummvm/libscumm.so
397 %defattr(644,root,root,755)
398 %dir %{_libdir}/scummvm/libsky.so
401 %defattr(644,root,root,755)
402 %dir %{_libdir}/scummvm/libsword1.so
405 %defattr(644,root,root,755)
406 %dir %{_libdir}/scummvm/libsword2.so
409 %defattr(644,root,root,755)
410 %dir %{_libdir}/scummvm/libtouche.so
413 %defattr(644,root,root,755)
414 %{_datadir}/%{name}/modern.*