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 # "Cannot enable OpenVG, because egl_gallium has been removed and
15 # OpenVG hasn't been integrated into standard libEGL yet"
16 %bcond_with openvg # OpenVG
17 %bcond_without gbm # Graphics Buffer Manager
18 %bcond_without opencl # OpenCL support
19 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
20 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
21 %bcond_without va # VA library
22 %bcond_without wayland # Wayland EGL
23 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
24 %bcond_with texture_float # floating-point textures and renderbuffers (SGI patent in US)
25 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
26 %bcond_with tests # tests
28 # glapi version (glapi tables in dri drivers and libglx must be in sync);
29 # set to current Mesa version on ABI break, when xserver tables get regenerated
30 # (until they start to be somehow versioned themselves)
31 %define glapi_ver 7.1.0
32 # minimal supported xserver version
33 %define xserver_ver 1.5.0
35 %define libdrm_ver 2.4.56
36 %define dri2proto_ver 2.6
37 %define dri3proto_ver 1.0
38 %define glproto_ver 1.4.14
39 %define presentproto_ver 1.0
41 # no clang/llvm on x32 yet
43 %undefine with_gallium
46 %if %{without gallium}
47 %undefine with_gallium_intel
48 %undefine with_gallium_nouveau
49 %undefine with_gallium_radeon
50 %undefine with_ocl_icd
58 %undefine with_wayland
61 Summary: Free OpenGL implementation
62 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
66 License: MIT (core) and others - see license.html file
68 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
69 # Source0-md5: ca915badc9c676f811a5ee514748ef78
70 Patch0: missing-type.patch
71 URL: http://www.mesa3d.org/
72 BuildRequires: autoconf >= 2.60
73 BuildRequires: automake
74 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
75 BuildRequires: elfutils-devel
76 BuildRequires: expat-devel
77 BuildRequires: gcc >= 5:3.3
78 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
79 BuildRequires: libdrm-devel >= %{libdrm_ver}
80 BuildRequires: libselinux-devel
81 BuildRequires: libstdc++-devel >= 5:3.3.0
82 BuildRequires: libtalloc-devel >= 2:2.0.1
83 BuildRequires: libtool >= 2:2.2
84 %{?with_va:BuildRequires: libva-devel >= 1.3.0}
85 %{?with_va:BuildRequires: pkgconfig(libva) >= 0.35.0}
86 BuildRequires: libvdpau-devel >= 0.4.1
87 BuildRequires: libxcb-devel >= 1.10
88 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
89 %{?with_opencl:BuildRequires: llvm-libclc}
90 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
91 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
92 BuildRequires: perl-base
93 BuildRequires: pixman-devel
94 BuildRequires: pkgconfig
95 BuildRequires: pkgconfig(talloc) >= 2.0.1
96 BuildRequires: pkgconfig(xcb-dri3)
97 BuildRequires: pkgconfig(xcb-present)
98 BuildRequires: python >= 2
99 BuildRequires: python-modules >= 2
100 BuildRequires: rpmbuild(macros) >= 1.470
101 BuildRequires: sed >= 4.0
102 %{?with_egl:BuildRequires: udev-devel >= 1:151}
103 # wayland-{client,server}
104 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
105 BuildRequires: xorg-lib-libXdamage-devel
106 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
107 BuildRequires: xorg-lib-libXfixes-devel
108 BuildRequires: xorg-lib-libXt-devel
109 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
110 BuildRequires: xorg-lib-libXxf86vm-devel
111 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
112 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
113 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
114 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
115 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
116 BuildRequires: xorg-util-makedepend
118 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
119 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
121 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
123 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
124 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
125 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
126 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
129 %define filterout_ld -Wl,--as-needed
132 Mesa is a 3-D graphics library with an API which is very similar to
133 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
134 syntax or state machine, it is being used with authorization from
135 Silicon Graphics, Inc. However, the author does not possess an OpenGL
136 license from SGI, and makes no claim that Mesa is in any way a
137 compatible replacement for OpenGL or associated with SGI.
139 %description -l pl.UTF-8
140 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
141 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
142 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
143 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
144 OpenGL ani powiązana z SGI.
147 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
148 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
151 Requires: %{name}-libglapi = %{version}-%{release}
152 # glx driver in libEGL dlopens libGL.so
153 Requires: OpenGL >= 1.2
154 Requires: libdrm >= %{libdrm_ver}
155 Requires: libxcb >= 1.9
156 %{?with_wayland:Requires: wayland >= 1.2.0}
160 Requires: %{name}-libOpenVG = %{version}-%{release}
162 Requires: udev-libs >= 1:151
165 Requires: %{name}-libgbm = %{version}-%{release}
170 This package contains shared libEGL - Mesa implementation of EGL
171 Native Platform Graphics Interface as specified by Khronos Group:
172 <http://www.khronos.org/egl/>.
174 %description libEGL -l pl.UTF-8
175 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
176 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
177 graficznego platformy natywnej) wg specyfikacji Khronos Group:
178 <http://www.khronos.org/egl/>.
180 %package libEGL-devel
181 Summary: Header files for Mesa implementation of EGL library
182 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
184 Group: Development/Libraries
185 Requires: %{name}-khrplatform-devel = %{version}-%{release}
186 Requires: %{name}-libEGL = %{version}-%{release}
187 Requires: libdrm-devel >= %{libdrm_ver}
188 Requires: xorg-lib-libX11-devel
189 Requires: xorg-lib-libXdamage-devel
190 Requires: xorg-lib-libXext-devel >= 1.0.5
191 Requires: xorg-lib-libXfixes-devel
192 Requires: xorg-lib-libXxf86vm-devel
193 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
194 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
195 Provides: EGL-devel = 1.4
197 %description libEGL-devel
198 Header files for Mesa implementation of EGL library.
200 %description libEGL-devel -l pl.UTF-8
201 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
203 %package libEGL-static
204 Summary: Static Mesa EGL library
205 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
207 Group: Development/Libraries
208 Requires: %{name}-libEGL-devel = %{version}-%{release}
209 Provides: EGL-static = 1.4
211 %description libEGL-static
212 Static Mesa EGL library.
214 %description libEGL-static -l pl.UTF-8
215 Statyczna biblioteka Mesa EGL.
218 Summary: Free Mesa3D implementation of libGL OpenGL library
219 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
222 Requires: %{name}-libglapi = %{version}-%{release}
223 Requires: libdrm >= %{libdrm_ver}
224 Provides: OpenGL = 3.3
225 Provides: OpenGL-GLX = 1.4
228 Obsoletes: Mesa-dri-core < 10.0.0
229 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
230 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
233 Mesa is a 3-D graphics library with an API which is very similar to
234 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
235 syntax or state machine, it is being used with authorization from
236 Silicon Graphics, Inc. However, the author does not possess an OpenGL
237 license from SGI, and makes no claim that Mesa is in any way a
238 compatible replacement for OpenGL or associated with SGI.
240 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
241 specifications. It uses DRI for rendering.
243 %description libGL -l pl.UTF-8
244 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
245 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
246 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
247 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
248 OpenGL ani powiązana z SGI.
250 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
251 GLX 1.4. Używa DRI do renderowania.
254 Summary: Header files for Mesa3D libGL library
255 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
257 Group: X11/Development/Libraries
258 # loose dependency on libGL to use with other libGL binaries
259 Requires: OpenGL >= 1.5
260 Requires: libdrm-devel >= %{libdrm_ver}
261 Requires: xorg-lib-libX11-devel
262 Requires: xorg-lib-libXdamage-devel
263 Requires: xorg-lib-libXext-devel >= 1.0.5
264 Requires: xorg-lib-libXxf86vm-devel
265 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
266 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
267 Suggests: OpenGL-doc-man
268 Provides: OpenGL-GLX-devel = 1.4
269 Provides: OpenGL-devel = 3.3
270 Obsoletes: Mesa-devel
271 Obsoletes: X11-OpenGL-devel < 1:7.0.0
272 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
273 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
274 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
276 %description libGL-devel
277 Header files for Mesa3D libGL library.
279 %description libGL-devel -l pl.UTF-8
280 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
282 %package libGL-static
283 Summary: Static Mesa3D libGL library
284 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
286 Group: X11/Development/Libraries
287 Requires: %{name}-libGL-devel = %{version}-%{release}
288 Provides: OpenGL-static = 3.3
289 Obsoletes: Mesa-static
290 Obsoletes: X11-OpenGL-static < 1:7.0.0
291 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
293 %description libGL-static
294 Static Mesa3D libGL library. It uses software renderer.
296 %description libGL-static -l pl.UTF-8
297 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
301 Summary: Mesa implementation of GLES (OpenGL ES) libraries
302 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
304 Requires: %{name}-libglapi = %{version}-%{release}
306 Provides: OpenGLESv1 = 1.1
307 Provides: OpenGLESv2 = 2.0
310 This package contains shared libraries of Mesa implementation of GLES
311 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
312 on embedded systems. OpenGL ES specification can be found on Khronos
313 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
316 %description libGLES -l pl.UTF-8
317 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
318 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
319 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
320 OpenGL ES można znaleźć na stronie Khronos Group:
321 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
324 %package libGLES-devel
325 Summary: Header files for Mesa GLES libraries
326 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
327 Group: Development/Libraries
328 Requires: %{name}-khrplatform-devel = %{version}-%{release}
329 # <EGL/egl.h> for <GLES/egl.h>
330 Requires: %{name}-libEGL-devel = %{version}-%{release}
331 Requires: %{name}-libGLES = %{version}-%{release}
332 Provides: OpenGLES-devel
333 Provides: OpenGLESv1-devel = 1.1
334 Provides: OpenGLESv2-devel = 2.0
336 %description libGLES-devel
337 Header files for Mesa GLES libraries.
339 %description libGLES-devel -l pl.UTF-8
340 Pliki nagłówkowe bibliotek Mesa GLES.
343 Summary: OSMesa (off-screen renderer) library
344 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
348 %description libOSMesa
349 OSMesa (off-screen renderer) library.
351 %description libOSMesa -l pl.UTF-8
352 Biblioteka OSMesa (renderująca bitmapy w pamięci).
354 %package libOSMesa-devel
355 Summary: Header file for OSMesa (off-screen renderer) library
356 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
358 Group: Development/Libraries
359 Requires: %{name}-libOSMesa = %{version}-%{release}
361 Requires: OpenGL-devel
362 Requires: libselinux-devel
364 %description libOSMesa-devel
365 Header file for OSMesa (off-screen renderer) library.
367 %description libOSMesa-devel -l pl.UTF-8
368 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
370 %package libOSMesa-static
371 Summary: Static OSMesa (off-screen renderer) library
372 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
374 Group: Development/Libraries
375 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
376 # this static build of OSMesa needs static non-dri Mesa implementation
377 Requires: %{name}-libGL-static = %{version}-%{release}
379 %description libOSMesa-static
380 Static OSMesa (off-screen renderer) library.
382 %description libOSMesa-static -l pl.UTF-8
383 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
386 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
387 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
390 Requires: filesystem >= 4.0-29
391 Requires: libdrm >= %{libdrm_ver}
392 Requires: llvm-libclc
393 Requires: udev-libs >= 1:151
394 Provides: OpenCL = 1.1
396 %description OpenCL-icd
397 This package contains Mesa implementation of OpenCL - standard for
398 cross-platform, parallel programming of modern processors found in
399 personal computers, servers and handheld/embedded devices. OpenCL
400 specification can be found on Khronos Group site:
401 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
403 The implementation is provided as an installable client driver (ICD)
404 for use with the ocl-icd loader.
406 %description OpenCL-icd -l pl.UTF-8
407 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
408 wieloplatformowego, równoległego programowania nowoczesnych
409 procesorów, jakie znajdują się w komputerach osobistych, serwerach
410 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
411 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
412 Mesa zawiera implementację OpenCL w wersji 1.1.
414 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
415 (ICD), który może być użyty z loaderem ocl-icd.
418 Summary: Mesa implementation of OpenCL (Compuing Language) API
419 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
422 Requires: libdrm >= %{libdrm_ver}
423 Requires: llvm-libclc
424 Requires: udev-libs >= 1:151
425 Provides: OpenCL = 1.1
427 %description libOpenCL
428 This package contains Mesa implementation of OpenCL - standard for
429 cross-platform, parallel programming of modern processors found in
430 personal computers, servers and handheld/embedded devices. OpenCL
431 specification can be found on Khronos Group site:
432 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
434 %description libOpenCL -l pl.UTF-8
435 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
436 wieloplatformowego, równoległego programowania nowoczesnych
437 procesorów, jakie znajdują się w komputerach osobistych, serwerach
438 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
439 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
440 Mesa zawiera implementację OpenCL w wersji 1.1.
442 %package libOpenCL-devel
443 Summary: Header files for Mesa OpenCL library
444 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
446 Group: Development/Libraries
447 Requires: %{name}-libOpenCL = %{version}-%{release}
448 Provides: OpenCL-devel = 1.1
450 %description libOpenCL-devel
451 Header files for Mesa OpenCL library.
453 %description libOpenCL-devel -l pl.UTF-8
454 Pliki nagłówkowe biblioteki Mesa OpenCL.
457 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
458 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
461 Provides: OpenVG = 1.1
463 %description libOpenVG
464 This package contains Mesa implementation of OpenVG - cross-platform
465 API that provides a low-level hardware acceleration interface for
466 vector graphics libraries such as Flash and SVG. OpenVG specification
467 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
468 Mesa implements OpenVG 1.1.
470 %description libOpenVG -l pl.UTF-8
471 Ten pakiet zawiera implementację Mesa standardu OpenVG -
472 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
473 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
474 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
475 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
478 %package libOpenVG-devel
479 Summary: Header file for Mesa OpenVG library
480 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
482 Group: Development/Libraries
483 Requires: %{name}-khrplatform-devel = %{version}-%{release}
484 Requires: %{name}-libOpenVG = %{version}-%{release}
485 Provides: OpenVG-devel = 1.1
487 %description libOpenVG-devel
488 Header file for Mesa OpenVG library.
490 %description libOpenVG-devel -l pl.UTF-8
491 Plik nagłówkowy biblioteki Mesa OpenVG.
493 %package libXvMC-nouveau
494 Summary: Mesa implementation of XvMC API for NVidia adapters
495 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
498 Requires: libdrm >= %{libdrm_ver}
499 Requires: xorg-lib-libXvMC >= 1.0.6
500 Conflicts: Mesa-libXvMC
502 %description libXvMC-nouveau
503 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
505 %description libXvMC-nouveau -l pl.UTF-8
506 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
508 %package libXvMC-r600
509 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
510 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
513 Requires: libdrm >= %{libdrm_ver}
514 Requires: xorg-lib-libXvMC >= 1.0.6
515 Conflicts: Mesa-libXvMC
517 %description libXvMC-r600
518 Mesa implementation of XvMC API for ATI Radeon adapters based on
521 %description libXvMC-r600 -l pl.UTF-8
522 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
525 %package -n libva-driver-gallium
526 Summary: VA driver for Gallium State Tracker
527 Summary(pl.UTF-8): Sterownik VA do Gallium
529 Requires: libva >= 1.3.0
531 %description -n libva-driver-gallium
532 VA driver for Gallium State Tracker.
534 %description -n libva-driver-gallium -l pl.UTF-8
535 Sterownik VA do Gallium.
538 Summary: Mesa Graphics Buffer Manager library
539 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
541 Requires: %{name}-libglapi = %{version}-%{release}
542 Requires: udev-libs >= 1:151
543 Conflicts: Mesa-libEGL < 8.0.1-2
546 Mesa Graphics Buffer Manager library.
548 %description libgbm -l pl.UTF-8
549 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
551 %package libgbm-devel
552 Summary: Header file for Mesa Graphics Buffer Manager library
553 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
554 Group: Development/Libraries
555 Requires: %{name}-libgbm = %{version}-%{release}
556 Requires: udev-devel >= 1:151
558 %description libgbm-devel
559 Header file for Mesa Graphics Buffer Manager library.
561 %description libgbm-devel -l pl.UTF-8
562 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
565 %package gbm-driver-i915
566 Summary: i915 driver for Mesa GBM framework
567 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
569 Requires: %{name}-libgbm = %{version}-%{release}
570 Obsoletes: Mesa-opencl-driver-i915
572 %description gbm-driver-i915
573 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
574 915/945/G33/Q33/Q35/Pineview chips.
576 %description gbm-driver-i915 -l pl.UTF-8
577 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
578 bufora graficznego). Obsługuje układy Intela z serii
579 915/945/G33/Q33/Q35/Pineview.
581 %package gbm-driver-nouveau
582 Summary: nouveau driver for Mesa GBM framework
583 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
585 Requires: %{name}-libgbm = %{version}-%{release}
586 Obsoletes: Mesa-opencl-driver-nouveau
588 %description gbm-driver-nouveau
589 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
592 %description gbm-driver-nouveau -l pl.UTF-8
593 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
594 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
596 %package gbm-driver-r300
597 Summary: r300 driver for Mesa GBM framework
598 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
600 Requires: %{name}-libgbm = %{version}-%{release}
601 Obsoletes: Mesa-opencl-driver-r300
603 %description gbm-driver-r300
604 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
605 adapters based on R300/R400/RS690/R500 chips.
607 %description gbm-driver-r300 -l pl.UTF-8
608 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
609 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
610 układach R300/R400/RS690/R500.
612 %package gbm-driver-r600
613 Summary: r600 driver for Mesa GBM framework
614 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
616 Requires: %{name}-libgbm = %{version}-%{release}
617 Obsoletes: Mesa-libllvmradeon
618 Obsoletes: Mesa-opencl-driver-r600
620 %description gbm-driver-r600
621 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
622 adapters based on R600/R700 chips.
624 %description gbm-driver-r600 -l pl.UTF-8
625 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
626 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
629 %package gbm-driver-radeonsi
630 Summary: radeonsi driver for Mesa GBM framework
631 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
633 Requires: %{name}-libgbm = %{version}-%{release}
634 Obsoletes: Mesa-libllvmradeon
635 Obsoletes: Mesa-opencl-driver-radeonsi
637 %description gbm-driver-radeonsi
638 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
639 Radeon adapters based on Southern Islands chips.
641 %description gbm-driver-radeonsi -l pl.UTF-8
642 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
643 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
644 oparte na układach Southern Islands.
646 %package gbm-driver-swrast
647 Summary: Software (swrast) driver for Mesa GBM framework
648 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
650 Requires: %{name}-libgbm = %{version}-%{release}
651 Obsoletes: Mesa-opencl-driver-swrast
653 %description gbm-driver-swrast
654 Software (swrast) driver for Mesa Graphics Buffer Manager.
656 %description gbm-driver-swrast -l pl.UTF-8
657 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
658 Manager (zarządcy bufora graficznego).
660 %package gbm-driver-vmwgfx
661 Summary: vmwgfx driver for Mesa GBM framework
662 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
664 Requires: %{name}-libgbm = %{version}-%{release}
665 Obsoletes: Mesa-opencl-driver-vmwgfx
667 %description gbm-driver-vmwgfx
668 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
669 virtual video adapter.
671 %description gbm-driver-vmwgfx -l pl.UTF-8
672 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
673 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
676 Summary: Mesa GL API shared library
677 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
679 Conflicts: Mesa-libEGL < 8.0.1-2
681 %description libglapi
682 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
684 %description libglapi -l pl.UTF-8
685 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
688 %package libwayland-egl
689 Summary: Wayland EGL library
690 Summary(pl.UTF-8): Biblioteka Wayland EGL
692 Requires: libdrm >= %{libdrm_ver}
694 %description libwayland-egl
695 Wayland EGL platform library.
697 %description libwayland-egl -l pl.UTF-8
698 Biblioteka platformy EGL Wayland.
700 %package libwayland-egl-devel
701 Summary: Development files for Wayland EGL library
702 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
703 Group: Development/Libraries
704 Requires: %{name}-libwayland-egl = %{version}-%{release}
705 Requires: libdrm-devel >= %{libdrm_ver}
707 %description libwayland-egl-devel
708 Development files for Wayland EGL platform library.
710 %description libwayland-egl-devel -l pl.UTF-8
711 Pliki programistyczne biblioteki platformy EGL Wayland.
713 %package libxatracker
714 Summary: Xorg Gallium3D accelleration library
715 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
717 Requires: libdrm >= %{libdrm_ver}
719 %description libxatracker
720 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
722 %description libxatracker -l pl.UTF-8
723 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
726 %package libxatracker-devel
727 Summary: Header files for Xorg Gallium3D accelleration library
728 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
729 Group: X11/Development/Libraries
730 Requires: %{name}-libxatracker = %{version}-%{release}
731 Requires: libdrm-devel >= %{libdrm_ver}
733 %description libxatracker-devel
734 Header files for Xorg Gallium3D accelleration library.
736 %description libxatracker-devel -l pl.UTF-8
737 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
739 %package khrplatform-devel
740 Summary: Khronos platform header file
741 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
742 Group: Development/Libraries
743 Conflicts: Mesa-libEGL-devel < 8.0.1-2
745 %description khrplatform-devel
746 Khronos platform header file.
748 %description khrplatform-devel -l pl.UTF-8
749 Plik nagłówkowy platformy Khronos.
751 %package dri-driver-ati-radeon-R100
752 Summary: X.org DRI driver for ATI R100 card family
753 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
756 Requires: xorg-driver-video-ati
757 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
758 Requires: xorg-xserver-server >= %{xserver_ver}
759 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
761 %description dri-driver-ati-radeon-R100
762 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
764 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
765 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
767 %package dri-driver-ati-radeon-R200
768 Summary: X.org DRI driver for ATI R200 card family
769 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
772 Requires: xorg-driver-video-ati
773 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
774 Requires: xorg-xserver-server >= %{xserver_ver}
775 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
777 %description dri-driver-ati-radeon-R200
778 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
780 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
781 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
783 %package dri-driver-ati-radeon-R300
784 Summary: X.org DRI driver for ATI R300 card family
785 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
788 Requires: xorg-driver-video-ati
789 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
790 Requires: xorg-xserver-server >= %{xserver_ver}
791 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
793 %description dri-driver-ati-radeon-R300
794 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
796 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
797 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
799 %package dri-driver-ati-radeon-R600
800 Summary: X.org DRI driver for ATI R600 card family
801 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
804 Requires: radeon-ucode
805 Requires: xorg-driver-video-ati
806 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
807 Requires: xorg-xserver-server >= %{xserver_ver}
809 %description dri-driver-ati-radeon-R600
810 X.org DRI driver for ATI R600/R700 card family.
812 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
813 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
815 %package dri-driver-ati-radeon-SI
816 Summary: X.org DRI driver for ATI Southern Islands card family
817 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
820 Requires: radeon-ucode
821 Requires: xorg-driver-video-ati
822 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
823 Requires: xorg-xserver-server >= %{xserver_ver}
825 %description dri-driver-ati-radeon-SI
826 X.org DRI driver for ATI Southern Islands card family.
828 %description dri-driver-ati-radeon-SI -l pl.UTF-8
829 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
831 %package dri-driver-intel-i915
832 Summary: X.org DRI driver for Intel i915 card family
833 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
836 Requires: xorg-driver-video-intel
837 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
838 Requires: xorg-xserver-server >= %{xserver_ver}
839 Obsoletes: Mesa-dri-driver-intel-i830
840 Obsoletes: X11-driver-i810-dri < 1:7.0.0
842 %description dri-driver-intel-i915
843 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
846 %description dri-driver-intel-i915 -l pl.UTF-8
847 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
850 %package dri-driver-intel-i965
851 Summary: X.org DRI driver for Intel i965 card family
852 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
855 Requires: xorg-driver-video-intel
856 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
857 Requires: xorg-xserver-server >= %{xserver_ver}
858 Obsoletes: Mesa-dri-driver-intel-i830
859 Obsoletes: X11-driver-i810-dri < 1:7.0.0
861 %description dri-driver-intel-i965
862 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
863 965GME, GM45, G41, B43, Q45, G45);
865 %description dri-driver-intel-i965 -l pl.UTF-8
866 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
867 965GM, 965GME, GM45, G41, B43, Q45, G45).
869 %package dri-driver-nouveau
870 Summary: X.org DRI driver for NVIDIA card family
871 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
874 Requires: xorg-driver-video-nouveau
875 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
876 Requires: xorg-xserver-server >= %{xserver_ver}
878 %description dri-driver-nouveau
879 X.org DRI drivers for NVIDIA card family.
881 %description dri-driver-nouveau -l pl.UTF-8
882 Sterowniki X.org DRI dla rodziny kart NVIDIA.
884 %package dri-driver-swrast
885 Summary: X.org DRI software rasterizer driver
886 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
889 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
890 Requires: xorg-xserver-server >= %{xserver_ver}
892 %description dri-driver-swrast
893 X.org DRI software rasterizer driver.
895 %description dri-driver-swrast -l pl.UTF-8
896 Sterownik X.org DRI obsługujący rysowanie programowe.
898 %package dri-driver-vmwgfx
899 Summary: X.org DRI driver for VMware
900 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
903 Requires: xorg-driver-video-vmware
904 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
905 Requires: xorg-xserver-server >= %{xserver_ver}
907 %description dri-driver-vmwgfx
908 X.org DRI driver for VMWare.
910 %description dri-driver-vmwgfx -l pl.UTF-8
911 Sterownik X.org DRI dla VMware.
913 %package -n libvdpau-driver-mesa-nouveau
914 Summary: Mesa nouveau driver for the vdpau API
915 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
918 Requires: libdrm >= %{libdrm_ver}
919 Requires: libvdpau >= 0.4.1
920 Conflicts: libvdpau-driver-mesa
922 %description -n libvdpau-driver-mesa-nouveau
923 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
926 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
927 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
930 %package -n libvdpau-driver-mesa-r300
931 Summary: Mesa r300 driver for the vdpau API
932 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
935 Requires: libdrm >= %{libdrm_ver}
936 Requires: libvdpau >= 0.4.1
937 Conflicts: libvdpau-driver-mesa
939 %description -n libvdpau-driver-mesa-r300
940 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
943 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
944 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
947 %package -n libvdpau-driver-mesa-r600
948 Summary: Mesa r600 driver for the vdpau API
949 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
952 Requires: libdrm >= %{libdrm_ver}
953 Requires: libvdpau >= 0.4.1
954 Conflicts: libvdpau-driver-mesa
956 %description -n libvdpau-driver-mesa-r600
957 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
958 based on R600/R700 chips.
960 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
961 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
962 na układach R600/R700.
964 %package -n libvdpau-driver-mesa-radeonsi
965 Summary: Mesa radeonsi driver for the vdpau API
966 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
969 Requires: libdrm >= %{libdrm_ver}
970 Requires: libvdpau >= 0.4.1
971 Conflicts: libvdpau-driver-mesa
972 Obsoletes: Mesa-libllvmradeon
974 %description -n libvdpau-driver-mesa-radeonsi
975 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
976 adapters based on Southern Islands chips.
978 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
979 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
980 oparte na układach Southern Islands.
982 %package -n omxil-mesa
983 Summary: Mesa driver for Bellagio OpenMAX IL API
984 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
987 Requires: libdrm >= %{libdrm_ver}
988 Requires: libxcb >= 1.8
989 Requires: libomxil-bellagio
990 Obsoletes: omxil-mesa-nouveau
991 Obsoletes: omxil-mesa-r600
992 Obsoletes: omxil-mesa-radeonsi
994 %description -n omxil-mesa
995 Mesa driver for Bellagio OpenMAX IL API.
997 %description -n omxil-mesa -l pl.UTF-8
998 Sterownik Mesa dla API Bellagio OpenMAX IL.
1000 %package -n omxil-mesa-nouveau
1001 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1002 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1004 Group: X11/Libraries
1005 Requires: libdrm >= %{libdrm_ver}
1006 Requires: libxcb >= 1.8
1007 Requires: libomxil-bellagio
1009 %description -n omxil-mesa-nouveau
1010 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1011 adapters (NV40-NV96, NVa0).
1013 %description -n omxil-mesa-nouveau -l pl.UTF-8
1014 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1015 NVidia (NV40-NV96, NVa0).
1017 %package -n omxil-mesa-r600
1018 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1019 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1021 Group: X11/Libraries
1022 Requires: libdrm >= %{libdrm_ver}
1023 Requires: libxcb >= 1.8
1024 Requires: libomxil-bellagio
1026 %description -n omxil-mesa-r600
1027 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1028 adapters based on R600/R700 chips.
1030 %description -n omxil-mesa-r600 -l pl.UTF-8
1031 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1032 Radeon oparte na układach R600/R700.
1034 %package -n omxil-mesa-radeonsi
1035 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1036 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1038 Group: X11/Libraries
1039 Requires: libdrm >= %{libdrm_ver}
1040 Requires: libxcb >= 1.8
1041 Requires: libomxil-bellagio
1043 %description -n omxil-mesa-radeonsi
1044 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1045 Radeon adapters based on Southern Islands chips.
1047 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1048 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1049 ATI Radeon oparte na układach Southern Islands.
1061 dri_drivers="r200 radeon \
1062 %if %{without gallium_intel}
1067 %ifarch sparc sparcv9 sparc64
1072 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1074 gallium_drivers="svga swrast \
1075 %if %{with gallium_intel}
1078 %if %{with gallium_radeon}
1083 %if %{with gallium_nouveau}
1088 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1091 --disable-silent-rules \
1095 %{?with_static_libs:--enable-static} \
1096 %{?with_texture_float:--enable-texture-float} \
1099 --enable-shared-glapi \
1104 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1107 --enable-gallium-llvm \
1108 --enable-llvm-shared-libs \
1109 %{__enable egl gallium-egl} \
1110 %{__enable gbm gallium-gbm} \
1111 %{__enable ocl_icd opencl-icd} \
1112 %{__enable opencl opencl} \
1113 %{?with_egl:%{?with_openvg:--enable-openvg}} \
1115 %{?with_omx:--enable-omx} \
1116 %{?with_xa:--enable-xa} \
1118 --with-gallium-drivers=${gallium_drivers} \
1120 --without-gallium-drivers \
1122 --with-va-libdir=%{_libdir}/libva/dri \
1123 --with-dri-drivers=${dri_drivers} \
1124 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1128 %{?with_tests:%{__make} check}
1131 rm -rf $RPM_BUILD_ROOT
1134 DESTDIR=$RPM_BUILD_ROOT
1136 # strip out undesirable headers
1137 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1138 # dlopened by soname
1139 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1140 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1141 # dlopened by soname or .so link
1142 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1143 # not used externally
1144 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1146 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1147 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1148 # not defined by standards; and not needed, there is pkg-config support
1149 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1150 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1152 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1153 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1154 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1157 rm -rf $RPM_BUILD_ROOT
1159 %post libEGL -p /sbin/ldconfig
1160 %postun libEGL -p /sbin/ldconfig
1162 %post libGL -p /sbin/ldconfig
1163 %postun libGL -p /sbin/ldconfig
1165 %post libGLES -p /sbin/ldconfig
1166 %postun libGLES -p /sbin/ldconfig
1168 %post libOSMesa -p /sbin/ldconfig
1169 %postun libOSMesa -p /sbin/ldconfig
1171 %post libOpenCL -p /sbin/ldconfig
1172 %postun libOpenCL -p /sbin/ldconfig
1174 %post libOpenVG -p /sbin/ldconfig
1175 %postun libOpenVG -p /sbin/ldconfig
1177 %post libXvMC-nouveau -p /sbin/ldconfig
1178 %postun libXvMC-nouveau -p /sbin/ldconfig
1179 %post libXvMC-r600 -p /sbin/ldconfig
1180 %postun libXvMC-r600 -p /sbin/ldconfig
1182 %post libgbm -p /sbin/ldconfig
1183 %postun libgbm -p /sbin/ldconfig
1185 %post libglapi -p /sbin/ldconfig
1186 %postun libglapi -p /sbin/ldconfig
1188 %post libwayland-egl -p /sbin/ldconfig
1189 %postun libwayland-egl -p /sbin/ldconfig
1191 %post libxatracker -p /sbin/ldconfig
1192 %postun libxatracker -p /sbin/ldconfig
1196 %defattr(644,root,root,755)
1197 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1198 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_libdir}/libEGL.so
1203 %dir %{_includedir}/EGL
1204 %{_includedir}/EGL/egl.h
1205 %{_includedir}/EGL/eglext.h
1206 %{_includedir}/EGL/eglextchromium.h
1207 %{_includedir}/EGL/eglmesaext.h
1208 %{_includedir}/EGL/eglplatform.h
1209 %{_pkgconfigdir}/egl.pc
1211 %if %{with static_libs}
1212 %files libEGL-static
1213 %defattr(644,root,root,755)
1219 %defattr(644,root,root,755)
1220 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1221 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1222 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1223 # symlink for binary apps which fail to conform Linux OpenGL ABI
1224 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1225 %attr(755,root,root) %{_libdir}/libGL.so
1226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1229 %defattr(644,root,root,755)
1231 %dir %{_includedir}/GL
1232 %{_includedir}/GL/gl.h
1233 %{_includedir}/GL/glcorearb.h
1234 %{_includedir}/GL/glext.h
1235 %{_includedir}/GL/gl_mangle.h
1236 %{_includedir}/GL/glx.h
1237 %{_includedir}/GL/glxext.h
1238 %{_includedir}/GL/glx_mangle.h
1239 %dir %{_includedir}/GL/internal
1240 %{_includedir}/GL/internal/dri_interface.h
1241 %{_pkgconfigdir}/dri.pc
1242 %{_pkgconfigdir}/gl.pc
1244 %if %{with static_libs}
1246 %defattr(644,root,root,755)
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1253 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1254 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1255 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1257 %files libGLES-devel
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1260 %attr(755,root,root) %{_libdir}/libGLESv2.so
1262 %{_includedir}/GLES2
1263 %{_includedir}/GLES3
1264 %{_pkgconfigdir}/glesv1_cm.pc
1265 %{_pkgconfigdir}/glesv2.pc
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1270 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1272 %files libOSMesa-devel
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) %{_libdir}/libOSMesa.so
1275 %{_includedir}/GL/osmesa.h
1276 %{_pkgconfigdir}/osmesa.pc
1278 %if %{with static_libs}
1279 %files libOSMesa-static
1280 %defattr(644,root,root,755)
1281 %{_libdir}/libOSMesa.a
1287 %defattr(644,root,root,755)
1288 /etc/OpenCL/vendors/mesa.icd
1289 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1290 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1291 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1296 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1298 %files libOpenCL-devel
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/libOpenCL.so
1305 %if %{with egl} && %{with openvg} && %{with gallium}
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1309 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1311 %files libOpenVG-devel
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_libdir}/libOpenVG.so
1315 %{_pkgconfigdir}/vg.pc
1319 %if %{with gallium_nouveau}
1320 %files libXvMC-nouveau
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1323 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1326 %if %{with gallium_radeon}
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1330 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1334 %files -n libva-driver-gallium
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1344 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1346 %dir %{_libdir}/gallium-pipe
1349 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_libdir}/libgbm.so
1356 %{_includedir}/gbm.h
1357 %{_pkgconfigdir}/gbm.pc
1361 %if %{with gallium_intel}
1362 %files gbm-driver-i915
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1367 %if %{with gallium_nouveau}
1368 %files gbm-driver-nouveau
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1373 %if %{with gallium_radeon}
1374 %files gbm-driver-r300
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1378 %files gbm-driver-r600
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1382 %files gbm-driver-radeonsi
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1387 %files gbm-driver-swrast
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1391 %files gbm-driver-vmwgfx
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1399 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1400 # libglapi-devel? nothing seems to need it atm.
1401 #%attr(755,root,root) %{_libdir}/libglapi.so
1404 %files libwayland-egl
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1407 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1409 %files libwayland-egl-devel
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1412 %{_pkgconfigdir}/wayland-egl.pc
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1419 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1421 %files libxatracker-devel
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/libxatracker.so
1424 %{_includedir}/xa_composite.h
1425 %{_includedir}/xa_context.h
1426 %{_includedir}/xa_tracker.h
1427 %{_pkgconfigdir}/xatracker.pc
1431 %files khrplatform-devel
1432 %defattr(644,root,root,755)
1433 %dir %{_includedir}/KHR
1434 %{_includedir}/KHR/khrplatform.h
1437 %files dri-driver-ati-radeon-R100
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1441 %files dri-driver-ati-radeon-R200
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1446 %if %{with gallium_radeon}
1447 %files dri-driver-ati-radeon-R300
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1451 %files dri-driver-ati-radeon-R600
1452 %defattr(644,root,root,755)
1453 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1455 %files dri-driver-ati-radeon-SI
1456 %defattr(644,root,root,755)
1457 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1461 %files dri-driver-intel-i915
1462 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1465 %files dri-driver-intel-i965
1466 %defattr(644,root,root,755)
1467 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1469 %files dri-driver-nouveau
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1472 %if %{with gallium_nouveau}
1473 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1476 %files dri-driver-swrast
1477 %defattr(644,root,root,755)
1479 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1481 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1484 %files dri-driver-vmwgfx
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1490 # ldconfig is not used in vdpau tree, so package all symlinks
1491 %if %{with gallium_nouveau}
1492 %files -n libvdpau-driver-mesa-nouveau
1493 %defattr(644,root,root,755)
1494 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1495 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1496 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1499 %if %{with gallium_radeon}
1500 %files -n libvdpau-driver-mesa-r300
1501 %defattr(644,root,root,755)
1502 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1503 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1504 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1506 %files -n libvdpau-driver-mesa-r600
1507 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1509 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1510 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1512 %files -n libvdpau-driver-mesa-radeonsi
1513 %defattr(644,root,root,755)
1514 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1515 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1516 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1520 %if %{with gallium} && %{with omx}
1521 %files -n omxil-mesa
1522 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so