]> git.pld-linux.org Git - packages/scummvm.git/blob - scummvm.spec
- 1.0.0 final
[packages/scummvm.git] / scummvm.spec
1 %define         version_tools   1.0.0
2 Summary:        Graphic adventure game interpreter
3 Summary(pl.UTF-8):      Interpreter gier przygodowych
4 Name:           scummvm
5 Version:        1.0.0
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
10 # Source0-md5:  11b911937e0fc73c94a7bdc374ab617c
11 Source1:        http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12 # Source1-md5:  6bbe24c7774f63d9ec0a4670ed32b8b6
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
21 %endif
22 BuildRequires:  libmad-devel
23 BuildRequires:  libvorbis-devel
24 BuildRequires:  libmpeg2-devel >= 0.3.2
25 %ifarch %{ix86}
26 BuildRequires:  nasm
27 %endif
28 BuildRequires:  wxGTK2-unicode-devel
29 BuildRequires:  wxWidgets-devel
30 BuildRequires:  zlib-devel
31 BuildRequires:  sed >= 4.0
32 BuildRequires:  zlib-devel
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         specflags_sparc -fPIC
36
37 %description
38 ScummVM is a program which allows you to run certain classic graphical
39 point-and-click adventure games, provided you already have their data
40 files. The clever part about this: ScummVM just replaces the
41 executables shipped with the game, allowing you to play them on
42 systems for which they were never designed!
43
44 Some of the adventures ScummVM supports include Adventure Soft's Simon
45 the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1
46 and Broken Sword 2; Flight of the Amazon Queen; Wyrmkeep's Inherit the
47 Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of
48 Kyrandia and games based on LucasArts' SCUMM (Script Creation Utility
49 for Maniac Mansion) system such as Monkey Island, Day of the Tentacle,
50 Sam and Max and more. You can find a thorough list with details on
51 which games are supported and how well on the project page.
52
53 %description -l pl.UTF-8
54 ScummVM jest programem umożliwiającym uruchamianie klasycznych
55 graficznych gier przygodowych, pod warunkiem, że posiadane są ich
56 pliki danych. ScummVM używany jest w miejsce pliku wykonywalnego
57 dostarczonego razem z grą, co umożliwia granie na systemach, na które
58 gry nie zostały przeznaczone.
59
60 ScummVM obsługuje między innymi Simon the Sorcerer 1 i 2 firmy
61 Adventure Soft; Beneath A Steel Sky, Broken Sword 1 i 2 firmy
62 Revolution; Flight of the Amazon Queen; Inherit the Earth firmy
63 Wyrmkeep; serię Gobliiins firmy Coktel Vision; The Legend of Kyrandia
64 firmy Westwood i gry bazujące na silniku SCUMM (Script Creation
65 Utility for Maniac Mansion) firmy LucasArts, takie jak Monkey Island,
66 Day of the Tentacle, Sam and Max i inne. Szczegółowa lista znajduje
67 się na stronie projektu.
68
69 %package tools
70 Summary:        ScummVM tools
71 Summary(pl.UTF-8):      Narzędzia związane ze ScummVM
72 Group:          X11/Applications/Games
73
74 %description tools
75 Collection of various tools that may be useful to use in conjunction
76 with ScummVM.
77
78 %description tools -l pl.UTF-8
79 Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM.
80
81 %package engine-agi
82 Summary:        Adventure Game Interpreter
83 Summary(pl.UTF-8):      Adventure Game Interpreter
84 Group:          X11/Applications/Games
85
86 %description engine-agi
87 The AGI (Adventure Game Interpreter) engine was used by Sierra in
88 their early adventure games.
89
90 %description engine-agi -l pl.UTF-8
91 Silnik AGI (Adventure Game Interpreter) był używany przez firmę
92 Sierra w jej wczesnych grach przygodowych.
93
94 %package engine-agos
95 Summary:        AGOS engine
96 Summary(pl.UTF-8):      Silnik AGOS
97 Group:          X11/Applications/Games
98
99 %description engine-agos
100 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
101 is based on AberMUD V, with graphical extensions.
102 Required for following games:
103 - Elvira
104 - Elvira 2
105 - Waxworks
106 - Simon the Sorcerer
107 - Simon the Sorcerer 2
108 - The Feeble Files
109
110 %description engine-agos -l pl.UTF-8
111 Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
112 bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
113 Używany w następujących grach:
114 - Elvira
115 - Elvira 2
116 - Waxworks
117 - Simon the Sorcerer
118 - Simon the Sorcerer 2
119 - The Feeble Files
120
121 %package engine-cine
122 Summary:        Cinematique engine
123 Summary(pl.UTF-8):      Silnik Cinematique
124 Group:          X11/Applications/Games
125
126 %description engine-cine
127 Cinematique engine.
128
129 %description engine-cine -l pl.UTF-8
130 Silnik Cinematique.
131
132 %package engine-cruise
133 Summary:        Cruise engine
134 Summary(pl.UTF-8):      Silnik Cruise
135 Group:          X11/Applications/Games
136
137 %description engine-cruise
138 Cruise engine.
139
140 %description engine-cruise -l pl.UTF-8
141 Silnik Cruise.
142
143 %package engine-drascula
144 Summary:        Drascula engine
145 Summary(pl.UTF-8):      Silnik Drascula
146 Group:          X11/Applications/Games
147
148 %description engine-drascula
149 Drascula engine.
150
151 %description engine-drascula -l pl.UTF-8
152 Silnik Drascula.
153
154 %package engine-gob
155 Summary:        Gob engine
156 Summary(pl.UTF-8):      Silnik Gob
157 Group:          X11/Applications/Games
158
159 %description engine-gob
160 Engine to run adventure games created by Coktel Vision.
161
162 %description engine-gob -l pl.UTF-8
163 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
164
165 %package engine-groovie
166 Summary:        Groovie engine
167 Summary(pl.UTF-8):      Silnik Groovie
168 Group:          X11/Applications/Games
169
170 %description engine-groovie
171 Engine to run adventure games created by Trilobyte or
172 Aftermath Media (The 7th Guest, The 11th Hour).
173
174 %description engine-groovie -l pl.UTF-8
175 Silnik do uruchamiania gier stworzonych przez Trilobyte
176 i Aftermath Media (The 7th Guest, The 11th Hour).
177
178 %package engine-igor
179 Summary:        Igor engine
180 Summary(pl.UTF-8):      Silnik Igor
181 Group:          X11/Applications/Games
182
183 %description engine-igor
184 Igor engine.
185
186 %description engine-igor -l pl.UTF-8
187 Silnik Igor.
188
189 %package engine-kyra
190 Summary:        Kyrandia engine
191 Summary(pl.UTF-8):      Silnik Kyrandia
192 Group:          X11/Applications/Games
193
194 %description engine-kyra
195 Kyrandia engine.
196
197 %description engine-kyra -l pl.UTF-8
198 Silnik Kyrandia.
199
200 %package engine-lure
201 Summary:        Lure engine
202 Summary(pl.UTF-8):      Silnik Lure
203 Group:          X11/Applications/Games
204
205 %description engine-lure
206 Lure is the engine for the game Lure of the Temptress.
207
208 %description engine-lure -l pl.UTF-8
209 Lure jest silnikiem dla gry Lure of the Temptress.
210
211 %package engine-m4
212 Summary:        M4/MADS engine
213 Summary(pl.UTF-8):      Silnik M4/MADS
214 Group:          X11/Applications/Games
215
216 %description engine-m4
217 MADS stands for the MicroProse Adventure Development System,
218 used in the three adventure games they made. It was later sold
219 to Sanctuary Woods, who continued development on it and named
220 it M4 (MADS version 4 perhaps) and released two more games.
221
222 %description engine-m4 -l pl.UTF-8
223 MADS to MicroProse Adventure Development System, używany jest
224 w trzech grach stworzonych przez MicroProse. Został sprzedany
225 do Sanctuary Woods i dalej rozwijany jako M4.
226
227 %package engine-made
228 Summary:        MADE engine
229 Summary(pl.UTF-8):      Silnik MADE
230 Group:          X11/Applications/Games
231
232 %description engine-made
233 MADE stands for Multimedia Applications Development Environment,
234 and was used by Activision to create some of their point'n'click
235 adventure games. 
236
237 %description engine-made -l pl.UTF-8
238 MADE to Multimedia Applications Development Environment,
239 był używany przez Activision w grach przygodowych.
240
241 %package engine-parallaction
242 Summary:        Parallaction engine
243 Summary(pl.UTF-8):      Silnik Parallaction
244 Group:          X11/Applications/Games
245
246 %description engine-parallaction
247 Parallaction engine.
248
249 %description engine-parallaction -l pl.UTF-8
250 Silnik Parallaction.
251
252 %package engine-queen
253 Summary:        Queen engine
254 Summary(pl.UTF-8):      Silnik Queen
255 Group:          X11/Applications/Games
256
257 %description engine-queen
258 The Queen Engine is used to play Interactive Binary Illusions' Flight
259 of the Amazon Queen.
260
261 %description engine-queen -l pl.UTF-8
262 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
263 Interactive Binary Illusions.
264
265 %package engine-saga
266 Summary:        Scripts for Animated Graphic Adventures
267 Summary(pl.UTF-8):      Scripts for Animated Graphic Adventures
268 Group:          X11/Applications/Games
269
270 %description engine-saga
271 SAGA (Scripts for Animated Graphic Adventures) engine.
272
273 %description engine-saga -l pl.UTF-8
274 Silnik SAGA (Scripts for Animated Graphic Adventures).
275
276 %package engine-sci
277 Summary:        Sierra's "SCript Interpreter"
278 Summary(pl.UTF-8):      SCript Interpreter Sierry
279 Group:          X11/Applications/Games
280
281 %description engine-sci
282 Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
283
284 %description engine-sci -l pl.UTF-8
285 SCript Interpreter Sierry.
286
287 %package engine-scumm
288 Summary:        Script Creation Utility for Maniac Mansion
289 Summary(pl.UTF-8):      Script Creation Utility for Maniac Mansion
290 Group:          X11/Applications/Games
291
292 %description engine-scumm
293 SCUMM is a utility used to create the famous LucasArts adventure games
294 like the Monkey Island series and also gave ScummVM its name.
295
296 %description engine-scumm -l pl.UTF-8
297 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
298 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
299 nazwę.
300
301 %package engine-sky
302 Summary:        Sky engine
303 Summary(pl.UTF-8):      Silnik Sky
304 Group:          X11/Applications/Games
305
306 %description engine-sky
307 Sky is the internal name for the Virtual Theatre variant which runs
308 Beneath a Steel Sky.
309
310 %description engine-sky -l pl.UTF-8
311 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
312 Beneath a Steel Sky.
313
314 %package engine-sword1
315 Summary:        Sword1 engine
316 Summary(pl.UTF-8):      Silnik Sword1
317 Group:          X11/Applications/Games
318
319 %description engine-sword1
320 Sword1 engine.
321
322 %description engine-sword1 -l pl.UTF-8
323 Silnik Sword1.
324
325 %package engine-sword2
326 Summary:        Sword2 engine
327 Summary(pl.UTF-8):      Silnik Sword2
328 Group:          X11/Applications/Games
329
330 %description engine-sword2
331 Sword2 engine.
332
333 %description engine-sword2 -l pl.UTF-8
334 Silnik Sword2.
335
336 %package engine-tinsel
337 Summary:        Tinsel engine
338 Summary(pl.UTF-8):      Silnik Tinsel
339 Group:          X11/Applications/Games
340
341 %description engine-tinsel
342 This engine is only used by Discworld 1 and Discworld 2.
343 Musketeer.
344
345 %description engine-tinsel -l pl.UTF-8
346 Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
347
348 %package engine-touche
349 Summary:        Touche engine
350 Summary(pl.UTF-8):      Silnik Touche
351 Group:          X11/Applications/Games
352
353 %description engine-touche
354 This engine is only used by Touche: The Adventures of the Fifth
355 Musketeer.
356
357 %description engine-touche -l pl.UTF-8
358 Ten silnik jest używany tylko przez Touché: Przygody Piątego
359 Muszkietera.
360
361 %package engine-tucker
362 Summary:        Tucker engine
363 Summary(pl.UTF-8):      Silnik Tucker
364 Group:          X11/Applications/Games
365
366 %description engine-tucker
367 The Tucker engine is used in Bud Tucker in Double Trouble.
368
369 %description engine-tucker -l pl.UTF-8
370 Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
371
372 %package theme-classic
373 Summary:        Theme classic for ScummVM
374 Summary(pl.UTF-8):      Motyw classic dla ScummVM
375 Group:          X11/Applications/Games
376
377 %description theme-classic
378 Theme classic for ScummVM.
379
380 %description theme-classic -l pl.UTF-8
381 Motyw classic dla ScummVM.
382
383 %package theme-modern
384 Summary:        Theme modern for ScummVM
385 Summary(pl.UTF-8):      Motyw modern dla ScummVM
386 Group:          X11/Applications/Games
387
388 %description theme-modern
389 Theme modern for ScummVM.
390
391 %description theme-modern -l pl.UTF-8
392 Motyw modern dla ScummVM.
393
394 %prep
395 %setup -q -a 1
396 %patch0 -p1
397
398 %{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
399
400 %build
401 ./configure \
402         --prefix=/usr \
403         --disable-debug \
404         --enable-mpeg2 \
405         --enable-all-engines \
406         --enable-plugins \
407         --default-dynamic
408
409 %{__make} \
410         CXX="%{__cxx}" \
411         CXXFLAGS="%{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
412         LDFLAGS="%{rpmldflags}"
413
414 cd scummvm-tools-%{version_tools}
415 %{__make} \
416         CXX="%{__cxx}" \
417         CXXFLAGS="%{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
418         LDFLAGS="%{rpmldflags} $(wx-gtk2-unicode-config --libs)"
419
420 %install
421 rm -rf $RPM_BUILD_ROOT
422 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
423
424 install scummvm $RPM_BUILD_ROOT%{_bindir}
425 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
426
427 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
428
429 cd scummvm-tools-%{version_tools}
430 install compress_agos           $RPM_BUILD_ROOT%{_bindir}
431 install compress_kyra           $RPM_BUILD_ROOT%{_bindir}
432 install compress_queen          $RPM_BUILD_ROOT%{_bindir}
433 install compress_saga           $RPM_BUILD_ROOT%{_bindir}
434 install compress_scumm_bun      $RPM_BUILD_ROOT%{_bindir}
435 install compress_scumm_san      $RPM_BUILD_ROOT%{_bindir}
436 install compress_scumm_sou      $RPM_BUILD_ROOT%{_bindir}
437 install compress_sword1         $RPM_BUILD_ROOT%{_bindir}
438 install compress_sword2         $RPM_BUILD_ROOT%{_bindir}
439 install compress_touche         $RPM_BUILD_ROOT%{_bindir}
440 install convert_dxa.sh          $RPM_BUILD_ROOT%{_bindir}
441 install dekyra                  $RPM_BUILD_ROOT%{_bindir}
442 install descumm                 $RPM_BUILD_ROOT%{_bindir}
443 install desword2                $RPM_BUILD_ROOT%{_bindir}
444 install encode_dxa              $RPM_BUILD_ROOT%{_bindir}
445 install extract_agos            $RPM_BUILD_ROOT%{_bindir}
446 install extract_kyra            $RPM_BUILD_ROOT%{_bindir}
447 install extract_loom_tg16       $RPM_BUILD_ROOT%{_bindir}
448 install extract_mm_apple        $RPM_BUILD_ROOT%{_bindir}
449 install extract_mm_c64          $RPM_BUILD_ROOT%{_bindir}
450 install extract_mm_nes          $RPM_BUILD_ROOT%{_bindir}
451 install extract_scumm_mac       $RPM_BUILD_ROOT%{_bindir}
452 install extract_zak_c64         $RPM_BUILD_ROOT%{_bindir}
453 cd -
454
455 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
456 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
457
458 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
459 install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
460
461 %clean
462 rm -rf $RPM_BUILD_ROOT
463
464 %files
465 %defattr(644,root,root,755)
466 %doc AUTHORS COPYRIGHT NEWS README TODO
467 %attr(755,root,root) %{_bindir}/scummvm
468 %dir %{_libdir}/scummvm
469 #%{_mandir}/man6/*
470 %{_pixmapsdir}/*
471 %{_desktopdir}/*.desktop
472 %dir %{_datadir}/%{name}
473
474 %files tools
475 %defattr(644,root,root,755)
476 %doc scummvm-tools-%{version_tools}/README
477 %attr(755,root,root) %{_bindir}/*
478 %exclude %{_bindir}/scummvm
479
480 %files engine-agi
481 %defattr(644,root,root,755)
482 %dir %{_libdir}/scummvm/libagi.so
483
484 %files engine-agos
485 %defattr(644,root,root,755)
486 %dir %{_libdir}/scummvm/libagos.so
487
488 %files engine-cine
489 %defattr(644,root,root,755)
490 %dir %{_libdir}/scummvm/libcine.so
491
492 %files engine-cruise
493 %defattr(644,root,root,755)
494 %dir %{_libdir}/scummvm/libcruise.so
495
496 %files engine-drascula
497 %defattr(644,root,root,755)
498 %dir %{_libdir}/scummvm/libdrascula.so
499
500 %files engine-gob
501 %defattr(644,root,root,755)
502 %dir %{_libdir}/scummvm/libgob.so
503
504 %files engine-groovie
505 %defattr(644,root,root,755)
506 %dir %{_libdir}/scummvm/libgroovie.so
507
508 %files engine-igor
509 %defattr(644,root,root,755)
510 %dir %{_libdir}/scummvm/libigor.so
511
512 %files engine-kyra
513 %defattr(644,root,root,755)
514 %dir %{_libdir}/scummvm/libkyra.so
515
516 %files engine-lure
517 %defattr(644,root,root,755)
518 %dir %{_libdir}/scummvm/liblure.so
519
520 %files engine-m4
521 %defattr(644,root,root,755)
522 %dir %{_libdir}/scummvm/libm4.so
523
524 %files engine-made
525 %defattr(644,root,root,755)
526 %dir %{_libdir}/scummvm/libmade.so
527
528 %files engine-parallaction
529 %defattr(644,root,root,755)
530 %dir %{_libdir}/scummvm/libparallaction.so
531
532 %files engine-queen
533 %defattr(644,root,root,755)
534 %dir %{_libdir}/scummvm/libqueen.so
535
536 %files engine-saga
537 %defattr(644,root,root,755)
538 %dir %{_libdir}/scummvm/libsaga.so
539
540 %files engine-sci
541 %defattr(644,root,root,755)
542 %dir %{_libdir}/scummvm/libsci.so
543
544 %files engine-scumm
545 %defattr(644,root,root,755)
546 %dir %{_libdir}/scummvm/libscumm.so
547
548 %files engine-sky
549 %defattr(644,root,root,755)
550 %dir %{_libdir}/scummvm/libsky.so
551
552 %files engine-sword1
553 %defattr(644,root,root,755)
554 %dir %{_libdir}/scummvm/libsword1.so
555
556 %files engine-sword2
557 %defattr(644,root,root,755)
558 %dir %{_libdir}/scummvm/libsword2.so
559
560 %files engine-tinsel
561 %defattr(644,root,root,755)
562 %dir %{_libdir}/scummvm/libtinsel.so
563
564 %files engine-touche
565 %defattr(644,root,root,755)
566 %dir %{_libdir}/scummvm/libtouche.so
567
568 %files engine-tucker
569 %defattr(644,root,root,755)
570 %dir %{_libdir}/scummvm/libtucker.so
571
572 %files theme-classic
573 %defattr(644,root,root,755)
574 %{_datadir}/%{name}/scummclassic.*
575
576 %files theme-modern
577 %defattr(644,root,root,755)
578 %{_datadir}/%{name}/scummmodern.*
This page took 0.102923 seconds and 4 git commands to generate.