4 # --enable-shared-dricore
5 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
6 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
9 %bcond_without egl # EGL libraries
10 %bcond_without gallium # gallium drivers
11 %bcond_with gallium_intel # gallium i915 driver (but doesn't work with AIGLX)
12 %bcond_with gallium_nouveau # gallium nouveau driver
13 %bcond_without osmesa # OSMesa libraries
14 %bcond_without gbm # Graphics Buffer Manager
15 %bcond_without wayland # Wayland EGL
16 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
17 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
19 # minimal supported xserver version
20 %define xserver_ver 1.5.0
21 # glapi version (glapi tables in dri drivers and libglx must be in sync);
22 # set to current Mesa version on ABI break, when xserver tables get regenerated
23 # (until they start to be somehow versioned themselves)
24 %define glapi_ver 7.1.0
26 %define libdrm_ver 2.4.30
27 %define dri2proto_ver 2.6
28 %define glproto_ver 1.4.14
30 Summary: Free OpenGL implementation
31 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
35 License: MIT (core), SGI (GLU) and others - see license.html file
37 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
38 # Source0-md5: cc5ee15e306b8c15da6a478923797171
39 Patch100: %{name}-git.patch
40 Patch0: %{name}-realclean.patch
41 Patch1: %{name}-link.patch
42 Patch2: %{name}-wayland.patch
43 Patch3: llvm-3.1.patch
44 URL: http://www.mesa3d.org/
45 BuildRequires: autoconf >= 2.60
46 BuildRequires: automake
47 BuildRequires: expat-devel
48 BuildRequires: gcc >= 5:3.3
49 BuildRequires: libdrm-devel >= %{libdrm_ver}
50 BuildRequires: libselinux-devel
51 BuildRequires: libstdc++-devel >= 5:3.3.0
52 BuildRequires: libtalloc-devel >= 2:2.0.1
53 BuildRequires: libtool >= 2:1.4d
54 BuildRequires: libvdpau-devel >= 0.4.1
55 BuildRequires: llvm-devel >= 2.9
56 BuildRequires: pixman-devel
57 BuildRequires: pkgconfig
58 BuildRequires: pkgconfig(talloc) >= 2.0.1
60 BuildRequires: python-libxml2
61 BuildRequires: python-modules
62 BuildRequires: rpmbuild(macros) >= 1.470
63 BuildRequires: sed >= 4.0
64 # wayland-{client,server}
65 %{?with_wayland:BuildRequires: wayland-devel}
66 BuildRequires: xorg-lib-libXdamage-devel
67 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
68 BuildRequires: xorg-lib-libXfixes-devel
69 BuildRequires: xorg-lib-libXt-devel
70 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
71 BuildRequires: xorg-lib-libXxf86vm-devel
72 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
73 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
74 BuildRequires: xorg-util-makedepend
75 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
77 BuildRequires: libxcb-devel
78 BuildRequires: udev-devel >= 1:150
81 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
82 BuildRequires: xorg-xserver-server-devel >= 1.6.0
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 %if %{without gallium}
87 %undefine with_gallium_intel
88 %undefine with_gallium_nouveau
94 %undefine with_wayland
97 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
98 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.*
101 %define filterout_ld -Wl,--as-needed
104 Mesa is a 3-D graphics library with an API which is very similar to
105 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
106 syntax or state machine, it is being used with authorization from
107 Silicon Graphics, Inc. However, the author does not possess an OpenGL
108 license from SGI, and makes no claim that Mesa is in any way a
109 compatible replacement for OpenGL or associated with SGI.
111 %description -l pl.UTF-8
112 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
113 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
114 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
115 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
116 OpenGL ani powiązana z SGI.
119 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
120 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
123 Requires: %{name}-libglapi = %{version}-%{release}
124 # glx driver in libEGL dlopens libGL.so
125 Requires: OpenGL >= 1.2
126 Requires: libdrm >= %{libdrm_ver}
129 Requires: %{name}-libOpenVG = %{version}-%{release}
130 Requires: udev-libs >= 1:150
133 Requires: %{name}-libgbm = %{version}-%{release}
138 This package contains shared libEGL - Mesa implementation of EGL
139 Native Platform Graphics Interface as specified by Khronos Group:
140 <http://www.khronos.org/egl/>.
142 %description libEGL -l pl.UTF-8
143 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
144 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
145 graficznego platformy natywnej) wg specyfikacji Khronos Group:
146 <http://www.khronos.org/egl/>.
148 %package libEGL-devel
149 Summary: Header files for Mesa implementation of EGL library
150 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
152 Group: Development/Libraries
153 Requires: %{name}-khrplatform-devel = %{version}-%{release}
154 Requires: %{name}-libEGL = %{version}-%{release}
155 Requires: libdrm-devel >= %{libdrm_ver}
156 Requires: xorg-lib-libX11-devel
157 Requires: xorg-lib-libXdamage-devel
158 Requires: xorg-lib-libXext-devel
159 Requires: xorg-lib-libXfixes-devel
160 Requires: xorg-lib-libXxf86vm-devel
161 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
162 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
163 Provides: EGL-devel = 1.4
165 %description libEGL-devel
166 Header files for Mesa implementation of EGL library.
168 %description libEGL-devel -l pl.UTF-8
169 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
171 %package libEGL-static
172 Summary: Static Mesa EGL library
173 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
175 Group: Development/Libraries
176 Requires: %{name}-libEGL-devel = %{version}-%{release}
177 Provides: EGL-static = 1.4
179 %description libEGL-static
180 Static Mesa EGL library.
182 %description libEGL-static -l pl.UTF-8
183 Statyczna biblioteka Mesa EGL.
186 Summary: Free Mesa3D implementation of libGL OpenGL library
187 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
190 Requires: %{name}-libglapi = %{version}-%{release}
191 Requires: libdrm >= %{libdrm_ver}
192 Provides: OpenGL = 2.1
193 Provides: OpenGL-GLX = 1.4
196 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
197 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
200 Mesa is a 3-D graphics library with an API which is very similar to
201 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
202 syntax or state machine, it is being used with authorization from
203 Silicon Graphics, Inc. However, the author does not possess an OpenGL
204 license from SGI, and makes no claim that Mesa is in any way a
205 compatible replacement for OpenGL or associated with SGI.
207 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
208 specifications. It uses DRI for rendering.
210 %description libGL -l pl.UTF-8
211 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
212 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
213 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
214 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
215 OpenGL ani powiązana z SGI.
217 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
218 GLX 1.4. Używa DRI do renderowania.
221 Summary: Header files for Mesa3D libGL library
222 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
224 Group: X11/Development/Libraries
225 # loose dependency on libGL to use with other libGL binaries
226 Requires: OpenGL >= 1.5
227 Requires: libdrm-devel >= %{libdrm_ver}
228 Requires: xorg-lib-libX11-devel
229 Requires: xorg-lib-libXdamage-devel
230 Requires: xorg-lib-libXext-devel
231 Requires: xorg-lib-libXxf86vm-devel
232 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
233 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
234 Suggests: OpenGL-doc-man
235 Provides: OpenGL-GLX-devel = 1.4
236 Provides: OpenGL-devel = 2.1
237 Obsoletes: Mesa-devel
238 Obsoletes: X11-OpenGL-devel < 1:7.0.0
239 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
240 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
241 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
243 %description libGL-devel
244 Header files for Mesa3D libGL library.
246 %description libGL-devel -l pl.UTF-8
247 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
249 %package libGL-static
250 Summary: Static Mesa3D libGL library
251 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
253 Group: X11/Development/Libraries
254 Requires: %{name}-libGL-devel = %{version}-%{release}
255 Provides: OpenGL-static = 2.1
256 Obsoletes: Mesa-static
257 Obsoletes: X11-OpenGL-static < 1:7.0.0
258 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
260 %description libGL-static
261 Static Mesa3D libGL library. It uses software renderer.
263 %description libGL-static -l pl.UTF-8
264 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
268 Summary: Mesa implementation of GLES (OpenGL ES) libraries
269 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
271 Requires: %{name}-libglapi = %{version}-%{release}
274 This package contains shared libraries of Mesa implementation of GLES
275 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
276 on embedded systems. OpenGL ES specification can be found on Khronos
277 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
280 %description libGLES -l pl.UTF-8
281 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
282 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
283 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
284 OpenGL ES można znaleźć na stronie Khronos Group:
285 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
288 %package libGLES-devel
289 Summary: Header files for Mesa GLES libraries
290 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
291 Group: Development/Libraries
292 Requires: %{name}-khrplatform-devel = %{version}-%{release}
293 # <EGL/egl.h> for <GLES/egl.h>
294 Requires: %{name}-libEGL-devel = %{version}-%{release}
295 Requires: %{name}-libGLES = %{version}-%{release}
297 %description libGLES-devel
298 Header files for Mesa GLES libraries.
300 %description libGLES-devel -l pl.UTF-8
301 Pliki nagłówkowe bibliotek Mesa GLES.
304 Summary: SGI implementation of libGLU OpenGL library
305 Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
306 License: SGI Free Software License B v2.0 (MIT-like)
308 # loose dependency on libGL.so.1 to use with other libGL binaries
309 Requires: OpenGL >= 1.2
310 Provides: OpenGL-GLU = 1.3
311 Obsoletes: Mesa-devel
312 Obsoletes: X11-OpenGL-libs < 1:7.0.0
313 Obsoletes: XFree86-OpenGL-libs < 1:7.0.0
316 SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
319 %description libGLU -l pl.UTF-8
320 Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
321 specyfikację OpenGL GLU 1.3.
323 %package libGLU-devel
324 Summary: Header files for SGI libGLU library
325 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
326 License: SGI Free Software License B v2.0 (MIT-like)
327 Group: Development/Libraries
328 Requires: %{name}-libGLU = %{version}-%{release}
329 Requires: OpenGL-devel >= 1.2
330 Requires: libstdc++-devel
331 Provides: OpenGL-GLU-devel = 1.3
333 %description libGLU-devel
334 Header files for SGI libGLU library.
336 %description libGLU-devel -l pl.UTF-8
337 Pliki nagłówkowe biblioteki SGI libGLU.
339 %package libGLU-static
340 Summary: Static SGI libGLU library
341 Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
342 License: SGI Free Software License B v2.0 (MIT-like)
343 Group: Development/Libraries
344 Requires: %{name}-libGLU-devel = %{version}-%{release}
345 Provides: OpenGL-GLU-static = 1.3
347 %description libGLU-static
348 Static SGI libGLU library.
350 %description libGLU-static -l pl.UTF-8
351 Statyczna biblioteka SGI libGLU.
354 Summary: OSMesa (off-screen renderer) library
355 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
359 %description libOSMesa
360 OSMesa (off-screen renderer) library.
362 %description libOSMesa -l pl.UTF-8
363 Biblioteka OSMesa (renderująca bitmapy w pamięci).
365 %package libOSMesa-devel
366 Summary: Header file for OSMesa (off-screen renderer) library
367 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
369 Group: Development/Libraries
370 Requires: %{name}-libOSMesa = %{version}-%{release}
372 Requires: OpenGL-devel
373 Requires: libselinux-devel
375 %description libOSMesa-devel
376 Header file for OSMesa (off-screen renderer) library.
378 %description libOSMesa-devel -l pl.UTF-8
379 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
381 %package libOSMesa-static
382 Summary: Static OSMesa (off-screen renderer) library
383 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
385 Group: Development/Libraries
386 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
387 # this static build of OSMesa needs static non-dri Mesa implementation
388 Requires: %{name}-libGL-static = %{version}-%{release}
390 %description libOSMesa-static
391 Static OSMesa (off-screen renderer) library.
393 %description libOSMesa-static -l pl.UTF-8
394 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
397 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
398 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
402 %description libOpenVG
403 This package contains Mesa implementation of OpenVG - cross-platform
404 API that provides a low-level hardware acceleration interface for
405 vector graphics libraries such as Flash and SVG. OpenVG specification
406 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
407 Mesa implements OpenVG 1.1.
409 %description libOpenVG -l pl.UTF-8
410 Ten pakiet zawiera implementację Mesa standardu OpenVG -
411 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
412 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
413 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
414 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
417 %package libOpenVG-devel
418 Summary: Header file for Mesa OpenVG library
419 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
421 Group: Development/Libraries
422 Requires: %{name}-khrplatform-devel = %{version}-%{release}
423 Requires: %{name}-libOpenVG = %{version}-%{release}
425 %description libOpenVG-devel
426 Header file for Mesa OpenVG library.
428 %description libOpenVG-devel -l pl.UTF-8
429 Plik nagłówkowy biblioteki Mesa OpenVG.
431 %package libXvMC-nouveau
432 Summary: Mesa implementation of XvMC API for NVidia adapters
433 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
436 Requires: libdrm >= %{libdrm_ver}
437 Requires: xorg-lib-libXvMC >= 1.0.6
438 Conflicts: Mesa-libXvMC
440 %description libXvMC-nouveau
441 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
443 %description libXvMC-nouveau -l pl.UTF-8
444 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
446 %package libXvMC-r300
447 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
448 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
451 Requires: libdrm >= %{libdrm_ver}
452 Requires: xorg-lib-libXvMC >= 1.0.6
453 Conflicts: Mesa-libXvMC
455 %description libXvMC-r300
456 Mesa implementation of XvMC API for ATI Radeon adapters based on
457 R300/R400/RS690/R500 chips.
459 %description libXvMC-r300 -l pl.UTF-8
460 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
461 R300/R400/RS690/R500.
463 %package libXvMC-r600
464 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
465 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
468 Requires: libdrm >= %{libdrm_ver}
469 Requires: xorg-lib-libXvMC >= 1.0.6
470 Conflicts: Mesa-libXvMC
472 %description libXvMC-r600
473 Mesa implementation of XvMC API for ATI Radeon adapters based on
476 %description libXvMC-r600 -l pl.UTF-8
477 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
480 %package libXvMC-softpipe
481 Summary: Mesa softpipe implementation of XvMC API
482 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
485 Requires: libdrm >= %{libdrm_ver}
486 Requires: xorg-lib-libXvMC >= 1.0.6
487 Conflicts: Mesa-libXvMC
489 %description libXvMC-softpipe
490 Mesa softpipe implementation of XvMC API.
492 %description libXvMC-softpipe -l pl.UTF-8
493 Implementacja Mesa softpipe API XvMC.
496 Summary: Mesa Graphics Buffer Manager library
497 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
499 Requires: udev-libs >= 1:150
500 Conflicts: Mesa-libEGL < 8.0.1-2
503 Mesa Graphics Buffer Manager library.
505 %description libgbm -l pl.UTF-8
506 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
508 %package libgbm-devel
509 Summary: Header file for Mesa Graphics Buffer Manager library
510 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
511 Group: Development/Libraries
512 Requires: %{name}-libgbm = %{version}-%{release}
513 Requires: udev-devel >= 1:150
515 %description libgbm-devel
516 Header file for Mesa Graphics Buffer Manager library.
518 %description libgbm-devel -l pl.UTF-8
519 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
522 %package gbm-driver-i915
523 Summary: i915 driver for Mesa GBM framework
524 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
526 Requires: %{name}-libgbm = %{version}-%{release}
528 %description gbm-driver-i915
529 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
530 915/945/G33/Q33/Q35/Pineview chips.
532 %description gbm-driver-i915 -l pl.UTF-8
533 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
534 bufora graficznego). Obsługuje układy Intela z serii
535 915/945/G33/Q33/Q35/Pineview.
537 %package gbm-driver-nouveau
538 Summary: nouveau driver for Mesa GBM framework
539 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
541 Requires: %{name}-libgbm = %{version}-%{release}
543 %description gbm-driver-nouveau
544 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
547 %description gbm-driver-nouveau -l pl.UTF-8
548 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
549 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
551 %package gbm-driver-r300
552 Summary: r300 driver for Mesa GBM framework
553 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
555 Requires: %{name}-libgbm = %{version}-%{release}
557 %description gbm-driver-r300
558 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
559 adapters based on R300/R400/RS690/R500 chips.
561 %description gbm-driver-r300 -l pl.UTF-8
562 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
563 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
564 układach R300/R400/RS690/R500.
566 %package gbm-driver-r600
567 Summary: r600 driver for Mesa GBM framework
568 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
570 Requires: %{name}-libgbm = %{version}-%{release}
572 %description gbm-driver-r600
573 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
574 adapters based on R600/R700 chips.
576 %description gbm-driver-r600 -l pl.UTF-8
577 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
578 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
581 %package gbm-driver-vmwgfx
582 Summary: vmwgfx driver for Mesa GBM framework
583 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
585 Requires: %{name}-libgbm = %{version}-%{release}
587 %description gbm-driver-vmwgfx
588 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
589 virtual video adapter.
591 %description gbm-driver-vmwgfx -l pl.UTF-8
592 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
593 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
596 Summary: Mesa GL API shared library
597 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
599 Conflicts: Mesa-libEGL < 8.0.1-2
601 %description libglapi
602 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
604 %description libglapi -l pl.UTF-8
605 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
608 %package libwayland-egl
609 Summary: Wayland EGL library
610 Summary(pl.UTF-8): Biblioteka Wayland EGL
612 Requires: libdrm >= %{libdrm_ver}
614 %description libwayland-egl
615 Wayland EGL platform library.
617 %description libwayland-egl -l pl.UTF-8
618 Biblioteka platformy EGL Wayland.
620 %package libwayland-egl-devel
621 Summary: Development files for Wayland EGL library
622 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
623 Group: Development/Libraries
624 Requires: %{name}-libwayland-egl = %{version}-%{release}
625 Requires: libdrm-devel >= %{libdrm_ver}
626 Requires: wayland-devel
628 %description libwayland-egl-devel
629 Development files for Wayland EGL platform library.
631 %description libwayland-egl-devel -l pl.UTF-8
632 Pliki programistyczne biblioteki platformy EGL Wayland.
634 %package libxatracker
635 Summary: Xorg Gallium3D accelleration library
636 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
638 Requires: libdrm >= %{libdrm_ver}
640 %description libxatracker
641 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
643 %description libxatracker -l pl.UTF-8
644 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
647 %package libxatracker-devel
648 Summary: Header files for Xorg Gallium3D accelleration library
649 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
650 Group: X11/Development/Libraries
651 Requires: %{name}-libxatracker = %{version}-%{release}
652 Requires: libdrm-devel >= %{libdrm_ver}
654 %description libxatracker-devel
655 Header files for Xorg Gallium3D accelleration library.
657 %description libxatracker-devel -l pl.UTF-8
658 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
660 %package khrplatform-devel
661 Summary: Khronos platform header file
662 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
663 Group: Development/Libraries
664 Conflicts: Mesa-libEGL-devel < 8.0.1-2
666 %description khrplatform-devel
667 Khronos platform header file.
669 %description khrplatform-devel -l pl.UTF-8
670 Plik nagłówkowy platformy Khronos.
672 %package dri-driver-ati-radeon-R100
673 Summary: X.org DRI driver for ATI R100 card family
674 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
677 Requires: xorg-driver-video-ati
678 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
679 Requires: xorg-xserver-server >= %{xserver_ver}
680 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
682 %description dri-driver-ati-radeon-R100
683 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
685 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
686 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
688 %package dri-driver-ati-radeon-R200
689 Summary: X.org DRI driver for ATI R200 card family
690 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
693 Requires: xorg-driver-video-ati
694 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
695 Requires: xorg-xserver-server >= %{xserver_ver}
696 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
698 %description dri-driver-ati-radeon-R200
699 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
701 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
702 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
704 %package dri-driver-ati-radeon-R300
705 Summary: X.org DRI driver for ATI R300 card family
706 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
709 Requires: xorg-driver-video-ati
710 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
711 Requires: xorg-xserver-server >= %{xserver_ver}
712 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
714 %description dri-driver-ati-radeon-R300
715 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
717 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
718 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
720 %package dri-driver-ati-radeon-R600
721 Summary: X.org DRI driver for ATI R600 card family
722 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
725 Requires: radeon-ucode
726 Requires: xorg-driver-video-ati
727 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
728 Requires: xorg-xserver-server >= %{xserver_ver}
730 %description dri-driver-ati-radeon-R600
731 X.org DRI driver for ATI R600/R700 card family.
733 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
734 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
736 %package dri-driver-intel-i915
737 Summary: X.org DRI driver for Intel i915 card family
738 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
741 Requires: xorg-driver-video-intel
742 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
743 Requires: xorg-xserver-server >= %{xserver_ver}
744 Obsoletes: Mesa-dri-driver-intel-i830
745 Obsoletes: X11-driver-i810-dri < 1:7.0.0
747 %description dri-driver-intel-i915
748 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
751 %description dri-driver-intel-i915 -l pl.UTF-8
752 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
755 %package dri-driver-intel-i965
756 Summary: X.org DRI driver for Intel i965 card family
757 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
760 Requires: xorg-driver-video-intel
761 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
762 Requires: xorg-xserver-server >= %{xserver_ver}
763 Obsoletes: Mesa-dri-driver-intel-i830
764 Obsoletes: X11-driver-i810-dri < 1:7.0.0
766 %description dri-driver-intel-i965
767 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
768 965GME, GM45, G41, B43, Q45, G45);
770 %description dri-driver-intel-i965 -l pl.UTF-8
771 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
772 965GM, 965GME, GM45, G41, B43, Q45, G45).
774 %package dri-driver-nouveau
775 Summary: X.org DRI driver for NVIDIA card family
776 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
779 Requires: xorg-driver-video-nouveau
780 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
781 Requires: xorg-xserver-server >= %{xserver_ver}
783 %description dri-driver-nouveau
784 X.org DRI drivers for NVIDIA card family.
786 %description dri-driver-nouveau -l pl.UTF-8
787 Sterowniki X.org DRI dla rodziny kart NVIDIA.
789 %package dri-driver-swrast
790 Summary: X.org DRI software rasterizer driver
791 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
794 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
795 Requires: xorg-xserver-server >= %{xserver_ver}
797 %description dri-driver-swrast
798 X.org DRI software rasterizer driver.
800 %description dri-driver-swrast -l pl.UTF-8
801 Sterownik X.org DRI obsługujący rysowanie programowe.
803 %package dri-driver-vmwgfx
804 Summary: X.org DRI driver for VMware
805 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
808 Requires: xorg-driver-video-vmware
809 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
810 Requires: xorg-xserver-server >= %{xserver_ver}
812 %description dri-driver-vmwgfx
813 X.org DRI driver for VMWare.
815 %description dri-driver-vmwgfx -l pl.UTF-8
816 Sterownik X.org DRI dla VMware.
818 %package -n libvdpau-driver-mesa-nouveau
819 Summary: Mesa nouveau driver for the vdpau API
820 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
823 Requires: libdrm >= %{libdrm_ver}
824 Requires: libvdpau >= 0.4.1
825 Conflicts: libvdpau-driver-mesa
827 %description -n libvdpau-driver-mesa-nouveau
828 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
831 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
832 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
835 %package -n libvdpau-driver-mesa-r300
836 Summary: Mesa r300 driver for the vdpau API
837 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
840 Requires: libdrm >= %{libdrm_ver}
841 Requires: libvdpau >= 0.4.1
842 Conflicts: libvdpau-driver-mesa
844 %description -n libvdpau-driver-mesa-r300
845 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
846 based on R300/R400/RS690/R500 chips.
848 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
849 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
850 na układach R300/R400/RS690/R500.
852 %package -n libvdpau-driver-mesa-r600
853 Summary: Mesa r600 driver for the vdpau API
854 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
857 Requires: libdrm >= %{libdrm_ver}
858 Requires: libvdpau >= 0.4.1
859 Conflicts: libvdpau-driver-mesa
861 %description -n libvdpau-driver-mesa-r600
862 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
863 based on R600/R700 chips.
865 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
866 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
867 na układach R600/R700.
869 %package -n libvdpau-driver-mesa-softpipe
870 Summary: Mesa softpipe driver for the vdpau API
871 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
874 Requires: libdrm >= %{libdrm_ver}
875 Requires: libvdpau >= 0.4.1
876 Conflicts: libvdpau-driver-mesa
878 %description -n libvdpau-driver-mesa-softpipe
879 Mesa softpipe driver for the vdpau API.
881 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
882 Sterownik Mesa softpipe dla API vdpau.
896 dri_drivers="r200 radeon \
897 %if %{without gallium_intel}
901 %ifarch sparc sparcv9 sparc64
906 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
908 gallium_drivers="svga swrast \
909 %if %{with gallium_intel}
914 %if %{with gallium_nouveau}
919 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
926 %{?with_static_libs:--enable-static} \
929 osmesa_common_flags="\
930 --with-driver=osmesa \
936 %configure $common_flags $osmesa_common_flags \
939 %{__make} -C src/mesa osmesa.pc
941 cp -p src/mesa/osmesa.pc osmesa8
945 %configure $common_flags \
947 --enable-shared-glapi \
952 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
955 --enable-gallium-llvm \
956 %{__enable egl gallium-egl} \
957 %{__enable gbm gallium-gbm} \
958 %{?with_egl:--enable-openvg} \
960 %{?with_xa:--enable-xa} \
962 --with-gallium-drivers=${gallium_drivers} \
964 --without-gallium-drivers \
967 --with-dri-drivers=${dri_drivers} \
968 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
973 rm -rf $RPM_BUILD_ROOT
976 DESTDIR=$RPM_BUILD_ROOT
979 cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
980 cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
983 # strip out undesirable headers
984 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
986 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
987 # not used externally
988 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
990 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
991 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
992 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
995 rm -rf $RPM_BUILD_ROOT
997 %post libEGL -p /sbin/ldconfig
998 %postun libEGL -p /sbin/ldconfig
1000 %post libGL -p /sbin/ldconfig
1001 %postun libGL -p /sbin/ldconfig
1003 %post libGLES -p /sbin/ldconfig
1004 %postun libGLES -p /sbin/ldconfig
1006 %post libGLU -p /sbin/ldconfig
1007 %postun libGLU -p /sbin/ldconfig
1009 %post libOSMesa -p /sbin/ldconfig
1010 %postun libOSMesa -p /sbin/ldconfig
1012 %post libOpenVG -p /sbin/ldconfig
1013 %postun libOpenVG -p /sbin/ldconfig
1015 %post libXvMC-nouveau -p /sbin/ldconfig
1016 %postun libXvMC-nouveau -p /sbin/ldconfig
1017 %post libXvMC-r300 -p /sbin/ldconfig
1018 %postun libXvMC-r300 -p /sbin/ldconfig
1019 %post libXvMC-r600 -p /sbin/ldconfig
1020 %postun libXvMC-r600 -p /sbin/ldconfig
1021 %post libXvMC-softpipe -p /sbin/ldconfig
1022 %postun libXvMC-softpipe -p /sbin/ldconfig
1024 %post libgbm -p /sbin/ldconfig
1025 %postun libgbm -p /sbin/ldconfig
1027 %post libglapi -p /sbin/ldconfig
1028 %postun libglapi -p /sbin/ldconfig
1030 %post libwayland-egl -p /sbin/ldconfig
1031 %postun libwayland-egl -p /sbin/ldconfig
1033 %post libxatracker -p /sbin/ldconfig
1034 %postun libxatracker -p /sbin/ldconfig
1038 %defattr(644,root,root,755)
1039 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1040 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1043 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1047 %defattr(644,root,root,755)
1048 %attr(755,root,root) %{_libdir}/libEGL.so
1049 %dir %{_includedir}/EGL
1050 %{_includedir}/EGL/egl.h
1051 %{_includedir}/EGL/eglext.h
1052 %{_includedir}/EGL/eglmesaext.h
1053 %{_includedir}/EGL/eglplatform.h
1054 %{_pkgconfigdir}/egl.pc
1056 %if %{with static_libs}
1057 %files libEGL-static
1058 %defattr(644,root,root,755)
1064 %defattr(644,root,root,755)
1065 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1066 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1067 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1068 # symlink for binary apps which fail to conform Linux OpenGL ABI
1069 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1070 %attr(755,root,root) %{_libdir}/libGL.so
1073 %defattr(644,root,root,755)
1075 %dir %{_includedir}/GL
1076 %{_includedir}/GL/gl.h
1077 %{_includedir}/GL/glext.h
1078 %{_includedir}/GL/gl_mangle.h
1079 %{_includedir}/GL/glx.h
1080 %{_includedir}/GL/glxext.h
1081 %{_includedir}/GL/glx_mangle.h
1082 %dir %{_includedir}/GL/internal
1083 %{_includedir}/GL/internal/dri_interface.h
1084 %{_pkgconfigdir}/dri.pc
1085 %{_pkgconfigdir}/gl.pc
1087 %if %{with static_libs}
1089 %defattr(644,root,root,755)
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1096 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1097 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1098 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1100 %files libGLES-devel
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1103 %attr(755,root,root) %{_libdir}/libGLESv2.so
1105 %{_includedir}/GLES2
1106 %{_pkgconfigdir}/glesv1_cm.pc
1107 %{_pkgconfigdir}/glesv2.pc
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
1112 %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{_libdir}/libGLU.so
1117 %{_includedir}/GL/glu.h
1118 %{_includedir}/GL/glu_mangle.h
1119 %{_pkgconfigdir}/glu.pc
1121 %if %{with static_libs}
1122 %files libGLU-static
1123 %defattr(644,root,root,755)
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1131 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1133 %files libOSMesa-devel
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_libdir}/libOSMesa.so
1136 %{_includedir}/GL/osmesa.h
1137 %{_pkgconfigdir}/osmesa.pc
1139 %if %{with static_libs}
1140 %files libOSMesa-static
1141 %defattr(644,root,root,755)
1142 %{_libdir}/libOSMesa.a
1146 %if %{with egl} && %{with gallium}
1148 %defattr(644,root,root,755)
1149 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1150 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1152 %files libOpenVG-devel
1153 %defattr(644,root,root,755)
1154 %attr(755,root,root) %{_libdir}/libOpenVG.so
1156 %{_pkgconfigdir}/vg.pc
1160 %if %{with gallium_nouveau}
1161 %files libXvMC-nouveau
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1164 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1170 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1175 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1177 %files libXvMC-softpipe
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1180 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1187 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1190 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/libgbm.so
1196 %{_includedir}/gbm.h
1197 %{_pkgconfigdir}/gbm.pc
1201 %if %{with gallium_intel}
1202 %files gbm-driver-i915
1203 %defattr(644,root,root,755)
1204 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1207 %if %{with gallium_nouveau}
1208 %files gbm-driver-nouveau
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1213 %files gbm-driver-r300
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1217 %files gbm-driver-r600
1218 %defattr(644,root,root,755)
1219 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1221 %files gbm-driver-vmwgfx
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1229 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1230 # libglapi-devel? nothing seems to need it atm.
1231 #%attr(755,root,root) %{_libdir}/libglapi.so
1234 %files libwayland-egl
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1237 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1239 %files libwayland-egl-devel
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1242 %{_pkgconfigdir}/wayland-egl.pc
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1249 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1251 %files libxatracker-devel
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/libxatracker.so
1254 %{_includedir}/xa_composite.h
1255 %{_includedir}/xa_context.h
1256 %{_includedir}/xa_tracker.h
1257 %{_pkgconfigdir}/xatracker.pc
1261 %files khrplatform-devel
1262 %defattr(644,root,root,755)
1263 %dir %{_includedir}/KHR
1264 %{_includedir}/KHR/khrplatform.h
1267 %files dri-driver-ati-radeon-R100
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1271 %files dri-driver-ati-radeon-R200
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1276 %files dri-driver-ati-radeon-R300
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1280 %files dri-driver-ati-radeon-R600
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1284 %files dri-driver-intel-i915
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1288 %files dri-driver-intel-i965
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1292 %if %{with gallium_nouveau}
1293 %files dri-driver-nouveau
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1299 %files dri-driver-swrast
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1304 %files dri-driver-vmwgfx
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1310 # ldconfig is not used in vdpau tree, so package all symlinks
1311 %if %{with gallium_nouveau}
1312 %files -n libvdpau-driver-mesa-nouveau
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1315 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1316 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1319 %files -n libvdpau-driver-mesa-r300
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1322 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1323 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1325 %files -n libvdpau-driver-mesa-r600
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1328 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1329 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1331 %files -n libvdpau-driver-mesa-softpipe
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1334 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1335 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so