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