]>
Commit | Line | Data |
---|---|---|
8dedc0fc | 1 | %define version_tools 0.12.0 |
158a3e17 | 2 | Summary: Graphic adventure game interpreter |
3 | Summary(pl.UTF-8): Interpreter gier przygodowych | |
68a20b3e | 4 | Name: scummvm |
8dedc0fc | 5 | Version: 0.12.0 |
2f540fcb | 6 | Release: 1 |
68a20b3e | 7 | License: GPL |
8 | Group: X11/Applications/Games | |
406ab8e4 | 9 | Source0: http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2 |
8dedc0fc | 10 | # Source0-md5: cd5620c57645948c8da0d4d9c9fcffb3 |
1d088b62 | 11 | Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2 |
8dedc0fc | 12 | # Source1-md5: af927a7cb59952ed869628250a916ab1 |
6a16a469 | 13 | Source2: %{name}.desktop |
7545cdd1 | 14 | Patch0: %{name}-wx-config.patch |
158a3e17 | 15 | URL: http://scummvm.org/ |
aa168718 | 16 | BuildRequires: SDL-devel >= 1.2.2 |
8dedc0fc | 17 | BuildRequires: wxWidgets-devel |
19966249 | 18 | %ifarch %{ix86} %{x8664} |
6643062f | 19 | BuildRequires: fluidsynth-devel |
19966249 | 20 | %endif |
7a1703db | 21 | BuildRequires: libmad-devel |
fcbbee39 | 22 | BuildRequires: libvorbis-devel |
23 | BuildRequires: mpeg2dec-devel | |
aa168718 | 24 | %ifarch %{ix86} |
158a3e17 | 25 | #BuildRequires: nasm |
aa168718 | 26 | %endif |
e8018721 | 27 | BuildRequires: sed >= 4.0 |
fcbbee39 | 28 | BuildRequires: zlib-devel |
68a20b3e | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
36e3c4ce ER |
31 | %define specflags_sparc -fPIC |
32 | ||
68a20b3e | 33 | %description |
158a3e17 | 34 | ScummVM is a program which allows you to run certain classic graphical |
35 | point-and-click adventure games, provided you already have their data | |
36 | files. The clever part about this: ScummVM just replaces the | |
37 | executables shipped with the game, allowing you to play them on | |
38 | systems for which they were never designed! | |
65e34ebb | 39 | |
158a3e17 | 40 | Some of the adventures ScummVM supports include Adventure Soft's Simon |
41 | the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1 | |
42 | and Broken Sword 2; Flight of the Amazon Queen; Wyrmkeep's Inherit the | |
43 | Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of | |
44 | Kyrandia and games based on LucasArts' SCUMM (Script Creation Utility | |
45 | for Maniac Mansion) system such as Monkey Island, Day of the Tentacle, | |
46 | Sam and Max and more. You can find a thorough list with details on | |
47 | which games are supported and how well on the project page. | |
68a20b3e | 48 | |
ef2767c3 | 49 | %description -l pl.UTF-8 |
158a3e17 | 50 | ScummVM jest programem umożliwiającym uruchamianie klasycznych |
51 | graficznych gier przygodowych, pod warunkiem, że posiadane są ich | |
52 | pliki danych. ScummVM używany jest w miejsce pliku wykonywalnego | |
53 | dostarczonego razem z grą, co umożliwia granie na systemach, na które | |
54 | gry nie zostały przeznaczone. | |
65e34ebb | 55 | |
158a3e17 | 56 | ScummVM obsługuje między innymi Simon the Sorcerer 1 i 2 firmy |
57 | Adventure Soft; Beneath A Steel Sky, Broken Sword 1 i 2 firmy | |
58 | Revolution; Flight of the Amazon Queen; Inherit the Earth firmy | |
59 | Wyrmkeep; serię Gobliiins firmy Coktel Vision; The Legend of Kyrandia | |
60 | firmy Westwood i gry bazujące na silniku SCUMM (Script Creation | |
61 | Utility for Maniac Mansion) firmy LucasArts, takie jak Monkey Island, | |
62 | Day of the Tentacle, Sam and Max i inne. Szczegółowa lista znajduje | |
63 | się na stronie projektu. | |
68a20b3e | 64 | |
ff5e2ece | 65 | %package tools |
11d19d1a | 66 | Summary: ScummVM tools |
92130a49 | 67 | Summary(pl.UTF-8): Narzędzia związane ze ScummVM |
ff5e2ece | 68 | Group: X11/Applications/Games |
69 | ||
70 | %description tools | |
11d19d1a | 71 | Collection of various tools that may be useful to use in conjunction |
72 | with ScummVM. | |
ff5e2ece | 73 | |
ef2767c3 JR |
74 | %description tools -l pl.UTF-8 |
75 | Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM. | |
ff5e2ece | 76 | |
158a3e17 | 77 | %package engine-agi |
78 | Summary: Adventure Game Interpreter | |
79 | Summary(pl.UTF-8): Adventure Game Interpreter | |
80 | Group: X11/Applications/Games | |
81 | ||
82 | %description engine-agi | |
83 | The AGI (Adventure Game Interpreter) engine was used by Sierra in | |
84 | their early adventure games. | |
85 | ||
86 | %description engine-agi -l pl.UTF-8 | |
87 | Silnik AGI (Adventure Game Interpreter) był używany przez firmę | |
88 | Sierra w jej wczesnych grach przygodowych. | |
89 | ||
90 | %package engine-agos | |
91 | Summary: AGOS engine | |
92 | Summary(pl.UTF-8): Silnik AGOS | |
93 | Group: X11/Applications/Games | |
94 | ||
95 | %description engine-agos | |
96 | The AGOS Engine was originally created by Alan Cox at HorrorSoft and | |
97 | is based on AberMUD V, with graphical extensions. | |
20cef33a SS |
98 | Required for following games: |
99 | - Elvira | |
100 | - Elvira 2 | |
101 | - Waxworks | |
102 | - Simon the Sorcerer | |
103 | - Simon the Sorcerer 2 | |
104 | - The Feeble Files | |
158a3e17 | 105 | |
106 | %description engine-agos -l pl.UTF-8 | |
107 | Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft, | |
108 | bazowany jest na programie AberMUD V z graficznymi rozszerzeniami. | |
20cef33a SS |
109 | Używany w następujących grach: |
110 | - Elvira | |
111 | - Elvira 2 | |
112 | - Waxworks | |
113 | - Simon the Sorcerer | |
114 | - Simon the Sorcerer 2 | |
115 | - The Feeble Files | |
158a3e17 | 116 | |
117 | %package engine-cine | |
118 | Summary: Cinematique engine | |
119 | Summary(pl.UTF-8): Silnik Cinematique | |
120 | Group: X11/Applications/Games | |
121 | ||
122 | %description engine-cine | |
123 | Cinematique engine. | |
124 | ||
125 | %description engine-cine -l pl.UTF-8 | |
126 | Silnik Cinematique. | |
127 | ||
128 | %package engine-cruise | |
129 | Summary: Cruise engine | |
130 | Summary(pl.UTF-8): Silnik Cruise | |
131 | Group: X11/Applications/Games | |
132 | ||
133 | %description engine-cruise | |
134 | Cruise engine. | |
135 | ||
136 | %description engine-cruise -l pl.UTF-8 | |
137 | Silnik Cruise. | |
138 | ||
2f540fcb | 139 | %package engine-drascula |
140 | Summary: Drascula engine | |
141 | Summary(pl.UTF-8): Silnik Drascula | |
142 | Group: X11/Applications/Games | |
143 | ||
144 | %description engine-drascula | |
145 | Drascula engine. | |
146 | ||
147 | %description engine-drascula -l pl.UTF-8 | |
148 | Silnik Drascula. | |
149 | ||
158a3e17 | 150 | %package engine-gob |
151 | Summary: Gob engine | |
152 | Summary(pl.UTF-8): Silnik Gob | |
153 | Group: X11/Applications/Games | |
154 | ||
155 | %description engine-gob | |
156 | Engine to run adventure games created by Coktel Vision. | |
157 | ||
158 | %description engine-gob -l pl.UTF-8 | |
159 | Silnik do uruchamiania gier stworzonych przez Coktel Vision. | |
160 | ||
2f540fcb | 161 | %package engine-igor |
162 | Summary: Igor engine | |
163 | Summary(pl.UTF-8): Silnik Igor | |
164 | Group: X11/Applications/Games | |
165 | ||
166 | %description engine-igor | |
167 | Igor engine. | |
168 | ||
169 | %description engine-igor -l pl.UTF-8 | |
170 | Silnik Igor. | |
171 | ||
158a3e17 | 172 | %package engine-kyra |
173 | Summary: Kyrandia engine | |
174 | Summary(pl.UTF-8): Silnik Kyrandia | |
175 | Group: X11/Applications/Games | |
176 | ||
177 | %description engine-kyra | |
178 | Kyrandia engine. | |
179 | ||
180 | %description engine-kyra -l pl.UTF-8 | |
181 | Silnik Kyrandia. | |
182 | ||
183 | %package engine-lure | |
184 | Summary: Lure engine | |
185 | Summary(pl.UTF-8): Silnik Lure | |
186 | Group: X11/Applications/Games | |
187 | ||
188 | %description engine-lure | |
189 | Lure is the work-in-progress engine for the game Lure of the | |
190 | Temptress. | |
191 | ||
192 | %description engine-lure -l pl.UTF-8 | |
193 | Lure jest nieskończonym silnikiem dla gry Lure of the Temptress. | |
194 | ||
195 | %package engine-parallaction | |
196 | Summary: Parallaction engine | |
197 | Summary(pl.UTF-8): Silnik Parallaction | |
198 | Group: X11/Applications/Games | |
199 | ||
200 | %description engine-parallaction | |
201 | Parallaction engine. | |
202 | ||
203 | %description engine-parallaction -l pl.UTF-8 | |
204 | Silnik Parallaction. | |
205 | ||
206 | %package engine-queen | |
207 | Summary: Queen engine | |
208 | Summary(pl.UTF-8): Silnik Queen | |
209 | Group: X11/Applications/Games | |
210 | ||
211 | %description engine-queen | |
212 | The Queen Engine is used to play Interactive Binary Illusions' Flight | |
213 | of the Amazon Queen. | |
214 | ||
215 | %description engine-queen -l pl.UTF-8 | |
216 | Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy | |
217 | Interactive Binary Illusions. | |
218 | ||
219 | %package engine-saga | |
220 | Summary: Scripts for Animated Graphic Adventures | |
221 | Summary(pl.UTF-8): Scripts for Animated Graphic Adventures | |
222 | Group: X11/Applications/Games | |
223 | ||
224 | %description engine-saga | |
225 | SAGA (Scripts for Animated Graphic Adventures) engine. | |
226 | ||
227 | %description engine-saga -l pl.UTF-8 | |
228 | Silnik SAGA (Scripts for Animated Graphic Adventures). | |
229 | ||
230 | %package engine-scumm | |
231 | Summary: Script Creation Utility for Maniac Mansion | |
232 | Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion | |
233 | Group: X11/Applications/Games | |
234 | ||
235 | %description engine-scumm | |
236 | SCUMM is a utility used to create the famous LucasArts adventure games | |
237 | like the Monkey Island series and also gave ScummVM its name. | |
238 | ||
239 | %description engine-scumm -l pl.UTF-8 | |
240 | SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych | |
241 | firmy LucasArts takich jak seria Monkey Island, dał również ScummVM | |
242 | nazwę. | |
243 | ||
244 | %package engine-sky | |
245 | Summary: Sky engine | |
246 | Summary(pl.UTF-8): Silnik Sky | |
247 | Group: X11/Applications/Games | |
248 | ||
249 | %description engine-sky | |
250 | Sky is the internal name for the Virtual Theatre variant which runs | |
251 | Beneath a Steel Sky. | |
252 | ||
253 | %description engine-sky -l pl.UTF-8 | |
254 | Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia | |
255 | Beneath a Steel Sky. | |
256 | ||
257 | %package engine-sword1 | |
258 | Summary: Sword1 engine | |
259 | Summary(pl.UTF-8): Silnik Sword1 | |
260 | Group: X11/Applications/Games | |
261 | ||
262 | %description engine-sword1 | |
263 | Sword1 engine. | |
264 | ||
265 | %description engine-sword1 -l pl.UTF-8 | |
266 | Silnik Sword1. | |
267 | ||
268 | %package engine-sword2 | |
269 | Summary: Sword2 engine | |
270 | Summary(pl.UTF-8): Silnik Sword2 | |
271 | Group: X11/Applications/Games | |
272 | ||
273 | %description engine-sword2 | |
274 | Sword2 engine. | |
275 | ||
276 | %description engine-sword2 -l pl.UTF-8 | |
277 | Silnik Sword2. | |
278 | ||
279 | %package engine-touche | |
280 | Summary: Touche engine | |
281 | Summary(pl.UTF-8): Silnik Touche | |
282 | Group: X11/Applications/Games | |
283 | ||
284 | %description engine-touche | |
285 | This engine is only used by Touche: The Adventures of the Fifth | |
286 | Musketeer. | |
287 | ||
288 | %description engine-touche -l pl.UTF-8 | |
289 | Ten silnik jest używany tylko przez Touché: Przygody Piątego | |
290 | Muszkietera. | |
291 | ||
7be96678 SS |
292 | %package theme-modern |
293 | Summary: Theme modern for ScummVM | |
294 | Summary(pl.UTF-8): Motyw modern dla ScummVM | |
295 | Group: X11/Applications/Games | |
296 | ||
297 | %description theme-modern | |
298 | Theme modern for ScummVM. | |
299 | ||
300 | %description theme-modern -l pl.UTF-8 | |
301 | Motyw modern dla ScummVM. | |
302 | ||
68a20b3e | 303 | %prep |
406ab8e4 | 304 | %setup -q -a 1 |
7545cdd1 | 305 | %patch0 -p1 |
7da257dd | 306 | |
158a3e17 | 307 | sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/posix/posix-provider.cpp |
308 | sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/sdl/sdl-provider.cpp | |
68a20b3e | 309 | |
310 | %build | |
fcbbee39 | 311 | ./configure \ |
158a3e17 | 312 | --prefix=/usr \ |
b795276d | 313 | --disable-debug \ |
aa168718 | 314 | --disable-nasm \ |
158a3e17 | 315 | --enable-cruise \ |
2f540fcb | 316 | --enable-drascula \ |
317 | --enable-igor \ | |
7545cdd1 AG |
318 | --enable-plugins \ |
319 | --default-dynamic | |
fcbbee39 | 320 | |
65e34ebb | 321 | %{__make} \ |
ff5e2ece | 322 | CXX="%{__cxx}" \ |
7545cdd1 | 323 | CXXFLAGS="%{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \ |
ff5e2ece | 324 | LDFLAGS="%{rpmldflags}" |
325 | ||
158a3e17 | 326 | cd scummvm-tools-%{version_tools} |
ff5e2ece | 327 | %{__make} \ |
7545cdd1 AG |
328 | CXX="%{__cxx}" \ |
329 | CXXFLAGS="%{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \ | |
330 | LDFLAGS="%{rpmldflags} $(wx-gtk2-unicode-config --libs)" | |
68a20b3e | 331 | |
332 | %install | |
333 | rm -rf $RPM_BUILD_ROOT | |
6643062f | 334 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm} |
588a139d | 335 | |
68a20b3e | 336 | install scummvm $RPM_BUILD_ROOT%{_bindir} |
2c8064cc | 337 | #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6 |
68a20b3e | 338 | |
6643062f | 339 | install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm |
340 | ||
158a3e17 | 341 | cd scummvm-tools-%{version_tools} |
342 | install compress_agos $RPM_BUILD_ROOT%{_bindir} | |
406ab8e4 | 343 | install compress_kyra $RPM_BUILD_ROOT%{_bindir} |
6643062f | 344 | install compress_queen $RPM_BUILD_ROOT%{_bindir} |
345 | install compress_saga $RPM_BUILD_ROOT%{_bindir} | |
6643062f | 346 | install compress_scumm_bun $RPM_BUILD_ROOT%{_bindir} |
406ab8e4 | 347 | install compress_scumm_san $RPM_BUILD_ROOT%{_bindir} |
6643062f | 348 | install compress_scumm_sou $RPM_BUILD_ROOT%{_bindir} |
6643062f | 349 | install compress_sword1 $RPM_BUILD_ROOT%{_bindir} |
350 | install compress_sword2 $RPM_BUILD_ROOT%{_bindir} | |
158a3e17 | 351 | install compress_touche $RPM_BUILD_ROOT%{_bindir} |
352 | install convert_dxa.sh $RPM_BUILD_ROOT%{_bindir} | |
6643062f | 353 | install dekyra $RPM_BUILD_ROOT%{_bindir} |
354 | install descumm $RPM_BUILD_ROOT%{_bindir} | |
355 | install desword2 $RPM_BUILD_ROOT%{_bindir} | |
406ab8e4 | 356 | install encode_dxa $RPM_BUILD_ROOT%{_bindir} |
158a3e17 | 357 | install extract_agos $RPM_BUILD_ROOT%{_bindir} |
6643062f | 358 | install extract_kyra $RPM_BUILD_ROOT%{_bindir} |
359 | install extract_loom_tg16 $RPM_BUILD_ROOT%{_bindir} | |
158a3e17 | 360 | install extract_mm_apple $RPM_BUILD_ROOT%{_bindir} |
6643062f | 361 | install extract_mm_c64 $RPM_BUILD_ROOT%{_bindir} |
362 | install extract_mm_nes $RPM_BUILD_ROOT%{_bindir} | |
363 | install extract_scumm_mac $RPM_BUILD_ROOT%{_bindir} | |
6643062f | 364 | install extract_zak_c64 $RPM_BUILD_ROOT%{_bindir} |
ab16910a | 365 | cd - |
ff5e2ece | 366 | |
796a9394 | 367 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} |
158a3e17 | 368 | install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir} |
6a16a469 | 369 | |
7be96678 SS |
370 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
371 | install gui/themes/modern.ini $RPM_BUILD_ROOT%{_datadir}/%{name} | |
372 | install gui/themes/modern.zip $RPM_BUILD_ROOT%{_datadir}/%{name} | |
373 | ||
68a20b3e | 374 | %clean |
375 | rm -rf $RPM_BUILD_ROOT | |
376 | ||
377 | %files | |
378 | %defattr(644,root,root,755) | |
158a3e17 | 379 | %doc AUTHORS COPYRIGHT NEWS README TODO |
ff5e2ece | 380 | %attr(755,root,root) %{_bindir}/scummvm |
158a3e17 | 381 | %dir %{_libdir}/scummvm |
2c8064cc | 382 | #%{_mandir}/man6/* |
6a16a469 | 383 | %{_pixmapsdir}/* |
3a9426b4 | 384 | %{_desktopdir}/*.desktop |
7be96678 | 385 | %dir %{_datadir}/%{name} |
ff5e2ece | 386 | |
387 | %files tools | |
388 | %defattr(644,root,root,755) | |
158a3e17 | 389 | %doc scummvm-tools-%{version_tools}/README |
ab16910a | 390 | %attr(755,root,root) %{_bindir}/* |
391 | %exclude %{_bindir}/scummvm | |
158a3e17 | 392 | |
393 | %files engine-agi | |
394 | %defattr(644,root,root,755) | |
395 | %dir %{_libdir}/scummvm/libagi.so | |
396 | ||
397 | %files engine-agos | |
398 | %defattr(644,root,root,755) | |
399 | %dir %{_libdir}/scummvm/libagos.so | |
400 | ||
401 | %files engine-cine | |
402 | %defattr(644,root,root,755) | |
403 | %dir %{_libdir}/scummvm/libcine.so | |
404 | ||
405 | %files engine-cruise | |
406 | %defattr(644,root,root,755) | |
407 | %dir %{_libdir}/scummvm/libcruise.so | |
408 | ||
2f540fcb | 409 | %files engine-drascula |
410 | %defattr(644,root,root,755) | |
411 | %dir %{_libdir}/scummvm/libdrascula.so | |
412 | ||
158a3e17 | 413 | %files engine-gob |
414 | %defattr(644,root,root,755) | |
415 | %dir %{_libdir}/scummvm/libgob.so | |
416 | ||
2f540fcb | 417 | %files engine-igor |
418 | %defattr(644,root,root,755) | |
419 | %dir %{_libdir}/scummvm/libigor.so | |
420 | ||
158a3e17 | 421 | %files engine-kyra |
422 | %defattr(644,root,root,755) | |
423 | %dir %{_libdir}/scummvm/libkyra.so | |
424 | ||
425 | %files engine-lure | |
426 | %defattr(644,root,root,755) | |
427 | %dir %{_libdir}/scummvm/liblure.so | |
428 | ||
429 | %files engine-parallaction | |
430 | %defattr(644,root,root,755) | |
431 | %dir %{_libdir}/scummvm/libparallaction.so | |
432 | ||
433 | %files engine-queen | |
434 | %defattr(644,root,root,755) | |
435 | %dir %{_libdir}/scummvm/libqueen.so | |
436 | ||
437 | %files engine-saga | |
438 | %defattr(644,root,root,755) | |
439 | %dir %{_libdir}/scummvm/libsaga.so | |
440 | ||
441 | %files engine-scumm | |
442 | %defattr(644,root,root,755) | |
443 | %dir %{_libdir}/scummvm/libscumm.so | |
444 | ||
445 | %files engine-sky | |
446 | %defattr(644,root,root,755) | |
447 | %dir %{_libdir}/scummvm/libsky.so | |
448 | ||
449 | %files engine-sword1 | |
450 | %defattr(644,root,root,755) | |
451 | %dir %{_libdir}/scummvm/libsword1.so | |
452 | ||
453 | %files engine-sword2 | |
454 | %defattr(644,root,root,755) | |
455 | %dir %{_libdir}/scummvm/libsword2.so | |
456 | ||
457 | %files engine-touche | |
458 | %defattr(644,root,root,755) | |
459 | %dir %{_libdir}/scummvm/libtouche.so | |
7be96678 SS |
460 | |
461 | %files theme-modern | |
462 | %defattr(644,root,root,755) | |
463 | %{_datadir}/%{name}/modern.* |