]> git.pld-linux.org Git - packages/scummvm.git/blame_incremental - scummvm.spec
- release 3
[packages/scummvm.git] / scummvm.spec
... / ...
CommitLineData
1%define version_tools 1.1.0
2Summary: Graphic adventure game interpreter
3Summary(pl.UTF-8): Interpreter gier przygodowych
4Name: scummvm
5Version: 1.1.0
6Release: 3
7License: GPL
8Group: X11/Applications/Games
9Source0: http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
10# Source0-md5: 6793c3fe801d4fcd3d5b4fc2c27d0e9e
11Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
12# Source1-md5: d89ba46b7395671181333f29d963057f
13Source2: %{name}.desktop
14Patch0: %{name}-wx-config.patch
15URL: http://scummvm.org/
16BuildRequires: SDL-devel >= 1.2.2
17BuildRequires: alsa-lib-devel >= 0.9
18BuildRequires: flac-devel >= 1.0.1
19%ifarch %{ix86} %{x8664}
20BuildRequires: fluidsynth-devel
21%endif
22BuildRequires: freetype-devel
23BuildRequires: libmad-devel
24BuildRequires: libpng-devel
25BuildRequires: libvorbis-devel
26BuildRequires: libmpeg2-devel >= 0.3.2
27%ifarch %{ix86}
28BuildRequires: nasm
29%endif
30BuildRequires: wxGTK2-unicode-devel
31BuildRequires: wxWidgets-devel
32BuildRequires: zlib-devel
33BuildRequires: sed >= 4.0
34BuildRequires: zlib-devel
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%define specflags_sparc -fPIC
38
39%description
40ScummVM is a program which allows you to run certain classic graphical
41point-and-click adventure games, provided you already have their data
42files. The clever part about this: ScummVM just replaces the
43executables shipped with the game, allowing you to play them on
44systems for which they were never designed!
45
46Some of the adventures ScummVM supports include Adventure Soft's Simon
47the Sorcerer 1 and 2; Revolution's Beneath A Steel Sky, Broken Sword 1
48and Broken Sword 2; Flight of the Amazon Queen; Wyrmkeep's Inherit the
49Earth; Coktel Vision's Gobliiins; Westwood Studios' The Legend of
50Kyrandia and games based on LucasArts' SCUMM (Script Creation Utility
51for Maniac Mansion) system such as Monkey Island, Day of the Tentacle,
52Sam and Max and more. You can find a thorough list with details on
53which games are supported and how well on the project page.
54
55%description -l pl.UTF-8
56ScummVM jest programem umożliwiającym uruchamianie klasycznych
57graficznych gier przygodowych, pod warunkiem, że posiadane są ich
58pliki danych. ScummVM używany jest w miejsce pliku wykonywalnego
59dostarczonego razem z grą, co umożliwia granie na systemach, na które
60gry nie zostały przeznaczone.
61
62ScummVM obsługuje między innymi Simon the Sorcerer 1 i 2 firmy
63Adventure Soft; Beneath A Steel Sky, Broken Sword 1 i 2 firmy
64Revolution; Flight of the Amazon Queen; Inherit the Earth firmy
65Wyrmkeep; serię Gobliiins firmy Coktel Vision; The Legend of Kyrandia
66firmy Westwood i gry bazujące na silniku SCUMM (Script Creation
67Utility for Maniac Mansion) firmy LucasArts, takie jak Monkey Island,
68Day of the Tentacle, Sam and Max i inne. Szczegółowa lista znajduje
69się na stronie projektu.
70
71%package tools
72Summary: ScummVM tools
73Summary(pl.UTF-8): Narzędzia związane ze ScummVM
74Group: X11/Applications/Games
75
76%description tools
77Collection of various tools that may be useful to use in conjunction
78with ScummVM.
79
80%description tools -l pl.UTF-8
81Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM.
82
83%package engine-agi
84Summary: Adventure Game Interpreter
85Summary(pl.UTF-8): Adventure Game Interpreter
86Group: X11/Applications/Games
87Requires: %{name} = %{version}-%{release}
88
89%description engine-agi
90The AGI (Adventure Game Interpreter) engine was used by Sierra in
91their early adventure games.
92
93%description engine-agi -l pl.UTF-8
94Silnik AGI (Adventure Game Interpreter) był używany przez firmę
95Sierra w jej wczesnych grach przygodowych.
96
97%package engine-agos
98Summary: AGOS engine
99Summary(pl.UTF-8): Silnik AGOS
100Group: X11/Applications/Games
101Requires: %{name} = %{version}-%{release}
102
103%description engine-agos
104The AGOS Engine was originally created by Alan Cox at HorrorSoft and
105is based on AberMUD V, with graphical extensions.
106Required 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
115Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
116bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
117Uż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
126Summary: Cinematique engine
127Summary(pl.UTF-8): Silnik Cinematique
128Group: X11/Applications/Games
129Requires: %{name} = %{version}-%{release}
130
131%description engine-cine
132Cinematique engine.
133
134%description engine-cine -l pl.UTF-8
135Silnik Cinematique.
136
137%package engine-cruise
138Summary: Cruise engine
139Summary(pl.UTF-8): Silnik Cruise
140Group: X11/Applications/Games
141Requires: %{name} = %{version}-%{release}
142
143%description engine-cruise
144Cruise engine.
145
146%description engine-cruise -l pl.UTF-8
147Silnik Cruise.
148
149%package engine-draci
150Summary: Draci engine
151Summary(pl.UTF-8): Silnik Draci
152Group: X11/Applications/Games
153Requires: %{name} = %{version}-%{release}
154
155%description engine-draci
156Draci engine.
157
158%description engine-draci -l pl.UTF-8
159Silnik Draci.
160
161%package engine-drascula
162Summary: Drascula engine
163Summary(pl.UTF-8): Silnik Drascula
164Group: X11/Applications/Games
165Requires: %{name} = %{version}-%{release}
166
167%description engine-drascula
168Drascula engine.
169
170%description engine-drascula -l pl.UTF-8
171Silnik Drascula.
172
173%package engine-gob
174Summary: Gob engine
175Summary(pl.UTF-8): Silnik Gob
176Group: X11/Applications/Games
177Requires: %{name} = %{version}-%{release}
178
179%description engine-gob
180Engine to run adventure games created by Coktel Vision.
181
182%description engine-gob -l pl.UTF-8
183Silnik do uruchamiania gier stworzonych przez Coktel Vision.
184
185%package engine-groovie
186Summary: Groovie engine
187Summary(pl.UTF-8): Silnik Groovie
188Group: X11/Applications/Games
189Requires: %{name} = %{version}-%{release}
190
191%description engine-groovie
192Engine to run adventure games created by Trilobyte or
193Aftermath Media (The 7th Guest, The 11th Hour).
194
195%description engine-groovie -l pl.UTF-8
196Silnik do uruchamiania gier stworzonych przez Trilobyte
197i Aftermath Media (The 7th Guest, The 11th Hour).
198
199%package engine-kyra
200Summary: Kyrandia engine
201Summary(pl.UTF-8): Silnik Kyrandia
202Group: X11/Applications/Games
203Requires: %{name} = %{version}-%{release}
204
205%description engine-kyra
206Kyrandia engine.
207
208%description engine-kyra -l pl.UTF-8
209Silnik Kyrandia.
210
211%package engine-lure
212Summary: Lure engine
213Summary(pl.UTF-8): Silnik Lure
214Group: X11/Applications/Games
215Requires: %{name} = %{version}-%{release}
216
217%description engine-lure
218Lure is the engine for the game Lure of the Temptress.
219
220%description engine-lure -l pl.UTF-8
221Lure jest silnikiem dla gry Lure of the Temptress.
222
223%package engine-m4
224Summary: M4/MADS engine
225Summary(pl.UTF-8): Silnik M4/MADS
226Group: X11/Applications/Games
227Requires: %{name} = %{version}-%{release}
228
229%description engine-m4
230MADS stands for the MicroProse Adventure Development System,
231used in the three adventure games they made. It was later sold
232to Sanctuary Woods, who continued development on it and named
233it M4 (MADS version 4 perhaps) and released two more games.
234
235%description engine-m4 -l pl.UTF-8
236MADS to MicroProse Adventure Development System, używany jest
237w trzech grach stworzonych przez MicroProse. Został sprzedany
238do Sanctuary Woods i dalej rozwijany jako M4.
239
240%package engine-made
241Summary: MADE engine
242Summary(pl.UTF-8): Silnik MADE
243Group: X11/Applications/Games
244Requires: %{name} = %{version}-%{release}
245
246%description engine-made
247MADE stands for Multimedia Applications Development Environment,
248and was used by Activision to create some of their point'n'click
249adventure games.
250
251%description engine-made -l pl.UTF-8
252MADE to Multimedia Applications Development Environment,
253był używany przez Activision w grach przygodowych.
254
255%package engine-mohawk
256Summary: Mohawk engine
257Summary(pl.UTF-8): Silnik Mohawk
258Group: X11/Applications/Games
259Requires: %{name} = %{version}-%{release}
260
261%description engine-mohawk
262The Mohawk engine was developed by Brøderbund starting
263in the early 1990's with the Windows port of Myst.
264
265%description engine-mohawk -l pl.UTF-8
266Silnik Mohawk został stworzony przez Brøderbund we wczesnych
267latach 90-ych, na potrzeby gry Myst.
268
269%package engine-parallaction
270Summary: Parallaction engine
271Summary(pl.UTF-8): Silnik Parallaction
272Group: X11/Applications/Games
273Requires: %{name} = %{version}-%{release}
274
275%description engine-parallaction
276Parallaction engine.
277
278%description engine-parallaction -l pl.UTF-8
279Silnik Parallaction.
280
281%package engine-queen
282Summary: Queen engine
283Summary(pl.UTF-8): Silnik Queen
284Group: X11/Applications/Games
285Requires: %{name} = %{version}-%{release}
286
287%description engine-queen
288The Queen Engine is used to play Interactive Binary Illusions' Flight
289of the Amazon Queen.
290
291%description engine-queen -l pl.UTF-8
292Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
293Interactive Binary Illusions.
294
295%package engine-saga
296Summary: Scripts for Animated Graphic Adventures
297Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
298Group: X11/Applications/Games
299Requires: %{name} = %{version}-%{release}
300
301%description engine-saga
302SAGA (Scripts for Animated Graphic Adventures) engine.
303
304%description engine-saga -l pl.UTF-8
305Silnik SAGA (Scripts for Animated Graphic Adventures).
306
307%package engine-sci
308Summary: Sierra's "SCript Interpreter"
309Summary(pl.UTF-8): SCript Interpreter Sierry
310Group: X11/Applications/Games
311Requires: %{name} = %{version}-%{release}
312
313%description engine-sci
314Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
315
316%description engine-sci -l pl.UTF-8
317SCript Interpreter Sierry.
318
319%package engine-scumm
320Summary: Script Creation Utility for Maniac Mansion
321Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
322Group: X11/Applications/Games
323Requires: %{name} = %{version}-%{release}
324
325%description engine-scumm
326SCUMM is a utility used to create the famous LucasArts adventure games
327like the Monkey Island series and also gave ScummVM its name.
328
329%description engine-scumm -l pl.UTF-8
330SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
331firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
332nazwę.
333
334%package engine-sky
335Summary: Sky engine
336Summary(pl.UTF-8): Silnik Sky
337Group: X11/Applications/Games
338Requires: %{name} = %{version}-%{release}
339
340%description engine-sky
341Sky is the internal name for the Virtual Theatre variant which runs
342Beneath a Steel Sky.
343
344%description engine-sky -l pl.UTF-8
345Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
346Beneath a Steel Sky.
347
348%package engine-sword1
349Summary: Sword1 engine
350Summary(pl.UTF-8): Silnik Sword1
351Group: X11/Applications/Games
352Requires: %{name} = %{version}-%{release}
353
354%description engine-sword1
355Sword1 engine.
356
357%description engine-sword1 -l pl.UTF-8
358Silnik Sword1.
359
360%package engine-sword2
361Summary: Sword2 engine
362Summary(pl.UTF-8): Silnik Sword2
363Group: X11/Applications/Games
364Requires: %{name} = %{version}-%{release}
365
366%description engine-sword2
367Sword2 engine.
368
369%description engine-sword2 -l pl.UTF-8
370Silnik Sword2.
371
372%package engine-teenagent
373Summary: TeenAgent engine
374Summary(pl.UTF-8): Silnik TeenAgent
375Group: X11/Applications/Games
376Requires: %{name} = %{version}-%{release}
377
378%description engine-teenagent
379This engine is only used by TeenAgent.
380
381%description engine-teenagent -l pl.UTF-8
382Ten silnik jest używany tylko przez TeenAgenta.
383
384%package engine-tinsel
385Summary: Tinsel engine
386Summary(pl.UTF-8): Silnik Tinsel
387Group: X11/Applications/Games
388Requires: %{name} = %{version}-%{release}
389
390%description engine-tinsel
391This engine is only used by Discworld 1 and Discworld 2.
392
393%description engine-tinsel -l pl.UTF-8
394Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
395
396%package engine-touche
397Summary: Touche engine
398Summary(pl.UTF-8): Silnik Touche
399Group: X11/Applications/Games
400Requires: %{name} = %{version}-%{release}
401
402%description engine-touche
403This engine is only used by Touche: The Adventures of the Fifth
404Musketeer.
405
406%description engine-touche -l pl.UTF-8
407Ten silnik jest używany tylko przez Touché: Przygody Piątego
408Muszkietera.
409
410%package engine-tucker
411Summary: Tucker engine
412Summary(pl.UTF-8): Silnik Tucker
413Group: X11/Applications/Games
414Requires: %{name} = %{version}-%{release}
415
416%description engine-tucker
417The Tucker engine is used in Bud Tucker in Double Trouble.
418
419%description engine-tucker -l pl.UTF-8
420Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
421
422%package theme-classic
423Summary: Theme classic for ScummVM
424Summary(pl.UTF-8): Motyw classic dla ScummVM
425Group: X11/Applications/Games
426Requires: %{name} = %{version}-%{release}
427
428%description theme-classic
429Theme classic for ScummVM.
430
431%description theme-classic -l pl.UTF-8
432Motyw classic dla ScummVM.
433
434%package theme-modern
435Summary: Theme modern for ScummVM
436Summary(pl.UTF-8): Motyw modern dla ScummVM
437Group: X11/Applications/Games
438Requires: %{name} = %{version}-%{release}
439
440%description theme-modern
441Theme modern for ScummVM.
442
443%description theme-modern -l pl.UTF-8
444Motyw 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
466cd 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
477rm -rf $RPM_BUILD_ROOT
478install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
479
480install scummvm $RPM_BUILD_ROOT%{_bindir}
481#install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
482
483install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
484
485%{__make} -C scummvm-tools-%{version_tools} install \
486 DESTDIR=$RPM_BUILD_ROOT%{_bindir}
487
488install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
489install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
490
491install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
492install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
493
494%clean
495rm -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.082904 seconds and 4 git commands to generate.