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