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