3 # - check if gallium_intel note is still valid, switch the bcond if not
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 gallium # gallium drivers
10 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
11 %bcond_without gallium_nouveau # gallium nouveau driver
12 %bcond_without egl # EGL libraries
13 %bcond_without gbm # Graphics Buffer Manager
14 %bcond_without opencl # OpenCL library
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 # glapi version (glapi tables in dri drivers and libglx must be in sync);
20 # set to current Mesa version on ABI break, when xserver tables get regenerated
21 # (until they start to be somehow versioned themselves)
22 %define glapi_ver 7.1.0
23 # internal API version (libdricore); a.b.c for Mesa-a.b.c, a.b.0 for Mesa-a.b
24 %define int_sover 9.2.0
25 # minimal supported xserver version
26 %define xserver_ver 1.5.0
28 %define libdrm_ver 2.4.46
29 %define dri2proto_ver 2.6
30 %define glproto_ver 1.4.14
32 Summary: Free OpenGL implementation
33 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
37 License: MIT (core) and others - see license.html file
39 Source0: ftp://ftp.freedesktop.org/pub/mesa/9.2/%{name}Lib-%{version}.tar.bz2
40 # Source0-md5: 4185b6aae890bc62a964f4b24cc1aca8
41 Patch0: %{name}-link.patch
42 Patch1: 0001-gallium-egl-Simplify-native_wayland_drm_bufmgr_helpe.patch
43 Patch2: 0002-gallium-egl-Don-t-add-a-listener-for-wl_drm-twice-in.patch
44 Patch3: 0003-egl-Update-to-Wayland-1.2-server-API.patch
45 Patch4: 0004-gallium-egl-Commit-the-rest-of-the-native_wayland_dr.patch
46 URL: http://www.mesa3d.org/
47 BuildRequires: autoconf >= 2.60
48 BuildRequires: automake
49 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
50 BuildRequires: expat-devel
51 BuildRequires: gcc >= 5:3.3
52 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
53 BuildRequires: libdrm-devel >= %{libdrm_ver}
54 BuildRequires: libselinux-devel
55 BuildRequires: libstdc++-devel >= 5:3.3.0
56 BuildRequires: libtalloc-devel >= 2:2.0.1
57 BuildRequires: libtool >= 2:2.2
58 BuildRequires: libvdpau-devel >= 0.4.1
59 BuildRequires: libxcb-devel >= 1.9
60 BuildRequires: llvm-devel >= 3.3
61 %{?with_opencl:BuildRequires: llvm-libclc}
62 BuildRequires: perl-base
63 BuildRequires: pixman-devel
64 BuildRequires: pkgconfig
65 BuildRequires: pkgconfig(talloc) >= 2.0.1
66 BuildRequires: python >= 2
67 BuildRequires: python-libxml2
68 BuildRequires: python-modules >= 2
69 BuildRequires: rpmbuild(macros) >= 1.470
70 BuildRequires: sed >= 4.0
71 %{?with_egl:BuildRequires: udev-devel >= 1:151}
72 # wayland-{client,server}
73 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.2}
74 BuildRequires: xorg-lib-libXdamage-devel
75 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
76 BuildRequires: xorg-lib-libXfixes-devel
77 BuildRequires: xorg-lib-libXt-devel
78 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
79 BuildRequires: xorg-lib-libXxf86vm-devel
80 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
81 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
82 BuildRequires: xorg-util-makedepend
83 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
85 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
86 BuildRequires: xorg-xserver-server-devel >= 1.6.0
88 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
90 %if %{without gallium}
91 %undefine with_gallium_intel
92 %undefine with_gallium_nouveau
99 %undefine with_wayland
102 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
103 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
104 # libdricore: internal library, not linked with libglapi
105 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
106 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.*
109 %define filterout_ld -Wl,--as-needed
112 Mesa is a 3-D graphics library with an API which is very similar to
113 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
114 syntax or state machine, it is being used with authorization from
115 Silicon Graphics, Inc. However, the author does not possess an OpenGL
116 license from SGI, and makes no claim that Mesa is in any way a
117 compatible replacement for OpenGL or associated with SGI.
119 %description -l pl.UTF-8
120 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
121 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
122 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
123 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
124 OpenGL ani powiązana z SGI.
127 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
128 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
131 Requires: %{name}-libglapi = %{version}-%{release}
132 # glx driver in libEGL dlopens libGL.so
133 Requires: OpenGL >= 1.2
134 Requires: libdrm >= %{libdrm_ver}
135 Requires: libxcb >= 1.9
136 %{?with_wayland:Requires: wayland >= 1.0.2}
139 Requires: %{name}-libOpenVG = %{version}-%{release}
140 Requires: udev-libs >= 1:151
143 Requires: %{name}-libgbm = %{version}-%{release}
148 This package contains shared libEGL - Mesa implementation of EGL
149 Native Platform Graphics Interface as specified by Khronos Group:
150 <http://www.khronos.org/egl/>.
152 %description libEGL -l pl.UTF-8
153 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
154 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
155 graficznego platformy natywnej) wg specyfikacji Khronos Group:
156 <http://www.khronos.org/egl/>.
158 %package libEGL-devel
159 Summary: Header files for Mesa implementation of EGL library
160 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
162 Group: Development/Libraries
163 Requires: %{name}-khrplatform-devel = %{version}-%{release}
164 Requires: %{name}-libEGL = %{version}-%{release}
165 Requires: libdrm-devel >= %{libdrm_ver}
166 Requires: xorg-lib-libX11-devel
167 Requires: xorg-lib-libXdamage-devel
168 Requires: xorg-lib-libXext-devel
169 Requires: xorg-lib-libXfixes-devel
170 Requires: xorg-lib-libXxf86vm-devel
171 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
172 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
173 Provides: EGL-devel = 1.4
175 %description libEGL-devel
176 Header files for Mesa implementation of EGL library.
178 %description libEGL-devel -l pl.UTF-8
179 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
181 %package libEGL-static
182 Summary: Static Mesa EGL library
183 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
185 Group: Development/Libraries
186 Requires: %{name}-libEGL-devel = %{version}-%{release}
187 Provides: EGL-static = 1.4
189 %description libEGL-static
190 Static Mesa EGL library.
192 %description libEGL-static -l pl.UTF-8
193 Statyczna biblioteka Mesa EGL.
196 Summary: Free Mesa3D implementation of libGL OpenGL library
197 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
200 Requires: %{name}-libglapi = %{version}-%{release}
201 Requires: libdrm >= %{libdrm_ver}
202 Provides: OpenGL = 3.1
203 Provides: OpenGL-GLX = 1.4
206 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
207 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
210 Mesa is a 3-D graphics library with an API which is very similar to
211 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
212 syntax or state machine, it is being used with authorization from
213 Silicon Graphics, Inc. However, the author does not possess an OpenGL
214 license from SGI, and makes no claim that Mesa is in any way a
215 compatible replacement for OpenGL or associated with SGI.
217 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
218 specifications. It uses DRI for rendering.
220 %description libGL -l pl.UTF-8
221 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
222 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
223 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
224 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
225 OpenGL ani powiązana z SGI.
227 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
228 GLX 1.4. Używa DRI do renderowania.
231 Summary: Header files for Mesa3D libGL library
232 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
234 Group: X11/Development/Libraries
235 # loose dependency on libGL to use with other libGL binaries
236 Requires: OpenGL >= 1.5
237 Requires: libdrm-devel >= %{libdrm_ver}
238 Requires: xorg-lib-libX11-devel
239 Requires: xorg-lib-libXdamage-devel
240 Requires: xorg-lib-libXext-devel
241 Requires: xorg-lib-libXxf86vm-devel
242 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
243 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
244 Suggests: OpenGL-doc-man
245 Provides: OpenGL-GLX-devel = 1.4
246 Provides: OpenGL-devel = 3.1
247 Obsoletes: Mesa-devel
248 Obsoletes: X11-OpenGL-devel < 1:7.0.0
249 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
250 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
251 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
253 %description libGL-devel
254 Header files for Mesa3D libGL library.
256 %description libGL-devel -l pl.UTF-8
257 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
259 %package libGL-static
260 Summary: Static Mesa3D libGL library
261 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
263 Group: X11/Development/Libraries
264 Requires: %{name}-libGL-devel = %{version}-%{release}
265 Provides: OpenGL-static = 3.1
266 Obsoletes: Mesa-static
267 Obsoletes: X11-OpenGL-static < 1:7.0.0
268 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
270 %description libGL-static
271 Static Mesa3D libGL library. It uses software renderer.
273 %description libGL-static -l pl.UTF-8
274 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
278 Summary: Mesa implementation of GLES (OpenGL ES) libraries
279 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
281 Requires: %{name}-libglapi = %{version}-%{release}
283 Provides: OpenGLESv1 = 1.1
284 Provides: OpenGLESv2 = 2.0
287 This package contains shared libraries of Mesa implementation of GLES
288 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
289 on embedded systems. OpenGL ES specification can be found on Khronos
290 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
293 %description libGLES -l pl.UTF-8
294 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
295 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
296 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
297 OpenGL ES można znaleźć na stronie Khronos Group:
298 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
301 %package libGLES-devel
302 Summary: Header files for Mesa GLES libraries
303 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
304 Group: Development/Libraries
305 Requires: %{name}-khrplatform-devel = %{version}-%{release}
306 # <EGL/egl.h> for <GLES/egl.h>
307 Requires: %{name}-libEGL-devel = %{version}-%{release}
308 Requires: %{name}-libGLES = %{version}-%{release}
309 Provides: OpenGLES-devel
310 Provides: OpenGLESv1-devel = 1.1
311 Provides: OpenGLESv2-devel = 2.0
313 %description libGLES-devel
314 Header files for Mesa GLES libraries.
316 %description libGLES-devel -l pl.UTF-8
317 Pliki nagłówkowe bibliotek Mesa GLES.
320 Summary: OSMesa (off-screen renderer) library
321 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
325 %description libOSMesa
326 OSMesa (off-screen renderer) library.
328 %description libOSMesa -l pl.UTF-8
329 Biblioteka OSMesa (renderująca bitmapy w pamięci).
331 %package libOSMesa-devel
332 Summary: Header file for OSMesa (off-screen renderer) library
333 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
335 Group: Development/Libraries
336 Requires: %{name}-libOSMesa = %{version}-%{release}
338 Requires: OpenGL-devel
339 Requires: libselinux-devel
341 %description libOSMesa-devel
342 Header file for OSMesa (off-screen renderer) library.
344 %description libOSMesa-devel -l pl.UTF-8
345 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
347 %package libOSMesa-static
348 Summary: Static OSMesa (off-screen renderer) library
349 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
351 Group: Development/Libraries
352 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
353 # this static build of OSMesa needs static non-dri Mesa implementation
354 Requires: %{name}-libGL-static = %{version}-%{release}
356 %description libOSMesa-static
357 Static OSMesa (off-screen renderer) library.
359 %description libOSMesa-static -l pl.UTF-8
360 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
363 Summary: Mesa implementation of OpenCL (Compuing Language) API
364 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
367 Requires: libdrm >= %{libdrm_ver}
368 Requires: llvm-libclc
369 Requires: udev-libs >= 1:151
370 Provides: OpenCL = 1.1
372 %description libOpenCL
373 This package contains Mesa implementation of OpenCL - standard for
374 cross-platform, parallel programming of modern processors found in
375 personal computers, servers and handheld/embedded devices. OpenCL
376 specification can be found on Khronos Group site:
377 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
379 %description libOpenCL -l pl.UTF-8
380 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
381 wieloplatformowego, równoległego programowania nowoczesnych
382 procesorów, jakie znajdują się w komputerach osobistych, serwerach
383 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
384 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
385 Mesa zawiera implementację OpenCL w wersji 1.1.
387 %package libOpenCL-devel
388 Summary: Header files for Mesa OpenCL library
389 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
391 Group: Development/Libraries
392 Requires: %{name}-libOpenCL = %{version}-%{release}
393 Provides: OpenCL-devel = 1.1
395 %description libOpenCL-devel
396 Header files for Mesa OpenCL library.
398 %description libOpenCL-devel -l pl.UTF-8
399 Pliki nagłówkowe biblioteki Mesa OpenCL.
402 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
403 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
406 Provides: OpenVG = 1.1
408 %description libOpenVG
409 This package contains Mesa implementation of OpenVG - cross-platform
410 API that provides a low-level hardware acceleration interface for
411 vector graphics libraries such as Flash and SVG. OpenVG specification
412 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
413 Mesa implements OpenVG 1.1.
415 %description libOpenVG -l pl.UTF-8
416 Ten pakiet zawiera implementację Mesa standardu OpenVG -
417 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
418 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
419 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
420 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
423 %package libOpenVG-devel
424 Summary: Header file for Mesa OpenVG library
425 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
427 Group: Development/Libraries
428 Requires: %{name}-khrplatform-devel = %{version}-%{release}
429 Requires: %{name}-libOpenVG = %{version}-%{release}
430 Provides: OpenVG-devel = 1.1
432 %description libOpenVG-devel
433 Header file for Mesa OpenVG library.
435 %description libOpenVG-devel -l pl.UTF-8
436 Plik nagłówkowy biblioteki Mesa OpenVG.
438 %package libXvMC-nouveau
439 Summary: Mesa implementation of XvMC API for NVidia adapters
440 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
443 Requires: libdrm >= %{libdrm_ver}
444 Requires: xorg-lib-libXvMC >= 1.0.6
445 Conflicts: Mesa-libXvMC
447 %description libXvMC-nouveau
448 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
450 %description libXvMC-nouveau -l pl.UTF-8
451 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
453 %package libXvMC-r300
454 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
455 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
458 Requires: libdrm >= %{libdrm_ver}
459 Requires: xorg-lib-libXvMC >= 1.0.6
460 Conflicts: Mesa-libXvMC
462 %description libXvMC-r300
463 Mesa implementation of XvMC API for ATI Radeon adapters based on
464 R300/R400/RS690/R500 chips.
466 %description libXvMC-r300 -l pl.UTF-8
467 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
468 R300/R400/RS690/R500.
470 %package libXvMC-r600
471 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
472 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
475 Requires: libdrm >= %{libdrm_ver}
476 Requires: xorg-lib-libXvMC >= 1.0.6
477 Conflicts: Mesa-libXvMC
479 %description libXvMC-r600
480 Mesa implementation of XvMC API for ATI Radeon adapters based on
483 %description libXvMC-r600 -l pl.UTF-8
484 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
487 %package libXvMC-softpipe
488 Summary: Mesa softpipe implementation of XvMC API
489 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
492 Requires: libdrm >= %{libdrm_ver}
493 Requires: xorg-lib-libXvMC >= 1.0.6
494 Conflicts: Mesa-libXvMC
496 %description libXvMC-softpipe
497 Mesa softpipe implementation of XvMC API.
499 %description libXvMC-softpipe -l pl.UTF-8
500 Implementacja Mesa softpipe API XvMC.
503 Summary: Mesa Graphics Buffer Manager library
504 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
506 Requires: %{name}-libglapi = %{version}-%{release}
507 Requires: udev-libs >= 1:151
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:151
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}
535 Obsoletes: Mesa-opencl-driver-i915
537 %description gbm-driver-i915
538 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
539 915/945/G33/Q33/Q35/Pineview chips.
541 %description gbm-driver-i915 -l pl.UTF-8
542 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
543 bufora graficznego). Obsługuje układy Intela z serii
544 915/945/G33/Q33/Q35/Pineview.
546 %package gbm-driver-nouveau
547 Summary: nouveau driver for Mesa GBM framework
548 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
550 Requires: %{name}-libgbm = %{version}-%{release}
551 Obsoletes: Mesa-opencl-driver-nouveau
553 %description gbm-driver-nouveau
554 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
557 %description gbm-driver-nouveau -l pl.UTF-8
558 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
559 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
561 %package gbm-driver-r300
562 Summary: r300 driver for Mesa GBM framework
563 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
565 Requires: %{name}-libgbm = %{version}-%{release}
566 Obsoletes: Mesa-opencl-driver-r300
568 %description gbm-driver-r300
569 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
570 adapters based on R300/R400/RS690/R500 chips.
572 %description gbm-driver-r300 -l pl.UTF-8
573 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
574 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
575 układach R300/R400/RS690/R500.
577 %package gbm-driver-r600
578 Summary: r600 driver for Mesa GBM framework
579 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
581 Requires: %{name}-libgbm = %{version}-%{release}
582 Obsoletes: Mesa-libllvmradeon
583 Obsoletes: Mesa-opencl-driver-r600
585 %description gbm-driver-r600
586 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
587 adapters based on R600/R700 chips.
589 %description gbm-driver-r600 -l pl.UTF-8
590 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
591 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
594 %package gbm-driver-radeonsi
595 Summary: radeonsi driver for Mesa GBM framework
596 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
598 Requires: %{name}-libgbm = %{version}-%{release}
599 Obsoletes: Mesa-libllvmradeon
600 Obsoletes: Mesa-opencl-driver-radeonsi
602 %description gbm-driver-radeonsi
603 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
604 Radeon adapters based on Southern Islands chips.
606 %description gbm-driver-radeonsi -l pl.UTF-8
607 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
608 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
609 oparte na układach Southern Islands.
611 %package gbm-driver-swrast
612 Summary: Software (swrast) driver for Mesa GBM framework
613 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
615 Requires: %{name}-libgbm = %{version}-%{release}
616 Obsoletes: Mesa-opencl-driver-swrast
618 %description gbm-driver-swrast
619 Software (swrast) driver for Mesa Graphics Buffer Manager.
621 %description gbm-driver-swrast -l pl.UTF-8
622 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
623 Manager (zarządcy bufora graficznego).
625 %package gbm-driver-vmwgfx
626 Summary: vmwgfx driver for Mesa GBM framework
627 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
629 Requires: %{name}-libgbm = %{version}-%{release}
630 Obsoletes: Mesa-opencl-driver-vmwgfx
632 %description gbm-driver-vmwgfx
633 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
634 virtual video adapter.
636 %description gbm-driver-vmwgfx -l pl.UTF-8
637 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
638 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
641 Summary: Mesa GL API shared library
642 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
644 Conflicts: Mesa-libEGL < 8.0.1-2
646 %description libglapi
647 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
649 %description libglapi -l pl.UTF-8
650 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
653 %package libwayland-egl
654 Summary: Wayland EGL library
655 Summary(pl.UTF-8): Biblioteka Wayland EGL
657 Requires: libdrm >= %{libdrm_ver}
659 %description libwayland-egl
660 Wayland EGL platform library.
662 %description libwayland-egl -l pl.UTF-8
663 Biblioteka platformy EGL Wayland.
665 %package libwayland-egl-devel
666 Summary: Development files for Wayland EGL library
667 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
668 Group: Development/Libraries
669 Requires: %{name}-libwayland-egl = %{version}-%{release}
670 Requires: libdrm-devel >= %{libdrm_ver}
672 %description libwayland-egl-devel
673 Development files for Wayland EGL platform library.
675 %description libwayland-egl-devel -l pl.UTF-8
676 Pliki programistyczne biblioteki platformy EGL Wayland.
678 %package libxatracker
679 Summary: Xorg Gallium3D accelleration library
680 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
682 Requires: libdrm >= %{libdrm_ver}
684 %description libxatracker
685 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
687 %description libxatracker -l pl.UTF-8
688 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
691 %package libxatracker-devel
692 Summary: Header files for Xorg Gallium3D accelleration library
693 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
694 Group: X11/Development/Libraries
695 Requires: %{name}-libxatracker = %{version}-%{release}
696 Requires: libdrm-devel >= %{libdrm_ver}
698 %description libxatracker-devel
699 Header files for Xorg Gallium3D accelleration library.
701 %description libxatracker-devel -l pl.UTF-8
702 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
704 %package khrplatform-devel
705 Summary: Khronos platform header file
706 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
707 Group: Development/Libraries
708 Conflicts: Mesa-libEGL-devel < 8.0.1-2
710 %description khrplatform-devel
711 Khronos platform header file.
713 %description khrplatform-devel -l pl.UTF-8
714 Plik nagłówkowy platformy Khronos.
717 Summary: X.org DRI core library
718 Summary(pl.UTF-8): Biblioteka X.org DRI core
721 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
722 Requires: xorg-xserver-server >= %{xserver_ver}
724 %description dri-core
725 X.org DRI core library.
727 %description dri-core -l pl.UTF-8
728 Biblioteka X.org DRI core.
730 %package dri-driver-ati-radeon-R100
731 Summary: X.org DRI driver for ATI R100 card family
732 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
735 Requires: %{name}-dri-core = %{version}-%{release}
736 Requires: xorg-driver-video-ati
737 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
738 Requires: xorg-xserver-server >= %{xserver_ver}
739 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
741 %description dri-driver-ati-radeon-R100
742 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
744 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
745 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
747 %package dri-driver-ati-radeon-R200
748 Summary: X.org DRI driver for ATI R200 card family
749 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
752 Requires: %{name}-dri-core = %{version}-%{release}
753 Requires: xorg-driver-video-ati
754 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
755 Requires: xorg-xserver-server >= %{xserver_ver}
756 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
758 %description dri-driver-ati-radeon-R200
759 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
761 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
762 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
764 %package dri-driver-ati-radeon-R300
765 Summary: X.org DRI driver for ATI R300 card family
766 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
769 Requires: xorg-driver-video-ati
770 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
771 Requires: xorg-xserver-server >= %{xserver_ver}
772 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
774 %description dri-driver-ati-radeon-R300
775 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
777 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
778 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
780 %package dri-driver-ati-radeon-R600
781 Summary: X.org DRI driver for ATI R600 card family
782 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
785 Requires: radeon-ucode
786 Requires: xorg-driver-video-ati
787 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
788 Requires: xorg-xserver-server >= %{xserver_ver}
790 %description dri-driver-ati-radeon-R600
791 X.org DRI driver for ATI R600/R700 card family.
793 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
794 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
796 %package dri-driver-ati-radeon-SI
797 Summary: X.org DRI driver for ATI Southern Islands card family
798 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
801 Requires: radeon-ucode
802 Requires: xorg-driver-video-ati
803 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
804 Requires: xorg-xserver-server >= %{xserver_ver}
806 %description dri-driver-ati-radeon-SI
807 X.org DRI driver for ATI Southern Islands card family.
809 %description dri-driver-ati-radeon-SI -l pl.UTF-8
810 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
812 %package dri-driver-intel-i915
813 Summary: X.org DRI driver for Intel i915 card family
814 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
817 %if %{without gallium_intel}
818 Requires: %{name}-dri-core = %{version}-%{release}
820 Requires: xorg-driver-video-intel
821 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
822 Requires: xorg-xserver-server >= %{xserver_ver}
823 Obsoletes: Mesa-dri-driver-intel-i830
824 Obsoletes: X11-driver-i810-dri < 1:7.0.0
826 %description dri-driver-intel-i915
827 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
830 %description dri-driver-intel-i915 -l pl.UTF-8
831 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
834 %package dri-driver-intel-i965
835 Summary: X.org DRI driver for Intel i965 card family
836 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
839 Requires: %{name}-dri-core = %{version}-%{release}
840 Requires: xorg-driver-video-intel
841 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
842 Requires: xorg-xserver-server >= %{xserver_ver}
843 Obsoletes: Mesa-dri-driver-intel-i830
844 Obsoletes: X11-driver-i810-dri < 1:7.0.0
846 %description dri-driver-intel-i965
847 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
848 965GME, GM45, G41, B43, Q45, G45);
850 %description dri-driver-intel-i965 -l pl.UTF-8
851 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
852 965GM, 965GME, GM45, G41, B43, Q45, G45).
854 %package dri-driver-nouveau
855 Summary: X.org DRI driver for NVIDIA card family
856 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
859 Requires: %{name}-dri-core = %{version}-%{release}
860 Requires: xorg-driver-video-nouveau
861 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
862 Requires: xorg-xserver-server >= %{xserver_ver}
864 %description dri-driver-nouveau
865 X.org DRI drivers for NVIDIA card family.
867 %description dri-driver-nouveau -l pl.UTF-8
868 Sterowniki X.org DRI dla rodziny kart NVIDIA.
870 %package dri-driver-swrast
871 Summary: X.org DRI software rasterizer driver
872 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
875 Requires: %{name}-dri-core = %{version}-%{release}
876 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
877 Requires: xorg-xserver-server >= %{xserver_ver}
879 %description dri-driver-swrast
880 X.org DRI software rasterizer driver.
882 %description dri-driver-swrast -l pl.UTF-8
883 Sterownik X.org DRI obsługujący rysowanie programowe.
885 %package dri-driver-vmwgfx
886 Summary: X.org DRI driver for VMware
887 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
890 Requires: xorg-driver-video-vmware
891 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
892 Requires: xorg-xserver-server >= %{xserver_ver}
894 %description dri-driver-vmwgfx
895 X.org DRI driver for VMWare.
897 %description dri-driver-vmwgfx -l pl.UTF-8
898 Sterownik X.org DRI dla VMware.
900 %package -n libvdpau-driver-mesa-nouveau
901 Summary: Mesa nouveau driver for the vdpau API
902 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
905 Requires: libdrm >= %{libdrm_ver}
906 Requires: libvdpau >= 0.4.1
907 Conflicts: libvdpau-driver-mesa
909 %description -n libvdpau-driver-mesa-nouveau
910 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
913 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
914 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
917 %package -n libvdpau-driver-mesa-r300
918 Summary: Mesa r300 driver for the vdpau API
919 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
922 Requires: libdrm >= %{libdrm_ver}
923 Requires: libvdpau >= 0.4.1
924 Conflicts: libvdpau-driver-mesa
926 %description -n libvdpau-driver-mesa-r300
927 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
928 based on R300/R400/RS690/R500 chips.
930 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
931 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
932 na układach R300/R400/RS690/R500.
934 %package -n libvdpau-driver-mesa-r600
935 Summary: Mesa r600 driver for the vdpau API
936 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
939 Requires: libdrm >= %{libdrm_ver}
940 Requires: libvdpau >= 0.4.1
941 Conflicts: libvdpau-driver-mesa
943 %description -n libvdpau-driver-mesa-r600
944 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
945 based on R600/R700 chips.
947 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
948 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
949 na układach R600/R700.
951 %package -n libvdpau-driver-mesa-radeonsi
952 Summary: Mesa radeonsi driver for the vdpau API
953 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
956 Requires: libdrm >= %{libdrm_ver}
957 Requires: libvdpau >= 0.4.1
958 Conflicts: libvdpau-driver-mesa
959 Obsoletes: Mesa-libllvmradeon
961 %description -n libvdpau-driver-mesa-radeonsi
962 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
963 adapters based on Southern Islands chips.
965 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
966 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
967 oparte na układach Southern Islands.
969 %package -n libvdpau-driver-mesa-softpipe
970 Summary: Mesa softpipe driver for the vdpau API
971 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
974 Requires: libdrm >= %{libdrm_ver}
975 Requires: libvdpau >= 0.4.1
976 Conflicts: libvdpau-driver-mesa
978 %description -n libvdpau-driver-mesa-softpipe
979 Mesa softpipe driver for the vdpau API.
981 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
982 Sterownik Mesa softpipe dla API vdpau.
998 dri_drivers="r200 radeon \
999 %if %{without gallium_intel}
1004 %ifarch sparc sparcv9 sparc64
1009 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1011 gallium_drivers="svga swrast \
1012 %if %{with gallium_intel}
1018 %if %{with gallium_nouveau}
1023 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1026 --disable-silent-rules \
1030 %{?with_static_libs:--enable-static} \
1033 --enable-shared-glapi \
1038 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1041 --enable-gallium-llvm \
1042 --with-llvm-shared-libs \
1043 %{__enable egl gallium-egl} \
1044 %{__enable gbm gallium-gbm} \
1045 %{?with_opencl:--enable-opencl} \
1046 %{?with_egl:--enable-openvg} \
1048 %{?with_xa:--enable-xa} \
1050 --with-gallium-drivers=${gallium_drivers} \
1052 --without-gallium-drivers \
1054 --with-dri-drivers=${dri_drivers} \
1055 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1060 rm -rf $RPM_BUILD_ROOT
1063 DESTDIR=$RPM_BUILD_ROOT
1065 # strip out undesirable headers
1066 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1067 # dlopened by soname
1068 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1069 # not used externally
1070 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{int_sover},glapi}.so
1072 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1073 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1074 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1075 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.la
1076 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1077 # not defined by standards; and not needed, there is pkg-config support
1078 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1080 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1081 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1082 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1085 rm -rf $RPM_BUILD_ROOT
1087 %post libEGL -p /sbin/ldconfig
1088 %postun libEGL -p /sbin/ldconfig
1090 %post libGL -p /sbin/ldconfig
1091 %postun libGL -p /sbin/ldconfig
1093 %post libGLES -p /sbin/ldconfig
1094 %postun libGLES -p /sbin/ldconfig
1096 %post libOSMesa -p /sbin/ldconfig
1097 %postun libOSMesa -p /sbin/ldconfig
1099 %post libOpenCL -p /sbin/ldconfig
1100 %postun libOpenCL -p /sbin/ldconfig
1102 %post libOpenVG -p /sbin/ldconfig
1103 %postun libOpenVG -p /sbin/ldconfig
1105 %post libXvMC-nouveau -p /sbin/ldconfig
1106 %postun libXvMC-nouveau -p /sbin/ldconfig
1107 %post libXvMC-r300 -p /sbin/ldconfig
1108 %postun libXvMC-r300 -p /sbin/ldconfig
1109 %post libXvMC-r600 -p /sbin/ldconfig
1110 %postun libXvMC-r600 -p /sbin/ldconfig
1111 %post libXvMC-softpipe -p /sbin/ldconfig
1112 %postun libXvMC-softpipe -p /sbin/ldconfig
1114 %post libgbm -p /sbin/ldconfig
1115 %postun libgbm -p /sbin/ldconfig
1117 %post libglapi -p /sbin/ldconfig
1118 %postun libglapi -p /sbin/ldconfig
1120 %post libwayland-egl -p /sbin/ldconfig
1121 %postun libwayland-egl -p /sbin/ldconfig
1123 %post libxatracker -p /sbin/ldconfig
1124 %postun libxatracker -p /sbin/ldconfig
1126 %post dri-core -p /sbin/ldconfig
1127 %postun dri-core -p /sbin/ldconfig
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1133 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1136 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1140 %defattr(644,root,root,755)
1141 %attr(755,root,root) %{_libdir}/libEGL.so
1142 %dir %{_includedir}/EGL
1143 %{_includedir}/EGL/egl.h
1144 %{_includedir}/EGL/eglext.h
1145 %{_includedir}/EGL/eglmesaext.h
1146 %{_includedir}/EGL/eglplatform.h
1147 %{_pkgconfigdir}/egl.pc
1149 %if %{with static_libs}
1150 %files libEGL-static
1151 %defattr(644,root,root,755)
1157 %defattr(644,root,root,755)
1158 %doc docs/{*.html,README.{MITS,QUAKE,THREADS,UVD},relnotes/*.html}
1159 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1160 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1161 # symlink for binary apps which fail to conform Linux OpenGL ABI
1162 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1163 %attr(755,root,root) %{_libdir}/libGL.so
1166 %defattr(644,root,root,755)
1168 %dir %{_includedir}/GL
1169 %{_includedir}/GL/gl.h
1170 %{_includedir}/GL/glext.h
1171 %{_includedir}/GL/gl_mangle.h
1172 %{_includedir}/GL/glx.h
1173 %{_includedir}/GL/glxext.h
1174 %{_includedir}/GL/glx_mangle.h
1175 %dir %{_includedir}/GL/internal
1176 %{_includedir}/GL/internal/dri_interface.h
1177 %{_pkgconfigdir}/dri.pc
1178 %{_pkgconfigdir}/gl.pc
1180 %if %{with static_libs}
1182 %defattr(644,root,root,755)
1187 %defattr(644,root,root,755)
1188 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1189 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1190 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1191 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1193 %files libGLES-devel
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1196 %attr(755,root,root) %{_libdir}/libGLESv2.so
1198 %{_includedir}/GLES2
1199 %{_includedir}/GLES3
1200 %{_pkgconfigdir}/glesv1_cm.pc
1201 %{_pkgconfigdir}/glesv2.pc
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1206 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1208 %files libOSMesa-devel
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/libOSMesa.so
1211 %{_includedir}/GL/osmesa.h
1212 %{_pkgconfigdir}/osmesa.pc
1214 %if %{with static_libs}
1215 %files libOSMesa-static
1216 %defattr(644,root,root,755)
1217 %{_libdir}/libOSMesa.a
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1224 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1226 %files libOpenCL-devel
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/libOpenCL.so
1232 %if %{with egl} && %{with gallium}
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1236 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1238 %files libOpenVG-devel
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_libdir}/libOpenVG.so
1242 %{_pkgconfigdir}/vg.pc
1246 %if %{with gallium_nouveau}
1247 %files libXvMC-nouveau
1248 %defattr(644,root,root,755)
1249 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1250 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0.0
1256 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1261 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1263 %files libXvMC-softpipe
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0.0
1266 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1273 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1276 %dir %{_libdir}/gallium-pipe
1277 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/libgbm.so
1283 %{_includedir}/gbm.h
1284 %{_pkgconfigdir}/gbm.pc
1288 %if %{with gallium_intel}
1289 %files gbm-driver-i915
1290 %defattr(644,root,root,755)
1291 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1294 %if %{with gallium_nouveau}
1295 %files gbm-driver-nouveau
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1300 %files gbm-driver-r300
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1304 %files gbm-driver-r600
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1308 %files gbm-driver-radeonsi
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1312 %files gbm-driver-swrast
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1316 %files gbm-driver-vmwgfx
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1324 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1325 # libglapi-devel? nothing seems to need it atm.
1326 #%attr(755,root,root) %{_libdir}/libglapi.so
1329 %files libwayland-egl
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1332 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1334 %files libwayland-egl-devel
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1337 %{_pkgconfigdir}/wayland-egl.pc
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1344 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1346 %files libxatracker-devel
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_libdir}/libxatracker.so
1349 %{_includedir}/xa_composite.h
1350 %{_includedir}/xa_context.h
1351 %{_includedir}/xa_tracker.h
1352 %{_pkgconfigdir}/xatracker.pc
1356 %files khrplatform-devel
1357 %defattr(644,root,root,755)
1358 %dir %{_includedir}/KHR
1359 %{_includedir}/KHR/khrplatform.h
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/libdricore%{int_sover}.so.*.*
1365 %attr(755,root,root) %ghost %{_libdir}/libdricore%{int_sover}.so.1
1366 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1368 %files dri-driver-ati-radeon-R100
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1372 %files dri-driver-ati-radeon-R200
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1377 %files dri-driver-ati-radeon-R300
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1381 %files dri-driver-ati-radeon-R600
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1386 %files dri-driver-ati-radeon-SI
1387 %defattr(644,root,root,755)
1388 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1390 %files dri-driver-intel-i915
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1394 %files dri-driver-intel-i965
1395 %defattr(644,root,root,755)
1396 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1398 %files dri-driver-nouveau
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1401 %if %{with gallium_nouveau}
1402 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1405 %files dri-driver-swrast
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1410 %files dri-driver-vmwgfx
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1416 # ldconfig is not used in vdpau tree, so package all symlinks
1417 %if %{with gallium_nouveau}
1418 %files -n libvdpau-driver-mesa-nouveau
1419 %defattr(644,root,root,755)
1420 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1421 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1422 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1425 %files -n libvdpau-driver-mesa-r300
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1428 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1429 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1431 %files -n libvdpau-driver-mesa-r600
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1434 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1435 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1437 %files -n libvdpau-driver-mesa-radeonsi
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1440 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1441 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1443 %files -n libvdpau-driver-mesa-softpipe
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0.0
1446 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1447 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so