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