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