3 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
6 %bcond_with glide # with GLIDE (broken now)
7 %bcond_without motif # build static libGLw without Motif interface
9 Summary: Free OpenGL implementation
10 Summary(pl): Wolnodostêpna implementacja standardu OpenGL
14 License: MIT (core), SGI (GLU,libGLw) and others - see COPYRIGHT file
16 Source0: http://dl.sourceforge.net/mesa3d/%{name}Lib-%{version}.tar.bz2
17 # Source0-md5: ea148c828ec6f645526451db1b8556f1
18 Source1: http://dl.sourceforge.net/mesa3d/%{name}Demos-%{version}.tar.bz2
19 # Source1-md5: 99df1fdcb98d391666b476ca6f1dda8a
20 Patch0: %{name}-modules_dir.patch
21 URL: http://www.mesa3d.org/
22 %{?with_glide:BuildRequires: Glide3-DRI-devel}
23 BuildRequires: expat-devel
24 BuildRequires: libdrm-devel >= 1.0.4-1.20051022
25 BuildRequires: libstdc++-devel
26 BuildRequires: libtool >= 2:1.4d
27 %{?with_motif:BuildRequires: motif-devel}
28 BuildRequires: sed >= 4.0
29 BuildRequires: xorg-lib-libXt-devel
30 BuildRequires: xorg-lib-libXxf86vm-devel
31 BuildRequires: xorg-proto-glproto-devel
32 BuildRequires: xorg-util-makedepend
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 # avoid XFree86-OpenGL* dependency
37 # Glide3 can be provided by Glide_V3-DRI or Glide_V5-DRI
38 %define _noautoreqdep libGL.so.1 libGLU.so.1 libOSMesa.so.4 libglide3.so.3
40 %define _sysconfdir /etc/X11
43 Mesa is a 3-D graphics library with an API which is very similar to
44 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
45 syntax or state machine, it is being used with authorization from
46 Silicon Graphics, Inc. However, the author does not possess an OpenGL
47 license from SGI, and makes no claim that Mesa is in any way a
48 compatible replacement for OpenGL or associated with SGI.
51 Mesa jest bibliotek± grafiki 3D z API bardzo podobnym do OpenGL(R). Do
52 tego stopnia, ¿e Mesa u¿ywa sk³adni i automatu OpenGL jest u¿ywana z
53 autoryzacj± Silicon Graphics, Inc. Jednak autor nie posiada licencji
54 OpenGL od SGI i nie twierdzi, ¿e Mesa jest kompatybilnym zamiennikiem
55 OpenGL ani powi±zana z SGI.
58 Summary: Free Mesa3D implementation of libGL OpenGL library
59 Summary(pl): Wolnodostêpna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
62 %{?with_glide:Requires: Glide3-DRI}
63 Provides: OpenGL = 1.5
64 # reports version 1.3, but supports glXGetProcAddress() from 1.4
65 Provides: OpenGL-GLX = 1.4
67 Obsoletes: XFree86-OpenGL-libGL
70 Mesa is a 3-D graphics library with an API which is very similar to
71 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
72 syntax or state machine, it is being used with authorization from
73 Silicon Graphics, Inc. However, the author does not possess an OpenGL
74 license from SGI, and makes no claim that Mesa is in any way a
75 compatible replacement for OpenGL or associated with SGI.
77 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
78 specifications. It uses DRI for rendering.
80 %description libGL -l pl
81 Mesa jest bibliotek± grafiki 3D z API bardzo podobnym do OpenGL(R). Do
82 tego stopnia, ¿e Mesa u¿ywa sk³adni i automatu OpenGL jest u¿ywana z
83 autoryzacj± Silicon Graphics, Inc. Jednak autor nie posiada licencji
84 OpenGL od SGI i nie twierdzi, ¿e Mesa jest kompatybilnym zamiennikiem
85 OpenGL ani powi±zana z SGI.
87 Ten pakiet zawiera libGL implementuj±c± specyfikacje OpenGL 1.5 oraz
88 GLX 1.4. U¿ywa DRI do renderowania.
91 Summary: Header files for Mesa3D libGL library
92 Summary(pl): Pliki nag³ówkowe biblioteki libGL z projektu Mesa3D
94 Group: X11/Development/Libraries
95 # loose dependency on libGL to use with other libGL binaries
96 Requires: OpenGL >= 1.5
97 Requires: xorg-lib-libX11-devel
98 Provides: OpenGL-devel = 1.5
99 Provides: OpenGL-GLX-devel = 1.4
100 Obsoletes: Mesa-devel
101 Obsoletes: XFree86-OpenGL-devel
102 Obsoletes: XFree86-OpenGL-devel-base
104 %description libGL-devel
105 Header files for Mesa3D libGL library.
107 %description libGL-devel -l pl
108 Pliki nag³ówkowe biblioteki libGL z projektu Mesa3D.
110 %package libGL-static
111 Summary: Static Mesa3D libGL library
112 Summary(pl): Statyczna biblioteka libGL z projektu Mesa3D
114 Group: X11/Development/Libraries
115 Requires: %{name}-libGL-devel = %{version}-%{release}
116 Provides: OpenGL-static = 1.5
117 Obsoletes: Mesa-static
119 %description libGL-static
120 Static Mesa3D libGL library. It uses software renderer.
122 %description libGL-static -l pl
123 Statyczna biblioteka libGL z projektu Mesa3D. U¿ywa programowego
127 Summary: SGI implementation of libGLU OpenGL library
128 Summary(pl): Implementacja SGI biblioteki libGLU ze standardu OpenGL
129 License: SGI Free Software License B v1.1
131 # loose dependency on libGL.so.1 to use with other libGL binaries
132 Requires: OpenGL >= 1.2
133 Provides: OpenGL-GLU = 1.3
134 Obsoletes: Mesa-devel
135 Obsoletes: XFree86-OpenGL-libs
138 SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
141 %description libGLU -l pl
142 Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
143 specyfikacjê OpenGL GLU 1.3.
145 %package libGLU-devel
146 Summary: Header files for SGI libGLU library
147 Summary(pl): Pliki nag³ówkowe biblioteki SGI libGLU
148 License: SGI Free Software License B v1.1
149 Group: Development/Libraries
150 Requires: %{name}-libGLU = %{version}-%{release}
151 Requires: OpenGL-devel >= 1.2
152 Requires: libstdc++-devel
153 Provides: OpenGL-GLU-devel = 1.3
155 %description libGLU-devel
156 Header files for SGI libGLU library.
158 %description libGLU-devel -l pl
159 Pliki nag³ówkowe biblioteki SGI libGLU.
161 %package libGLU-static
162 Summary: Static SGI libGLU library
163 Summary(pl): Statyczna biblioteka SGI libGLU
164 License: SGI Free Software License B v1.1
165 Group: Development/Libraries
166 Requires: %{name}-libGLU-devel = %{version}-%{release}
167 Provides: OpenGL-GLU-static = 1.3
169 %description libGLU-static
170 Static SGI libGLU library.
172 %description libGLU-static -l pl
173 Statyczna biblioteka SGI libGLU.
176 Summary: SGI OpenGL Xt widgets library
177 Summary(pl): Biblioteka SGI widgetów Xt dla OpenGL-a
178 License: SGI MIT-like
180 # loose dependency on libGL.so.1 to use with other libGL binaries
181 Requires: OpenGL >= 1.1
185 SGI OpenGL Xt widgets library.
187 %description libGLU -l pl
188 Biblioteka SGI widgetów Xt dla OpenGL-a.
190 %package libGLw-devel
191 Summary: Header files for SGI libGLw library
192 Summary(pl): Pliki nag³ówkowe biblioteki SGI libGLw
193 License: SGI Free Software License B v1.1
194 Group: Development/Libraries
195 Requires: %{name}-libGLw = %{version}-%{release}
196 Requires: OpenGL-devel >= 1.2
197 Provides: OpenGL-GLw-devel
199 %description libGLw-devel
200 Header files for SGI libGLw library.
202 %description libGLw-devel -l pl
203 Pliki nag³ówkowe biblioteki SGI libGLw.
205 %package libGLw-static
206 Summary: Static SGI libGLw library
207 Summary(pl): Statyczna biblioteka SGI libGLw
208 License: SGI Free Software License B v1.1
209 Group: Development/Libraries
210 Requires: %{name}-libGLw-devel = %{version}-%{release}
211 Provides: OpenGL-GLw-static
213 %description libGLw-static
214 Static SGI libGLw library.
216 %description libGLw-static -l pl
217 Statyczna biblioteka SGI libGLw.
220 Summary: OpenGL utilities from Mesa3D
221 Summary(pl): Programy narzêdziowe OpenGL z projektu Mesa3D
222 Group: X11/Applications/Graphics
223 # loose deps on libGL/libGLU
226 OpenGL utilities from Mesa3D: glxgears and glxinfo.
228 %description utils -l pl
229 Programy narzêdziowe OpenGL z projektu Mesa3D: glxgears i glxinfo.
233 Summary(pl): Programy demonstruj±ce mo¿liwo¶ci bibliotek Mesa
234 Group: Development/Libraries
235 Requires: OpenGL-devel
238 Demonstration programs for the Mesa libraries.
240 %description demos -l pl
241 Programy demonstracyjne dla bibliotek Mesa.
243 %package dri-driver-ati-mach64
244 Summary: X.org DRI drivers
245 Summary(pl): Sterowniki DRI dla X.org
246 Group: Development/Libraries
247 Requires: xorg-xserver-server
249 %description dri-driver-ati-mach64
250 X.org DRI drivers for ATI mach64 card family.
252 %description dri-driver-ati-mach64 -l pl
253 Sterowniki X.org DRI dla rodziny kart ATI mach64.
255 %package dri-driver-ati-radeon-R100
256 Summary: X.org DRI drivers
257 Summary(pl): Sterowniki DRI dla X.org
258 Group: Development/Libraries
259 Requires: xorg-xserver-server
261 %description dri-driver-ati-radeon-R100
262 X.org DRI drivers for ATI R100 card family (Radeon 7000-7500).
264 %description dri-driver-ati-radeon-R100 -l pl
265 Sterowniki X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
267 %package dri-driver-ati-radeon-R200
268 Summary: X.org DRI drivers
269 Summary(pl): Sterowniki DRI dla X.org
270 Group: Development/Libraries
271 Requires: xorg-xserver-server
273 %description dri-driver-ati-radeon-R200
274 X.org DRI drivers for ATI R200 card family (Radeon 8500-92xx)
276 %description dri-driver-ati-radeon-R200 -l pl
277 Sterowniki X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
279 %package dri-driver-ati-radeon-R300
280 Summary: X.org DRI drivers
281 Summary(pl): Sterowniki DRI dla X.org
282 Group: Development/Libraries
283 Requires: xorg-xserver-server
285 %description dri-driver-ati-radeon-R300
286 X.org DRI drivers for ATI R300 card family.
288 %description dri-driver-ati-radeon-R300 -l pl
289 Sterowniki X.org DRI dla rodziny kart ATI R300.
291 %package dri-driver-ati-rage128
292 Summary: X.org DRI drivers
293 Summary(pl): Sterowniki DRI dla X.org
294 Group: Development/Libraries
295 Requires: xorg-xserver-server
297 %description dri-driver-ati-rage128
298 X.org DRI drivers for ATI rage128 card family.
300 %description dri-driver-ati-rage128 -l pl
301 Sterowniki X.org DRI dla rodziny kart ATI rage128.
303 %package dri-driver-ffb
304 Summary: X.org DRI drivers
305 Summary(pl): Sterowniki DRI dla X.org
306 Group: Development/Libraries
307 Requires: xorg-xserver-server
309 %description dri-driver-ffb
310 X.org DRI drivers for SUN Creator3D and Elite3D card family.
312 %description dri-driver-ffb -l pl
313 Sterowniki X.org DRI dla rodziny kart SUN Creator3D and Elite3D.
315 %package dri-driver-glint
316 Summary: X.org DRI drivers
317 Summary(pl): Sterowniki DRI dla X.org
318 Group: Development/Libraries
319 Requires: xorg-xserver-server
321 %description dri-driver-glint
322 X.org DRI drivers for GLINT/Permedia card family.
324 %description dri-driver-glint -l pl
325 Sterowniki X.org DRI dla rodziny kart GLINT/Permedia.
327 %package dri-driver-intel-i810
328 Summary: X.org DRI drivers
329 Summary(pl): Sterowniki DRI dla X.org
330 Group: Development/Libraries
331 Requires: xorg-xserver-server
333 %description dri-driver-intel-i810
334 X.org DRI drivers for Intel i810 card family.
336 %description dri-driver-intel-i810 -l pl
337 Sterowniki X.org DRI dla rodziny kart i810.
339 %package dri-driver-intel-i830
340 Summary: X.org DRI drivers
341 Summary(pl): Sterowniki DRI dla X.org
342 Group: Development/Libraries
343 Requires: xorg-xserver-server
345 %description dri-driver-intel-i830
346 X.org DRI drivers for Intel i830 card family.
348 %description dri-driver-intel-i830 -l pl
349 Sterowniki X.org DRI dla rodziny kart i830.
351 %package dri-driver-intel-i915
352 Summary: X.org DRI drivers
353 Summary(pl): Sterowniki DRI dla X.org
354 Group: Development/Libraries
355 Requires: xorg-xserver-server
357 %description dri-driver-intel-i915
358 X.org DRI drivers for Intel i915 card family.
360 %description dri-driver-intel-i915 -l pl
361 Sterowniki X.org DRI dla rodziny kart i915.
363 %package dri-driver-matrox
364 Summary: X.org DRI drivers
365 Summary(pl): Sterowniki DRI dla X.org
366 Group: Development/Libraries
367 Requires: xorg-xserver-server
369 %description dri-driver-matrox
370 X.org DRI drivers for Matrox G card family.
372 %description dri-driver-matrox -l pl
373 Sterowniki X.org DRI dla rodziny kart Matrox G.
375 %package dri-driver-s3virge
376 Summary: X.org DRI drivers
377 Summary(pl): Sterowniki DRI dla X.org
378 Group: Development/Libraries
379 Requires: xorg-xserver-server
381 %description dri-driver-s3virge
382 X.org DRI drivers for S3 Virge card family.
384 %description dri-driver-s3virge -l pl
385 Sterowniki X.org DRI dla rodziny kart S3 Virge.
387 %package dri-driver-savage
388 Summary: X.org DRI drivers
389 Summary(pl): Sterowniki DRI dla X.org
390 Group: Development/Libraries
391 Requires: xorg-xserver-server
393 %description dri-driver-savage
394 X.org DRI drivers for S3 Savage card family.
396 %description dri-driver-savage -l pl
397 Sterowniki X.org DRI dla rodziny kart S3 Savage.
399 %package dri-driver-sis
400 Summary: X.org DRI drivers
401 Summary(pl): Sterowniki DRI dla X.org
402 Group: Development/Libraries
403 Requires: xorg-xserver-server
405 %description dri-driver-sis
406 X.org DRI drivers for SiS card family.
408 %description dri-driver-sis -l pl
409 Sterowniki X.org DRI dla rodziny kart SiS.
411 %package dri-driver-tdfx
412 Summary: X.org DRI drivers
413 Summary(pl): Sterowniki DRI dla X.org
414 Group: Development/Libraries
415 Requires: xorg-xserver-server
417 %description dri-driver-tdfx
418 X.org DRI drivers for 3DFX Voodoo card family (Voodoo 3,4,5, Banshee
419 and Velocity 100/200).
421 %description dri-driver-tdfx -l pl
422 Sterowniki X.org DRI dla rodziny kart 3DFX Voodoo. (Voodoo 3,4,5,
423 Banshee and Velocity 100/200).
425 %package dri-driver-trident
426 Summary: X.org DRI drivers
427 Summary(pl): Sterowniki DRI dla X.org
428 Group: Development/Libraries
429 Requires: xorg-xserver-server
431 %description dri-driver-trident
432 X.org DRI drivers for Trident card family.
434 %description dri-driver-trident -l pl
435 Sterowniki X.org DRI dla rodziny kart Trident.
437 %package dri-driver-via-unichrome
438 Summary: X.org DRI drivers
439 Summary(pl): Sterowniki DRI dla X.org
440 Group: Development/Libraries
441 Requires: xorg-xserver-server
443 %description dri-driver-via-unichrome
444 X.org DRI drivers for VIA Unichrome card family.
446 %description dri-driver-via-unichrome -l pl
447 Sterowniki X.org DRI dla rodziny kart VIA Unichrome.
450 %setup -q -n Mesa-%{version} -b 1
454 find progs -type f|xargs sed -i -e "s,\.\./images/,%{_examplesdir}/%{name}-%{version}/images/,g"
456 %ifnarch sparc sparcv9 sparc64
457 # for sunffb driver - useful on sparc only
458 sed -i -e 's/ ffb$//' configs/linux-dri
468 %{__make} linux${targ}-static \
471 OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \
472 XLIB_DIR=%{_libdir} \
473 GLW_SOURCES="GLwDrawA.c%{?with_motif: GLwMDrawA.c}" \
474 SRC_DIRS="mesa glu glw" \
479 %{__make} linux-dri${targ} \
483 OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \
484 XLIB_DIR=%{_libdir} \
485 SRC_DIRS="glx/x11 mesa glu glw" \
488 %{__make} -C progs/xdemos \
491 OPT_FLAGS="%{rpmcflags}" \
492 XLIB_DIR=%{_libdir} \
494 APP_LIB_DEPS="-L\$(LIB_DIR) -lGL"
496 %{__make} -C progs/xdemos \
499 OPT_FLAGS="%{rpmcflags}" \
500 XLIB_DIR=%{_libdir} \
502 APP_LIB_DEPS="-L\$(LIB_DIR) -lGL -L../../lib-dri -lGLU"
508 %{__make} linux${targ} \
511 OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \
512 XLIB_DIR=%{_libdir} \
517 rm -rf $RPM_BUILD_ROOT
518 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}/GL,%{_examplesdir}/%{name}-%{version}}
519 install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri
521 cp -df lib-static/lib* $RPM_BUILD_ROOT%{_libdir}
522 cp -df lib-dri/lib* $RPM_BUILD_ROOT%{_libdir}
523 cp -df lib/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
524 cp -rf include/GL/{gl[!u]*,glu.h,glu_*,osmesa.h,xmesa*} src/glw/GLw*.h $RPM_BUILD_ROOT%{_includedir}/GL
525 cp -df lib-dri/*_dri.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri
527 install progs/xdemos/{glxgears,glxinfo} $RPM_BUILD_ROOT%{_bindir}
528 for l in demos redbook samples xdemos ; do
529 %{__make} -C progs/$l clean
531 for l in demos redbook samples util xdemos images ; do
532 cp -Rf progs/$l $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$l
534 rm -rf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/*/{.deps,CVS,Makefile.{BeOS*,win,cygnus,DJ,dja}}
537 rm -rf $RPM_BUILD_ROOT
539 %post libGL -p /sbin/ldconfig
540 %postun libGL -p /sbin/ldconfig
542 %post libGLU -p /sbin/ldconfig
543 %postun libGLU -p /sbin/ldconfig
545 %post libGLw -p /sbin/ldconfig
546 %postun libGLw -p /sbin/ldconfig
549 %defattr(644,root,root,755)
550 %doc docs/{*.html,README.{3DFX,GGI,MITS,QUAKE,THREADS,X11},RELNOTES*,VERSIONS}
551 %attr(755,root,root) %{_libdir}/libGL.so.*.*
552 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
553 # symlink for binary apps which fail to conform Linux OpenGL ABI
554 # (and dlopen libGL.so instead of libGL.so.1)
555 %attr(755,root,root) %{_libdir}/libGL.so
558 %defattr(644,root,root,755)
560 %attr(755,root,root) %{_libdir}/libOSMesa.so
561 %dir %{_includedir}/GL
562 %{_includedir}/GL/gl.h
563 %{_includedir}/GL/glext.h
564 %{_includedir}/GL/gl_mangle.h
565 %{_includedir}/GL/glx.h
566 %{_includedir}/GL/glxext.h
567 %{_includedir}/GL/glx_mangle.h
568 %{_includedir}/GL/osmesa.h
569 %{_includedir}/GL/xmesa.h
570 %{_includedir}/GL/xmesa_x.h
571 %{_includedir}/GL/xmesa_xf86.h
574 %defattr(644,root,root,755)
576 %{_libdir}/libOSMesa.a
579 %defattr(644,root,root,755)
580 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
583 %defattr(644,root,root,755)
584 %attr(755,root,root) %{_libdir}/libGLU.so
585 %{_includedir}/GL/glu.h
586 %{_includedir}/GL/glu_mangle.h
589 %defattr(644,root,root,755)
593 %defattr(644,root,root,755)
594 %attr(755,root,root) %{_libdir}/libGLw.so.*.*
597 %defattr(644,root,root,755)
598 %attr(755,root,root) %{_libdir}/libGLw.so
599 %{_includedir}/GL/GLwDrawA.h
600 %{_includedir}/GL/GLwDrawAP.h
601 %{_includedir}/GL/GLwMDrawA.h
602 %{_includedir}/GL/GLwMDrawAP.h
605 %defattr(644,root,root,755)
609 %defattr(644,root,root,755)
610 %attr(755,root,root) %{_bindir}/glxgears
611 %attr(755,root,root) %{_bindir}/glxinfo
613 %files dri-driver-ati-mach64
614 %defattr(644,root,root,755)
615 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mach64_dri.so
617 %files dri-driver-ati-radeon-R100
618 %defattr(644,root,root,755)
619 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
621 %files dri-driver-ati-radeon-R200
622 %defattr(644,root,root,755)
623 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
625 %files dri-driver-ati-radeon-R300
626 %defattr(644,root,root,755)
627 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
629 %files dri-driver-ati-rage128
630 %defattr(644,root,root,755)
631 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r128_dri.so
633 # sunffb (sparc only)
634 %ifarch sparc sparcv9 sparc64
635 %files dri-driver-ffb
636 %defattr(644,root,root,755)
637 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ffb_dri.so
640 # glint (requires update)
642 %files dri-driver-glint
643 %defattr(644,root,root,755)
644 %attr(755,root,root) %{_libdir}/xorg/modules/dri/gamma_dri.so
647 %files dri-driver-intel-i810
648 %defattr(644,root,root,755)
649 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i810_dri.so
651 %files dri-driver-intel-i830
652 %defattr(644,root,root,755)
653 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i830_dri.so
655 %files dri-driver-intel-i915
656 %defattr(644,root,root,755)
657 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
659 %files dri-driver-matrox
660 %defattr(644,root,root,755)
661 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mga_dri.so
663 %files dri-driver-s3virge
664 %defattr(644,root,root,755)
665 %attr(755,root,root) %{_libdir}/xorg/modules/dri/s3v_dri.so
667 %files dri-driver-savage
668 %defattr(644,root,root,755)
669 %attr(755,root,root) %{_libdir}/xorg/modules/dri/savage_dri.so
671 %files dri-driver-sis
672 %defattr(644,root,root,755)
673 %attr(755,root,root) %{_libdir}/xorg/modules/dri/sis_dri.so
675 %files dri-driver-tdfx
676 %defattr(644,root,root,755)
677 %attr(755,root,root) %{_libdir}/xorg/modules/dri/tdfx_dri.so
679 %files dri-driver-trident
680 %defattr(644,root,root,755)
681 %attr(755,root,root) %{_libdir}/xorg/modules/dri/trident_dri.so
683 %files dri-driver-via-unichrome
684 %defattr(644,root,root,755)
685 %attr(755,root,root) %{_libdir}/xorg/modules/dri/unichrome_dri.so
688 %defattr(644,root,root,755)
689 %{_examplesdir}/%{name}-%{version}