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