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 gallium_radeon # gallium radeon drivers
13 %bcond_without egl # EGL libraries
14 %bcond_without gbm # Graphics Buffer Manager
15 %bcond_without opencl # OpenCL support
16 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
17 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
18 %bcond_without wayland # Wayland EGL
19 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
20 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
21 %bcond_with tests # tests
23 # glapi version (glapi tables in dri drivers and libglx must be in sync);
24 # set to current Mesa version on ABI break, when xserver tables get regenerated
25 # (until they start to be somehow versioned themselves)
26 %define glapi_ver 7.1.0
27 # minimal supported xserver version
28 %define xserver_ver 1.5.0
30 %define libdrm_ver 2.4.56
31 %define dri2proto_ver 2.6
32 %define dri3proto_ver 1.0
33 %define glproto_ver 1.4.14
34 %define presentproto_ver 1.0
36 Summary: Free OpenGL implementation
37 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
41 License: MIT (core) and others - see license.html file
43 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
44 # Source0-md5: f404f9ecece1e04f2c99dadc42a7d215
45 Patch0: missing-type.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: elfutils-devel
51 BuildRequires: expat-devel
52 BuildRequires: gcc >= 5:3.3
53 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
54 BuildRequires: libdrm-devel >= %{libdrm_ver}
55 BuildRequires: libselinux-devel
56 BuildRequires: libstdc++-devel >= 5:3.3.0
57 BuildRequires: libtalloc-devel >= 2:2.0.1
58 BuildRequires: libtool >= 2:2.2
59 BuildRequires: libvdpau-devel >= 0.4.1
60 BuildRequires: libxcb-devel >= 1.10
61 BuildRequires: llvm-devel >= 3.3
62 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
63 %{?with_opencl:BuildRequires: llvm-libclc}
64 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
65 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
66 BuildRequires: perl-base
67 BuildRequires: pixman-devel
68 BuildRequires: pkgconfig
69 BuildRequires: pkgconfig(talloc) >= 2.0.1
70 BuildRequires: pkgconfig(xcb-dri3)
71 BuildRequires: pkgconfig(xcb-present)
72 BuildRequires: python >= 2
73 BuildRequires: python-modules >= 2
74 BuildRequires: rpmbuild(macros) >= 1.470
75 BuildRequires: sed >= 4.0
76 %{?with_egl:BuildRequires: udev-devel >= 1:151}
77 # wayland-{client,server}
78 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
79 BuildRequires: xorg-lib-libXdamage-devel
80 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
81 BuildRequires: xorg-lib-libXfixes-devel
82 BuildRequires: xorg-lib-libXt-devel
83 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
84 BuildRequires: xorg-lib-libXxf86vm-devel
85 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
86 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
87 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
88 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
89 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
90 BuildRequires: xorg-util-makedepend
91 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
93 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
94 BuildRequires: xorg-xserver-server-devel >= 1.6.0
96 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
98 %if %{without gallium}
99 %undefine with_gallium_intel
100 %undefine with_gallium_nouveau
101 %undefine with_ocl_icd
102 %undefine with_opencl
108 %undefine with_wayland
111 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
112 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
113 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
114 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
117 %define filterout_ld -Wl,--as-needed
120 Mesa is a 3-D graphics library with an API which is very similar to
121 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
122 syntax or state machine, it is being used with authorization from
123 Silicon Graphics, Inc. However, the author does not possess an OpenGL
124 license from SGI, and makes no claim that Mesa is in any way a
125 compatible replacement for OpenGL or associated with SGI.
127 %description -l pl.UTF-8
128 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
129 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
130 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
131 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
132 OpenGL ani powiązana z SGI.
135 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
136 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
139 Requires: %{name}-libglapi = %{version}-%{release}
140 # glx driver in libEGL dlopens libGL.so
141 Requires: OpenGL >= 1.2
142 Requires: libdrm >= %{libdrm_ver}
143 Requires: libxcb >= 1.9
144 %{?with_wayland:Requires: wayland >= 1.2.0}
147 Requires: %{name}-libOpenVG = %{version}-%{release}
148 Requires: udev-libs >= 1:151
151 Requires: %{name}-libgbm = %{version}-%{release}
156 This package contains shared libEGL - Mesa implementation of EGL
157 Native Platform Graphics Interface as specified by Khronos Group:
158 <http://www.khronos.org/egl/>.
160 %description libEGL -l pl.UTF-8
161 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
162 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
163 graficznego platformy natywnej) wg specyfikacji Khronos Group:
164 <http://www.khronos.org/egl/>.
166 %package libEGL-devel
167 Summary: Header files for Mesa implementation of EGL library
168 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
170 Group: Development/Libraries
171 Requires: %{name}-khrplatform-devel = %{version}-%{release}
172 Requires: %{name}-libEGL = %{version}-%{release}
173 Requires: libdrm-devel >= %{libdrm_ver}
174 Requires: xorg-lib-libX11-devel
175 Requires: xorg-lib-libXdamage-devel
176 Requires: xorg-lib-libXext-devel >= 1.0.5
177 Requires: xorg-lib-libXfixes-devel
178 Requires: xorg-lib-libXxf86vm-devel
179 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
180 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
181 Provides: EGL-devel = 1.4
183 %description libEGL-devel
184 Header files for Mesa implementation of EGL library.
186 %description libEGL-devel -l pl.UTF-8
187 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
189 %package libEGL-static
190 Summary: Static Mesa EGL library
191 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
193 Group: Development/Libraries
194 Requires: %{name}-libEGL-devel = %{version}-%{release}
195 Provides: EGL-static = 1.4
197 %description libEGL-static
198 Static Mesa EGL library.
200 %description libEGL-static -l pl.UTF-8
201 Statyczna biblioteka Mesa EGL.
204 Summary: Free Mesa3D implementation of libGL OpenGL library
205 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
208 Requires: %{name}-libglapi = %{version}-%{release}
209 Requires: libdrm >= %{libdrm_ver}
210 Provides: OpenGL = 3.3
211 Provides: OpenGL-GLX = 1.4
214 Obsoletes: Mesa-dri-core < 10.0.0
215 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
216 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
219 Mesa is a 3-D graphics library with an API which is very similar to
220 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
221 syntax or state machine, it is being used with authorization from
222 Silicon Graphics, Inc. However, the author does not possess an OpenGL
223 license from SGI, and makes no claim that Mesa is in any way a
224 compatible replacement for OpenGL or associated with SGI.
226 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
227 specifications. It uses DRI for rendering.
229 %description libGL -l pl.UTF-8
230 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
231 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
232 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
233 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
234 OpenGL ani powiązana z SGI.
236 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
237 GLX 1.4. Używa DRI do renderowania.
240 Summary: Header files for Mesa3D libGL library
241 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
243 Group: X11/Development/Libraries
244 # loose dependency on libGL to use with other libGL binaries
245 Requires: OpenGL >= 1.5
246 Requires: libdrm-devel >= %{libdrm_ver}
247 Requires: xorg-lib-libX11-devel
248 Requires: xorg-lib-libXdamage-devel
249 Requires: xorg-lib-libXext-devel >= 1.0.5
250 Requires: xorg-lib-libXxf86vm-devel
251 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
252 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
253 Suggests: OpenGL-doc-man
254 Provides: OpenGL-GLX-devel = 1.4
255 Provides: OpenGL-devel = 3.3
256 Obsoletes: Mesa-devel
257 Obsoletes: X11-OpenGL-devel < 1:7.0.0
258 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
259 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
260 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
262 %description libGL-devel
263 Header files for Mesa3D libGL library.
265 %description libGL-devel -l pl.UTF-8
266 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
268 %package libGL-static
269 Summary: Static Mesa3D libGL library
270 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
272 Group: X11/Development/Libraries
273 Requires: %{name}-libGL-devel = %{version}-%{release}
274 Provides: OpenGL-static = 3.3
275 Obsoletes: Mesa-static
276 Obsoletes: X11-OpenGL-static < 1:7.0.0
277 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
279 %description libGL-static
280 Static Mesa3D libGL library. It uses software renderer.
282 %description libGL-static -l pl.UTF-8
283 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
287 Summary: Mesa implementation of GLES (OpenGL ES) libraries
288 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
290 Requires: %{name}-libglapi = %{version}-%{release}
292 Provides: OpenGLESv1 = 1.1
293 Provides: OpenGLESv2 = 2.0
296 This package contains shared libraries of Mesa implementation of GLES
297 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
298 on embedded systems. OpenGL ES specification can be found on Khronos
299 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
302 %description libGLES -l pl.UTF-8
303 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
304 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
305 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
306 OpenGL ES można znaleźć na stronie Khronos Group:
307 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
310 %package libGLES-devel
311 Summary: Header files for Mesa GLES libraries
312 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
313 Group: Development/Libraries
314 Requires: %{name}-khrplatform-devel = %{version}-%{release}
315 # <EGL/egl.h> for <GLES/egl.h>
316 Requires: %{name}-libEGL-devel = %{version}-%{release}
317 Requires: %{name}-libGLES = %{version}-%{release}
318 Provides: OpenGLES-devel
319 Provides: OpenGLESv1-devel = 1.1
320 Provides: OpenGLESv2-devel = 2.0
322 %description libGLES-devel
323 Header files for Mesa GLES libraries.
325 %description libGLES-devel -l pl.UTF-8
326 Pliki nagłówkowe bibliotek Mesa GLES.
329 Summary: OSMesa (off-screen renderer) library
330 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
334 %description libOSMesa
335 OSMesa (off-screen renderer) library.
337 %description libOSMesa -l pl.UTF-8
338 Biblioteka OSMesa (renderująca bitmapy w pamięci).
340 %package libOSMesa-devel
341 Summary: Header file for OSMesa (off-screen renderer) library
342 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
344 Group: Development/Libraries
345 Requires: %{name}-libOSMesa = %{version}-%{release}
347 Requires: OpenGL-devel
348 Requires: libselinux-devel
350 %description libOSMesa-devel
351 Header file for OSMesa (off-screen renderer) library.
353 %description libOSMesa-devel -l pl.UTF-8
354 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
356 %package libOSMesa-static
357 Summary: Static OSMesa (off-screen renderer) library
358 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
360 Group: Development/Libraries
361 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
362 # this static build of OSMesa needs static non-dri Mesa implementation
363 Requires: %{name}-libGL-static = %{version}-%{release}
365 %description libOSMesa-static
366 Static OSMesa (off-screen renderer) library.
368 %description libOSMesa-static -l pl.UTF-8
369 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
372 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
373 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
376 Requires: filesystem >= 4.0-29
377 Requires: libdrm >= %{libdrm_ver}
378 Requires: llvm-libclc
379 Requires: udev-libs >= 1:151
380 Provides: OpenCL = 1.1
381 Provides: ocl-icd-driver
383 %description OpenCL-icd
384 This package contains Mesa implementation of OpenCL - standard for
385 cross-platform, parallel programming of modern processors found in
386 personal computers, servers and handheld/embedded devices. OpenCL
387 specification can be found on Khronos Group site:
388 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
390 The implementation is provided as an installable client driver (ICD)
391 for use with the ocl-icd loader.
393 %description OpenCL-icd -l pl.UTF-8
394 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
395 wieloplatformowego, równoległego programowania nowoczesnych
396 procesorów, jakie znajdują się w komputerach osobistych, serwerach
397 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
398 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
399 Mesa zawiera implementację OpenCL w wersji 1.1.
401 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
402 (ICD), który może być użyty z loaderem ocl-icd.
405 Summary: Mesa implementation of OpenCL (Compuing Language) API
406 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
409 Requires: libdrm >= %{libdrm_ver}
410 Requires: llvm-libclc
411 Requires: udev-libs >= 1:151
412 Provides: OpenCL = 1.1
414 %description libOpenCL
415 This package contains Mesa implementation of OpenCL - standard for
416 cross-platform, parallel programming of modern processors found in
417 personal computers, servers and handheld/embedded devices. OpenCL
418 specification can be found on Khronos Group site:
419 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
421 %description libOpenCL -l pl.UTF-8
422 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
423 wieloplatformowego, równoległego programowania nowoczesnych
424 procesorów, jakie znajdują się w komputerach osobistych, serwerach
425 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
426 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
427 Mesa zawiera implementację OpenCL w wersji 1.1.
429 %package libOpenCL-devel
430 Summary: Header files for Mesa OpenCL library
431 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
433 Group: Development/Libraries
434 Requires: %{name}-libOpenCL = %{version}-%{release}
435 Provides: OpenCL-devel = 1.1
437 %description libOpenCL-devel
438 Header files for Mesa OpenCL library.
440 %description libOpenCL-devel -l pl.UTF-8
441 Pliki nagłówkowe biblioteki Mesa OpenCL.
444 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
445 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
448 Provides: OpenVG = 1.1
450 %description libOpenVG
451 This package contains Mesa implementation of OpenVG - cross-platform
452 API that provides a low-level hardware acceleration interface for
453 vector graphics libraries such as Flash and SVG. OpenVG specification
454 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
455 Mesa implements OpenVG 1.1.
457 %description libOpenVG -l pl.UTF-8
458 Ten pakiet zawiera implementację Mesa standardu OpenVG -
459 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
460 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
461 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
462 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
465 %package libOpenVG-devel
466 Summary: Header file for Mesa OpenVG library
467 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
469 Group: Development/Libraries
470 Requires: %{name}-khrplatform-devel = %{version}-%{release}
471 Requires: %{name}-libOpenVG = %{version}-%{release}
472 Provides: OpenVG-devel = 1.1
474 %description libOpenVG-devel
475 Header file for Mesa OpenVG library.
477 %description libOpenVG-devel -l pl.UTF-8
478 Plik nagłówkowy biblioteki Mesa OpenVG.
480 %package libXvMC-nouveau
481 Summary: Mesa implementation of XvMC API for NVidia adapters
482 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
485 Requires: libdrm >= %{libdrm_ver}
486 Requires: xorg-lib-libXvMC >= 1.0.6
487 Conflicts: Mesa-libXvMC
489 %description libXvMC-nouveau
490 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
492 %description libXvMC-nouveau -l pl.UTF-8
493 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
495 %package libXvMC-r600
496 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
497 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
500 Requires: libdrm >= %{libdrm_ver}
501 Requires: xorg-lib-libXvMC >= 1.0.6
502 Conflicts: Mesa-libXvMC
504 %description libXvMC-r600
505 Mesa implementation of XvMC API for ATI Radeon adapters based on
508 %description libXvMC-r600 -l pl.UTF-8
509 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
513 Summary: Mesa Graphics Buffer Manager library
514 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
516 Requires: %{name}-libglapi = %{version}-%{release}
517 Requires: udev-libs >= 1:151
518 Conflicts: Mesa-libEGL < 8.0.1-2
521 Mesa Graphics Buffer Manager library.
523 %description libgbm -l pl.UTF-8
524 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
526 %package libgbm-devel
527 Summary: Header file for Mesa Graphics Buffer Manager library
528 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
529 Group: Development/Libraries
530 Requires: %{name}-libgbm = %{version}-%{release}
531 Requires: udev-devel >= 1:151
533 %description libgbm-devel
534 Header file for Mesa Graphics Buffer Manager library.
536 %description libgbm-devel -l pl.UTF-8
537 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
540 %package gbm-driver-i915
541 Summary: i915 driver for Mesa GBM framework
542 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
544 Requires: %{name}-libgbm = %{version}-%{release}
545 Obsoletes: Mesa-opencl-driver-i915
547 %description gbm-driver-i915
548 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
549 915/945/G33/Q33/Q35/Pineview chips.
551 %description gbm-driver-i915 -l pl.UTF-8
552 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
553 bufora graficznego). Obsługuje układy Intela z serii
554 915/945/G33/Q33/Q35/Pineview.
556 %package gbm-driver-nouveau
557 Summary: nouveau driver for Mesa GBM framework
558 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
560 Requires: %{name}-libgbm = %{version}-%{release}
561 Obsoletes: Mesa-opencl-driver-nouveau
563 %description gbm-driver-nouveau
564 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
567 %description gbm-driver-nouveau -l pl.UTF-8
568 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
569 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
571 %package gbm-driver-r300
572 Summary: r300 driver for Mesa GBM framework
573 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
575 Requires: %{name}-libgbm = %{version}-%{release}
576 Obsoletes: Mesa-opencl-driver-r300
578 %description gbm-driver-r300
579 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
580 adapters based on R300/R400/RS690/R500 chips.
582 %description gbm-driver-r300 -l pl.UTF-8
583 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
584 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
585 układach R300/R400/RS690/R500.
587 %package gbm-driver-r600
588 Summary: r600 driver for Mesa GBM framework
589 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
591 Requires: %{name}-libgbm = %{version}-%{release}
592 Obsoletes: Mesa-libllvmradeon
593 Obsoletes: Mesa-opencl-driver-r600
595 %description gbm-driver-r600
596 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
597 adapters based on R600/R700 chips.
599 %description gbm-driver-r600 -l pl.UTF-8
600 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
601 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
604 %package gbm-driver-radeonsi
605 Summary: radeonsi driver for Mesa GBM framework
606 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
608 Requires: %{name}-libgbm = %{version}-%{release}
609 Obsoletes: Mesa-libllvmradeon
610 Obsoletes: Mesa-opencl-driver-radeonsi
612 %description gbm-driver-radeonsi
613 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
614 Radeon adapters based on Southern Islands chips.
616 %description gbm-driver-radeonsi -l pl.UTF-8
617 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
618 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
619 oparte na układach Southern Islands.
621 %package gbm-driver-swrast
622 Summary: Software (swrast) driver for Mesa GBM framework
623 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
625 Requires: %{name}-libgbm = %{version}-%{release}
626 Obsoletes: Mesa-opencl-driver-swrast
628 %description gbm-driver-swrast
629 Software (swrast) driver for Mesa Graphics Buffer Manager.
631 %description gbm-driver-swrast -l pl.UTF-8
632 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
633 Manager (zarządcy bufora graficznego).
635 %package gbm-driver-vmwgfx
636 Summary: vmwgfx driver for Mesa GBM framework
637 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
639 Requires: %{name}-libgbm = %{version}-%{release}
640 Obsoletes: Mesa-opencl-driver-vmwgfx
642 %description gbm-driver-vmwgfx
643 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
644 virtual video adapter.
646 %description gbm-driver-vmwgfx -l pl.UTF-8
647 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
648 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
651 Summary: Mesa GL API shared library
652 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
654 Conflicts: Mesa-libEGL < 8.0.1-2
656 %description libglapi
657 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
659 %description libglapi -l pl.UTF-8
660 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
663 %package libwayland-egl
664 Summary: Wayland EGL library
665 Summary(pl.UTF-8): Biblioteka Wayland EGL
667 Requires: libdrm >= %{libdrm_ver}
669 %description libwayland-egl
670 Wayland EGL platform library.
672 %description libwayland-egl -l pl.UTF-8
673 Biblioteka platformy EGL Wayland.
675 %package libwayland-egl-devel
676 Summary: Development files for Wayland EGL library
677 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
678 Group: Development/Libraries
679 Requires: %{name}-libwayland-egl = %{version}-%{release}
680 Requires: libdrm-devel >= %{libdrm_ver}
682 %description libwayland-egl-devel
683 Development files for Wayland EGL platform library.
685 %description libwayland-egl-devel -l pl.UTF-8
686 Pliki programistyczne biblioteki platformy EGL Wayland.
688 %package libxatracker
689 Summary: Xorg Gallium3D accelleration library
690 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
692 Requires: libdrm >= %{libdrm_ver}
694 %description libxatracker
695 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
697 %description libxatracker -l pl.UTF-8
698 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
701 %package libxatracker-devel
702 Summary: Header files for Xorg Gallium3D accelleration library
703 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
704 Group: X11/Development/Libraries
705 Requires: %{name}-libxatracker = %{version}-%{release}
706 Requires: libdrm-devel >= %{libdrm_ver}
708 %description libxatracker-devel
709 Header files for Xorg Gallium3D accelleration library.
711 %description libxatracker-devel -l pl.UTF-8
712 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
714 %package khrplatform-devel
715 Summary: Khronos platform header file
716 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
717 Group: Development/Libraries
718 Conflicts: Mesa-libEGL-devel < 8.0.1-2
720 %description khrplatform-devel
721 Khronos platform header file.
723 %description khrplatform-devel -l pl.UTF-8
724 Plik nagłówkowy platformy Khronos.
726 %package dri-driver-ati-radeon-R100
727 Summary: X.org DRI driver for ATI R100 card family
728 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
731 Requires: xorg-driver-video-ati
732 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
733 Requires: xorg-xserver-server >= %{xserver_ver}
734 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
736 %description dri-driver-ati-radeon-R100
737 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
739 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
740 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
742 %package dri-driver-ati-radeon-R200
743 Summary: X.org DRI driver for ATI R200 card family
744 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
747 Requires: xorg-driver-video-ati
748 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
749 Requires: xorg-xserver-server >= %{xserver_ver}
750 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
752 %description dri-driver-ati-radeon-R200
753 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
755 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
756 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
758 %package dri-driver-ati-radeon-R300
759 Summary: X.org DRI driver for ATI R300 card family
760 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
763 Requires: xorg-driver-video-ati
764 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
765 Requires: xorg-xserver-server >= %{xserver_ver}
766 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
768 %description dri-driver-ati-radeon-R300
769 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
771 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
772 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
774 %package dri-driver-ati-radeon-R600
775 Summary: X.org DRI driver for ATI R600 card family
776 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
779 Requires: radeon-ucode
780 Requires: xorg-driver-video-ati
781 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
782 Requires: xorg-xserver-server >= %{xserver_ver}
784 %description dri-driver-ati-radeon-R600
785 X.org DRI driver for ATI R600/R700 card family.
787 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
788 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
790 %package dri-driver-ati-radeon-SI
791 Summary: X.org DRI driver for ATI Southern Islands card family
792 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
795 Requires: radeon-ucode
796 Requires: xorg-driver-video-ati
797 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
798 Requires: xorg-xserver-server >= %{xserver_ver}
800 %description dri-driver-ati-radeon-SI
801 X.org DRI driver for ATI Southern Islands card family.
803 %description dri-driver-ati-radeon-SI -l pl.UTF-8
804 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
806 %package dri-driver-intel-i915
807 Summary: X.org DRI driver for Intel i915 card family
808 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
811 Requires: xorg-driver-video-intel
812 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
813 Requires: xorg-xserver-server >= %{xserver_ver}
814 Obsoletes: Mesa-dri-driver-intel-i830
815 Obsoletes: X11-driver-i810-dri < 1:7.0.0
817 %description dri-driver-intel-i915
818 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
821 %description dri-driver-intel-i915 -l pl.UTF-8
822 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
825 %package dri-driver-intel-i965
826 Summary: X.org DRI driver for Intel i965 card family
827 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
830 Requires: xorg-driver-video-intel
831 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
832 Requires: xorg-xserver-server >= %{xserver_ver}
833 Obsoletes: Mesa-dri-driver-intel-i830
834 Obsoletes: X11-driver-i810-dri < 1:7.0.0
836 %description dri-driver-intel-i965
837 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
838 965GME, GM45, G41, B43, Q45, G45);
840 %description dri-driver-intel-i965 -l pl.UTF-8
841 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
842 965GM, 965GME, GM45, G41, B43, Q45, G45).
844 %package dri-driver-nouveau
845 Summary: X.org DRI driver for NVIDIA card family
846 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
849 Requires: xorg-driver-video-nouveau
850 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
851 Requires: xorg-xserver-server >= %{xserver_ver}
853 %description dri-driver-nouveau
854 X.org DRI drivers for NVIDIA card family.
856 %description dri-driver-nouveau -l pl.UTF-8
857 Sterowniki X.org DRI dla rodziny kart NVIDIA.
859 %package dri-driver-swrast
860 Summary: X.org DRI software rasterizer driver
861 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
864 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
865 Requires: xorg-xserver-server >= %{xserver_ver}
867 %description dri-driver-swrast
868 X.org DRI software rasterizer driver.
870 %description dri-driver-swrast -l pl.UTF-8
871 Sterownik X.org DRI obsługujący rysowanie programowe.
873 %package dri-driver-vmwgfx
874 Summary: X.org DRI driver for VMware
875 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
878 Requires: xorg-driver-video-vmware
879 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
880 Requires: xorg-xserver-server >= %{xserver_ver}
882 %description dri-driver-vmwgfx
883 X.org DRI driver for VMWare.
885 %description dri-driver-vmwgfx -l pl.UTF-8
886 Sterownik X.org DRI dla VMware.
888 %package -n libvdpau-driver-mesa-nouveau
889 Summary: Mesa nouveau driver for the vdpau API
890 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
893 Requires: libdrm >= %{libdrm_ver}
894 Requires: libvdpau >= 0.4.1
895 Conflicts: libvdpau-driver-mesa
897 %description -n libvdpau-driver-mesa-nouveau
898 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
901 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
902 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
905 %package -n libvdpau-driver-mesa-r600
906 Summary: Mesa r600 driver for the vdpau API
907 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
910 Requires: libdrm >= %{libdrm_ver}
911 Requires: libvdpau >= 0.4.1
912 Conflicts: libvdpau-driver-mesa
914 %description -n libvdpau-driver-mesa-r600
915 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
916 based on R600/R700 chips.
918 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
919 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
920 na układach R600/R700.
922 %package -n libvdpau-driver-mesa-radeonsi
923 Summary: Mesa radeonsi driver for the vdpau API
924 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
927 Requires: libdrm >= %{libdrm_ver}
928 Requires: libvdpau >= 0.4.1
929 Conflicts: libvdpau-driver-mesa
930 Obsoletes: Mesa-libllvmradeon
932 %description -n libvdpau-driver-mesa-radeonsi
933 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
934 adapters based on Southern Islands chips.
936 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
937 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
938 oparte na układach Southern Islands.
940 %package -n omxil-mesa
941 Summary: Mesa driver for Bellagio OpenMAX IL API
942 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
945 Requires: libdrm >= %{libdrm_ver}
946 Requires: libxcb >= 1.8
947 Requires: libomxil-bellagio
948 Obsoletes: omxil-mesa-nouveau
949 Obsoletes: omxil-mesa-r600
950 Obsoletes: omxil-mesa-radeonsi
952 %description -n omxil-mesa
953 Mesa driver for Bellagio OpenMAX IL API.
955 %description -n omxil-mesa -l pl.UTF-8
956 Sterownik Mesa dla API Bellagio OpenMAX IL.
958 %package -n omxil-mesa-nouveau
959 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
960 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
963 Requires: libdrm >= %{libdrm_ver}
964 Requires: libxcb >= 1.8
965 Requires: libomxil-bellagio
967 %description -n omxil-mesa-nouveau
968 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
969 adapters (NV40-NV96, NVa0).
971 %description -n omxil-mesa-nouveau -l pl.UTF-8
972 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
973 NVidia (NV40-NV96, NVa0).
975 %package -n omxil-mesa-r600
976 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
977 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
980 Requires: libdrm >= %{libdrm_ver}
981 Requires: libxcb >= 1.8
982 Requires: libomxil-bellagio
984 %description -n omxil-mesa-r600
985 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
986 adapters based on R600/R700 chips.
988 %description -n omxil-mesa-r600 -l pl.UTF-8
989 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
990 Radeon oparte na układach R600/R700.
992 %package -n omxil-mesa-radeonsi
993 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
994 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
997 Requires: libdrm >= %{libdrm_ver}
998 Requires: libxcb >= 1.8
999 Requires: libomxil-bellagio
1001 %description -n omxil-mesa-radeonsi
1002 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1003 Radeon adapters based on Southern Islands chips.
1005 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1006 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1007 ATI Radeon oparte na układach Southern Islands.
1019 dri_drivers="r200 radeon \
1020 %if %{without gallium_intel}
1025 %ifarch sparc sparcv9 sparc64
1030 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1032 gallium_drivers="svga swrast \
1033 %if %{with gallium_intel}
1036 %if %{with gallium_radeon}
1041 %if %{with gallium_nouveau}
1046 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1049 --disable-silent-rules \
1053 %{?with_static_libs:--enable-static} \
1056 --enable-shared-glapi \
1061 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1064 --enable-gallium-llvm \
1065 --enable-llvm-shared-libs \
1066 %{__enable egl gallium-egl} \
1067 %{__enable gbm gallium-gbm} \
1068 %{__enable ocl_icd opencl-icd} \
1069 %{__enable opencl opencl} \
1070 %{?with_egl:--enable-openvg} \
1072 %{?with_omx:--enable-omx} \
1073 %{?with_xa:--enable-xa} \
1075 --with-gallium-drivers=${gallium_drivers} \
1077 --without-gallium-drivers \
1079 --with-dri-drivers=${dri_drivers} \
1080 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1084 %{?with_tests:%{__make} check}
1087 rm -rf $RPM_BUILD_ROOT
1090 DESTDIR=$RPM_BUILD_ROOT
1092 # strip out undesirable headers
1093 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1094 # dlopened by soname
1095 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1096 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0
1097 # dlopened by soname or .so link
1098 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0
1099 # not used externally
1100 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1102 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1103 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1105 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1106 # not defined by standards; and not needed, there is pkg-config support
1107 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1109 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1110 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1111 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1114 rm -rf $RPM_BUILD_ROOT
1116 %post libEGL -p /sbin/ldconfig
1117 %postun libEGL -p /sbin/ldconfig
1119 %post libGL -p /sbin/ldconfig
1120 %postun libGL -p /sbin/ldconfig
1122 %post libGLES -p /sbin/ldconfig
1123 %postun libGLES -p /sbin/ldconfig
1125 %post libOSMesa -p /sbin/ldconfig
1126 %postun libOSMesa -p /sbin/ldconfig
1128 %post libOpenCL -p /sbin/ldconfig
1129 %postun libOpenCL -p /sbin/ldconfig
1131 %post libOpenVG -p /sbin/ldconfig
1132 %postun libOpenVG -p /sbin/ldconfig
1134 %post libXvMC-nouveau -p /sbin/ldconfig
1135 %postun libXvMC-nouveau -p /sbin/ldconfig
1136 %post libXvMC-r600 -p /sbin/ldconfig
1137 %postun libXvMC-r600 -p /sbin/ldconfig
1139 %post libgbm -p /sbin/ldconfig
1140 %postun libgbm -p /sbin/ldconfig
1142 %post libglapi -p /sbin/ldconfig
1143 %postun libglapi -p /sbin/ldconfig
1145 %post libwayland-egl -p /sbin/ldconfig
1146 %postun libwayland-egl -p /sbin/ldconfig
1148 %post libxatracker -p /sbin/ldconfig
1149 %postun libxatracker -p /sbin/ldconfig
1153 %defattr(644,root,root,755)
1154 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1155 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1158 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) %{_libdir}/libEGL.so
1164 %dir %{_includedir}/EGL
1165 %{_includedir}/EGL/egl.h
1166 %{_includedir}/EGL/eglext.h
1167 %{_includedir}/EGL/eglextchromium.h
1168 %{_includedir}/EGL/eglmesaext.h
1169 %{_includedir}/EGL/eglplatform.h
1170 %{_pkgconfigdir}/egl.pc
1172 %if %{with static_libs}
1173 %files libEGL-static
1174 %defattr(644,root,root,755)
1180 %defattr(644,root,root,755)
1181 %doc docs/{*.html,README.UVD,relnotes/*.html}
1182 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1183 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1184 # symlink for binary apps which fail to conform Linux OpenGL ABI
1185 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1186 %attr(755,root,root) %{_libdir}/libGL.so
1187 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1190 %defattr(644,root,root,755)
1192 %dir %{_includedir}/GL
1193 %{_includedir}/GL/gl.h
1194 %{_includedir}/GL/glcorearb.h
1195 %{_includedir}/GL/glext.h
1196 %{_includedir}/GL/gl_mangle.h
1197 %{_includedir}/GL/glx.h
1198 %{_includedir}/GL/glxext.h
1199 %{_includedir}/GL/glx_mangle.h
1200 %dir %{_includedir}/GL/internal
1201 %{_includedir}/GL/internal/dri_interface.h
1202 %{_pkgconfigdir}/dri.pc
1203 %{_pkgconfigdir}/gl.pc
1205 %if %{with static_libs}
1207 %defattr(644,root,root,755)
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1214 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1215 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1216 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1218 %files libGLES-devel
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1221 %attr(755,root,root) %{_libdir}/libGLESv2.so
1223 %{_includedir}/GLES2
1224 %{_includedir}/GLES3
1225 %{_pkgconfigdir}/glesv1_cm.pc
1226 %{_pkgconfigdir}/glesv2.pc
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1231 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1233 %files libOSMesa-devel
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libdir}/libOSMesa.so
1236 %{_includedir}/GL/osmesa.h
1237 %{_pkgconfigdir}/osmesa.pc
1239 %if %{with static_libs}
1240 %files libOSMesa-static
1241 %defattr(644,root,root,755)
1242 %{_libdir}/libOSMesa.a
1248 %defattr(644,root,root,755)
1249 /etc/OpenCL/vendors/mesa.icd
1250 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1251 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1252 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1257 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1259 %files libOpenCL-devel
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libOpenCL.so
1266 %if %{with egl} && %{with gallium}
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1270 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1272 %files libOpenVG-devel
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) %{_libdir}/libOpenVG.so
1276 %{_pkgconfigdir}/vg.pc
1280 %if %{with gallium_nouveau}
1281 %files libXvMC-nouveau
1282 %defattr(644,root,root,755)
1283 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1284 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1287 %if %{with gallium_radeon}
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1291 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1299 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1302 %dir %{_libdir}/gallium-pipe
1303 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_libdir}/libgbm.so
1309 %{_includedir}/gbm.h
1310 %{_pkgconfigdir}/gbm.pc
1314 %if %{with gallium_intel}
1315 %files gbm-driver-i915
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1320 %if %{with gallium_nouveau}
1321 %files gbm-driver-nouveau
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1326 %if %{with gallium_radeon}
1327 %files gbm-driver-r300
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1331 %files gbm-driver-r600
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1335 %files gbm-driver-radeonsi
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1340 %files gbm-driver-swrast
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1344 %files gbm-driver-vmwgfx
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1352 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1353 # libglapi-devel? nothing seems to need it atm.
1354 #%attr(755,root,root) %{_libdir}/libglapi.so
1357 %files libwayland-egl
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1360 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1362 %files libwayland-egl-devel
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1365 %{_pkgconfigdir}/wayland-egl.pc
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1372 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1374 %files libxatracker-devel
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_libdir}/libxatracker.so
1377 %{_includedir}/xa_composite.h
1378 %{_includedir}/xa_context.h
1379 %{_includedir}/xa_tracker.h
1380 %{_pkgconfigdir}/xatracker.pc
1384 %files khrplatform-devel
1385 %defattr(644,root,root,755)
1386 %dir %{_includedir}/KHR
1387 %{_includedir}/KHR/khrplatform.h
1390 %files dri-driver-ati-radeon-R100
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1394 %files dri-driver-ati-radeon-R200
1395 %defattr(644,root,root,755)
1396 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1399 %if %{with gallium_radeon}
1400 %files dri-driver-ati-radeon-R300
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1404 %files dri-driver-ati-radeon-R600
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1408 %files dri-driver-ati-radeon-SI
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1414 %files dri-driver-intel-i915
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1418 %files dri-driver-intel-i965
1419 %defattr(644,root,root,755)
1420 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1422 %files dri-driver-nouveau
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1425 %if %{with gallium_nouveau}
1426 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1429 %files dri-driver-swrast
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1432 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1435 %files dri-driver-vmwgfx
1436 %defattr(644,root,root,755)
1437 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1441 # ldconfig is not used in vdpau tree, so package all symlinks
1442 %if %{with gallium_nouveau}
1443 %files -n libvdpau-driver-mesa-nouveau
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1446 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1447 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1450 %if %{with gallium_radeon}
1451 %files -n libvdpau-driver-mesa-r600
1452 %defattr(644,root,root,755)
1453 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1454 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1455 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1457 %files -n libvdpau-driver-mesa-radeonsi
1458 %defattr(644,root,root,755)
1459 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1460 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1461 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1465 %if %{with gallium} && %{with omx}
1466 %files -n omxil-mesa
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so