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