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