]> git.pld-linux.org Git - packages/scummvm.git/blame - scummvm.spec
- up to 1.1.0
[packages/scummvm.git] / scummvm.spec
CommitLineData
e47e54c3 1%define version_tools 1.1.0
158a3e17 2Summary: Graphic adventure game interpreter
3Summary(pl.UTF-8): Interpreter gier przygodowych
68a20b3e 4Name: scummvm
e47e54c3 5Version: 1.1.0
46065ef6 6Release: 1
68a20b3e 7License: GPL
8Group: X11/Applications/Games
46065ef6 9Source0: http://dl.sourceforge.net/scummvm/%{name}-%{version}.tar.bz2
e47e54c3 10# Source0-md5: 6793c3fe801d4fcd3d5b4fc2c27d0e9e
1d088b62 11Source1: http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz2
e47e54c3 12# Source1-md5: d89ba46b7395671181333f29d963057f
6a16a469 13Source2: %{name}.desktop
7545cdd1 14Patch0: %{name}-wx-config.patch
158a3e17 15URL: http://scummvm.org/
aa168718 16BuildRequires: SDL-devel >= 1.2.2
949e7817
JR
17BuildRequires: alsa-lib-devel >= 0.9
18BuildRequires: flac-devel >= 1.0.1
19966249 19%ifarch %{ix86} %{x8664}
6643062f 20BuildRequires: fluidsynth-devel
19966249 21%endif
e47e54c3 22BuildRequires: freetype-devel
7a1703db 23BuildRequires: libmad-devel
a7959bdf 24BuildRequires: libpng-devel
fcbbee39 25BuildRequires: libvorbis-devel
949e7817 26BuildRequires: libmpeg2-devel >= 0.3.2
aa168718 27%ifarch %{ix86}
949e7817 28BuildRequires: nasm
aa168718 29%endif
949e7817
JR
30BuildRequires: wxGTK2-unicode-devel
31BuildRequires: wxWidgets-devel
32BuildRequires: zlib-devel
e8018721 33BuildRequires: sed >= 4.0
fcbbee39 34BuildRequires: zlib-devel
68a20b3e 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
36e3c4ce
ER
37%define specflags_sparc -fPIC
38
68a20b3e 39%description
158a3e17 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!
65e34ebb 45
158a3e17 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.
68a20b3e 54
ef2767c3 55%description -l pl.UTF-8
158a3e17 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.
65e34ebb 61
158a3e17 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.
68a20b3e 70
ff5e2ece 71%package tools
11d19d1a 72Summary: ScummVM tools
92130a49 73Summary(pl.UTF-8): Narzędzia związane ze ScummVM
ff5e2ece 74Group: X11/Applications/Games
75
76%description tools
11d19d1a 77Collection of various tools that may be useful to use in conjunction
78with ScummVM.
ff5e2ece 79
ef2767c3
JR
80%description tools -l pl.UTF-8
81Zestaw narzędzi mogących być użytecznymi w połączeniu ze ScummVM.
ff5e2ece 82
158a3e17 83%package engine-agi
84Summary: Adventure Game Interpreter
85Summary(pl.UTF-8): Adventure Game Interpreter
86Group: X11/Applications/Games
87
88%description engine-agi
89The AGI (Adventure Game Interpreter) engine was used by Sierra in
90their early adventure games.
91
92%description engine-agi -l pl.UTF-8
93Silnik AGI (Adventure Game Interpreter) był używany przez firmę
94Sierra w jej wczesnych grach przygodowych.
95
96%package engine-agos
97Summary: AGOS engine
98Summary(pl.UTF-8): Silnik AGOS
99Group: X11/Applications/Games
100
101%description engine-agos
102The AGOS Engine was originally created by Alan Cox at HorrorSoft and
103is based on AberMUD V, with graphical extensions.
20cef33a
SS
104Required for following games:
105- Elvira
106- Elvira 2
107- Waxworks
108- Simon the Sorcerer
109- Simon the Sorcerer 2
110- The Feeble Files
158a3e17 111
112%description engine-agos -l pl.UTF-8
113Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
114bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
20cef33a
SS
115Uż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
158a3e17 122
123%package engine-cine
124Summary: Cinematique engine
125Summary(pl.UTF-8): Silnik Cinematique
126Group: X11/Applications/Games
127
128%description engine-cine
129Cinematique engine.
130
131%description engine-cine -l pl.UTF-8
132Silnik Cinematique.
133
134%package engine-cruise
135Summary: Cruise engine
136Summary(pl.UTF-8): Silnik Cruise
137Group: X11/Applications/Games
138
139%description engine-cruise
140Cruise engine.
141
142%description engine-cruise -l pl.UTF-8
143Silnik Cruise.
144
e47e54c3
JR
145%package engine-draci
146Summary: Draci engine
147Summary(pl.UTF-8): Silnik Draci
148Group: X11/Applications/Games
149
150%description engine-draci
151Draci engine.
152
153%description engine-draci -l pl.UTF-8
154Silnik Draci.
155
2f540fcb 156%package engine-drascula
157Summary: Drascula engine
158Summary(pl.UTF-8): Silnik Drascula
159Group: X11/Applications/Games
160
161%description engine-drascula
162Drascula engine.
163
164%description engine-drascula -l pl.UTF-8
165Silnik Drascula.
166
158a3e17 167%package engine-gob
168Summary: Gob engine
169Summary(pl.UTF-8): Silnik Gob
170Group: X11/Applications/Games
171
172%description engine-gob
173Engine to run adventure games created by Coktel Vision.
174
175%description engine-gob -l pl.UTF-8
176Silnik do uruchamiania gier stworzonych przez Coktel Vision.
177
949e7817
JR
178%package engine-groovie
179Summary: Groovie engine
180Summary(pl.UTF-8): Silnik Groovie
181Group: X11/Applications/Games
182
183%description engine-groovie
184Engine to run adventure games created by Trilobyte or
185Aftermath Media (The 7th Guest, The 11th Hour).
186
187%description engine-groovie -l pl.UTF-8
188Silnik do uruchamiania gier stworzonych przez Trilobyte
189i Aftermath Media (The 7th Guest, The 11th Hour).
190
158a3e17 191%package engine-kyra
192Summary: Kyrandia engine
193Summary(pl.UTF-8): Silnik Kyrandia
194Group: X11/Applications/Games
195
196%description engine-kyra
197Kyrandia engine.
198
199%description engine-kyra -l pl.UTF-8
200Silnik Kyrandia.
201
202%package engine-lure
203Summary: Lure engine
204Summary(pl.UTF-8): Silnik Lure
205Group: X11/Applications/Games
206
207%description engine-lure
949e7817 208Lure is the engine for the game Lure of the Temptress.
158a3e17 209
210%description engine-lure -l pl.UTF-8
949e7817
JR
211Lure jest silnikiem dla gry Lure of the Temptress.
212
213%package engine-m4
bb5d3e3a
JR
214Summary: M4/MADS engine
215Summary(pl.UTF-8): Silnik M4/MADS
949e7817
JR
216Group: X11/Applications/Games
217
218%description engine-m4
219MADS stands for the MicroProse Adventure Development System,
220used in the three adventure games they made. It was later sold
221to Sanctuary Woods, who continued development on it and named
222it M4 (MADS version 4 perhaps) and released two more games.
223
224%description engine-m4 -l pl.UTF-8
225MADS to MicroProse Adventure Development System, używany jest
226w trzech grach stworzonych przez MicroProse. Został sprzedany
227do Sanctuary Woods i dalej rozwijany jako M4.
228
229%package engine-made
230Summary: MADE engine
231Summary(pl.UTF-8): Silnik MADE
232Group: X11/Applications/Games
233
234%description engine-made
235MADE stands for Multimedia Applications Development Environment,
236and was used by Activision to create some of their point'n'click
237adventure games.
238
239%description engine-made -l pl.UTF-8
240MADE to Multimedia Applications Development Environment,
241był używany przez Activision w grach przygodowych.
158a3e17 242
e47e54c3
JR
243%package engine-mohawk
244Summary: Mohawk engine
245Summary(pl.UTF-8): Silnik Mohawk
246Group: X11/Applications/Games
247
248%description engine-mohawk
249The Mohawk engine was developed by Brøderbund starting
250in the early 1990's with the Windows port of Myst.
251
252%description engine-mohawk -l pl.UTF-8
253Silnik Mohawk został stworzony przez Brøderbund we wczesnych
254latach 90-ych, na potrzeby gry Myst.
255
158a3e17 256%package engine-parallaction
257Summary: Parallaction engine
258Summary(pl.UTF-8): Silnik Parallaction
259Group: X11/Applications/Games
260
261%description engine-parallaction
262Parallaction engine.
263
264%description engine-parallaction -l pl.UTF-8
265Silnik Parallaction.
266
267%package engine-queen
268Summary: Queen engine
269Summary(pl.UTF-8): Silnik Queen
270Group: X11/Applications/Games
271
272%description engine-queen
273The Queen Engine is used to play Interactive Binary Illusions' Flight
274of the Amazon Queen.
275
276%description engine-queen -l pl.UTF-8
277Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
278Interactive Binary Illusions.
279
280%package engine-saga
281Summary: Scripts for Animated Graphic Adventures
282Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
283Group: X11/Applications/Games
284
285%description engine-saga
286SAGA (Scripts for Animated Graphic Adventures) engine.
287
288%description engine-saga -l pl.UTF-8
289Silnik SAGA (Scripts for Animated Graphic Adventures).
290
949e7817
JR
291%package engine-sci
292Summary: Sierra's "SCript Interpreter"
293Summary(pl.UTF-8): SCript Interpreter Sierry
294Group: X11/Applications/Games
295
296%description engine-sci
297Sierra's "SCript Interpreter" and the "Sierra's Creative Interpreter.
298
299%description engine-sci -l pl.UTF-8
300SCript Interpreter Sierry.
301
158a3e17 302%package engine-scumm
303Summary: Script Creation Utility for Maniac Mansion
304Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
305Group: X11/Applications/Games
306
307%description engine-scumm
308SCUMM is a utility used to create the famous LucasArts adventure games
309like the Monkey Island series and also gave ScummVM its name.
310
311%description engine-scumm -l pl.UTF-8
312SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
313firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
314nazwę.
315
316%package engine-sky
317Summary: Sky engine
318Summary(pl.UTF-8): Silnik Sky
319Group: X11/Applications/Games
320
321%description engine-sky
322Sky is the internal name for the Virtual Theatre variant which runs
323Beneath a Steel Sky.
324
325%description engine-sky -l pl.UTF-8
326Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
327Beneath a Steel Sky.
328
329%package engine-sword1
330Summary: Sword1 engine
331Summary(pl.UTF-8): Silnik Sword1
332Group: X11/Applications/Games
333
334%description engine-sword1
335Sword1 engine.
336
337%description engine-sword1 -l pl.UTF-8
338Silnik Sword1.
339
340%package engine-sword2
341Summary: Sword2 engine
342Summary(pl.UTF-8): Silnik Sword2
343Group: X11/Applications/Games
344
345%description engine-sword2
346Sword2 engine.
347
348%description engine-sword2 -l pl.UTF-8
349Silnik Sword2.
350
e47e54c3
JR
351%package engine-teenagent
352Summary: TeenAgent engine
353Summary(pl.UTF-8): Silnik TeenAgent
354Group: X11/Applications/Games
355
356%description engine-teenagent
357This engine is only used by TeenAgent.
358
359%description engine-teenagent -l pl.UTF-8
360Ten silnik jest używany tylko przez TeenAgenta.
361
949e7817
JR
362%package engine-tinsel
363Summary: Tinsel engine
364Summary(pl.UTF-8): Silnik Tinsel
365Group: X11/Applications/Games
366
367%description engine-tinsel
368This engine is only used by Discworld 1 and Discworld 2.
949e7817
JR
369
370%description engine-tinsel -l pl.UTF-8
371Ten silnik jest używany tylko przez Discworld 1 i Discworld 2.
372
158a3e17 373%package engine-touche
374Summary: Touche engine
375Summary(pl.UTF-8): Silnik Touche
376Group: X11/Applications/Games
377
378%description engine-touche
379This engine is only used by Touche: The Adventures of the Fifth
380Musketeer.
381
382%description engine-touche -l pl.UTF-8
383Ten silnik jest używany tylko przez Touché: Przygody Piątego
384Muszkietera.
385
949e7817
JR
386%package engine-tucker
387Summary: Tucker engine
388Summary(pl.UTF-8): Silnik Tucker
389Group: X11/Applications/Games
390
391%description engine-tucker
392The Tucker engine is used in Bud Tucker in Double Trouble.
393
394%description engine-tucker -l pl.UTF-8
395Silnik Tucker jest używany przez Bud Tucker in Double Trouble.
396
397%package theme-classic
398Summary: Theme classic for ScummVM
399Summary(pl.UTF-8): Motyw classic dla ScummVM
400Group: X11/Applications/Games
401
402%description theme-classic
403Theme classic for ScummVM.
404
405%description theme-classic -l pl.UTF-8
406Motyw classic dla ScummVM.
407
7be96678
SS
408%package theme-modern
409Summary: Theme modern for ScummVM
410Summary(pl.UTF-8): Motyw modern dla ScummVM
411Group: X11/Applications/Games
412
413%description theme-modern
414Theme modern for ScummVM.
415
416%description theme-modern -l pl.UTF-8
417Motyw modern dla ScummVM.
418
68a20b3e 419%prep
46065ef6 420%setup -q -a 1
7545cdd1 421%patch0 -p1
7da257dd 422
949e7817 423%{__sed} -i -e 's:"plugins":"%{_libdir}/scummvm":' base/plugins.cpp
68a20b3e 424
425%build
fcbbee39 426./configure \
158a3e17 427 --prefix=/usr \
b795276d 428 --disable-debug \
949e7817
JR
429 --enable-mpeg2 \
430 --enable-all-engines \
7545cdd1
AG
431 --enable-plugins \
432 --default-dynamic
fcbbee39 433
65e34ebb 434%{__make} \
ff5e2ece 435 CXX="%{__cxx}" \
a7959bdf 436 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DDYNAMIC_MODULES -fpic $(wx-gtk2-unicode-config --cppflags)" \
437 LDFLAGS="%{rpmcflags} %{rpmldflags}"
ff5e2ece 438
158a3e17 439cd scummvm-tools-%{version_tools}
e47e54c3
JR
440./configure \
441 --prefix=/usr \
442 --disable-debug
443
ff5e2ece 444%{__make} \
7545cdd1 445 CXX="%{__cxx}" \
a7959bdf 446 CXXFLAGS="%{rpmcppflags} %{rpmcflags} -DUNIX $(wx-gtk2-unicode-config --cppflags)" \
447 LDFLAGS="%{rpmcflags} %{rpmldflags} $(wx-gtk2-unicode-config --libs)"
68a20b3e 448
449%install
450rm -rf $RPM_BUILD_ROOT
6643062f 451install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
588a139d 452
68a20b3e 453install scummvm $RPM_BUILD_ROOT%{_bindir}
2c8064cc 454#install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
68a20b3e 455
6643062f 456install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
457
e47e54c3
JR
458%{__make} -C scummvm-tools-%{version_tools} install \
459 DESTDIR=$RPM_BUILD_ROOT%{_bindir}
ff5e2ece 460
796a9394 461install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
158a3e17 462install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
6a16a469 463
7be96678 464install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
949e7817 465install gui/themes/*.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
7be96678 466
68a20b3e 467%clean
468rm -rf $RPM_BUILD_ROOT
469
470%files
471%defattr(644,root,root,755)
158a3e17 472%doc AUTHORS COPYRIGHT NEWS README TODO
ff5e2ece 473%attr(755,root,root) %{_bindir}/scummvm
158a3e17 474%dir %{_libdir}/scummvm
2c8064cc 475#%{_mandir}/man6/*
6a16a469 476%{_pixmapsdir}/*
3a9426b4 477%{_desktopdir}/*.desktop
7be96678 478%dir %{_datadir}/%{name}
ff5e2ece 479
480%files tools
481%defattr(644,root,root,755)
158a3e17 482%doc scummvm-tools-%{version_tools}/README
ab16910a 483%attr(755,root,root) %{_bindir}/*
484%exclude %{_bindir}/scummvm
158a3e17 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
e47e54c3
JR
502%files engine-draci
503%defattr(644,root,root,755)
504%dir %{_libdir}/scummvm/libdraci.so
505
2f540fcb 506%files engine-drascula
507%defattr(644,root,root,755)
508%dir %{_libdir}/scummvm/libdrascula.so
509
158a3e17 510%files engine-gob
511%defattr(644,root,root,755)
512%dir %{_libdir}/scummvm/libgob.so
513
949e7817
JR
514%files engine-groovie
515%defattr(644,root,root,755)
516%dir %{_libdir}/scummvm/libgroovie.so
517
158a3e17 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
949e7817
JR
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
e47e54c3
JR
534%files engine-mohawk
535%defattr(644,root,root,755)
536%dir %{_libdir}/scummvm/libmohawk.so
537
158a3e17 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
949e7817
JR
550%files engine-sci
551%defattr(644,root,root,755)
552%dir %{_libdir}/scummvm/libsci.so
553
158a3e17 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
e47e54c3
JR
570%files engine-teenagent
571%defattr(644,root,root,755)
572%dir %{_libdir}/scummvm/libteenagent.so
573
949e7817
JR
574%files engine-tinsel
575%defattr(644,root,root,755)
576%dir %{_libdir}/scummvm/libtinsel.so
577
158a3e17 578%files engine-touche
579%defattr(644,root,root,755)
580%dir %{_libdir}/scummvm/libtouche.so
7be96678 581
949e7817
JR
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
7be96678
SS
590%files theme-modern
591%defattr(644,root,root,755)
949e7817 592%{_datadir}/%{name}/scummmodern.*
This page took 0.139445 seconds and 4 git commands to generate.