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}
273 Provides: OpenGLESv1 = 1.1
274 Provides: OpenGLESv2 = 2.0
277 This package contains shared libraries of Mesa implementation of GLES
278 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
279 on embedded systems. OpenGL ES specification can be found on Khronos
280 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
283 %description libGLES -l pl.UTF-8
284 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
285 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
286 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
287 OpenGL ES można znaleźć na stronie Khronos Group:
288 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
291 %package libGLES-devel
292 Summary: Header files for Mesa GLES libraries
293 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
294 Group: Development/Libraries
295 Requires: %{name}-khrplatform-devel = %{version}-%{release}
296 # <EGL/egl.h> for <GLES/egl.h>
297 Requires: %{name}-libEGL-devel = %{version}-%{release}
298 Requires: %{name}-libGLES = %{version}-%{release}
299 Provides: OpenGLES-devel
300 Provides: OpenGLESv1-devel = 1.1
301 Provides: OpenGLESv2-devel = 2.0
303 %description libGLES-devel
304 Header files for Mesa GLES libraries.
306 %description libGLES-devel -l pl.UTF-8
307 Pliki nagłówkowe bibliotek Mesa GLES.
310 Summary: SGI implementation of libGLU OpenGL library
311 Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
312 License: SGI Free Software License B v2.0 (MIT-like)
314 # loose dependency on libGL.so.1 to use with other libGL binaries
315 Requires: OpenGL >= 1.2
316 Provides: OpenGL-GLU = 1.3
317 Obsoletes: Mesa-devel
318 Obsoletes: X11-OpenGL-libs < 1:7.0.0
319 Obsoletes: XFree86-OpenGL-libs < 1:7.0.0
322 SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
325 %description libGLU -l pl.UTF-8
326 Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
327 specyfikację OpenGL GLU 1.3.
329 %package libGLU-devel
330 Summary: Header files for SGI libGLU library
331 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
332 License: SGI Free Software License B v2.0 (MIT-like)
333 Group: Development/Libraries
334 Requires: %{name}-libGLU = %{version}-%{release}
335 Requires: OpenGL-devel >= 1.2
336 Requires: libstdc++-devel
337 Provides: OpenGL-GLU-devel = 1.3
339 %description libGLU-devel
340 Header files for SGI libGLU library.
342 %description libGLU-devel -l pl.UTF-8
343 Pliki nagłówkowe biblioteki SGI libGLU.
345 %package libGLU-static
346 Summary: Static SGI libGLU library
347 Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
348 License: SGI Free Software License B v2.0 (MIT-like)
349 Group: Development/Libraries
350 Requires: %{name}-libGLU-devel = %{version}-%{release}
351 Provides: OpenGL-GLU-static = 1.3
353 %description libGLU-static
354 Static SGI libGLU library.
356 %description libGLU-static -l pl.UTF-8
357 Statyczna biblioteka SGI libGLU.
360 Summary: OSMesa (off-screen renderer) library
361 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
365 %description libOSMesa
366 OSMesa (off-screen renderer) library.
368 %description libOSMesa -l pl.UTF-8
369 Biblioteka OSMesa (renderująca bitmapy w pamięci).
371 %package libOSMesa-devel
372 Summary: Header file for OSMesa (off-screen renderer) library
373 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
375 Group: Development/Libraries
376 Requires: %{name}-libOSMesa = %{version}-%{release}
378 Requires: OpenGL-devel
379 Requires: libselinux-devel
381 %description libOSMesa-devel
382 Header file for OSMesa (off-screen renderer) library.
384 %description libOSMesa-devel -l pl.UTF-8
385 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
387 %package libOSMesa-static
388 Summary: Static OSMesa (off-screen renderer) library
389 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
391 Group: Development/Libraries
392 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
393 # this static build of OSMesa needs static non-dri Mesa implementation
394 Requires: %{name}-libGL-static = %{version}-%{release}
396 %description libOSMesa-static
397 Static OSMesa (off-screen renderer) library.
399 %description libOSMesa-static -l pl.UTF-8
400 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
403 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
404 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
407 Provides: OpenVG = 1.1
409 %description libOpenVG
410 This package contains Mesa implementation of OpenVG - cross-platform
411 API that provides a low-level hardware acceleration interface for
412 vector graphics libraries such as Flash and SVG. OpenVG specification
413 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
414 Mesa implements OpenVG 1.1.
416 %description libOpenVG -l pl.UTF-8
417 Ten pakiet zawiera implementację Mesa standardu OpenVG -
418 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
419 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
420 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
421 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
424 %package libOpenVG-devel
425 Summary: Header file for Mesa OpenVG library
426 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
428 Group: Development/Libraries
429 Requires: %{name}-khrplatform-devel = %{version}-%{release}
430 Requires: %{name}-libOpenVG = %{version}-%{release}
431 Provides: OpenVG-devel = 1.1
433 %description libOpenVG-devel
434 Header file for Mesa OpenVG library.
436 %description libOpenVG-devel -l pl.UTF-8
437 Plik nagłówkowy biblioteki Mesa OpenVG.
439 %package libXvMC-nouveau
440 Summary: Mesa implementation of XvMC API for NVidia adapters
441 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
444 Requires: libdrm >= %{libdrm_ver}
445 Requires: xorg-lib-libXvMC >= 1.0.6
446 Conflicts: Mesa-libXvMC
448 %description libXvMC-nouveau
449 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
451 %description libXvMC-nouveau -l pl.UTF-8
452 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
454 %package libXvMC-r300
455 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
456 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
459 Requires: libdrm >= %{libdrm_ver}
460 Requires: xorg-lib-libXvMC >= 1.0.6
461 Conflicts: Mesa-libXvMC
463 %description libXvMC-r300
464 Mesa implementation of XvMC API for ATI Radeon adapters based on
465 R300/R400/RS690/R500 chips.
467 %description libXvMC-r300 -l pl.UTF-8
468 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
469 R300/R400/RS690/R500.
471 %package libXvMC-r600
472 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
473 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
476 Requires: libdrm >= %{libdrm_ver}
477 Requires: xorg-lib-libXvMC >= 1.0.6
478 Conflicts: Mesa-libXvMC
480 %description libXvMC-r600
481 Mesa implementation of XvMC API for ATI Radeon adapters based on
484 %description libXvMC-r600 -l pl.UTF-8
485 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
488 %package libXvMC-softpipe
489 Summary: Mesa softpipe implementation of XvMC API
490 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
493 Requires: libdrm >= %{libdrm_ver}
494 Requires: xorg-lib-libXvMC >= 1.0.6
495 Conflicts: Mesa-libXvMC
497 %description libXvMC-softpipe
498 Mesa softpipe implementation of XvMC API.
500 %description libXvMC-softpipe -l pl.UTF-8
501 Implementacja Mesa softpipe API XvMC.
504 Summary: Mesa Graphics Buffer Manager library
505 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
507 Requires: udev-libs >= 1:150
508 Conflicts: Mesa-libEGL < 8.0.1-2
511 Mesa Graphics Buffer Manager library.
513 %description libgbm -l pl.UTF-8
514 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
516 %package libgbm-devel
517 Summary: Header file for Mesa Graphics Buffer Manager library
518 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
519 Group: Development/Libraries
520 Requires: %{name}-libgbm = %{version}-%{release}
521 Requires: udev-devel >= 1:150
523 %description libgbm-devel
524 Header file for Mesa Graphics Buffer Manager library.
526 %description libgbm-devel -l pl.UTF-8
527 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
530 %package gbm-driver-i915
531 Summary: i915 driver for Mesa GBM framework
532 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
534 Requires: %{name}-libgbm = %{version}-%{release}
536 %description gbm-driver-i915
537 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
538 915/945/G33/Q33/Q35/Pineview chips.
540 %description gbm-driver-i915 -l pl.UTF-8
541 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
542 bufora graficznego). Obsługuje układy Intela z serii
543 915/945/G33/Q33/Q35/Pineview.
545 %package gbm-driver-nouveau
546 Summary: nouveau driver for Mesa GBM framework
547 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
549 Requires: %{name}-libgbm = %{version}-%{release}
551 %description gbm-driver-nouveau
552 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
555 %description gbm-driver-nouveau -l pl.UTF-8
556 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
557 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
559 %package gbm-driver-r300
560 Summary: r300 driver for Mesa GBM framework
561 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
563 Requires: %{name}-libgbm = %{version}-%{release}
565 %description gbm-driver-r300
566 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
567 adapters based on R300/R400/RS690/R500 chips.
569 %description gbm-driver-r300 -l pl.UTF-8
570 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
571 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
572 układach R300/R400/RS690/R500.
574 %package gbm-driver-r600
575 Summary: r600 driver for Mesa GBM framework
576 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
578 Requires: %{name}-libgbm = %{version}-%{release}
580 %description gbm-driver-r600
581 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
582 adapters based on R600/R700 chips.
584 %description gbm-driver-r600 -l pl.UTF-8
585 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
586 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
589 %package gbm-driver-vmwgfx
590 Summary: vmwgfx driver for Mesa GBM framework
591 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
593 Requires: %{name}-libgbm = %{version}-%{release}
595 %description gbm-driver-vmwgfx
596 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
597 virtual video adapter.
599 %description gbm-driver-vmwgfx -l pl.UTF-8
600 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
601 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
604 Summary: Mesa GL API shared library
605 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
607 Conflicts: Mesa-libEGL < 8.0.1-2
609 %description libglapi
610 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
612 %description libglapi -l pl.UTF-8
613 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
616 %package libwayland-egl
617 Summary: Wayland EGL library
618 Summary(pl.UTF-8): Biblioteka Wayland EGL
620 Requires: libdrm >= %{libdrm_ver}
622 %description libwayland-egl
623 Wayland EGL platform library.
625 %description libwayland-egl -l pl.UTF-8
626 Biblioteka platformy EGL Wayland.
628 %package libwayland-egl-devel
629 Summary: Development files for Wayland EGL library
630 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
631 Group: Development/Libraries
632 Requires: %{name}-libwayland-egl = %{version}-%{release}
633 Requires: libdrm-devel >= %{libdrm_ver}
634 Requires: wayland-devel
636 %description libwayland-egl-devel
637 Development files for Wayland EGL platform library.
639 %description libwayland-egl-devel -l pl.UTF-8
640 Pliki programistyczne biblioteki platformy EGL Wayland.
642 %package libxatracker
643 Summary: Xorg Gallium3D accelleration library
644 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
646 Requires: libdrm >= %{libdrm_ver}
648 %description libxatracker
649 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
651 %description libxatracker -l pl.UTF-8
652 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
655 %package libxatracker-devel
656 Summary: Header files for Xorg Gallium3D accelleration library
657 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
658 Group: X11/Development/Libraries
659 Requires: %{name}-libxatracker = %{version}-%{release}
660 Requires: libdrm-devel >= %{libdrm_ver}
662 %description libxatracker-devel
663 Header files for Xorg Gallium3D accelleration library.
665 %description libxatracker-devel -l pl.UTF-8
666 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
668 %package khrplatform-devel
669 Summary: Khronos platform header file
670 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
671 Group: Development/Libraries
672 Conflicts: Mesa-libEGL-devel < 8.0.1-2
674 %description khrplatform-devel
675 Khronos platform header file.
677 %description khrplatform-devel -l pl.UTF-8
678 Plik nagłówkowy platformy Khronos.
680 %package dri-driver-ati-radeon-R100
681 Summary: X.org DRI driver for ATI R100 card family
682 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
685 Requires: xorg-driver-video-ati
686 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
687 Requires: xorg-xserver-server >= %{xserver_ver}
688 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
690 %description dri-driver-ati-radeon-R100
691 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
693 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
694 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
696 %package dri-driver-ati-radeon-R200
697 Summary: X.org DRI driver for ATI R200 card family
698 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
701 Requires: xorg-driver-video-ati
702 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
703 Requires: xorg-xserver-server >= %{xserver_ver}
704 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
706 %description dri-driver-ati-radeon-R200
707 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
709 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
710 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
712 %package dri-driver-ati-radeon-R300
713 Summary: X.org DRI driver for ATI R300 card family
714 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
717 Requires: xorg-driver-video-ati
718 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
719 Requires: xorg-xserver-server >= %{xserver_ver}
720 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
722 %description dri-driver-ati-radeon-R300
723 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
725 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
726 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
728 %package dri-driver-ati-radeon-R600
729 Summary: X.org DRI driver for ATI R600 card family
730 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
733 Requires: radeon-ucode
734 Requires: xorg-driver-video-ati
735 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
736 Requires: xorg-xserver-server >= %{xserver_ver}
738 %description dri-driver-ati-radeon-R600
739 X.org DRI driver for ATI R600/R700 card family.
741 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
742 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
744 %package dri-driver-intel-i915
745 Summary: X.org DRI driver for Intel i915 card family
746 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
749 Requires: xorg-driver-video-intel
750 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
751 Requires: xorg-xserver-server >= %{xserver_ver}
752 Obsoletes: Mesa-dri-driver-intel-i830
753 Obsoletes: X11-driver-i810-dri < 1:7.0.0
755 %description dri-driver-intel-i915
756 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
759 %description dri-driver-intel-i915 -l pl.UTF-8
760 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
763 %package dri-driver-intel-i965
764 Summary: X.org DRI driver for Intel i965 card family
765 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
768 Requires: xorg-driver-video-intel
769 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
770 Requires: xorg-xserver-server >= %{xserver_ver}
771 Obsoletes: Mesa-dri-driver-intel-i830
772 Obsoletes: X11-driver-i810-dri < 1:7.0.0
774 %description dri-driver-intel-i965
775 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
776 965GME, GM45, G41, B43, Q45, G45);
778 %description dri-driver-intel-i965 -l pl.UTF-8
779 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
780 965GM, 965GME, GM45, G41, B43, Q45, G45).
782 %package dri-driver-nouveau
783 Summary: X.org DRI driver for NVIDIA card family
784 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
787 Requires: xorg-driver-video-nouveau
788 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
789 Requires: xorg-xserver-server >= %{xserver_ver}
791 %description dri-driver-nouveau
792 X.org DRI drivers for NVIDIA card family.
794 %description dri-driver-nouveau -l pl.UTF-8
795 Sterowniki X.org DRI dla rodziny kart NVIDIA.
797 %package dri-driver-swrast
798 Summary: X.org DRI software rasterizer driver
799 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
802 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
803 Requires: xorg-xserver-server >= %{xserver_ver}
805 %description dri-driver-swrast
806 X.org DRI software rasterizer driver.
808 %description dri-driver-swrast -l pl.UTF-8
809 Sterownik X.org DRI obsługujący rysowanie programowe.
811 %package dri-driver-vmwgfx
812 Summary: X.org DRI driver for VMware
813 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
816 Requires: xorg-driver-video-vmware
817 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
818 Requires: xorg-xserver-server >= %{xserver_ver}
820 %description dri-driver-vmwgfx
821 X.org DRI driver for VMWare.
823 %description dri-driver-vmwgfx -l pl.UTF-8
824 Sterownik X.org DRI dla VMware.
826 %package -n libvdpau-driver-mesa-nouveau
827 Summary: Mesa nouveau driver for the vdpau API
828 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
831 Requires: libdrm >= %{libdrm_ver}
832 Requires: libvdpau >= 0.4.1
833 Conflicts: libvdpau-driver-mesa
835 %description -n libvdpau-driver-mesa-nouveau
836 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
839 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
840 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
843 %package -n libvdpau-driver-mesa-r300
844 Summary: Mesa r300 driver for the vdpau API
845 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
848 Requires: libdrm >= %{libdrm_ver}
849 Requires: libvdpau >= 0.4.1
850 Conflicts: libvdpau-driver-mesa
852 %description -n libvdpau-driver-mesa-r300
853 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
854 based on R300/R400/RS690/R500 chips.
856 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
857 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
858 na układach R300/R400/RS690/R500.
860 %package -n libvdpau-driver-mesa-r600
861 Summary: Mesa r600 driver for the vdpau API
862 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
865 Requires: libdrm >= %{libdrm_ver}
866 Requires: libvdpau >= 0.4.1
867 Conflicts: libvdpau-driver-mesa
869 %description -n libvdpau-driver-mesa-r600
870 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
871 based on R600/R700 chips.
873 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
874 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
875 na układach R600/R700.
877 %package -n libvdpau-driver-mesa-softpipe
878 Summary: Mesa softpipe driver for the vdpau API
879 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
882 Requires: libdrm >= %{libdrm_ver}
883 Requires: libvdpau >= 0.4.1
884 Conflicts: libvdpau-driver-mesa
886 %description -n libvdpau-driver-mesa-softpipe
887 Mesa softpipe driver for the vdpau API.
889 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
890 Sterownik Mesa softpipe dla API vdpau.
904 dri_drivers="r200 radeon \
905 %if %{without gallium_intel}
909 %ifarch sparc sparcv9 sparc64
914 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
916 gallium_drivers="svga swrast \
917 %if %{with gallium_intel}
922 %if %{with gallium_nouveau}
927 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
934 %{?with_static_libs:--enable-static} \
937 osmesa_common_flags="\
938 --with-driver=osmesa \
944 %configure $common_flags $osmesa_common_flags \
947 %{__make} -C src/mesa osmesa.pc
949 cp -p src/mesa/osmesa.pc osmesa8
953 %configure $common_flags \
955 --enable-shared-glapi \
960 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
963 --enable-gallium-llvm \
964 %{__enable egl gallium-egl} \
965 %{__enable gbm gallium-gbm} \
966 %{?with_egl:--enable-openvg} \
968 %{?with_xa:--enable-xa} \
970 --with-gallium-drivers=${gallium_drivers} \
972 --without-gallium-drivers \
975 --with-dri-drivers=${dri_drivers} \
976 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
981 rm -rf $RPM_BUILD_ROOT
984 DESTDIR=$RPM_BUILD_ROOT
987 cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
988 cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
991 # strip out undesirable headers
992 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
994 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
995 # not used externally
996 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
998 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
999 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1000 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1003 rm -rf $RPM_BUILD_ROOT
1005 %post libEGL -p /sbin/ldconfig
1006 %postun libEGL -p /sbin/ldconfig
1008 %post libGL -p /sbin/ldconfig
1009 %postun libGL -p /sbin/ldconfig
1011 %post libGLES -p /sbin/ldconfig
1012 %postun libGLES -p /sbin/ldconfig
1014 %post libGLU -p /sbin/ldconfig
1015 %postun libGLU -p /sbin/ldconfig
1017 %post libOSMesa -p /sbin/ldconfig
1018 %postun libOSMesa -p /sbin/ldconfig
1020 %post libOpenVG -p /sbin/ldconfig
1021 %postun libOpenVG -p /sbin/ldconfig
1023 %post libXvMC-nouveau -p /sbin/ldconfig
1024 %postun libXvMC-nouveau -p /sbin/ldconfig
1025 %post libXvMC-r300 -p /sbin/ldconfig
1026 %postun libXvMC-r300 -p /sbin/ldconfig
1027 %post libXvMC-r600 -p /sbin/ldconfig
1028 %postun libXvMC-r600 -p /sbin/ldconfig
1029 %post libXvMC-softpipe -p /sbin/ldconfig
1030 %postun libXvMC-softpipe -p /sbin/ldconfig
1032 %post libgbm -p /sbin/ldconfig
1033 %postun libgbm -p /sbin/ldconfig
1035 %post libglapi -p /sbin/ldconfig
1036 %postun libglapi -p /sbin/ldconfig
1038 %post libwayland-egl -p /sbin/ldconfig
1039 %postun libwayland-egl -p /sbin/ldconfig
1041 %post libxatracker -p /sbin/ldconfig
1042 %postun libxatracker -p /sbin/ldconfig
1046 %defattr(644,root,root,755)
1047 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1048 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1051 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1055 %defattr(644,root,root,755)
1056 %attr(755,root,root) %{_libdir}/libEGL.so
1057 %dir %{_includedir}/EGL
1058 %{_includedir}/EGL/egl.h
1059 %{_includedir}/EGL/eglext.h
1060 %{_includedir}/EGL/eglmesaext.h
1061 %{_includedir}/EGL/eglplatform.h
1062 %{_pkgconfigdir}/egl.pc
1064 %if %{with static_libs}
1065 %files libEGL-static
1066 %defattr(644,root,root,755)
1072 %defattr(644,root,root,755)
1073 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1074 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1075 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1076 # symlink for binary apps which fail to conform Linux OpenGL ABI
1077 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1078 %attr(755,root,root) %{_libdir}/libGL.so
1081 %defattr(644,root,root,755)
1083 %dir %{_includedir}/GL
1084 %{_includedir}/GL/gl.h
1085 %{_includedir}/GL/glext.h
1086 %{_includedir}/GL/gl_mangle.h
1087 %{_includedir}/GL/glx.h
1088 %{_includedir}/GL/glxext.h
1089 %{_includedir}/GL/glx_mangle.h
1090 %dir %{_includedir}/GL/internal
1091 %{_includedir}/GL/internal/dri_interface.h
1092 %{_pkgconfigdir}/dri.pc
1093 %{_pkgconfigdir}/gl.pc
1095 %if %{with static_libs}
1097 %defattr(644,root,root,755)
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1104 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1105 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1106 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1108 %files libGLES-devel
1109 %defattr(644,root,root,755)
1110 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1111 %attr(755,root,root) %{_libdir}/libGLESv2.so
1113 %{_includedir}/GLES2
1114 %{_pkgconfigdir}/glesv1_cm.pc
1115 %{_pkgconfigdir}/glesv2.pc
1118 %defattr(644,root,root,755)
1119 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
1120 %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
1123 %defattr(644,root,root,755)
1124 %attr(755,root,root) %{_libdir}/libGLU.so
1125 %{_includedir}/GL/glu.h
1126 %{_includedir}/GL/glu_mangle.h
1127 %{_pkgconfigdir}/glu.pc
1129 %if %{with static_libs}
1130 %files libGLU-static
1131 %defattr(644,root,root,755)
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1139 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1141 %files libOSMesa-devel
1142 %defattr(644,root,root,755)
1143 %attr(755,root,root) %{_libdir}/libOSMesa.so
1144 %{_includedir}/GL/osmesa.h
1145 %{_pkgconfigdir}/osmesa.pc
1147 %if %{with static_libs}
1148 %files libOSMesa-static
1149 %defattr(644,root,root,755)
1150 %{_libdir}/libOSMesa.a
1154 %if %{with egl} && %{with gallium}
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1158 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1160 %files libOpenVG-devel
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_libdir}/libOpenVG.so
1164 %{_pkgconfigdir}/vg.pc
1168 %if %{with gallium_nouveau}
1169 %files libXvMC-nouveau
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1172 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1178 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1183 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1185 %files libXvMC-softpipe
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1188 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1193 %defattr(644,root,root,755)
1194 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1195 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1198 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_libdir}/libgbm.so
1204 %{_includedir}/gbm.h
1205 %{_pkgconfigdir}/gbm.pc
1209 %if %{with gallium_intel}
1210 %files gbm-driver-i915
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1215 %if %{with gallium_nouveau}
1216 %files gbm-driver-nouveau
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1221 %files gbm-driver-r300
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1225 %files gbm-driver-r600
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1229 %files gbm-driver-vmwgfx
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1237 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1238 # libglapi-devel? nothing seems to need it atm.
1239 #%attr(755,root,root) %{_libdir}/libglapi.so
1242 %files libwayland-egl
1243 %defattr(644,root,root,755)
1244 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1245 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1247 %files libwayland-egl-devel
1248 %defattr(644,root,root,755)
1249 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1250 %{_pkgconfigdir}/wayland-egl.pc
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1257 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1259 %files libxatracker-devel
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libxatracker.so
1262 %{_includedir}/xa_composite.h
1263 %{_includedir}/xa_context.h
1264 %{_includedir}/xa_tracker.h
1265 %{_pkgconfigdir}/xatracker.pc
1269 %files khrplatform-devel
1270 %defattr(644,root,root,755)
1271 %dir %{_includedir}/KHR
1272 %{_includedir}/KHR/khrplatform.h
1275 %files dri-driver-ati-radeon-R100
1276 %defattr(644,root,root,755)
1277 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1279 %files dri-driver-ati-radeon-R200
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1284 %files dri-driver-ati-radeon-R300
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1288 %files dri-driver-ati-radeon-R600
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1292 %files dri-driver-intel-i915
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1296 %files dri-driver-intel-i965
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1300 %if %{with gallium_nouveau}
1301 %files dri-driver-nouveau
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1307 %files dri-driver-swrast
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1312 %files dri-driver-vmwgfx
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1318 # ldconfig is not used in vdpau tree, so package all symlinks
1319 %if %{with gallium_nouveau}
1320 %files -n libvdpau-driver-mesa-nouveau
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1323 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1324 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1327 %files -n libvdpau-driver-mesa-r300
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1330 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1331 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1333 %files -n libvdpau-driver-mesa-r600
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1336 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1337 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1339 %files -n libvdpau-driver-mesa-softpipe
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1342 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1343 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so