]> git.pld-linux.org Git - packages/scummvm.git/blame - scummvm.spec
- subpackage theme-modern (done TODO)
[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.
96
97%description engine-agos -l pl.UTF-8
98Silnik AGOS został stworzony przez Alana Coksa w firmie HorrorSoft,
99bazowany jest na programie AberMUD V z graficznymi rozszerzeniami.
100
101%package engine-cine
102Summary: Cinematique engine
103Summary(pl.UTF-8): Silnik Cinematique
104Group: X11/Applications/Games
105
106%description engine-cine
107Cinematique engine.
108
109%description engine-cine -l pl.UTF-8
110Silnik Cinematique.
111
112%package engine-cruise
113Summary: Cruise engine
114Summary(pl.UTF-8): Silnik Cruise
115Group: X11/Applications/Games
116
117%description engine-cruise
118Cruise engine.
119
120%description engine-cruise -l pl.UTF-8
121Silnik Cruise.
122
123%package engine-gob
124Summary: Gob engine
125Summary(pl.UTF-8): Silnik Gob
126Group: X11/Applications/Games
127
128%description engine-gob
129Engine to run adventure games created by Coktel Vision.
130
131%description engine-gob -l pl.UTF-8
132Silnik do uruchamiania gier stworzonych przez Coktel Vision.
133
134%package engine-kyra
135Summary: Kyrandia engine
136Summary(pl.UTF-8): Silnik Kyrandia
137Group: X11/Applications/Games
138
139%description engine-kyra
140Kyrandia engine.
141
142%description engine-kyra -l pl.UTF-8
143Silnik Kyrandia.
144
145%package engine-lure
146Summary: Lure engine
147Summary(pl.UTF-8): Silnik Lure
148Group: X11/Applications/Games
149
150%description engine-lure
151Lure is the work-in-progress engine for the game Lure of the
152Temptress.
153
154%description engine-lure -l pl.UTF-8
155Lure jest nieskończonym silnikiem dla gry Lure of the Temptress.
156
157%package engine-parallaction
158Summary: Parallaction engine
159Summary(pl.UTF-8): Silnik Parallaction
160Group: X11/Applications/Games
161
162%description engine-parallaction
163Parallaction engine.
164
165%description engine-parallaction -l pl.UTF-8
166Silnik Parallaction.
167
168%package engine-queen
169Summary: Queen engine
170Summary(pl.UTF-8): Silnik Queen
171Group: X11/Applications/Games
172
173%description engine-queen
174The Queen Engine is used to play Interactive Binary Illusions' Flight
175of the Amazon Queen.
176
177%description engine-queen -l pl.UTF-8
178Silnik Queen jest używany do gry w Flight of the Amazon Queen firmy
179Interactive Binary Illusions.
180
181%package engine-saga
182Summary: Scripts for Animated Graphic Adventures
183Summary(pl.UTF-8): Scripts for Animated Graphic Adventures
184Group: X11/Applications/Games
185
186%description engine-saga
187SAGA (Scripts for Animated Graphic Adventures) engine.
188
189%description engine-saga -l pl.UTF-8
190Silnik SAGA (Scripts for Animated Graphic Adventures).
191
192%package engine-scumm
193Summary: Script Creation Utility for Maniac Mansion
194Summary(pl.UTF-8): Script Creation Utility for Maniac Mansion
195Group: X11/Applications/Games
196
197%description engine-scumm
198SCUMM is a utility used to create the famous LucasArts adventure games
199like the Monkey Island series and also gave ScummVM its name.
200
201%description engine-scumm -l pl.UTF-8
202SCUMM jest narzędziem użytym do stworzenia znanych gier przygodowych
203firmy LucasArts takich jak seria Monkey Island, dał również ScummVM
204nazwę.
205
206%package engine-sky
207Summary: Sky engine
208Summary(pl.UTF-8): Silnik Sky
209Group: X11/Applications/Games
210
211%description engine-sky
212Sky is the internal name for the Virtual Theatre variant which runs
213Beneath a Steel Sky.
214
215%description engine-sky -l pl.UTF-8
216Sky jest wewnętrzną nazwą na wariant Virtual Theatre, który uruchamia
217Beneath a Steel Sky.
218
219%package engine-sword1
220Summary: Sword1 engine
221Summary(pl.UTF-8): Silnik Sword1
222Group: X11/Applications/Games
223
224%description engine-sword1
225Sword1 engine.
226
227%description engine-sword1 -l pl.UTF-8
228Silnik Sword1.
229
230%package engine-sword2
231Summary: Sword2 engine
232Summary(pl.UTF-8): Silnik Sword2
233Group: X11/Applications/Games
234
235%description engine-sword2
236Sword2 engine.
237
238%description engine-sword2 -l pl.UTF-8
239Silnik Sword2.
240
241%package engine-touche
242Summary: Touche engine
243Summary(pl.UTF-8): Silnik Touche
244Group: X11/Applications/Games
245
246%description engine-touche
247This engine is only used by Touche: The Adventures of the Fifth
248Musketeer.
249
250%description engine-touche -l pl.UTF-8
251Ten silnik jest używany tylko przez Touché: Przygody Piątego
252Muszkietera.
253
7be96678
SS
254%package theme-modern
255Summary: Theme modern for ScummVM
256Summary(pl.UTF-8): Motyw modern dla ScummVM
257Group: X11/Applications/Games
258
259%description theme-modern
260Theme modern for ScummVM.
261
262%description theme-modern -l pl.UTF-8
263Motyw modern dla ScummVM.
264
68a20b3e 265%prep
406ab8e4 266%setup -q -a 1
7da257dd 267
158a3e17 268sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/posix/posix-provider.cpp
269sed -i -e 's:"plugins/":"%{_libdir}/scummvm/":' backends/plugins/sdl/sdl-provider.cpp
68a20b3e 270
271%build
fcbbee39 272./configure \
158a3e17 273 --prefix=/usr \
b795276d 274 --disable-debug \
aa168718 275 --disable-nasm \
2c8064cc 276 --enable-lure \
158a3e17 277 --enable-cruise \
7da257dd 278 --enable-plugins
fcbbee39 279
65e34ebb 280%{__make} \
ff5e2ece 281 CXX="%{__cxx}" \
7da257dd 282 CXXFLAGS="%{rpmcflags} -DDYNAMIC_MODULES -fpic" \
ff5e2ece 283 LDFLAGS="%{rpmldflags}"
284
158a3e17 285cd scummvm-tools-%{version_tools}
ff5e2ece 286%{__make} \
287 CC="%{__cc}" \
158a3e17 288 CFLAGS="%{rpmcflags} -DUNIX" \
65e34ebb 289 LDFLAGS="%{rpmldflags}"
68a20b3e 290
291%install
292rm -rf $RPM_BUILD_ROOT
6643062f 293install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_pixmapsdir},%{_desktopdir},%{_libdir}/scummvm}
588a139d 294
68a20b3e 295install scummvm $RPM_BUILD_ROOT%{_bindir}
2c8064cc 296#install scummvm.6 $RPM_BUILD_ROOT%{_mandir}/man6
68a20b3e 297
6643062f 298install plugins/lib*.so $RPM_BUILD_ROOT%{_libdir}/scummvm
299
158a3e17 300cd scummvm-tools-%{version_tools}
301install compress_agos $RPM_BUILD_ROOT%{_bindir}
406ab8e4 302install compress_kyra $RPM_BUILD_ROOT%{_bindir}
6643062f 303install compress_queen $RPM_BUILD_ROOT%{_bindir}
304install compress_saga $RPM_BUILD_ROOT%{_bindir}
6643062f 305install compress_scumm_bun $RPM_BUILD_ROOT%{_bindir}
406ab8e4 306install compress_scumm_san $RPM_BUILD_ROOT%{_bindir}
6643062f 307install compress_scumm_sou $RPM_BUILD_ROOT%{_bindir}
6643062f 308install compress_sword1 $RPM_BUILD_ROOT%{_bindir}
309install compress_sword2 $RPM_BUILD_ROOT%{_bindir}
158a3e17 310install compress_touche $RPM_BUILD_ROOT%{_bindir}
311install convert_dxa.sh $RPM_BUILD_ROOT%{_bindir}
6643062f 312install dekyra $RPM_BUILD_ROOT%{_bindir}
313install descumm $RPM_BUILD_ROOT%{_bindir}
314install desword2 $RPM_BUILD_ROOT%{_bindir}
406ab8e4 315install encode_dxa $RPM_BUILD_ROOT%{_bindir}
158a3e17 316install extract_agos $RPM_BUILD_ROOT%{_bindir}
6643062f 317install extract_kyra $RPM_BUILD_ROOT%{_bindir}
318install extract_loom_tg16 $RPM_BUILD_ROOT%{_bindir}
158a3e17 319install extract_mm_apple $RPM_BUILD_ROOT%{_bindir}
6643062f 320install extract_mm_c64 $RPM_BUILD_ROOT%{_bindir}
321install extract_mm_nes $RPM_BUILD_ROOT%{_bindir}
322install extract_scumm_mac $RPM_BUILD_ROOT%{_bindir}
6643062f 323install extract_zak_c64 $RPM_BUILD_ROOT%{_bindir}
ab16910a 324cd -
ff5e2ece 325
796a9394 326install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
158a3e17 327install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
6a16a469 328
7be96678
SS
329install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
330install gui/themes/modern.ini $RPM_BUILD_ROOT%{_datadir}/%{name}
331install gui/themes/modern.zip $RPM_BUILD_ROOT%{_datadir}/%{name}
332
68a20b3e 333%clean
334rm -rf $RPM_BUILD_ROOT
335
336%files
337%defattr(644,root,root,755)
158a3e17 338%doc AUTHORS COPYRIGHT NEWS README TODO
ff5e2ece 339%attr(755,root,root) %{_bindir}/scummvm
158a3e17 340%dir %{_libdir}/scummvm
2c8064cc 341#%{_mandir}/man6/*
6a16a469 342%{_pixmapsdir}/*
3a9426b4 343%{_desktopdir}/*.desktop
7be96678 344%dir %{_datadir}/%{name}
ff5e2ece 345
346%files tools
347%defattr(644,root,root,755)
158a3e17 348%doc scummvm-tools-%{version_tools}/README
ab16910a 349%attr(755,root,root) %{_bindir}/*
350%exclude %{_bindir}/scummvm
158a3e17 351
352%files engine-agi
353%defattr(644,root,root,755)
354%dir %{_libdir}/scummvm/libagi.so
355
356%files engine-agos
357%defattr(644,root,root,755)
358%dir %{_libdir}/scummvm/libagos.so
359
360%files engine-cine
361%defattr(644,root,root,755)
362%dir %{_libdir}/scummvm/libcine.so
363
364%files engine-cruise
365%defattr(644,root,root,755)
366%dir %{_libdir}/scummvm/libcruise.so
367
368%files engine-gob
369%defattr(644,root,root,755)
370%dir %{_libdir}/scummvm/libgob.so
371
372%files engine-kyra
373%defattr(644,root,root,755)
374%dir %{_libdir}/scummvm/libkyra.so
375
376%files engine-lure
377%defattr(644,root,root,755)
378%dir %{_libdir}/scummvm/liblure.so
379
380%files engine-parallaction
381%defattr(644,root,root,755)
382%dir %{_libdir}/scummvm/libparallaction.so
383
384%files engine-queen
385%defattr(644,root,root,755)
386%dir %{_libdir}/scummvm/libqueen.so
387
388%files engine-saga
389%defattr(644,root,root,755)
390%dir %{_libdir}/scummvm/libsaga.so
391
392%files engine-scumm
393%defattr(644,root,root,755)
394%dir %{_libdir}/scummvm/libscumm.so
395
396%files engine-sky
397%defattr(644,root,root,755)
398%dir %{_libdir}/scummvm/libsky.so
399
400%files engine-sword1
401%defattr(644,root,root,755)
402%dir %{_libdir}/scummvm/libsword1.so
403
404%files engine-sword2
405%defattr(644,root,root,755)
406%dir %{_libdir}/scummvm/libsword2.so
407
408%files engine-touche
409%defattr(644,root,root,755)
410%dir %{_libdir}/scummvm/libtouche.so
7be96678
SS
411
412%files theme-modern
413%defattr(644,root,root,755)
414%{_datadir}/%{name}/modern.*
This page took 0.095203 seconds and 4 git commands to generate.