]> git.pld-linux.org Git - packages/quakeforge.git/blob - quakeforge.spec
- quakeforge-svga obsoletes quakeforge-svgalib
[packages/quakeforge.git] / quakeforge.spec
1 #
2 # Conditional build:
3 # _without_alsa - without ALSA
4 # _without_svga - without SVGAlib support
5 #
6 %ifarch sparc sparcv9 sparc64
7 %define                 _without_alsa   1
8 %endif
9
10 %ifnarch %{ix86} alpha
11 %define                 _without_svga   1
12 %endif
13
14 Summary:        3D game engine based on id Software's Quake engine
15 Summary(pl):    Silnik gry 3D bazuj±cy na silniku Quake id Software
16 Name:           quakeforge
17 Version:        0.5.1.20020822
18 Release:        2
19 License:        GPL
20 Group:          Applications/Games
21 # From http://www.quakeforge.net/files/quakeforge-current.tar.bz2
22 Source0:        %{name}-%{version}.tar.bz2
23 Source1:        %{name}.png
24 Source2:        %{name}-servers.tgz
25 URL:            http://www.%{name}.net/
26 BuildRequires:  OpenGL-devel
27 BuildRequires:  SDL-devel
28 BuildRequires:  XFree86-devel
29 BuildRequires:  autoconf
30 BuildRequires:  automake >= 1.6
31 %{!?_without_alsa:BuildRequires: alsa-lib-devel}
32 BuildRequires:  nas-devel
33 %{!?_without_svga:BuildRequires: svgalib-devel}
34 BuildRequires:  texinfo
35 BuildRequires:  xmms-devel
36 BuildRequires:  zlib-devel
37 Requires:       OpenGL
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
41 %define         _xbindir        /usr/X11R6/bin
42
43 %description
44 QuakeForge is a source port of Quake and QuakeWorld, the successors to
45 id Software's very popular DOOM series. Its primary development goal
46 is to remain compatible with the original games released by id
47 Software while adding portability and optional extensions to enhance
48 gameplay.
49
50 %description -l pl
51 QuakeForge jest portem ¼róde³ gier Quake i QuakeWorld - sukcesorów
52 bardzo popularnej serii DOOM firmy id Software. Podstawowym celem
53 projektu jest zachowanie zgodno¶ci z oryginalnymi odpowiednikami
54 tych¿e gier przy jednoczesnym dodaniu opcjonalnych rozszerzeñ
55 s³u¿±cych podniesieniu jako¶ci zabawy.
56
57 %package devel
58 Summary:        QuakeForge - headers and devel libs
59 Summary(pl):    QuakeForge - pliki nag³ówkowe
60 Group:          Applications/Games
61 Requires:       %{name} = %{version}
62
63 %description devel
64 QuakeForge - headers and devel libs
65
66 %description devel -l pl
67 QuakeForge - pliki nag³ówkowe
68
69 %package static
70 Summary:        QuakeForge 3D game engine - static libraries
71 Summary(pl):    Silnik gry 3D QuakeForge - biblioteki statyczne
72 Group:          Applications/Games
73 Requires:       %{name}-devel = %{version}
74
75 %description static
76 QuakeForge 3D game engine - static libraries
77
78 %description static -l pl
79 Silnik gry 3D QuakeForge - biblioteki statyczne
80
81 %package servers
82 Summary:        QuakeForge Servers
83 Summary(pl):    Serwery QuakeForge
84 Group:          Applications/Games
85 Requires:       %{name} = %{version}
86
87 %description servers
88 QuakeForge Servers.
89
90 %description servers -l pl
91 Serwery QuakeForge.
92
93 %package utils
94 Summary:        QuakeForge - utility programs
95 Summary(pl):    QuakeForge - programy narzêdziowe
96 Group:          Applications/Games
97 Requires:       %{name} = %{version}
98
99 %description utils
100 QuakeForge - utility programs.
101
102 %description utils -l pl
103 QuakeForge - programy narzêdziowe.
104
105 %package 3dfx
106 Summary:        QuakeForge client for 3dfx
107 Summary(pl):    Klient QuakeForge pod 3dfx
108 Group:          Applications/Games
109 Requires:       %{name}-libs-gl = %{version}
110
111 %description 3dfx
112 Quakeforge client for 3dfx device.
113
114 %description 3dfx -l pl
115 Klient QuakeForge pod 3dfx.
116
117 %package fbdev
118 Summary:        QuakeForge client for fbdev
119 Summary(pl):    Klient QuakeForge pod fbdev
120 Group:          Applications/Games
121 Requires:       %{name}-libs-sw = %{version}
122
123 %description fbdev
124 Quakeforge client for framebuffer device.
125
126 %description fbdev -l pl
127 Klient QuakeForge pod framebuffer.
128
129 %package glx
130 Summary:        QuakeForge glx client
131 Summary(pl):    Klient QuakeForge glx
132 Group:          Applications/Games
133 Requires:       %{name}-libs-gl = %{version}
134
135 %description  glx
136 Quakeforge client for X Window that uses OpenGL through GLX extension.
137
138 %description glx -l pl
139 Klient QuakeForge pod X Window u¿ywaj±cy OpenGL poprzez rozszerzenie
140 GLX.
141
142 %package sdl
143 Summary:        QuakeForge client for SDL with 8-bit color
144 Summary(pl):    Klient QuakeForge pod SDL z 8-bitowym kolorem
145 Group:          Applications/Games
146 Requires:       %{name}-libs-sw = %{version}
147
148 %description  sdl
149 Quakeforge client for SDL with 8-bit color.
150
151 %description sdl -l pl
152 Klient QuakeForge pod SDL z 8-bitowym kolorem.
153
154 %package sdl32
155 Summary:        QuakeForge client for SDL with various color depths support
156 Summary(pl):    Klient QuakeForge pod SDL z obs³ug± ró¿nych g³êbi kolorów
157 Group:          Applications/Games
158 Requires:       %{name}-libs-sw = %{version}
159
160 %description sdl32
161 Quakeforge client for SDL with various color depths support (8, 16,
162 32-bit).
163
164 %description sdl32 -l pl
165 Klient QuakeForge pod SDL z obs³ug± ró¿nych g³êbi kolorów (8, 16 i
166 32-bitowej).
167
168 %package sgl
169 Summary:        QuakeForge client for SDL with GL
170 Summary:        Klient QuakeForge pod SDL z obs³ug± GL
171 Group:          Applications/Games
172 Requires:       %{name}-libs-gl = %{version}
173
174 %description sgl
175 QuakeForge client for SDL that uses OpenGL through SDL.
176
177 %description sgl -l pl
178 Klient QuakeForge pod SDL, u¿ywaj±cy OpenGL za po¶rednictwem SDL.
179
180 %package svga
181 Summary:        QuakeForge client for svgalib
182 Summary(pl):    Klient QuakeForge pod svgalib
183 Group:          Applications/Games
184 Requires:       %{name}-libs-sw = %{version}
185 Obsoletes:      %{name}-svgalib
186
187 %description  svga
188 Quakeforge client for svgalib.
189
190 %description svga -l pl
191 Klient QuakeForge pod svgalib.
192
193 %package x11
194 Summary:        QuakeForge client for x11
195 Summary(pl):    Klient QuakeForge pod x11
196 Group:          Applications/Games
197 Requires:       %{name}-libs-sw = %{version}
198
199 %description x11
200 Quakeforge client for x11.
201
202 %description x11 -l pl
203 Klient QuakeForge pod x11.
204
205 %package cd-linux
206 Summary:        QuakeForge - Linux CD plugin
207 Summary(pl):    QuakeForge - wtyczka CD dla Linuksa
208 Group:          Applications/Games
209 Requires:       %{name} = %{version}
210
211 %description cd-linux
212 QuakeForge - native Linux CD plugin.
213
214 %description cd-linux -l pl
215 QuakeForge - wtyczka CD u¿ywaj±ca mechanizmów charakterystycznych dla
216 Linuksa.
217
218 %package cd-sdl
219 Summary:        QuakeForge - SDL CD plugin
220 Summary(pl):    QuakeForge - wtyczka CD dla SDL
221 Group:          Applications/Games
222 Requires:       %{name} = %{version}
223
224 %description cd-sdl
225 QuakeForge - CD plugin that uses SDL to access drive.
226
227 %description cd-sdl -l pl
228 QuakeForge - wtyczka CD odwo³uj±ca siê do odtwarzacza poprzez SDL.
229
230 %package cd-xmms
231 Summary:        QuakeForge - xmms CD plugin
232 Summary(pl):    QuakeForge - wtyczka CD dla xmms
233 Group:          Applications/Games
234 Requires:       %{name} = %{version}
235
236 %description cd-xmms
237 QuakeForge - CD plugin that uses xmms to access drive.
238
239 %description cd-xmms -l pl
240 QuakeForge - wtyczka CD odwo³uj±ca siê do odtwarzacza poprzez xmms.
241
242 %package libs-gl
243 Summary:        QuakeForge - OpenGL renderer libraries
244 Summary(pl):    QuakeForge - biblioteki renderujace OpenGL
245 Group:          Applications/Games
246 Requires:       %{name} = %{version}
247 Requires:       OpenGL
248
249 %description libs-gl
250 QuakeForge - OpenGL renderer libraries.
251
252 %description libs-gl -l pl
253 QuakeForge - biblioteki renderuj±ce z u¿yciem OpenGL.
254
255 %package libs-sw
256 Summary:        QuakeForge - Software renderer libraries
257 Summary(pl):    QuakeForge - biblioteki do renderowania programowego
258 Group:          Applications/Games
259 Requires:       %{name} = %{version}
260
261 %description libs-sw
262 QuakeForge - Software renderer libraries.
263
264 %description libs-sw -l pl
265 QuakeForge - biblioteki do renderowania programowego.
266
267 %package snd-alsa
268 Summary:        ALSA sound plugin for QuakeForge
269 Summary(pl):    Wtyczka d¼wiêkowa ALSA dla QuakeForge
270 Group:          Applications/Games
271 Requires:       %{name} = %{version}
272
273 %description snd-alsa
274 The ALSA plugin for QuakeForge provides digital audio output for
275 QuakeForge targets that contain clients.
276
277 %description snd-alsa -l pl
278 Wtyczka ALSA dla QuakeForge udostêpnia cyfrowe wyj¶cie d¼wiêku dla
279 klientów gry.
280
281 %package snd-oss
282 Summary:        OSS sound plugin for QuakeForge
283 Summary(pl):    Wtyczka d¼wiêkowa OSS dla QuakeForge
284 Group:          Applications/Games
285 Requires:       %{name} = %{version}
286
287 %description snd-oss
288 The OSS plugin for QuakeForge provides digital audio output (using
289 OSS/Linux, OSS/Free, or kernel sound) for QuakeForge targets that
290 contain clients.
291
292 NOTE: This plugin does not work on all systems, since it uses
293 memory-mapped I/O for the output device. If you have trouble, try the
294 %{name}-snd-alsa package.
295
296 %description snd-oss -l pl
297 Wtyczka OSS dla QuakeForge udostêpnia cyfrowe wyj¶cie d¼wieku
298 (u¿ywaj±ce OSS/Linux, OSS/Free lub obs³ugi d¼wiêku wkompilowanej w
299 kernel) dla klientów gry.
300
301 UWAGA: Ta wtyczka nie dzia³a na wszystkich systemach, gdy uzywaj± one
302 mapowanego w pamiêci I/O dla urz±dzenia wyj¶ciowego. Je¶li masz z ni±
303 k³opoty - spróbuj u¿yæ pakietu %{name}-snd-alsa.
304
305 %package snd-sdl
306 Summary:        SDL sound plugin for QuakeForge
307 Summary(pl):    Wtyczka d¼wiêkowa SDL dla QuakeForge
308 Group:          Applications/Games
309 Requires:       %{name} = %{version}
310
311 %description snd-sdl
312 The SDL plugin for QuakeForge provides digital audio output for
313 QuakeForge targets that contain clients.
314
315 %description snd-sdl -l pl
316 Wtyczka SDL dla QuakeForge udostêpnia cyfrowe wyj¶cie d¼wiêku dla
317 klientów gry.
318
319 %prep
320 %setup -q -n %{name}
321
322 %build
323 aclocal
324 autoheader
325 %{__libtoolize} --automake
326 %{__automake}
327 %{__autoconf}
328 %configure \
329         --with-x \
330         --enable-vidmode \
331         --enable-dga \
332         --with-plugin-path=%{_libdir}/%{name} \
333         --with-user-cfg="~/.%{name}/%{name}.conf" \
334         %{?_without_alsa:--disable-alsa} \
335         %{?_without_svga:--without-svga}
336
337 %{__make}
338
339 %install
340 rm -rf $RPM_BUILD_ROOT
341 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_datadir}/games/%{name}/qw} \
342         $RPM_BUILD_ROOT{%{_xbindir},%{_pixmapsdir},%{_applnkdir}/Games}
343
344 %{__make} install DESTDIR=$RPM_BUILD_ROOT
345
346 mv $RPM_BUILD_ROOT%{_bindir}/{*3dfx,*glx,*sdl*,*sgl,*x11} $RPM_BUILD_ROOT%{_xbindir}
347
348 install  %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
349 cp RPM/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
350
351 cd $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
352 tar zxfv %{SOURCE2}
353 cd -
354
355 qfver="3dfx glx sdl sdl32 sgl x11"
356
357 for f in $qfver; do
358         desktopfile="$RPM_BUILD_ROOT%{_applnkdir}/Games/qw-client-$f.desktop"
359         echo "[Desktop Entry]\nName=QuakeWorld ($f)\nExec=qw-client-$f \
360         \nIcon=%{name}.png\nTerminal=0\nType=Application" > $desktopfile
361
362         desktopfile="$RPM_BUILD_ROOT%{_applnkdir}/Games/nq-$f.desktop"
363         echo "[Desktop Entry]\nName=Quake ($f)\nExec=nq-$f \
364         \nIcon=%{name}.png\nTerminal=0\nType=Application" > $desktopfile
365 done
366
367 mv doc/man/%{name}* $RPM_BUILD_ROOT%{_mandir}/man1
368 rm -rf doc/{CVS,Makefile*,man,config/{CVS,gib/CVS},data/{CVS,docs/CVS},ideas/CVS}
369
370 %clean
371 rm -rf $RPM_BUILD_ROOT
372
373 %post servers
374 /sbin/chkconfig --add qw-serverd
375 if [ -f /var/lock/subsys/qw-serverd ]; then
376         /etc/rc.d/init.d/qw-serverd restart 1>&2
377 else
378         echo "Run \"/etc/rc.d/init.d/qw-serverd start\" to start QuakeWorld Server."
379 fi
380 /sbin/chkconfig --add nq-serverd
381 if [ -f /var/lock/subsys/nq-serverd ]; then
382         /etc/rc.d/init.d/nq-serverd restart 1>&2
383 else
384         echo "Run \"/etc/rc.d/init.d/nq-serverd start\" to start NQuake Server."
385 fi
386 /sbin/chkconfig --add qw-masterd
387 if [ -f /var/lock/subsys/qw-masterd ]; then
388         /etc/rc.d/init.d/qw-masterd restart 1>&2
389 else
390         echo "Run \"/etc/rc.d/init.d/qw-masterd start\" to start QuakeWorld Master."
391 fi
392
393 %preun servers
394 if [ "$1" = "0" ]; then
395         if [ -f /var/lock/subsys/qw-serverd ]; then
396                 /etc/rc.d/init.d/qw-serverd stop 1>&2
397         fi
398         /sbin/chkconfig --del qw-serverd
399 fi
400 if [ "$1" = "0" ]; then
401         if [ -f /var/lock/subsys/nq-serverd ]; then
402                 /etc/rc.d/init.d/nq-serverd stop 1>&2
403         fi
404         /sbin/chkconfig --del nq-serverd
405 fi
406 if [ "$1" = "0" ]; then
407         if [ -f /var/lock/subsys/qw-masterd ]; then
408                 /etc/rc.d/init.d/qw-masterd stop 1>&2
409         fi
410         /sbin/chkconfig --del qw-masterd
411 fi
412
413 %files
414 %defattr(644,root,root,755)
415 %doc NEWS TODO ChangeLog doc/*
416 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf
417 %attr(755,root,root) %{_libdir}/libQFcd.so.*
418 %attr(755,root,root) %{_libdir}/libQFconsole.so.*
419 %attr(755,root,root) %{_libdir}/libQFcsqc.so.*
420 %attr(755,root,root) %{_libdir}/libQFgamecode.so.*
421 %attr(755,root,root) %{_libdir}/libQFgamecode_builtins.so.*
422 %attr(755,root,root) %{_libdir}/libQFjs.so.*
423 %attr(755,root,root) %{_libdir}/libQFmodels.so.*
424 %attr(755,root,root) %{_libdir}/libQFsound.so.*
425 %attr(755,root,root) %{_libdir}/libQFutil.so.*
426 %dir %{_libdir}/%{name}
427 %attr(755,root,root) %{_libdir}/%{name}/cd_null.so*
428 %attr(755,root,root) %{_libdir}/%{name}/console_client.so*
429 %attr(755,root,root) %{_libdir}/%{name}/snd_output_disk.so*
430 %attr(755,root,root) %{_libdir}/%{name}/snd_output_null.so*
431 %attr(755,root,root) %{_libdir}/%{name}/snd_render_default.so*
432 %dir %{_datadir}/games/%{name}
433 %dir %{_datadir}/games/%{name}/id1
434 %{_datadir}/games/%{name}/id1/game.dat*
435 %{_datadir}/games/%{name}/id1/menu.dat*
436 %dir %{_datadir}/games/%{name}/qw
437 %{_pixmapsdir}/%{name}.png
438 %{_mandir}/man1/%{name}.1*
439
440 %files devel
441 %defattr(644,root,root,755)
442 %attr(755,root,root) %{_bindir}/qfcc
443 %attr(755,root,root) %{_libdir}/libQFcd.so
444 %attr(755,root,root) %{_libdir}/libQFcd.la
445 %attr(755,root,root) %{_libdir}/libQFconsole.so
446 %attr(755,root,root) %{_libdir}/libQFconsole.la
447 %attr(755,root,root) %{_libdir}/libQFcsqc.so
448 %attr(755,root,root) %{_libdir}/libQFcsqc.la
449 %attr(755,root,root) %{_libdir}/libQFgamecode.so
450 %attr(755,root,root) %{_libdir}/libQFgamecode.la
451 %attr(755,root,root) %{_libdir}/libQFgamecode_builtins.so
452 %attr(755,root,root) %{_libdir}/libQFgamecode_builtins.la
453 %attr(755,root,root) %{_libdir}/libQFjs.so
454 %attr(755,root,root) %{_libdir}/libQFjs.la
455 %attr(755,root,root) %{_libdir}/libQFmodels.so
456 %attr(755,root,root) %{_libdir}/libQFmodels.la
457 %attr(755,root,root) %{_libdir}/libQFmodels_gl.so
458 %attr(755,root,root) %{_libdir}/libQFmodels_gl.la
459 %attr(755,root,root) %{_libdir}/libQFrenderer_gl.so
460 %attr(755,root,root) %{_libdir}/libQFrenderer_gl.la
461 %attr(755,root,root) %{_libdir}/libQFmodels_sw.so
462 %attr(755,root,root) %{_libdir}/libQFmodels_sw.la
463 %attr(755,root,root) %{_libdir}/libQFrenderer_sw32.so
464 %attr(755,root,root) %{_libdir}/libQFrenderer_sw32.la
465 %attr(755,root,root) %{_libdir}/libQFsound.so
466 %attr(755,root,root) %{_libdir}/libQFsound.la
467 %attr(755,root,root) %{_libdir}/libQFutil.so
468 %attr(755,root,root) %{_libdir}/libQFutil.la
469 %attr(755,root,root) %{_libdir}/%{name}/cd_linux.la
470 %attr(755,root,root) %{_libdir}/%{name}/cd_null.la
471 %attr(755,root,root) %{_libdir}/%{name}/cd_sdl.la
472 %attr(755,root,root) %{_libdir}/%{name}/cd_xmms.la
473 %attr(755,root,root) %{_libdir}/%{name}/console_client.la
474 %attr(755,root,root) %{_libdir}/%{name}/console_server.la
475 %{!?_without_alsa:%attr(755,root,root) %{_libdir}/%{name}/snd_output_alsa0_5.la}
476 %attr(755,root,root) %{_libdir}/%{name}/snd_output_disk.la
477 %attr(755,root,root) %{_libdir}/%{name}/snd_output_null.la
478 %attr(755,root,root) %{_libdir}/%{name}/snd_output_oss.la
479 %attr(755,root,root) %{_libdir}/%{name}/snd_output_sdl.la
480 %attr(755,root,root) %{_libdir}/%{name}/snd_render_default.la
481 %{_includedir}/QF
482 %{_mandir}/man1/qfcc.1*
483
484 %files static
485 %defattr(644,root,root,755)
486 %{_libdir}/libQFcd.a
487 %{_libdir}/libQFconsole.a
488 %{_libdir}/libQFcsqc.a
489 %{_libdir}/libQFgamecode.a
490 %{_libdir}/libQFgamecode_builtins.a
491 %{_libdir}/libQFjs.a
492 %{_libdir}/libQFmodels.a
493 %{_libdir}/libQFmodels_gl.a
494 %{_libdir}/libQFrenderer_gl.a
495 %{_libdir}/libQFmodels_sw.a
496 %{_libdir}/libQFrenderer_sw32.a
497 %{_libdir}/libQFsound.a
498 %{_libdir}/libQFutil.a
499 %{_libdir}/%{name}/cd_linux.a
500 %{_libdir}/%{name}/cd_null.a
501 %{_libdir}/%{name}/cd_sdl.a
502 %{_libdir}/%{name}/cd_xmms.a
503 %{_libdir}/%{name}/console_client.a
504 %{_libdir}/%{name}/console_server.a
505 %{!?_without_alsa:%{_libdir}/%{name}/snd_output_alsa0_5.a}
506 %{_libdir}/%{name}/snd_output_disk.a
507 %{_libdir}/%{name}/snd_output_null.a
508 %{_libdir}/%{name}/snd_output_oss.a
509 %{_libdir}/%{name}/snd_output_sdl.a
510 %{_libdir}/%{name}/snd_render_default.a
511
512 %files servers
513 %defattr(644,root,root,755)
514 %attr(755,root,root) %{_bindir}/qw-server
515 %attr(755,root,root) %{_bindir}/nq-server
516 %attr(755,root,root) %{_bindir}/qw-master
517 %attr(755,root,root) %{_libdir}/%{name}/console_server.so*
518 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/*
519
520 %files utils
521 %defattr(644,root,root,755)
522 %attr(755,root,root) %{_bindir}/pak
523 %attr(755,root,root) %{_bindir}/qfdefs
524 %attr(755,root,root) %{_bindir}/qfprogs
525 %attr(755,root,root) %{_bindir}/qfwavinfo
526 %attr(755,root,root) %{_bindir}/zpak
527 %{_mandir}/man1/pak.1*
528 #%{_mandir}/man1/qfprogs.1*
529 #%{_mandir}/man1/qfwavinfo.1*
530
531 %files 3dfx
532 %defattr(644,root,root,755)
533 %attr(755,root,root) %{_xbindir}/*3dfx
534 %{_applnkdir}/Games/*3dfx.desktop
535
536 %files fbdev
537 %defattr(644,root,root,755)
538 %attr(755,root,root) %{_bindir}/*fbdev
539
540 %files glx
541 %defattr(644,root,root,755)
542 %attr(755,root,root) %{_xbindir}/*glx
543 %{_applnkdir}/Games/*glx.desktop
544
545 %files sdl
546 %defattr(644,root,root,755)
547 %attr(755,root,root) %{_xbindir}/*sdl
548 %{_applnkdir}/Games/*sdl.desktop
549
550 %files sdl32
551 %defattr(644,root,root,755)
552 %attr(755,root,root) %{_xbindir}/*sdl32
553 %{_applnkdir}/Games/*sdl32.desktop
554
555 %files sgl
556 %defattr(644,root,root,755)
557 %attr(755,root,root) %{_xbindir}/*sgl
558 %{_applnkdir}/Games/*sgl.desktop
559
560 %if %{?_without_svga:0}%{!?_without_svga:1}
561 %files svga
562 %defattr(644,root,root,755)
563 %attr(755,root,root) %{_bindir}/*svga
564 %endif
565
566 %files x11
567 %defattr(644,root,root,755)
568 %attr(755,root,root) %{_xbindir}/*x11
569 %{_applnkdir}/Games/*x11.desktop
570
571 %files cd-linux
572 %defattr(644,root,root,755)
573 %attr(755,root,root) %{_libdir}/%{name}/cd_linux.so*
574
575 %files cd-sdl
576 %defattr(644,root,root,755)
577 %attr(755,root,root) %{_libdir}/%{name}/cd_sdl.so*
578
579 %files cd-xmms
580 %defattr(644,root,root,755)
581 %attr(755,root,root)%{_libdir}/%{name}/cd_xmms.so*
582
583 %files libs-gl
584 %defattr(644,root,root,755)
585 %attr(755,root,root) %{_libdir}/libQFmodels_gl.so.*
586 %attr(755,root,root) %{_libdir}/libQFrenderer_gl.so.*
587
588 %files libs-sw
589 %defattr(644,root,root,755)
590 %attr(755,root,root) %{_libdir}/libQFmodels_sw.so.*
591 %attr(755,root,root) %{_libdir}/libQFrenderer_sw32.so.*
592
593 %if %{?_without_alsa:0}%{!?_without_alsa:1}
594 %files snd-alsa
595 %defattr(644,root,root,755)
596 %attr(755,root,root) %{_libdir}/%{name}/snd_output_alsa0_5.so*
597 %endif
598
599 %files snd-oss
600 %defattr(644,root,root,755)
601 %attr(755,root,root) %{_libdir}/%{name}/snd_output_oss.so*
602
603 %files snd-sdl
604 %defattr(644,root,root,755)
605 %attr(755,root,root) %{_libdir}/%{name}/snd_output_sdl.so*
This page took 0.110212 seconds and 3 git commands to generate.