]> git.pld-linux.org Git - packages/scummvm.git/blob - scummvm.spec
5629bb2c7aad491214f0ea60b47facd967ed3f55
[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:        1
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
88 %description engine-agi
89 The AGI (Adventure Game Interpreter) engine was used by Sierra in
90 their early adventure games.
91
92 %description engine-agi -l pl.UTF-8
93 Silnik AGI (Adventure Game Interpreter) był używany przez firmę
94 Sierra w jej wczesnych grach przygodowych.
95
96 %package engine-agos
97 Summary:        AGOS engine
98 Summary(pl.UTF-8):      Silnik AGOS
99 Group:          X11/Applications/Games
100
101 %description engine-agos
102 The AGOS Engine was originally created by Alan Cox at HorrorSoft and
103 is based on AberMUD V, with graphical extensions.
104 Required for following games:
105 - Elvira
106 - Elvira 2
107 - Waxworks
108 - Simon the Sorcerer
109 - Simon the Sorcerer 2
110 - The Feeble Files
111
112 %description engine-agos -l pl.UTF-8
113 Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
114 bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
115 Używany w następujących grach:
116 - Elvira
117 - Elvira 2
118 - Waxworks
119 - Simon the Sorcerer
120 - Simon the Sorcerer 2
121 - The Feeble Files
122
123 %package engine-cine
124 Summary:        Cinematique engine
125 Summary(pl.UTF-8):      Silnik Cinematique
126 Group:          X11/Applications/Games
127
128 %description engine-cine
129 Cinematique engine.
130
131 %description engine-cine -l pl.UTF-8
132 Silnik Cinematique.
133
134 %package engine-cruise
135 Summary:        Cruise engine
136 Summary(pl.UTF-8):      Silnik Cruise
137 Group:          X11/Applications/Games
138
139 %description engine-cruise
140 Cruise engine.
141
142 %description engine-cruise -l pl.UTF-8
143 Silnik Cruise.
144
145 %package engine-draci
146 Summary:        Draci engine
147 Summary(pl.UTF-8):      Silnik Draci
148 Group:          X11/Applications/Games
149
150 %description engine-draci
151 Draci engine.
152
153 %description engine-draci -l pl.UTF-8
154 Silnik Draci.
155
156 %package engine-drascula
157 Summary:        Drascula engine
158 Summary(pl.UTF-8):      Silnik Drascula
159 Group:          X11/Applications/Games
160
161 %description engine-drascula
162 Drascula engine.
163
164 %description engine-drascula -l pl.UTF-8
165 Silnik Drascula.
166
167 %package engine-gob
168 Summary:        Gob engine
169 Summary(pl.UTF-8):      Silnik Gob
170 Group:          X11/Applications/Games
171
172 %description engine-gob
173 Engine to run adventure games created by Coktel Vision.
174
175 %description engine-gob -l pl.UTF-8
176 Silnik do uruchamiania gier stworzonych przez Coktel Vision.
177
178 %package engine-groovie
179 Summary:        Groovie engine
180 Summary(pl.UTF-8):      Silnik Groovie
181 Group:          X11/Applications/Games
182
183 %description engine-groovie
184 Engine to run adventure games created by Trilobyte or
185 Aftermath Media (The 7th Guest, The 11th Hour).
186
187 %description engine-groovie -l pl.UTF-8
188 Silnik do uruchamiania gier stworzonych przez Trilobyte
189 i Aftermath Media (The 7th Guest, The 11th Hour).
190
191 %package engine-kyra
192 Summary:        Kyrandia engine
193 Summary(pl.UTF-8):      Silnik Kyrandia
194 Group:          X11/Applications/Games
195
196 %description engine-kyra
197 Kyrandia engine.
198
199 %description engine-kyra -l pl.UTF-8
200 Silnik Kyrandia.
201
202 %package engine-lure
203 Summary:        Lure engine
204 Summary(pl.UTF-8):      Silnik Lure
205 Group:          X11/Applications/Games
206
207 %description engine-lure
208 Lure is the engine for the game Lure of the Temptress.
209
210 %description engine-lure -l pl.UTF-8
211 Lure jest silnikiem dla gry Lure of the Temptress.
212
213 %package engine-m4
214 Summary:        M4/MADS engine
215 Summary(pl.UTF-8):      Silnik M4/MADS
216 Group:          X11/Applications/Games
217
218 %description engine-m4
219 MADS stands for the MicroProse Adventure Development System,
220 used in the three adventure games they made. It was later sold
221 to Sanctuary Woods, who continued development on it and named
222 it M4 (MADS version 4 perhaps) and released two more games.
223
224 %description engine-m4 -l pl.UTF-8
225 MADS to MicroProse Adventure Development System, używany jest
226 w trzech grach stworzonych przez MicroProse. Został sprzedany
227 do Sanctuary Woods i dalej rozwijany jako M4.
228
229 %package engine-made
230 Summary:        MADE engine
231 Summary(pl.UTF-8):      Silnik MADE
232 Group:          X11/Applications/Games
233
234 %description engine-made
235 MADE stands for Multimedia Applications Development Environment,
236 and was used by Activision to create some of their point'n'click
237 adventure games. 
238
239 %description engine-made -l pl.UTF-8
240 MADE to Multimedia Applications Development Environment,
241 był używany przez Activision w grach przygodowych.
242
243 %package engine-mohawk
244 Summary:        Mohawk engine
245 Summary(pl.UTF-8):      Silnik Mohawk
246 Group:          X11/Applications/Games
247
248 %description engine-mohawk
249 The Mohawk engine was developed by Brøderbund starting
250 in the early 1990's with the Windows port of Myst.
251
252 %description engine-mohawk -l pl.UTF-8
253 Silnik Mohawk został stworzony przez Brøderbund we wczesnych
254 latach 90-ych, na potrzeby gry Myst.
255
256 %package engine-parallaction
257 Summary:        Parallaction engine
258 Summary(pl.UTF-8):      Silnik Parallaction
259 Group:          X11/Applications/Games
260
261 %description engine-parallaction
262 Parallaction engine.
263
264 %description engine-parallaction -l pl.UTF-8
265 Silnik Parallaction.
266
267 %package engine-queen
268 Summary:        Queen engine
269 Summary(pl.UTF-8):      Silnik Queen
270 Group:          X11/Applications/Games
271
272 %description engine-queen
273 The Queen Engine is used to play Interactive Binary Illusions' Flight
274 of the Amazon Queen.
275
276 %description engine-queen -l pl.UTF-8
277 Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
278 Interactive Binary Illusions.
279
280 %package engine-saga
281 Summary:        Scripts for Animated Graphic Adventures
282 Summary(pl.UTF-8):      Scripts for Animated Graphic Adventures
283 Group:          X11/Applications/Games
284
285 %description engine-saga
286 SAGA (Scripts for Animated Graphic Adventures) engine.
287
288 %description engine-saga -l pl.UTF-8
289 Silnik SAGA (Scripts for Animated Graphic Adventures).
290
291 %package engine-sci
292 Summary:        Sierra's "SCript Interpreter"
293 Summary(pl.UTF-8):      SCript Interpreter Sierry
294 Group:          X11/Applications/Games
295
296 %description engine-sci
297 Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
298
299 %description engine-sci -l pl.UTF-8
300 SCript Interpreter Sierry.
301
302 %package engine-scumm
303 Summary:        Script Creation Utility for Maniac Mansion
304 Summary(pl.UTF-8):      Script Creation Utility for Maniac Mansion
305 Group:          X11/Applications/Games
306
307 %description engine-scumm
308 SCUMM is a utility used to create the famous LucasArts adventure games
309 like the Monkey Island series and also gave ScummVM its name.
310
311 %description engine-scumm -l pl.UTF-8
312 SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
313 firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
314 nazwę.
315
316 %package engine-sky
317 Summary:        Sky engine
318 Summary(pl.UTF-8):      Silnik Sky
319 Group:          X11/Applications/Games
320
321 %description engine-sky
322 Sky is the internal name for the Virtual Theatre variant which runs
323 Beneath a Steel Sky.
324
325 %description engine-sky -l pl.UTF-8
326 Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
327 Beneath a Steel Sky.
328
329 %package engine-sword1
330 Summary:        Sword1 engine
331 Summary(pl.UTF-8):      Silnik Sword1
332 Group:          X11/Applications/Games
333
334 %description engine-sword1
335 Sword1 engine.
336
337 %description engine-sword1 -l pl.UTF-8
338 Silnik Sword1.
339
340 %package engine-sword2
341 Summary:        Sword2 engine
342 Summary(pl.UTF-8):      Silnik Sword2
343 Group:          X11/Applications/Games
344
345 %description engine-sword2
346 Sword2 engine.
347
348 %description engine-sword2 -l pl.UTF-8
349 Silnik Sword2.
350
351 %package engine-teenagent
352 Summary:        TeenAgent engine
353 Summary(pl.UTF-8):      Silnik TeenAgent
354 Group:          X11/Applications/Games
355
356 %description engine-teenagent
357 This engine is only used by TeenAgent.
358
359 %description engine-teenagent -l pl.UTF-8
360 Ten silnik jest używany tylko przez TeenAgenta.
361
362 %package engine-tinsel
363 Summary:        Tinsel engine
364 Summary(pl.UTF-8):      Silnik Tinsel
365 Group:          X11/Applications/Games
366
367 %description engine-tinsel
368 This engine is only used by Discworld 1 and Discworld 2.
369
370 %description engine-tinsel -l pl.UTF-8
371 Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
372
373 %package engine-touche
374 Summary:        Touche engine
375 Summary(pl.UTF-8):      Silnik Touche
376 Group:          X11/Applications/Games
377
378 %description engine-touche
379 This engine is only used by Touche: The Adventures of the Fifth
380 Musketeer.
381
382 %description engine-touche -l pl.UTF-8
383 Ten silnik jest używany tylko przez Touché: Przygody Piątego
384 Muszkietera.
385
386 %package engine-tucker
387 Summary:        Tucker engine
388 Summary(pl.UTF-8):      Silnik Tucker
389 Group:          X11/Applications/Games
390
391 %description engine-tucker
392 The Tucker engine is used in Bud Tucker in Double Trouble.
393
394 %description engine-tucker -l pl.UTF-8
395 Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
396
397 %package theme-classic
398 Summary:        Theme classic for ScummVM
399 Summary(pl.UTF-8):      Motyw classic dla ScummVM
400 Group:          X11/Applications/Games
401
402 %description theme-classic
403 Theme classic for ScummVM.
404
405 %description theme-classic -l pl.UTF-8
406 Motyw classic dla ScummVM.
407
408 %package theme-modern
409 Summary:        Theme modern for ScummVM
410 Summary(pl.UTF-8):      Motyw modern dla ScummVM
411 Group:          X11/Applications/Games
412
413 %description theme-modern
414 Theme modern for ScummVM.
415
416 %description theme-modern -l pl.UTF-8
417 Motyw modern dla ScummVM.
418
419 %prep
420 %setup -q -a 1
421 %patch0 -p1
422
423 %{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
424
425 %build
426 ./configure \
427         --prefix=/usr \
428         --disable-debug \
429         --enable-mpeg2 \
430         --enable-all-engines \
431         --enable-plugins \
432         --default-dynamic
433
434 %{__make} \
435         CXX="%{__cxx}" \
436         CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
437         LDFLAGS="%{rpmcflags} %{rpmldflags}"
438
439 cd scummvm-tools-%{version_tools}
440 ./configure \
441         --prefix=/usr \
442         --disable-debug
443
444 %{__make} \
445         CXX="%{__cxx}" \
446         CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
447         LDFLAGS="%{rpmcflags} %{rpmldflags} $(wx-gtk2-unicode-config --libs)"
448
449 %install
450 rm -rf $RPM_BUILD_ROOT
451 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
452
453 install scummvm $RPM_BUILD_ROOT%{_bindir}
454 #install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
455
456 install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
457
458 %{__make} -C scummvm-tools-%{version_tools} install \
459         DESTDIR=$RPM_BUILD_ROOT%{_bindir}
460
461 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
462 install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
463
464 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
465 install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
466
467 %clean
468 rm -rf $RPM_BUILD_ROOT
469
470 %files
471 %defattr(644,root,root,755)
472 %doc AUTHORS COPYRIGHT NEWS README TODO
473 %attr(755,root,root) %{_bindir}/scummvm
474 %dir %{_libdir}/scummvm
475 #%{_mandir}/man6/*
476 %{_pixmapsdir}/*
477 %{_desktopdir}/*.desktop
478 %dir %{_datadir}/%{name}
479
480 %files tools
481 %defattr(644,root,root,755)
482 %doc scummvm-tools-%{version_tools}/README
483 %attr(755,root,root) %{_bindir}/*
484 %exclude %{_bindir}/scummvm
485
486 %files engine-agi
487 %defattr(644,root,root,755)
488 %dir %{_libdir}/scummvm/libagi.so
489
490 %files engine-agos
491 %defattr(644,root,root,755)
492 %dir %{_libdir}/scummvm/libagos.so
493
494 %files engine-cine
495 %defattr(644,root,root,755)
496 %dir %{_libdir}/scummvm/libcine.so
497
498 %files engine-cruise
499 %defattr(644,root,root,755)
500 %dir %{_libdir}/scummvm/libcruise.so
501
502 %files engine-draci
503 %defattr(644,root,root,755)
504 %dir %{_libdir}/scummvm/libdraci.so
505
506 %files engine-drascula
507 %defattr(644,root,root,755)
508 %dir %{_libdir}/scummvm/libdrascula.so
509
510 %files engine-gob
511 %defattr(644,root,root,755)
512 %dir %{_libdir}/scummvm/libgob.so
513
514 %files engine-groovie
515 %defattr(644,root,root,755)
516 %dir %{_libdir}/scummvm/libgroovie.so
517
518 %files engine-kyra
519 %defattr(644,root,root,755)
520 %dir %{_libdir}/scummvm/libkyra.so
521
522 %files engine-lure
523 %defattr(644,root,root,755)
524 %dir %{_libdir}/scummvm/liblure.so
525
526 %files engine-m4
527 %defattr(644,root,root,755)
528 %dir %{_libdir}/scummvm/libm4.so
529
530 %files engine-made
531 %defattr(644,root,root,755)
532 %dir %{_libdir}/scummvm/libmade.so
533
534 %files engine-mohawk
535 %defattr(644,root,root,755)
536 %dir %{_libdir}/scummvm/libmohawk.so
537
538 %files engine-parallaction
539 %defattr(644,root,root,755)
540 %dir %{_libdir}/scummvm/libparallaction.so
541
542 %files engine-queen
543 %defattr(644,root,root,755)
544 %dir %{_libdir}/scummvm/libqueen.so
545
546 %files engine-saga
547 %defattr(644,root,root,755)
548 %dir %{_libdir}/scummvm/libsaga.so
549
550 %files engine-sci
551 %defattr(644,root,root,755)
552 %dir %{_libdir}/scummvm/libsci.so
553
554 %files engine-scumm
555 %defattr(644,root,root,755)
556 %dir %{_libdir}/scummvm/libscumm.so
557
558 %files engine-sky
559 %defattr(644,root,root,755)
560 %dir %{_libdir}/scummvm/libsky.so
561
562 %files engine-sword1
563 %defattr(644,root,root,755)
564 %dir %{_libdir}/scummvm/libsword1.so
565
566 %files engine-sword2
567 %defattr(644,root,root,755)
568 %dir %{_libdir}/scummvm/libsword2.so
569
570 %files engine-teenagent
571 %defattr(644,root,root,755)
572 %dir %{_libdir}/scummvm/libteenagent.so
573
574 %files engine-tinsel
575 %defattr(644,root,root,755)
576 %dir %{_libdir}/scummvm/libtinsel.so
577
578 %files engine-touche
579 %defattr(644,root,root,755)
580 %dir %{_libdir}/scummvm/libtouche.so
581
582 %files engine-tucker
583 %defattr(644,root,root,755)
584 %dir %{_libdir}/scummvm/libtucker.so
585
586 %files theme-classic
587 %defattr(644,root,root,755)
588 %{_datadir}/%{name}/scummclassic.*
589
590 %files theme-modern
591 %defattr(644,root,root,755)
592 %{_datadir}/%{name}/scummmodern.*
This page took 0.061829 seconds and 3 git commands to generate.