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_without 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: a368104e5700707048dc3e8691a9a7a1
39 Patch100: %{name}-git.patch
40 Patch0: %{name}-realclean.patch
41 Patch1: %{name}-link.patch
42 Patch2: %{name}-wayland.patch
43 URL: http://www.mesa3d.org/
44 BuildRequires: autoconf >= 2.60
45 BuildRequires: automake
46 BuildRequires: expat-devel
47 BuildRequires: gcc >= 5:3.3
48 BuildRequires: libdrm-devel >= %{libdrm_ver}
49 BuildRequires: libselinux-devel
50 BuildRequires: libstdc++-devel >= 5:3.3.0
51 BuildRequires: libtalloc-devel >= 2:2.0.1
52 BuildRequires: libtool >= 2:1.4d
53 BuildRequires: libvdpau-devel >= 0.4.1
54 BuildRequires: llvm-devel >= 2.9
55 BuildRequires: pixman-devel
56 BuildRequires: pkgconfig
57 BuildRequires: pkgconfig(talloc) >= 2.0.1
59 BuildRequires: python-libxml2
60 BuildRequires: python-modules
61 BuildRequires: rpmbuild(macros) >= 1.470
62 BuildRequires: sed >= 4.0
63 # wayland-{client,server}
64 %{?with_wayland:BuildRequires: wayland-devel}
65 BuildRequires: xorg-lib-libXdamage-devel
66 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
67 BuildRequires: xorg-lib-libXfixes-devel
68 BuildRequires: xorg-lib-libXt-devel
69 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
70 BuildRequires: xorg-lib-libXxf86vm-devel
71 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
72 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
73 BuildRequires: xorg-util-makedepend
74 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
76 BuildRequires: libxcb-devel
77 BuildRequires: udev-devel >= 1:150
80 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
81 BuildRequires: xorg-xserver-server-devel >= 1.6.0
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85 %if %{without gallium}
86 %undefine with_gallium_intel
87 %undefine with_gallium_nouveau
93 %undefine with_wayland
96 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
97 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.*
100 %define filterout_ld -Wl,--as-needed
103 Mesa is a 3-D graphics library with an API which is very similar to
104 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
105 syntax or state machine, it is being used with authorization from
106 Silicon Graphics, Inc. However, the author does not possess an OpenGL
107 license from SGI, and makes no claim that Mesa is in any way a
108 compatible replacement for OpenGL or associated with SGI.
110 %description -l pl.UTF-8
111 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
112 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
113 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
114 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
115 OpenGL ani powiązana z SGI.
118 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
119 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
122 Requires: %{name}-libglapi = %{version}-%{release}
123 # glx driver in libEGL dlopens libGL.so
124 Requires: OpenGL >= 1.2
125 Requires: libdrm >= %{libdrm_ver}
128 Requires: %{name}-libOpenVG = %{version}-%{release}
129 Requires: udev-libs >= 1:150
132 Requires: %{name}-libgbm = %{version}-%{release}
137 This package contains shared libEGL - Mesa implementation of EGL
138 Native Platform Graphics Interface as specified by Khronos Group:
139 <http://www.khronos.org/egl/>.
141 %description libEGL -l pl.UTF-8
142 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
143 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
144 graficznego platformy natywnej) wg specyfikacji Khronos Group:
145 <http://www.khronos.org/egl/>.
147 %package libEGL-devel
148 Summary: Header files for Mesa implementation of EGL library
149 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
151 Group: Development/Libraries
152 Requires: %{name}-khrplatform-devel = %{version}-%{release}
153 Requires: %{name}-libEGL = %{version}-%{release}
154 Requires: libdrm-devel >= %{libdrm_ver}
155 Requires: xorg-lib-libX11-devel
156 Requires: xorg-lib-libXdamage-devel
157 Requires: xorg-lib-libXext-devel
158 Requires: xorg-lib-libXfixes-devel
159 Requires: xorg-lib-libXxf86vm-devel
160 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
161 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
162 Provides: EGL-devel = 1.4
164 %description libEGL-devel
165 Header files for Mesa implementation of EGL library.
167 %description libEGL-devel -l pl.UTF-8
168 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
170 %package libEGL-static
171 Summary: Static Mesa EGL library
172 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
174 Group: Development/Libraries
175 Requires: %{name}-libEGL-devel = %{version}-%{release}
176 Provides: EGL-static = 1.4
178 %description libEGL-static
179 Static Mesa EGL library.
181 %description libEGL-static -l pl.UTF-8
182 Statyczna biblioteka Mesa EGL.
185 Summary: Free Mesa3D implementation of libGL OpenGL library
186 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
189 Requires: %{name}-libglapi = %{version}-%{release}
190 Requires: libdrm >= %{libdrm_ver}
191 Provides: OpenGL = 2.1
192 Provides: OpenGL-GLX = 1.4
195 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
196 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
199 Mesa is a 3-D graphics library with an API which is very similar to
200 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
201 syntax or state machine, it is being used with authorization from
202 Silicon Graphics, Inc. However, the author does not possess an OpenGL
203 license from SGI, and makes no claim that Mesa is in any way a
204 compatible replacement for OpenGL or associated with SGI.
206 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
207 specifications. It uses DRI for rendering.
209 %description libGL -l pl.UTF-8
210 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
211 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
212 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
213 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
214 OpenGL ani powiązana z SGI.
216 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
217 GLX 1.4. Używa DRI do renderowania.
220 Summary: Header files for Mesa3D libGL library
221 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
223 Group: X11/Development/Libraries
224 # loose dependency on libGL to use with other libGL binaries
225 Requires: OpenGL >= 1.5
226 Requires: libdrm-devel >= %{libdrm_ver}
227 Requires: xorg-lib-libX11-devel
228 Requires: xorg-lib-libXdamage-devel
229 Requires: xorg-lib-libXext-devel
230 Requires: xorg-lib-libXxf86vm-devel
231 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
232 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
233 Suggests: OpenGL-doc-man
234 Provides: OpenGL-GLX-devel = 1.4
235 Provides: OpenGL-devel = 2.1
236 Obsoletes: Mesa-devel
237 Obsoletes: X11-OpenGL-devel < 1:7.0.0
238 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
239 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
240 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
242 %description libGL-devel
243 Header files for Mesa3D libGL library.
245 %description libGL-devel -l pl.UTF-8
246 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
248 %package libGL-static
249 Summary: Static Mesa3D libGL library
250 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
252 Group: X11/Development/Libraries
253 Requires: %{name}-libGL-devel = %{version}-%{release}
254 Provides: OpenGL-static = 2.1
255 Obsoletes: Mesa-static
256 Obsoletes: X11-OpenGL-static < 1:7.0.0
257 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
259 %description libGL-static
260 Static Mesa3D libGL library. It uses software renderer.
262 %description libGL-static -l pl.UTF-8
263 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
267 Summary: Mesa implementation of GLES (OpenGL ES) libraries
268 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
270 Requires: %{name}-libglapi = %{version}-%{release}
273 This package contains shared libraries of Mesa implementation of GLES
274 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
275 on embedded systems. OpenGL ES specification can be found on Khronos
276 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
279 %description libGLES -l pl.UTF-8
280 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
281 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
282 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
283 OpenGL ES można znaleźć na stronie Khronos Group:
284 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
287 %package libGLES-devel
288 Summary: Header files for Mesa GLES libraries
289 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
290 Group: Development/Libraries
291 Requires: %{name}-khrplatform-devel = %{version}-%{release}
292 # <EGL/egl.h> for <GLES/egl.h>
293 Requires: %{name}-libEGL-devel = %{version}-%{release}
294 Requires: %{name}-libGLES = %{version}-%{release}
296 %description libGLES-devel
297 Header files for Mesa GLES libraries.
299 %description libGLES-devel -l pl.UTF-8
300 Pliki nagłówkowe bibliotek Mesa GLES.
303 Summary: SGI implementation of libGLU OpenGL library
304 Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
305 License: SGI Free Software License B v2.0 (MIT-like)
307 # loose dependency on libGL.so.1 to use with other libGL binaries
308 Requires: OpenGL >= 1.2
309 Provides: OpenGL-GLU = 1.3
310 Obsoletes: Mesa-devel
311 Obsoletes: X11-OpenGL-libs < 1:7.0.0
312 Obsoletes: XFree86-OpenGL-libs < 1:7.0.0
315 SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
318 %description libGLU -l pl.UTF-8
319 Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
320 specyfikację OpenGL GLU 1.3.
322 %package libGLU-devel
323 Summary: Header files for SGI libGLU library
324 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
325 License: SGI Free Software License B v2.0 (MIT-like)
326 Group: Development/Libraries
327 Requires: %{name}-libGLU = %{version}-%{release}
328 Requires: OpenGL-devel >= 1.2
329 Requires: libstdc++-devel
330 Provides: OpenGL-GLU-devel = 1.3
332 %description libGLU-devel
333 Header files for SGI libGLU library.
335 %description libGLU-devel -l pl.UTF-8
336 Pliki nagłówkowe biblioteki SGI libGLU.
338 %package libGLU-static
339 Summary: Static SGI libGLU library
340 Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
341 License: SGI Free Software License B v2.0 (MIT-like)
342 Group: Development/Libraries
343 Requires: %{name}-libGLU-devel = %{version}-%{release}
344 Provides: OpenGL-GLU-static = 1.3
346 %description libGLU-static
347 Static SGI libGLU library.
349 %description libGLU-static -l pl.UTF-8
350 Statyczna biblioteka SGI libGLU.
353 Summary: OSMesa (off-screen renderer) library
354 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
358 %description libOSMesa
359 OSMesa (off-screen renderer) library.
361 %description libOSMesa -l pl.UTF-8
362 Biblioteka OSMesa (renderująca bitmapy w pamięci).
364 %package libOSMesa-devel
365 Summary: Header file for OSMesa (off-screen renderer) library
366 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
368 Group: Development/Libraries
369 Requires: %{name}-libOSMesa = %{version}-%{release}
371 Requires: OpenGL-devel
372 Requires: libselinux-devel
374 %description libOSMesa-devel
375 Header file for OSMesa (off-screen renderer) library.
377 %description libOSMesa-devel -l pl.UTF-8
378 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
380 %package libOSMesa-static
381 Summary: Static OSMesa (off-screen renderer) library
382 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
384 Group: Development/Libraries
385 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
386 # this static build of OSMesa needs static non-dri Mesa implementation
387 Requires: %{name}-libGL-static = %{version}-%{release}
389 %description libOSMesa-static
390 Static OSMesa (off-screen renderer) library.
392 %description libOSMesa-static -l pl.UTF-8
393 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
396 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
397 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
401 %description libOpenVG
402 This package contains Mesa implementation of OpenVG - cross-platform
403 API that provides a low-level hardware acceleration interface for
404 vector graphics libraries such as Flash and SVG. OpenVG specification
405 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
406 Mesa implements OpenVG 1.1.
408 %description libOpenVG -l pl.UTF-8
409 Ten pakiet zawiera implementację Mesa standardu OpenVG -
410 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
411 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
412 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
413 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
416 %package libOpenVG-devel
417 Summary: Header file for Mesa OpenVG library
418 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
420 Group: Development/Libraries
421 Requires: %{name}-khrplatform-devel = %{version}-%{release}
422 Requires: %{name}-libOpenVG = %{version}-%{release}
424 %description libOpenVG-devel
425 Header file for Mesa OpenVG library.
427 %description libOpenVG-devel -l pl.UTF-8
428 Plik nagłówkowy biblioteki Mesa OpenVG.
430 %package libXvMC-nouveau
431 Summary: Mesa implementation of XvMC API for NVidia adapters
432 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
435 Requires: libdrm >= %{libdrm_ver}
436 Requires: xorg-lib-libXvMC >= 1.0.6
437 Conflicts: Mesa-libXvMC
439 %description libXvMC-nouveau
440 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
442 %description libXvMC-nouveau -l pl.UTF-8
443 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
445 %package libXvMC-r300
446 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
447 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
450 Requires: libdrm >= %{libdrm_ver}
451 Requires: xorg-lib-libXvMC >= 1.0.6
452 Conflicts: Mesa-libXvMC
454 %description libXvMC-r300
455 Mesa implementation of XvMC API for ATI Radeon adapters based on
456 R300/R400/RS690/R500 chips.
458 %description libXvMC-r300 -l pl.UTF-8
459 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
460 R300/R400/RS690/R500.
462 %package libXvMC-r600
463 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
464 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
467 Requires: libdrm >= %{libdrm_ver}
468 Requires: xorg-lib-libXvMC >= 1.0.6
469 Conflicts: Mesa-libXvMC
471 %description libXvMC-r600
472 Mesa implementation of XvMC API for ATI Radeon adapters based on
475 %description libXvMC-r600 -l pl.UTF-8
476 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
479 %package libXvMC-softpipe
480 Summary: Mesa softpipe implementation of XvMC API
481 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
484 Requires: libdrm >= %{libdrm_ver}
485 Requires: xorg-lib-libXvMC >= 1.0.6
486 Conflicts: Mesa-libXvMC
488 %description libXvMC-softpipe
489 Mesa softpipe implementation of XvMC API.
491 %description libXvMC-softpipe -l pl.UTF-8
492 Implementacja Mesa softpipe API XvMC.
495 Summary: Mesa Graphics Buffer Manager library
496 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
498 Requires: udev-libs >= 1:150
499 Conflicts: Mesa-libEGL < 8.0.1-2
502 Mesa Graphics Buffer Manager library.
504 %description libgbm -l pl.UTF-8
505 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
507 %package libgbm-devel
508 Summary: Header file for Mesa Graphics Buffer Manager library
509 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
510 Group: Development/Libraries
511 Requires: %{name}-libgbm = %{version}-%{release}
512 Requires: udev-devel >= 1:150
514 %description libgbm-devel
515 Header file for Mesa Graphics Buffer Manager library.
517 %description libgbm-devel -l pl.UTF-8
518 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
521 %package gbm-driver-i915
522 Summary: i915 driver for Mesa GBM framework
523 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
525 Requires: %{name}-libgbm = %{version}-%{release}
527 %description gbm-driver-i915
528 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
529 915/945/G33/Q33/Q35/Pineview chips.
531 %description gbm-driver-i915 -l pl.UTF-8
532 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
533 bufora graficznego). Obsługuje układy Intela z serii
534 915/945/G33/Q33/Q35/Pineview.
536 %package gbm-driver-nouveau
537 Summary: nouveau driver for Mesa GBM framework
538 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
540 Requires: %{name}-libgbm = %{version}-%{release}
542 %description gbm-driver-nouveau
543 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
546 %description gbm-driver-nouveau -l pl.UTF-8
547 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
548 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
550 %package gbm-driver-r300
551 Summary: r300 driver for Mesa GBM framework
552 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
554 Requires: %{name}-libgbm = %{version}-%{release}
556 %description gbm-driver-r300
557 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
558 adapters based on R300/R400/RS690/R500 chips.
560 %description gbm-driver-r300 -l pl.UTF-8
561 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
562 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
563 układach R300/R400/RS690/R500.
565 %package gbm-driver-r600
566 Summary: r600 driver for Mesa GBM framework
567 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
569 Requires: %{name}-libgbm = %{version}-%{release}
571 %description gbm-driver-r600
572 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
573 adapters based on R600/R700 chips.
575 %description gbm-driver-r600 -l pl.UTF-8
576 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
577 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
580 %package gbm-driver-vmwgfx
581 Summary: vmwgfx driver for Mesa GBM framework
582 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
584 Requires: %{name}-libgbm = %{version}-%{release}
586 %description gbm-driver-vmwgfx
587 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
588 virtual video adapter.
590 %description gbm-driver-vmwgfx -l pl.UTF-8
591 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
592 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
595 Summary: Mesa GL API shared library
596 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
598 Conflicts: Mesa-libEGL < 8.0.1-2
600 %description libglapi
601 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
603 %description libglapi -l pl.UTF-8
604 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
607 %package libwayland-egl
608 Summary: Wayland EGL library
609 Summary(pl.UTF-8): Biblioteka Wayland EGL
611 Requires: libdrm >= %{libdrm_ver}
613 %description libwayland-egl
614 Wayland EGL platform library.
616 %description libwayland-egl -l pl.UTF-8
617 Biblioteka platformy EGL Wayland.
619 %package libwayland-egl-devel
620 Summary: Development files for Wayland EGL library
621 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
622 Group: Development/Libraries
623 Requires: %{name}-libwayland-egl = %{version}-%{release}
624 Requires: libdrm-devel >= %{libdrm_ver}
625 Requires: wayland-devel
627 %description libwayland-egl-devel
628 Development files for Wayland EGL platform library.
630 %description libwayland-egl-devel -l pl.UTF-8
631 Pliki programistyczne biblioteki platformy EGL Wayland.
633 %package libxatracker
634 Summary: Xorg Gallium3D accelleration library
635 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
637 Requires: libdrm >= %{libdrm_ver}
639 %description libxatracker
640 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
642 %description libxatracker -l pl.UTF-8
643 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
646 %package libxatracker-devel
647 Summary: Header files for Xorg Gallium3D accelleration library
648 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
649 Group: X11/Development/Libraries
650 Requires: %{name}-libxatracker = %{version}-%{release}
651 Requires: libdrm-devel >= %{libdrm_ver}
653 %description libxatracker-devel
654 Header files for Xorg Gallium3D accelleration library.
656 %description libxatracker-devel -l pl.UTF-8
657 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
659 %package khrplatform-devel
660 Summary: Khronos platform header file
661 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
662 Group: Development/Libraries
663 Conflicts: Mesa-libEGL-devel < 8.0.1-2
665 %description khrplatform-devel
666 Khronos platform header file.
668 %description khrplatform-devel -l pl.UTF-8
669 Plik nagłówkowy platformy Khronos.
671 %package dri-driver-ati-radeon-R100
672 Summary: X.org DRI driver for ATI R100 card family
673 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
676 Requires: xorg-driver-video-ati
677 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
678 Requires: xorg-xserver-server >= %{xserver_ver}
679 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
681 %description dri-driver-ati-radeon-R100
682 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
684 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
685 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
687 %package dri-driver-ati-radeon-R200
688 Summary: X.org DRI driver for ATI R200 card family
689 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
692 Requires: xorg-driver-video-ati
693 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
694 Requires: xorg-xserver-server >= %{xserver_ver}
695 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
697 %description dri-driver-ati-radeon-R200
698 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
700 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
701 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
703 %package dri-driver-ati-radeon-R300
704 Summary: X.org DRI driver for ATI R300 card family
705 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
708 Requires: xorg-driver-video-ati
709 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
710 Requires: xorg-xserver-server >= %{xserver_ver}
711 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
713 %description dri-driver-ati-radeon-R300
714 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
716 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
717 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
719 %package dri-driver-ati-radeon-R600
720 Summary: X.org DRI driver for ATI R600 card family
721 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
724 Requires: radeon-ucode
725 Requires: xorg-driver-video-ati
726 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
727 Requires: xorg-xserver-server >= %{xserver_ver}
729 %description dri-driver-ati-radeon-R600
730 X.org DRI driver for ATI R600/R700 card family.
732 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
733 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
735 %package dri-driver-intel-i915
736 Summary: X.org DRI driver for Intel i915 card family
737 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
740 Requires: xorg-driver-video-intel
741 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
742 Requires: xorg-xserver-server >= %{xserver_ver}
743 Obsoletes: Mesa-dri-driver-intel-i830
744 Obsoletes: X11-driver-i810-dri < 1:7.0.0
746 %description dri-driver-intel-i915
747 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
750 %description dri-driver-intel-i915 -l pl.UTF-8
751 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
754 %package dri-driver-intel-i965
755 Summary: X.org DRI driver for Intel i965 card family
756 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
759 Requires: xorg-driver-video-intel
760 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
761 Requires: xorg-xserver-server >= %{xserver_ver}
762 Obsoletes: Mesa-dri-driver-intel-i830
763 Obsoletes: X11-driver-i810-dri < 1:7.0.0
765 %description dri-driver-intel-i965
766 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
767 965GME, GM45, G41, B43, Q45, G45);
769 %description dri-driver-intel-i965 -l pl.UTF-8
770 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
771 965GM, 965GME, GM45, G41, B43, Q45, G45).
773 %package dri-driver-nouveau
774 Summary: X.org DRI driver for NVIDIA card family
775 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
778 Requires: xorg-driver-video-nouveau
779 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
780 Requires: xorg-xserver-server >= %{xserver_ver}
782 %description dri-driver-nouveau
783 X.org DRI drivers for NVIDIA card family.
785 %description dri-driver-nouveau -l pl.UTF-8
786 Sterowniki X.org DRI dla rodziny kart NVIDIA.
788 %package dri-driver-swrast
789 Summary: X.org DRI software rasterizer driver
790 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
793 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
794 Requires: xorg-xserver-server >= %{xserver_ver}
796 %description dri-driver-swrast
797 X.org DRI software rasterizer driver.
799 %description dri-driver-swrast -l pl.UTF-8
800 Sterownik X.org DRI obsługujący rysowanie programowe.
802 %package dri-driver-vmwgfx
803 Summary: X.org DRI driver for VMware
804 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
807 Requires: xorg-driver-video-vmware
808 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
809 Requires: xorg-xserver-server >= %{xserver_ver}
811 %description dri-driver-vmwgfx
812 X.org DRI driver for VMWare.
814 %description dri-driver-vmwgfx -l pl.UTF-8
815 Sterownik X.org DRI dla VMware.
817 %package -n libvdpau-driver-mesa-nouveau
818 Summary: Mesa nouveau driver for the vdpau API
819 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
822 Requires: libdrm >= %{libdrm_ver}
823 Requires: libvdpau >= 0.4.1
824 Conflicts: libvdpau-driver-mesa
826 %description -n libvdpau-driver-mesa-nouveau
827 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
830 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
831 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
834 %package -n libvdpau-driver-mesa-r300
835 Summary: Mesa r300 driver for the vdpau API
836 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
839 Requires: libdrm >= %{libdrm_ver}
840 Requires: libvdpau >= 0.4.1
841 Conflicts: libvdpau-driver-mesa
843 %description -n libvdpau-driver-mesa-r300
844 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
845 based on R300/R400/RS690/R500 chips.
847 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
848 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
849 na układach R300/R400/RS690/R500.
851 %package -n libvdpau-driver-mesa-r600
852 Summary: Mesa r600 driver for the vdpau API
853 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
856 Requires: libdrm >= %{libdrm_ver}
857 Requires: libvdpau >= 0.4.1
858 Conflicts: libvdpau-driver-mesa
860 %description -n libvdpau-driver-mesa-r600
861 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
862 based on R600/R700 chips.
864 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
865 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
866 na układach R600/R700.
868 %package -n libvdpau-driver-mesa-softpipe
869 Summary: Mesa softpipe driver for the vdpau API
870 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
873 Requires: libdrm >= %{libdrm_ver}
874 Requires: libvdpau >= 0.4.1
875 Conflicts: libvdpau-driver-mesa
877 %description -n libvdpau-driver-mesa-softpipe
878 Mesa softpipe driver for the vdpau API.
880 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
881 Sterownik Mesa softpipe dla API vdpau.
894 dri_drivers="r200 radeon \
895 %if %{without gallium_intel}
899 %ifarch sparc sparcv9 sparc64
904 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
906 gallium_drivers="svga swrast \
907 %if %{with gallium_intel}
912 %if %{with gallium_nouveau}
917 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
924 %{?with_static_libs:--enable-static} \
927 osmesa_common_flags="\
928 --with-driver=osmesa \
934 %configure $common_flags $osmesa_common_flags \
937 %{__make} -C src/mesa osmesa.pc
939 cp -p src/mesa/osmesa.pc osmesa8
943 %configure $common_flags \
945 --enable-shared-glapi \
950 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
953 --enable-gallium-llvm \
954 %{__enable egl gallium-egl} \
955 %{__enable gbm gallium-gbm} \
956 %{?with_egl:--enable-openvg} \
958 %{?with_xa:--enable-xa} \
960 --with-gallium-drivers=${gallium_drivers} \
962 --without-gallium-drivers \
965 --with-dri-drivers=${dri_drivers} \
966 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
971 rm -rf $RPM_BUILD_ROOT
974 DESTDIR=$RPM_BUILD_ROOT
977 cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
978 cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
981 # strip out undesirable headers
982 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
984 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
985 # not used externally
986 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
988 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
989 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
990 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
993 rm -rf $RPM_BUILD_ROOT
995 %post libEGL -p /sbin/ldconfig
996 %postun libEGL -p /sbin/ldconfig
998 %post libGL -p /sbin/ldconfig
999 %postun libGL -p /sbin/ldconfig
1001 %post libGLES -p /sbin/ldconfig
1002 %postun libGLES -p /sbin/ldconfig
1004 %post libGLU -p /sbin/ldconfig
1005 %postun libGLU -p /sbin/ldconfig
1007 %post libOSMesa -p /sbin/ldconfig
1008 %postun libOSMesa -p /sbin/ldconfig
1010 %post libOpenVG -p /sbin/ldconfig
1011 %postun libOpenVG -p /sbin/ldconfig
1013 %post libXvMC-nouveau -p /sbin/ldconfig
1014 %postun libXvMC-nouveau -p /sbin/ldconfig
1015 %post libXvMC-r300 -p /sbin/ldconfig
1016 %postun libXvMC-r300 -p /sbin/ldconfig
1017 %post libXvMC-r600 -p /sbin/ldconfig
1018 %postun libXvMC-r600 -p /sbin/ldconfig
1019 %post libXvMC-softpipe -p /sbin/ldconfig
1020 %postun libXvMC-softpipe -p /sbin/ldconfig
1022 %post libgbm -p /sbin/ldconfig
1023 %postun libgbm -p /sbin/ldconfig
1025 %post libglapi -p /sbin/ldconfig
1026 %postun libglapi -p /sbin/ldconfig
1028 %post libwayland-egl -p /sbin/ldconfig
1029 %postun libwayland-egl -p /sbin/ldconfig
1031 %post libxatracker -p /sbin/ldconfig
1032 %postun libxatracker -p /sbin/ldconfig
1036 %defattr(644,root,root,755)
1037 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1038 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1041 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1045 %defattr(644,root,root,755)
1046 %attr(755,root,root) %{_libdir}/libEGL.so
1047 %dir %{_includedir}/EGL
1048 %{_includedir}/EGL/egl.h
1049 %{_includedir}/EGL/eglext.h
1050 %{_includedir}/EGL/eglmesaext.h
1051 %{_includedir}/EGL/eglplatform.h
1052 %{_pkgconfigdir}/egl.pc
1054 %if %{with static_libs}
1055 %files libEGL-static
1056 %defattr(644,root,root,755)
1062 %defattr(644,root,root,755)
1063 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1064 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1065 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1066 # symlink for binary apps which fail to conform Linux OpenGL ABI
1067 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1068 %attr(755,root,root) %{_libdir}/libGL.so
1071 %defattr(644,root,root,755)
1073 %dir %{_includedir}/GL
1074 %{_includedir}/GL/gl.h
1075 %{_includedir}/GL/glext.h
1076 %{_includedir}/GL/gl_mangle.h
1077 %{_includedir}/GL/glx.h
1078 %{_includedir}/GL/glxext.h
1079 %{_includedir}/GL/glx_mangle.h
1080 %dir %{_includedir}/GL/internal
1081 %{_includedir}/GL/internal/dri_interface.h
1082 %{_pkgconfigdir}/dri.pc
1083 %{_pkgconfigdir}/gl.pc
1085 %if %{with static_libs}
1087 %defattr(644,root,root,755)
1092 %defattr(644,root,root,755)
1093 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1094 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1095 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1096 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1098 %files libGLES-devel
1099 %defattr(644,root,root,755)
1100 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1101 %attr(755,root,root) %{_libdir}/libGLESv2.so
1103 %{_includedir}/GLES2
1104 %{_pkgconfigdir}/glesv1_cm.pc
1105 %{_pkgconfigdir}/glesv2.pc
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
1110 %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_libdir}/libGLU.so
1115 %{_includedir}/GL/glu.h
1116 %{_includedir}/GL/glu_mangle.h
1117 %{_pkgconfigdir}/glu.pc
1119 %if %{with static_libs}
1120 %files libGLU-static
1121 %defattr(644,root,root,755)
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1129 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1131 %files libOSMesa-devel
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) %{_libdir}/libOSMesa.so
1134 %{_includedir}/GL/osmesa.h
1135 %{_pkgconfigdir}/osmesa.pc
1137 %if %{with static_libs}
1138 %files libOSMesa-static
1139 %defattr(644,root,root,755)
1140 %{_libdir}/libOSMesa.a
1144 %if %{with egl} && %{with gallium}
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1148 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1150 %files libOpenVG-devel
1151 %defattr(644,root,root,755)
1152 %attr(755,root,root) %{_libdir}/libOpenVG.so
1154 %{_pkgconfigdir}/vg.pc
1158 %if %{with gallium_nouveau}
1159 %files libXvMC-nouveau
1160 %defattr(644,root,root,755)
1161 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1162 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1168 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1171 %defattr(644,root,root,755)
1172 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1173 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1175 %files libXvMC-softpipe
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1178 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1183 %defattr(644,root,root,755)
1184 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1185 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1188 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1192 %defattr(644,root,root,755)
1193 %attr(755,root,root) %{_libdir}/libgbm.so
1194 %{_includedir}/gbm.h
1195 %{_pkgconfigdir}/gbm.pc
1199 %if %{with gallium_intel}
1200 %files gbm-driver-i915
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1205 %if %{with gallium_nouveau}
1206 %files gbm-driver-nouveau
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1211 %files gbm-driver-r300
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1215 %files gbm-driver-r600
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1219 %files gbm-driver-vmwgfx
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1227 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1228 # libglapi-devel? nothing seems to need it atm.
1229 #%attr(755,root,root) %{_libdir}/libglapi.so
1232 %files libwayland-egl
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1235 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1237 %files libwayland-egl-devel
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1240 %{_pkgconfigdir}/wayland-egl.pc
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1247 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1249 %files libxatracker-devel
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_libdir}/libxatracker.so
1252 %{_includedir}/xa_composite.h
1253 %{_includedir}/xa_context.h
1254 %{_includedir}/xa_tracker.h
1255 %{_pkgconfigdir}/xatracker.pc
1259 %files khrplatform-devel
1260 %defattr(644,root,root,755)
1261 %dir %{_includedir}/KHR
1262 %{_includedir}/KHR/khrplatform.h
1265 %files dri-driver-ati-radeon-R100
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1269 %files dri-driver-ati-radeon-R200
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1274 %files dri-driver-ati-radeon-R300
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1278 %files dri-driver-ati-radeon-R600
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1282 %files dri-driver-intel-i915
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1286 %files dri-driver-intel-i965
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1290 %if %{with gallium_nouveau}
1291 %files dri-driver-nouveau
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1297 %files dri-driver-swrast
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1302 %files dri-driver-vmwgfx
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1308 # ldconfig is not used in vdpau tree, so package all symlinks
1309 %if %{with gallium_nouveau}
1310 %files -n libvdpau-driver-mesa-nouveau
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1313 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1314 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1317 %files -n libvdpau-driver-mesa-r300
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1320 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1321 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1323 %files -n libvdpau-driver-mesa-r600
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1326 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1327 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1329 %files -n libvdpau-driver-mesa-softpipe
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1332 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1333 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so