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