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 # 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.39
27 %define dri2proto_ver 2.6
28 %define glproto_ver 1.4.14
31 Summary: Free OpenGL implementation
32 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
36 License: MIT (core) and others - see license.html file
38 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
39 # Source0-md5: d3891e02215422e120271d976ff1947e
40 Patch0: %{name}-link.patch
41 URL: http://www.mesa3d.org/
42 BuildRequires: autoconf >= 2.60
43 BuildRequires: automake
44 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
45 BuildRequires: expat-devel
46 BuildRequires: gcc >= 5:3.3
47 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
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:2.2
53 BuildRequires: libvdpau-devel >= 0.4.1
54 BuildRequires: libxcb-devel >= 1.9
55 BuildRequires: llvm-devel >= 3.1
56 %{?with_opencl:BuildRequires: llvm-libclc}
57 BuildRequires: perl-base
58 BuildRequires: pixman-devel
59 BuildRequires: pkgconfig
60 BuildRequires: pkgconfig(talloc) >= 2.0.1
61 BuildRequires: python >= 2
62 BuildRequires: python-libxml2
63 BuildRequires: python-modules >= 2
64 BuildRequires: rpmbuild(macros) >= 1.470
65 BuildRequires: sed >= 4.0
66 %{?with_egl:BuildRequires: udev-devel >= 1:150}
67 # wayland-{client,server}
68 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.0}
69 BuildRequires: xorg-lib-libXdamage-devel
70 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
71 BuildRequires: xorg-lib-libXfixes-devel
72 BuildRequires: xorg-lib-libXt-devel
73 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
74 BuildRequires: xorg-lib-libXxf86vm-devel
75 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
76 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
77 BuildRequires: xorg-util-makedepend
78 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
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
94 %undefine with_wayland
97 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
98 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
99 # libdricore: internal library, not linked with libglapi
100 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
101 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.*
104 %define filterout_ld -Wl,--as-needed
107 Mesa is a 3-D graphics library with an API which is very similar to
108 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
109 syntax or state machine, it is being used with authorization from
110 Silicon Graphics, Inc. However, the author does not possess an OpenGL
111 license from SGI, and makes no claim that Mesa is in any way a
112 compatible replacement for OpenGL or associated with SGI.
114 %description -l pl.UTF-8
115 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
116 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
117 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
118 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
119 OpenGL ani powiązana z SGI.
122 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
123 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
126 Requires: %{name}-libglapi = %{version}-%{release}
127 # glx driver in libEGL dlopens libGL.so
128 Requires: OpenGL >= 1.2
129 Requires: libdrm >= %{libdrm_ver}
130 Requires: libxcb >= 1.9
131 %{?with_wayland:Requires: wayland >= 1.0.0}
134 Requires: %{name}-libOpenVG = %{version}-%{release}
135 Requires: udev-libs >= 1:150
138 Requires: %{name}-libgbm = %{version}-%{release}
143 This package contains shared libEGL - Mesa implementation of EGL
144 Native Platform Graphics Interface as specified by Khronos Group:
145 <http://www.khronos.org/egl/>.
147 %description libEGL -l pl.UTF-8
148 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
149 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
150 graficznego platformy natywnej) wg specyfikacji Khronos Group:
151 <http://www.khronos.org/egl/>.
153 %package libEGL-devel
154 Summary: Header files for Mesa implementation of EGL library
155 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
157 Group: Development/Libraries
158 Requires: %{name}-khrplatform-devel = %{version}-%{release}
159 Requires: %{name}-libEGL = %{version}-%{release}
160 Requires: libdrm-devel >= %{libdrm_ver}
161 Requires: xorg-lib-libX11-devel
162 Requires: xorg-lib-libXdamage-devel
163 Requires: xorg-lib-libXext-devel
164 Requires: xorg-lib-libXfixes-devel
165 Requires: xorg-lib-libXxf86vm-devel
166 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
167 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
168 Provides: EGL-devel = 1.4
170 %description libEGL-devel
171 Header files for Mesa implementation of EGL library.
173 %description libEGL-devel -l pl.UTF-8
174 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
176 %package libEGL-static
177 Summary: Static Mesa EGL library
178 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
180 Group: Development/Libraries
181 Requires: %{name}-libEGL-devel = %{version}-%{release}
182 Provides: EGL-static = 1.4
184 %description libEGL-static
185 Static Mesa EGL library.
187 %description libEGL-static -l pl.UTF-8
188 Statyczna biblioteka Mesa EGL.
191 Summary: Free Mesa3D implementation of libGL OpenGL library
192 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
195 Requires: %{name}-libglapi = %{version}-%{release}
196 Requires: libdrm >= %{libdrm_ver}
197 Provides: OpenGL = 3.1
198 Provides: OpenGL-GLX = 1.4
201 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
202 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
205 Mesa is a 3-D graphics library with an API which is very similar to
206 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
207 syntax or state machine, it is being used with authorization from
208 Silicon Graphics, Inc. However, the author does not possess an OpenGL
209 license from SGI, and makes no claim that Mesa is in any way a
210 compatible replacement for OpenGL or associated with SGI.
212 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
213 specifications. It uses DRI for rendering.
215 %description libGL -l pl.UTF-8
216 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
217 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
218 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
219 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
220 OpenGL ani powiązana z SGI.
222 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
223 GLX 1.4. Używa DRI do renderowania.
226 Summary: Header files for Mesa3D libGL library
227 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
229 Group: X11/Development/Libraries
230 # loose dependency on libGL to use with other libGL binaries
231 Requires: OpenGL >= 1.5
232 Requires: libdrm-devel >= %{libdrm_ver}
233 Requires: xorg-lib-libX11-devel
234 Requires: xorg-lib-libXdamage-devel
235 Requires: xorg-lib-libXext-devel
236 Requires: xorg-lib-libXxf86vm-devel
237 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
238 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
239 Suggests: OpenGL-doc-man
240 Provides: OpenGL-GLX-devel = 1.4
241 Provides: OpenGL-devel = 3.1
242 Obsoletes: Mesa-devel
243 Obsoletes: X11-OpenGL-devel < 1:7.0.0
244 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
245 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
246 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
248 %description libGL-devel
249 Header files for Mesa3D libGL library.
251 %description libGL-devel -l pl.UTF-8
252 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
254 %package libGL-static
255 Summary: Static Mesa3D libGL library
256 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
258 Group: X11/Development/Libraries
259 Requires: %{name}-libGL-devel = %{version}-%{release}
260 Provides: OpenGL-static = 3.1
261 Obsoletes: Mesa-static
262 Obsoletes: X11-OpenGL-static < 1:7.0.0
263 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
265 %description libGL-static
266 Static Mesa3D libGL library. It uses software renderer.
268 %description libGL-static -l pl.UTF-8
269 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
273 Summary: Mesa implementation of GLES (OpenGL ES) libraries
274 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
276 Requires: %{name}-libglapi = %{version}-%{release}
278 Provides: OpenGLESv1 = 1.1
279 Provides: OpenGLESv2 = 2.0
282 This package contains shared libraries of Mesa implementation of GLES
283 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
284 on embedded systems. OpenGL ES specification can be found on Khronos
285 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
288 %description libGLES -l pl.UTF-8
289 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
290 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
291 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
292 OpenGL ES można znaleźć na stronie Khronos Group:
293 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
296 %package libGLES-devel
297 Summary: Header files for Mesa GLES libraries
298 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
299 Group: Development/Libraries
300 Requires: %{name}-khrplatform-devel = %{version}-%{release}
301 # <EGL/egl.h> for <GLES/egl.h>
302 Requires: %{name}-libEGL-devel = %{version}-%{release}
303 Requires: %{name}-libGLES = %{version}-%{release}
304 Provides: OpenGLES-devel
305 Provides: OpenGLESv1-devel = 1.1
306 Provides: OpenGLESv2-devel = 2.0
308 %description libGLES-devel
309 Header files for Mesa GLES libraries.
311 %description libGLES-devel -l pl.UTF-8
312 Pliki nagłówkowe bibliotek Mesa GLES.
315 Summary: OSMesa (off-screen renderer) library
316 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
320 %description libOSMesa
321 OSMesa (off-screen renderer) library.
323 %description libOSMesa -l pl.UTF-8
324 Biblioteka OSMesa (renderująca bitmapy w pamięci).
326 %package libOSMesa-devel
327 Summary: Header file for OSMesa (off-screen renderer) library
328 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
330 Group: Development/Libraries
331 Requires: %{name}-libOSMesa = %{version}-%{release}
333 Requires: OpenGL-devel
334 Requires: libselinux-devel
336 %description libOSMesa-devel
337 Header file for OSMesa (off-screen renderer) library.
339 %description libOSMesa-devel -l pl.UTF-8
340 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
342 %package libOSMesa-static
343 Summary: Static OSMesa (off-screen renderer) library
344 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
346 Group: Development/Libraries
347 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
348 # this static build of OSMesa needs static non-dri Mesa implementation
349 Requires: %{name}-libGL-static = %{version}-%{release}
351 %description libOSMesa-static
352 Static OSMesa (off-screen renderer) library.
354 %description libOSMesa-static -l pl.UTF-8
355 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
358 Summary: Mesa implementation of OpenCL (Compuing Language) API
359 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
362 Requires: libdrm >= %{libdrm_ver}
363 Requires: llvm-libclc
364 Requires: udev-libs >= 1:150
365 Provides: OpenCL = 1.1
367 %description libOpenCL
368 This package contains Mesa implementation of OpenCL - standard for
369 cross-platform, parallel programming of modern processors found in
370 personal computers, servers and handheld/embedded devices. OpenCL
371 specification can be found on Khronos Group site:
372 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
374 %description libOpenCL -l pl.UTF-8
375 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
376 wieloplatformowego, równoległego programowania nowoczesnych
377 procesorów, jakie znajdują się w komputerach osobistych, serwerach
378 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
379 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
380 Mesa zawiera implementację OpenCL w wersji 1.1.
382 %package libOpenCL-devel
383 Summary: Header files for Mesa OpenCL library
384 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
386 Group: Development/Libraries
387 Requires: %{name}-libOpenCL = %{version}-%{release}
388 Provides: OpenCL-devel = 1.1
390 %description libOpenCL-devel
391 Header files for Mesa OpenCL library.
393 %description libOpenCL-devel -l pl.UTF-8
394 Pliki nagłówkowe biblioteki Mesa OpenCL.
397 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
398 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
401 Provides: OpenVG = 1.1
403 %description libOpenVG
404 This package contains Mesa implementation of OpenVG - cross-platform
405 API that provides a low-level hardware acceleration interface for
406 vector graphics libraries such as Flash and SVG. OpenVG specification
407 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
408 Mesa implements OpenVG 1.1.
410 %description libOpenVG -l pl.UTF-8
411 Ten pakiet zawiera implementację Mesa standardu OpenVG -
412 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
413 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
414 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
415 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
418 %package libOpenVG-devel
419 Summary: Header file for Mesa OpenVG library
420 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
422 Group: Development/Libraries
423 Requires: %{name}-khrplatform-devel = %{version}-%{release}
424 Requires: %{name}-libOpenVG = %{version}-%{release}
425 Provides: OpenVG-devel = 1.1
427 %description libOpenVG-devel
428 Header file for Mesa OpenVG library.
430 %description libOpenVG-devel -l pl.UTF-8
431 Plik nagłówkowy biblioteki Mesa OpenVG.
433 %package libXvMC-nouveau
434 Summary: Mesa implementation of XvMC API for NVidia adapters
435 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
438 Requires: libdrm >= %{libdrm_ver}
439 Requires: xorg-lib-libXvMC >= 1.0.6
440 Conflicts: Mesa-libXvMC
442 %description libXvMC-nouveau
443 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
445 %description libXvMC-nouveau -l pl.UTF-8
446 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
448 %package libXvMC-r300
449 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
450 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
453 Requires: libdrm >= %{libdrm_ver}
454 Requires: xorg-lib-libXvMC >= 1.0.6
455 Conflicts: Mesa-libXvMC
457 %description libXvMC-r300
458 Mesa implementation of XvMC API for ATI Radeon adapters based on
459 R300/R400/RS690/R500 chips.
461 %description libXvMC-r300 -l pl.UTF-8
462 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
463 R300/R400/RS690/R500.
465 %package libXvMC-r600
466 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
467 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
470 Requires: libdrm >= %{libdrm_ver}
471 Requires: xorg-lib-libXvMC >= 1.0.6
472 Conflicts: Mesa-libXvMC
474 %description libXvMC-r600
475 Mesa implementation of XvMC API for ATI Radeon adapters based on
478 %description libXvMC-r600 -l pl.UTF-8
479 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
482 %package libXvMC-softpipe
483 Summary: Mesa softpipe implementation of XvMC API
484 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
487 Requires: libdrm >= %{libdrm_ver}
488 Requires: xorg-lib-libXvMC >= 1.0.6
489 Conflicts: Mesa-libXvMC
491 %description libXvMC-softpipe
492 Mesa softpipe implementation of XvMC API.
494 %description libXvMC-softpipe -l pl.UTF-8
495 Implementacja Mesa softpipe API XvMC.
498 Summary: Mesa Graphics Buffer Manager library
499 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
501 Requires: udev-libs >= 1:150
502 Conflicts: Mesa-libEGL < 8.0.1-2
505 Mesa Graphics Buffer Manager library.
507 %description libgbm -l pl.UTF-8
508 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
510 %package libgbm-devel
511 Summary: Header file for Mesa Graphics Buffer Manager library
512 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
513 Group: Development/Libraries
514 Requires: %{name}-libgbm = %{version}-%{release}
515 Requires: udev-devel >= 1:150
517 %description libgbm-devel
518 Header file for Mesa Graphics Buffer Manager library.
520 %description libgbm-devel -l pl.UTF-8
521 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
524 %package gbm-driver-i915
525 Summary: i915 driver for Mesa GBM framework
526 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
528 Requires: %{name}-libgbm = %{version}-%{release}
530 %description gbm-driver-i915
531 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
532 915/945/G33/Q33/Q35/Pineview chips.
534 %description gbm-driver-i915 -l pl.UTF-8
535 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
536 bufora graficznego). Obsługuje układy Intela z serii
537 915/945/G33/Q33/Q35/Pineview.
539 %package gbm-driver-nouveau
540 Summary: nouveau driver for Mesa GBM framework
541 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
543 Requires: %{name}-libgbm = %{version}-%{release}
545 %description gbm-driver-nouveau
546 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
549 %description gbm-driver-nouveau -l pl.UTF-8
550 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
551 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
553 %package gbm-driver-r300
554 Summary: r300 driver for Mesa GBM framework
555 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
557 Requires: %{name}-libgbm = %{version}-%{release}
559 %description gbm-driver-r300
560 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
561 adapters based on R300/R400/RS690/R500 chips.
563 %description gbm-driver-r300 -l pl.UTF-8
564 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
565 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
566 układach R300/R400/RS690/R500.
568 %package gbm-driver-r600
569 Summary: r600 driver for Mesa GBM framework
570 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
572 Requires: %{name}-libgbm = %{version}-%{release}
574 %description gbm-driver-r600
575 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
576 adapters based on R600/R700 chips.
578 %description gbm-driver-r600 -l pl.UTF-8
579 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
580 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
583 %package gbm-driver-radeonsi
584 Summary: radeonsi driver for Mesa GBM framework
585 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
587 Requires: %{name}-libgbm = %{version}-%{release}
589 %description gbm-driver-radeonsi
590 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
591 Radeon adapters based on Southern Islands chips.
593 %description gbm-driver-radeonsi -l pl.UTF-8
594 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
595 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
596 oparte na układach Southern Islands.
598 %package gbm-driver-swrast
599 Summary: Software (swrast) driver for Mesa GBM framework
600 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
602 Requires: %{name}-libgbm = %{version}-%{release}
604 %description gbm-driver-swrast
605 Software (swrast) driver for Mesa Graphics Buffer Manager.
607 %description gbm-driver-swrast -l pl.UTF-8
608 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
609 Manager (zarządcy bufora graficznego).
611 %package gbm-driver-vmwgfx
612 Summary: vmwgfx driver for Mesa GBM framework
613 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
615 Requires: %{name}-libgbm = %{version}-%{release}
617 %description gbm-driver-vmwgfx
618 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
619 virtual video adapter.
621 %description gbm-driver-vmwgfx -l pl.UTF-8
622 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
623 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
626 Summary: Mesa GL API shared library
627 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
629 Conflicts: Mesa-libEGL < 8.0.1-2
631 %description libglapi
632 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
634 %description libglapi -l pl.UTF-8
635 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
638 %package libwayland-egl
639 Summary: Wayland EGL library
640 Summary(pl.UTF-8): Biblioteka Wayland EGL
642 Requires: libdrm >= %{libdrm_ver}
644 %description libwayland-egl
645 Wayland EGL platform library.
647 %description libwayland-egl -l pl.UTF-8
648 Biblioteka platformy EGL Wayland.
650 %package libwayland-egl-devel
651 Summary: Development files for Wayland EGL library
652 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
653 Group: Development/Libraries
654 Requires: %{name}-libwayland-egl = %{version}-%{release}
655 Requires: libdrm-devel >= %{libdrm_ver}
657 %description libwayland-egl-devel
658 Development files for Wayland EGL platform library.
660 %description libwayland-egl-devel -l pl.UTF-8
661 Pliki programistyczne biblioteki platformy EGL Wayland.
663 %package libxatracker
664 Summary: Xorg Gallium3D accelleration library
665 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
667 Requires: libdrm >= %{libdrm_ver}
669 %description libxatracker
670 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
672 %description libxatracker -l pl.UTF-8
673 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
676 %package libxatracker-devel
677 Summary: Header files for Xorg Gallium3D accelleration library
678 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
679 Group: X11/Development/Libraries
680 Requires: %{name}-libxatracker = %{version}-%{release}
681 Requires: libdrm-devel >= %{libdrm_ver}
683 %description libxatracker-devel
684 Header files for Xorg Gallium3D accelleration library.
686 %description libxatracker-devel -l pl.UTF-8
687 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
689 %package khrplatform-devel
690 Summary: Khronos platform header file
691 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
692 Group: Development/Libraries
693 Conflicts: Mesa-libEGL-devel < 8.0.1-2
695 %description khrplatform-devel
696 Khronos platform header file.
698 %description khrplatform-devel -l pl.UTF-8
699 Plik nagłówkowy platformy Khronos.
702 Summary: X.org DRI core library
703 Summary(pl.UTF-8): Biblioteka X.org DRI core
706 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
707 Requires: xorg-xserver-server >= %{xserver_ver}
709 %description dri-core
710 X.org DRI core library.
712 %description dri-core -l pl.UTF-8
713 Biblioteka X.org DRI core.
715 %package dri-driver-ati-radeon-R100
716 Summary: X.org DRI driver for ATI R100 card family
717 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
720 Requires: %{name}-dri-core = %{version}-%{release}
721 Requires: xorg-driver-video-ati
722 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
723 Requires: xorg-xserver-server >= %{xserver_ver}
724 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
726 %description dri-driver-ati-radeon-R100
727 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
729 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
730 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
732 %package dri-driver-ati-radeon-R200
733 Summary: X.org DRI driver for ATI R200 card family
734 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
737 Requires: %{name}-dri-core = %{version}-%{release}
738 Requires: xorg-driver-video-ati
739 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
740 Requires: xorg-xserver-server >= %{xserver_ver}
741 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
743 %description dri-driver-ati-radeon-R200
744 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
746 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
747 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
749 %package dri-driver-ati-radeon-R300
750 Summary: X.org DRI driver for ATI R300 card family
751 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
754 Requires: xorg-driver-video-ati
755 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
756 Requires: xorg-xserver-server >= %{xserver_ver}
757 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
759 %description dri-driver-ati-radeon-R300
760 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
762 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
763 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
765 %package dri-driver-ati-radeon-R600
766 Summary: X.org DRI driver for ATI R600 card family
767 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
770 Requires: radeon-ucode
771 Requires: xorg-driver-video-ati
772 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
773 Requires: xorg-xserver-server >= %{xserver_ver}
775 %description dri-driver-ati-radeon-R600
776 X.org DRI driver for ATI R600/R700 card family.
778 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
779 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
781 %package dri-driver-ati-radeon-SI
782 Summary: X.org DRI driver for ATI Southern Islands card family
783 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
786 Requires: radeon-ucode
787 Requires: xorg-driver-video-ati
788 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
789 Requires: xorg-xserver-server >= %{xserver_ver}
791 %description dri-driver-ati-radeon-SI
792 X.org DRI driver for ATI Southern Islands card family.
794 %description dri-driver-ati-radeon-SI -l pl.UTF-8
795 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
797 %package dri-driver-intel-i915
798 Summary: X.org DRI driver for Intel i915 card family
799 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
802 %if %{without gallium_intel}
803 Requires: %{name}-dri-core = %{version}-%{release}
805 Requires: xorg-driver-video-intel
806 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
807 Requires: xorg-xserver-server >= %{xserver_ver}
808 Obsoletes: Mesa-dri-driver-intel-i830
809 Obsoletes: X11-driver-i810-dri < 1:7.0.0
811 %description dri-driver-intel-i915
812 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
815 %description dri-driver-intel-i915 -l pl.UTF-8
816 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
819 %package dri-driver-intel-i965
820 Summary: X.org DRI driver for Intel i965 card family
821 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
824 Requires: %{name}-dri-core = %{version}-%{release}
825 Requires: xorg-driver-video-intel
826 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
827 Requires: xorg-xserver-server >= %{xserver_ver}
828 Obsoletes: Mesa-dri-driver-intel-i830
829 Obsoletes: X11-driver-i810-dri < 1:7.0.0
831 %description dri-driver-intel-i965
832 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
833 965GME, GM45, G41, B43, Q45, G45);
835 %description dri-driver-intel-i965 -l pl.UTF-8
836 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
837 965GM, 965GME, GM45, G41, B43, Q45, G45).
839 %package dri-driver-nouveau
840 Summary: X.org DRI driver for NVIDIA card family
841 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
844 Requires: %{name}-dri-core = %{version}-%{release}
845 Requires: xorg-driver-video-nouveau
846 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
847 Requires: xorg-xserver-server >= %{xserver_ver}
849 %description dri-driver-nouveau
850 X.org DRI drivers for NVIDIA card family.
852 %description dri-driver-nouveau -l pl.UTF-8
853 Sterowniki X.org DRI dla rodziny kart NVIDIA.
855 %package dri-driver-swrast
856 Summary: X.org DRI software rasterizer driver
857 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
860 Requires: %{name}-dri-core = %{version}-%{release}
861 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
862 Requires: xorg-xserver-server >= %{xserver_ver}
864 %description dri-driver-swrast
865 X.org DRI software rasterizer driver.
867 %description dri-driver-swrast -l pl.UTF-8
868 Sterownik X.org DRI obsługujący rysowanie programowe.
870 %package dri-driver-vmwgfx
871 Summary: X.org DRI driver for VMware
872 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
875 Requires: xorg-driver-video-vmware
876 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
877 Requires: xorg-xserver-server >= %{xserver_ver}
879 %description dri-driver-vmwgfx
880 X.org DRI driver for VMWare.
882 %description dri-driver-vmwgfx -l pl.UTF-8
883 Sterownik X.org DRI dla VMware.
885 %package -n libvdpau-driver-mesa-nouveau
886 Summary: Mesa nouveau driver for the vdpau API
887 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
890 Requires: libdrm >= %{libdrm_ver}
891 Requires: libvdpau >= 0.4.1
892 Conflicts: libvdpau-driver-mesa
894 %description -n libvdpau-driver-mesa-nouveau
895 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
898 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
899 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
902 %package -n libvdpau-driver-mesa-r300
903 Summary: Mesa r300 driver for the vdpau API
904 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
907 Requires: libdrm >= %{libdrm_ver}
908 Requires: libvdpau >= 0.4.1
909 Conflicts: libvdpau-driver-mesa
911 %description -n libvdpau-driver-mesa-r300
912 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
913 based on R300/R400/RS690/R500 chips.
915 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
916 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
917 na układach R300/R400/RS690/R500.
919 %package -n libvdpau-driver-mesa-r600
920 Summary: Mesa r600 driver for the vdpau API
921 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
924 Requires: libdrm >= %{libdrm_ver}
925 Requires: libvdpau >= 0.4.1
926 Conflicts: libvdpau-driver-mesa
928 %description -n libvdpau-driver-mesa-r600
929 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
930 based on R600/R700 chips.
932 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
933 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
934 na układach R600/R700.
936 %package -n libvdpau-driver-mesa-radeonsi
937 Summary: Mesa radeonsi driver for the vdpau API
938 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
941 Requires: libdrm >= %{libdrm_ver}
942 Requires: libvdpau >= 0.4.1
943 Conflicts: libvdpau-driver-mesa
945 %description -n libvdpau-driver-mesa-radeonsi
946 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
947 adapters based on Southern Islands chips.
949 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
950 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
951 oparte na układach Southern Islands.
953 %package -n libvdpau-driver-mesa-softpipe
954 Summary: Mesa softpipe driver for the vdpau API
955 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
958 Requires: libdrm >= %{libdrm_ver}
959 Requires: libvdpau >= 0.4.1
960 Conflicts: libvdpau-driver-mesa
962 %description -n libvdpau-driver-mesa-softpipe
963 Mesa softpipe driver for the vdpau API.
965 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
966 Sterownik Mesa softpipe dla API vdpau.
978 dri_drivers="r200 radeon \
979 %if %{without gallium_intel}
984 %ifarch sparc sparcv9 sparc64
989 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
991 gallium_drivers="svga swrast \
992 %if %{with gallium_intel}
998 %if %{with gallium_nouveau}
1003 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1006 --disable-silent-rules \
1010 %{?with_static_libs:--enable-static} \
1013 --enable-shared-glapi \
1018 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1021 --enable-gallium-llvm \
1022 --with-llvm-shared-libs \
1023 %{__enable egl gallium-egl} \
1024 %{__enable gbm gallium-gbm} \
1025 %{?with_opencl:--enable-opencl} \
1026 %{?with_egl:--enable-openvg} \
1028 %{?with_xa:--enable-xa} \
1030 --with-gallium-drivers=${gallium_drivers} \
1032 --without-gallium-drivers \
1034 --with-dri-drivers=${dri_drivers} \
1035 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1040 rm -rf $RPM_BUILD_ROOT
1043 DESTDIR=$RPM_BUILD_ROOT
1045 # omitted by make install (as of 9.0)
1046 cp -pr include/CL $RPM_BUILD_ROOT%{_includedir}
1047 # strip out undesirable headers
1048 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1049 # dlopened by soname
1050 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1051 # not used externally
1052 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{version}.0,glapi}.so
1054 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1055 # not defined by standards; and not needed, there is pkg-config support
1056 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1057 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/lib*.la
1058 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm*.la
1060 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1061 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1062 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1065 rm -rf $RPM_BUILD_ROOT
1067 %post libEGL -p /sbin/ldconfig
1068 %postun libEGL -p /sbin/ldconfig
1070 %post libGL -p /sbin/ldconfig
1071 %postun libGL -p /sbin/ldconfig
1073 %post libGLES -p /sbin/ldconfig
1074 %postun libGLES -p /sbin/ldconfig
1076 %post libOSMesa -p /sbin/ldconfig
1077 %postun libOSMesa -p /sbin/ldconfig
1079 %post libOpenCL -p /sbin/ldconfig
1080 %postun libOpenCL -p /sbin/ldconfig
1082 %post libOpenVG -p /sbin/ldconfig
1083 %postun libOpenVG -p /sbin/ldconfig
1085 %post libXvMC-nouveau -p /sbin/ldconfig
1086 %postun libXvMC-nouveau -p /sbin/ldconfig
1087 %post libXvMC-r300 -p /sbin/ldconfig
1088 %postun libXvMC-r300 -p /sbin/ldconfig
1089 %post libXvMC-r600 -p /sbin/ldconfig
1090 %postun libXvMC-r600 -p /sbin/ldconfig
1091 %post libXvMC-softpipe -p /sbin/ldconfig
1092 %postun libXvMC-softpipe -p /sbin/ldconfig
1094 %post libgbm -p /sbin/ldconfig
1095 %postun libgbm -p /sbin/ldconfig
1097 %post libglapi -p /sbin/ldconfig
1098 %postun libglapi -p /sbin/ldconfig
1100 %post libwayland-egl -p /sbin/ldconfig
1101 %postun libwayland-egl -p /sbin/ldconfig
1103 %post libxatracker -p /sbin/ldconfig
1104 %postun libxatracker -p /sbin/ldconfig
1106 %post dri-core -p /sbin/ldconfig
1107 %postun dri-core -p /sbin/ldconfig
1111 %defattr(644,root,root,755)
1112 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1113 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1116 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1118 %attr(755,root,root) %{_libdir}/libllvmradeon%{version}.0.so
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/libEGL.so
1124 %dir %{_includedir}/EGL
1125 %{_includedir}/EGL/egl.h
1126 %{_includedir}/EGL/eglext.h
1127 %{_includedir}/EGL/eglmesaext.h
1128 %{_includedir}/EGL/eglplatform.h
1129 %{_pkgconfigdir}/egl.pc
1131 %if %{with static_libs}
1132 %files libEGL-static
1133 %defattr(644,root,root,755)
1139 %defattr(644,root,root,755)
1140 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1141 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1142 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1143 # symlink for binary apps which fail to conform Linux OpenGL ABI
1144 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1145 %attr(755,root,root) %{_libdir}/libGL.so
1148 %defattr(644,root,root,755)
1150 %dir %{_includedir}/GL
1151 %{_includedir}/GL/gl.h
1152 %{_includedir}/GL/glext.h
1153 %{_includedir}/GL/gl_mangle.h
1154 %{_includedir}/GL/glx.h
1155 %{_includedir}/GL/glxext.h
1156 %{_includedir}/GL/glx_mangle.h
1157 %dir %{_includedir}/GL/internal
1158 %{_includedir}/GL/internal/dri_interface.h
1159 %{_pkgconfigdir}/dri.pc
1160 %{_pkgconfigdir}/gl.pc
1162 %if %{with static_libs}
1164 %defattr(644,root,root,755)
1169 %defattr(644,root,root,755)
1170 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1171 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1172 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1173 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1175 %files libGLES-devel
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1178 %attr(755,root,root) %{_libdir}/libGLESv2.so
1180 %{_includedir}/GLES2
1181 %{_includedir}/GLES3
1182 %{_pkgconfigdir}/glesv1_cm.pc
1183 %{_pkgconfigdir}/glesv2.pc
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1188 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1190 %files libOSMesa-devel
1191 %defattr(644,root,root,755)
1192 %attr(755,root,root) %{_libdir}/libOSMesa.so
1193 %{_includedir}/GL/osmesa.h
1194 %{_pkgconfigdir}/osmesa.pc
1196 %if %{with static_libs}
1197 %files libOSMesa-static
1198 %defattr(644,root,root,755)
1199 %{_libdir}/libOSMesa.a
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1206 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1208 %files libOpenCL-devel
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/libOpenCL.so
1214 %if %{with egl} && %{with gallium}
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1218 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1220 %files libOpenVG-devel
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/libOpenVG.so
1224 %{_pkgconfigdir}/vg.pc
1228 %if %{with gallium_nouveau}
1229 %files libXvMC-nouveau
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1232 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0.0
1238 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1243 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1245 %files libXvMC-softpipe
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0.0
1248 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1255 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1258 %dir %{_libdir}/gallium-pipe
1259 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_libdir}/libgbm.so
1265 %{_includedir}/gbm.h
1266 %{_pkgconfigdir}/gbm.pc
1270 %if %{with gallium_intel}
1271 %files gbm-driver-i915
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1276 %if %{with gallium_nouveau}
1277 %files gbm-driver-nouveau
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1282 %files gbm-driver-r300
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1286 %files gbm-driver-r600
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1290 %files gbm-driver-radeonsi
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1294 %files gbm-driver-swrast
1295 %defattr(644,root,root,755)
1296 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1298 %files gbm-driver-vmwgfx
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1306 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1307 # libglapi-devel? nothing seems to need it atm.
1308 #%attr(755,root,root) %{_libdir}/libglapi.so
1311 %files libwayland-egl
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1314 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1316 %files libwayland-egl-devel
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1319 %{_pkgconfigdir}/wayland-egl.pc
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1326 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1328 %files libxatracker-devel
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/libxatracker.so
1331 %{_includedir}/xa_composite.h
1332 %{_includedir}/xa_context.h
1333 %{_includedir}/xa_tracker.h
1334 %{_pkgconfigdir}/xatracker.pc
1338 %files khrplatform-devel
1339 %defattr(644,root,root,755)
1340 %dir %{_includedir}/KHR
1341 %{_includedir}/KHR/khrplatform.h
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/libdricore%{version}.0.so.*.*
1347 %attr(755,root,root) %ghost %{_libdir}/libdricore%{version}.0.so.1
1348 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1350 %files dri-driver-ati-radeon-R100
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1354 %files dri-driver-ati-radeon-R200
1355 %defattr(644,root,root,755)
1356 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1359 %files dri-driver-ati-radeon-R300
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1363 %files dri-driver-ati-radeon-R600
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1368 %files dri-driver-ati-radeon-SI
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1372 %files dri-driver-intel-i915
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1376 %files dri-driver-intel-i965
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1380 %files dri-driver-nouveau
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1383 %if %{with gallium_nouveau}
1384 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1387 %files dri-driver-swrast
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1392 %files dri-driver-vmwgfx
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1398 # ldconfig is not used in vdpau tree, so package all symlinks
1399 %if %{with gallium_nouveau}
1400 %files -n libvdpau-driver-mesa-nouveau
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1403 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1404 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1407 %files -n libvdpau-driver-mesa-r300
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1410 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1411 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1413 %files -n libvdpau-driver-mesa-r600
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1416 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1417 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1419 %files -n libvdpau-driver-mesa-radeonsi
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1422 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1423 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1425 %files -n libvdpau-driver-mesa-softpipe
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0.0
1428 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1429 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so