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 wayland # Wayland EGL
22 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
23 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
24 %bcond_with tests # tests
26 # glapi version (glapi tables in dri drivers and libglx must be in sync);
27 # set to current Mesa version on ABI break, when xserver tables get regenerated
28 # (until they start to be somehow versioned themselves)
29 %define glapi_ver 7.1.0
30 # minimal supported xserver version
31 %define xserver_ver 1.5.0
33 %define libdrm_ver 2.4.56
34 %define dri2proto_ver 2.6
35 %define dri3proto_ver 1.0
36 %define glproto_ver 1.4.14
37 %define presentproto_ver 1.0
39 # no clang/llvm on x32 yet
41 %undefine with_gallium
44 %if %{without gallium}
45 %undefine with_gallium_intel
46 %undefine with_gallium_nouveau
47 %undefine with_gallium_radeon
48 %undefine with_ocl_icd
56 %undefine with_wayland
59 Summary: Free OpenGL implementation
60 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
64 License: MIT (core) and others - see license.html file
66 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
67 # Source0-md5: 461ab299aa38937a679c57b401788a42
68 Patch0: missing-type.patch
69 URL: http://www.mesa3d.org/
70 BuildRequires: autoconf >= 2.60
71 BuildRequires: automake
72 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
73 BuildRequires: elfutils-devel
74 BuildRequires: expat-devel
75 BuildRequires: gcc >= 5:3.3
76 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
77 BuildRequires: libdrm-devel >= %{libdrm_ver}
78 BuildRequires: libselinux-devel
79 BuildRequires: libstdc++-devel >= 5:3.3.0
80 BuildRequires: libtalloc-devel >= 2:2.0.1
81 BuildRequires: libtool >= 2:2.2
82 BuildRequires: libvdpau-devel >= 0.4.1
83 BuildRequires: libxcb-devel >= 1.10
84 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
85 %{?with_opencl:BuildRequires: llvm-libclc}
86 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
87 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
88 BuildRequires: perl-base
89 BuildRequires: pixman-devel
90 BuildRequires: pkgconfig
91 BuildRequires: pkgconfig(talloc) >= 2.0.1
92 BuildRequires: pkgconfig(xcb-dri3)
93 BuildRequires: pkgconfig(xcb-present)
94 BuildRequires: python >= 2
95 BuildRequires: python-modules >= 2
96 BuildRequires: rpmbuild(macros) >= 1.470
97 BuildRequires: sed >= 4.0
98 %{?with_egl:BuildRequires: udev-devel >= 1:151}
99 # wayland-{client,server}
100 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
101 BuildRequires: xorg-lib-libXdamage-devel
102 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
103 BuildRequires: xorg-lib-libXfixes-devel
104 BuildRequires: xorg-lib-libXt-devel
105 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
106 BuildRequires: xorg-lib-libXxf86vm-devel
107 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
108 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
109 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
110 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
111 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
112 BuildRequires: xorg-util-makedepend
114 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
115 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
117 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
119 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
120 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
121 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
122 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
125 %define filterout_ld -Wl,--as-needed
128 Mesa is a 3-D graphics library with an API which is very similar to
129 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
130 syntax or state machine, it is being used with authorization from
131 Silicon Graphics, Inc. However, the author does not possess an OpenGL
132 license from SGI, and makes no claim that Mesa is in any way a
133 compatible replacement for OpenGL or associated with SGI.
135 %description -l pl.UTF-8
136 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
137 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
138 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
139 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
140 OpenGL ani powiązana z SGI.
143 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
144 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
147 Requires: %{name}-libglapi = %{version}-%{release}
148 # glx driver in libEGL dlopens libGL.so
149 Requires: OpenGL >= 1.2
150 Requires: libdrm >= %{libdrm_ver}
151 Requires: libxcb >= 1.9
152 %{?with_wayland:Requires: wayland >= 1.2.0}
156 Requires: %{name}-libOpenVG = %{version}-%{release}
158 Requires: udev-libs >= 1:151
161 Requires: %{name}-libgbm = %{version}-%{release}
166 This package contains shared libEGL - Mesa implementation of EGL
167 Native Platform Graphics Interface as specified by Khronos Group:
168 <http://www.khronos.org/egl/>.
170 %description libEGL -l pl.UTF-8
171 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
172 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
173 graficznego platformy natywnej) wg specyfikacji Khronos Group:
174 <http://www.khronos.org/egl/>.
176 %package libEGL-devel
177 Summary: Header files for Mesa implementation of EGL library
178 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
180 Group: Development/Libraries
181 Requires: %{name}-khrplatform-devel = %{version}-%{release}
182 Requires: %{name}-libEGL = %{version}-%{release}
183 Requires: libdrm-devel >= %{libdrm_ver}
184 Requires: xorg-lib-libX11-devel
185 Requires: xorg-lib-libXdamage-devel
186 Requires: xorg-lib-libXext-devel >= 1.0.5
187 Requires: xorg-lib-libXfixes-devel
188 Requires: xorg-lib-libXxf86vm-devel
189 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
190 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
191 Provides: EGL-devel = 1.4
193 %description libEGL-devel
194 Header files for Mesa implementation of EGL library.
196 %description libEGL-devel -l pl.UTF-8
197 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
199 %package libEGL-static
200 Summary: Static Mesa EGL library
201 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
203 Group: Development/Libraries
204 Requires: %{name}-libEGL-devel = %{version}-%{release}
205 Provides: EGL-static = 1.4
207 %description libEGL-static
208 Static Mesa EGL library.
210 %description libEGL-static -l pl.UTF-8
211 Statyczna biblioteka Mesa EGL.
214 Summary: Free Mesa3D implementation of libGL OpenGL library
215 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
218 Requires: %{name}-libglapi = %{version}-%{release}
219 Requires: libdrm >= %{libdrm_ver}
220 Provides: OpenGL = 3.3
221 Provides: OpenGL-GLX = 1.4
224 Obsoletes: Mesa-dri-core < 10.0.0
225 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
226 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
229 Mesa is a 3-D graphics library with an API which is very similar to
230 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
231 syntax or state machine, it is being used with authorization from
232 Silicon Graphics, Inc. However, the author does not possess an OpenGL
233 license from SGI, and makes no claim that Mesa is in any way a
234 compatible replacement for OpenGL or associated with SGI.
236 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
237 specifications. It uses DRI for rendering.
239 %description libGL -l pl.UTF-8
240 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
241 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
242 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
243 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
244 OpenGL ani powiązana z SGI.
246 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
247 GLX 1.4. Używa DRI do renderowania.
250 Summary: Header files for Mesa3D libGL library
251 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
253 Group: X11/Development/Libraries
254 # loose dependency on libGL to use with other libGL binaries
255 Requires: OpenGL >= 1.5
256 Requires: libdrm-devel >= %{libdrm_ver}
257 Requires: xorg-lib-libX11-devel
258 Requires: xorg-lib-libXdamage-devel
259 Requires: xorg-lib-libXext-devel >= 1.0.5
260 Requires: xorg-lib-libXxf86vm-devel
261 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
262 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
263 Suggests: OpenGL-doc-man
264 Provides: OpenGL-GLX-devel = 1.4
265 Provides: OpenGL-devel = 3.3
266 Obsoletes: Mesa-devel
267 Obsoletes: X11-OpenGL-devel < 1:7.0.0
268 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
269 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
270 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
272 %description libGL-devel
273 Header files for Mesa3D libGL library.
275 %description libGL-devel -l pl.UTF-8
276 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
278 %package libGL-static
279 Summary: Static Mesa3D libGL library
280 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
282 Group: X11/Development/Libraries
283 Requires: %{name}-libGL-devel = %{version}-%{release}
284 Provides: OpenGL-static = 3.3
285 Obsoletes: Mesa-static
286 Obsoletes: X11-OpenGL-static < 1:7.0.0
287 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
289 %description libGL-static
290 Static Mesa3D libGL library. It uses software renderer.
292 %description libGL-static -l pl.UTF-8
293 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
297 Summary: Mesa implementation of GLES (OpenGL ES) libraries
298 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
300 Requires: %{name}-libglapi = %{version}-%{release}
302 Provides: OpenGLESv1 = 1.1
303 Provides: OpenGLESv2 = 2.0
306 This package contains shared libraries of Mesa implementation of GLES
307 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
308 on embedded systems. OpenGL ES specification can be found on Khronos
309 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
312 %description libGLES -l pl.UTF-8
313 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
314 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
315 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
316 OpenGL ES można znaleźć na stronie Khronos Group:
317 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
320 %package libGLES-devel
321 Summary: Header files for Mesa GLES libraries
322 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
323 Group: Development/Libraries
324 Requires: %{name}-khrplatform-devel = %{version}-%{release}
325 # <EGL/egl.h> for <GLES/egl.h>
326 Requires: %{name}-libEGL-devel = %{version}-%{release}
327 Requires: %{name}-libGLES = %{version}-%{release}
328 Provides: OpenGLES-devel
329 Provides: OpenGLESv1-devel = 1.1
330 Provides: OpenGLESv2-devel = 2.0
332 %description libGLES-devel
333 Header files for Mesa GLES libraries.
335 %description libGLES-devel -l pl.UTF-8
336 Pliki nagłówkowe bibliotek Mesa GLES.
339 Summary: OSMesa (off-screen renderer) library
340 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
344 %description libOSMesa
345 OSMesa (off-screen renderer) library.
347 %description libOSMesa -l pl.UTF-8
348 Biblioteka OSMesa (renderująca bitmapy w pamięci).
350 %package libOSMesa-devel
351 Summary: Header file for OSMesa (off-screen renderer) library
352 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
354 Group: Development/Libraries
355 Requires: %{name}-libOSMesa = %{version}-%{release}
357 Requires: OpenGL-devel
358 Requires: libselinux-devel
360 %description libOSMesa-devel
361 Header file for OSMesa (off-screen renderer) library.
363 %description libOSMesa-devel -l pl.UTF-8
364 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
366 %package libOSMesa-static
367 Summary: Static OSMesa (off-screen renderer) library
368 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
370 Group: Development/Libraries
371 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
372 # this static build of OSMesa needs static non-dri Mesa implementation
373 Requires: %{name}-libGL-static = %{version}-%{release}
375 %description libOSMesa-static
376 Static OSMesa (off-screen renderer) library.
378 %description libOSMesa-static -l pl.UTF-8
379 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
382 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
383 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
386 Requires: filesystem >= 4.0-29
387 Requires: libdrm >= %{libdrm_ver}
388 Requires: llvm-libclc
389 Requires: udev-libs >= 1:151
390 Provides: OpenCL = 1.1
392 %description OpenCL-icd
393 This package contains Mesa implementation of OpenCL - standard for
394 cross-platform, parallel programming of modern processors found in
395 personal computers, servers and handheld/embedded devices. OpenCL
396 specification can be found on Khronos Group site:
397 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
399 The implementation is provided as an installable client driver (ICD)
400 for use with the ocl-icd loader.
402 %description OpenCL-icd -l pl.UTF-8
403 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
404 wieloplatformowego, równoległego programowania nowoczesnych
405 procesorów, jakie znajdują się w komputerach osobistych, serwerach
406 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
407 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
408 Mesa zawiera implementację OpenCL w wersji 1.1.
410 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
411 (ICD), który może być użyty z loaderem ocl-icd.
414 Summary: Mesa implementation of OpenCL (Compuing Language) API
415 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
418 Requires: libdrm >= %{libdrm_ver}
419 Requires: llvm-libclc
420 Requires: udev-libs >= 1:151
421 Provides: OpenCL = 1.1
423 %description libOpenCL
424 This package contains Mesa implementation of OpenCL - standard for
425 cross-platform, parallel programming of modern processors found in
426 personal computers, servers and handheld/embedded devices. OpenCL
427 specification can be found on Khronos Group site:
428 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
430 %description libOpenCL -l pl.UTF-8
431 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
432 wieloplatformowego, równoległego programowania nowoczesnych
433 procesorów, jakie znajdują się w komputerach osobistych, serwerach
434 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
435 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
436 Mesa zawiera implementację OpenCL w wersji 1.1.
438 %package libOpenCL-devel
439 Summary: Header files for Mesa OpenCL library
440 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
442 Group: Development/Libraries
443 Requires: %{name}-libOpenCL = %{version}-%{release}
444 Provides: OpenCL-devel = 1.1
446 %description libOpenCL-devel
447 Header files for Mesa OpenCL library.
449 %description libOpenCL-devel -l pl.UTF-8
450 Pliki nagłówkowe biblioteki Mesa OpenCL.
453 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
454 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
457 Provides: OpenVG = 1.1
459 %description libOpenVG
460 This package contains Mesa implementation of OpenVG - cross-platform
461 API that provides a low-level hardware acceleration interface for
462 vector graphics libraries such as Flash and SVG. OpenVG specification
463 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
464 Mesa implements OpenVG 1.1.
466 %description libOpenVG -l pl.UTF-8
467 Ten pakiet zawiera implementację Mesa standardu OpenVG -
468 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
469 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
470 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
471 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
474 %package libOpenVG-devel
475 Summary: Header file for Mesa OpenVG library
476 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
478 Group: Development/Libraries
479 Requires: %{name}-khrplatform-devel = %{version}-%{release}
480 Requires: %{name}-libOpenVG = %{version}-%{release}
481 Provides: OpenVG-devel = 1.1
483 %description libOpenVG-devel
484 Header file for Mesa OpenVG library.
486 %description libOpenVG-devel -l pl.UTF-8
487 Plik nagłówkowy biblioteki Mesa OpenVG.
489 %package libXvMC-nouveau
490 Summary: Mesa implementation of XvMC API for NVidia adapters
491 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
494 Requires: libdrm >= %{libdrm_ver}
495 Requires: xorg-lib-libXvMC >= 1.0.6
496 Conflicts: Mesa-libXvMC
498 %description libXvMC-nouveau
499 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
501 %description libXvMC-nouveau -l pl.UTF-8
502 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
504 %package libXvMC-r600
505 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
506 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
509 Requires: libdrm >= %{libdrm_ver}
510 Requires: xorg-lib-libXvMC >= 1.0.6
511 Conflicts: Mesa-libXvMC
513 %description libXvMC-r600
514 Mesa implementation of XvMC API for ATI Radeon adapters based on
517 %description libXvMC-r600 -l pl.UTF-8
518 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
521 %package -n libva-driver-gallium
522 Summary: VA driver for Gallium State Tracker
523 Summary(pl.UTF-8): Sterownik VA do Gallium
526 %description -n libva-driver-gallium
527 VA driver for Gallium State Tracker.
529 %description -n libva-driver-gallium -l pl.UTF-8
530 Sterownik VA do Gallium.
533 Summary: Mesa Graphics Buffer Manager library
534 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
536 Requires: %{name}-libglapi = %{version}-%{release}
537 Requires: udev-libs >= 1:151
538 Conflicts: Mesa-libEGL < 8.0.1-2
541 Mesa Graphics Buffer Manager library.
543 %description libgbm -l pl.UTF-8
544 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
546 %package libgbm-devel
547 Summary: Header file for Mesa Graphics Buffer Manager library
548 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
549 Group: Development/Libraries
550 Requires: %{name}-libgbm = %{version}-%{release}
551 Requires: udev-devel >= 1:151
553 %description libgbm-devel
554 Header file for Mesa Graphics Buffer Manager library.
556 %description libgbm-devel -l pl.UTF-8
557 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
560 %package gbm-driver-i915
561 Summary: i915 driver for Mesa GBM framework
562 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
564 Requires: %{name}-libgbm = %{version}-%{release}
565 Obsoletes: Mesa-opencl-driver-i915
567 %description gbm-driver-i915
568 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
569 915/945/G33/Q33/Q35/Pineview chips.
571 %description gbm-driver-i915 -l pl.UTF-8
572 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
573 bufora graficznego). Obsługuje układy Intela z serii
574 915/945/G33/Q33/Q35/Pineview.
576 %package gbm-driver-nouveau
577 Summary: nouveau driver for Mesa GBM framework
578 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
580 Requires: %{name}-libgbm = %{version}-%{release}
581 Obsoletes: Mesa-opencl-driver-nouveau
583 %description gbm-driver-nouveau
584 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
587 %description gbm-driver-nouveau -l pl.UTF-8
588 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
589 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
591 %package gbm-driver-r300
592 Summary: r300 driver for Mesa GBM framework
593 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
595 Requires: %{name}-libgbm = %{version}-%{release}
596 Obsoletes: Mesa-opencl-driver-r300
598 %description gbm-driver-r300
599 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
600 adapters based on R300/R400/RS690/R500 chips.
602 %description gbm-driver-r300 -l pl.UTF-8
603 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
604 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
605 układach R300/R400/RS690/R500.
607 %package gbm-driver-r600
608 Summary: r600 driver for Mesa GBM framework
609 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
611 Requires: %{name}-libgbm = %{version}-%{release}
612 Obsoletes: Mesa-libllvmradeon
613 Obsoletes: Mesa-opencl-driver-r600
615 %description gbm-driver-r600
616 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
617 adapters based on R600/R700 chips.
619 %description gbm-driver-r600 -l pl.UTF-8
620 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
621 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
624 %package gbm-driver-radeonsi
625 Summary: radeonsi driver for Mesa GBM framework
626 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
628 Requires: %{name}-libgbm = %{version}-%{release}
629 Obsoletes: Mesa-libllvmradeon
630 Obsoletes: Mesa-opencl-driver-radeonsi
632 %description gbm-driver-radeonsi
633 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
634 Radeon adapters based on Southern Islands chips.
636 %description gbm-driver-radeonsi -l pl.UTF-8
637 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
638 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
639 oparte na układach Southern Islands.
641 %package gbm-driver-swrast
642 Summary: Software (swrast) driver for Mesa GBM framework
643 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
645 Requires: %{name}-libgbm = %{version}-%{release}
646 Obsoletes: Mesa-opencl-driver-swrast
648 %description gbm-driver-swrast
649 Software (swrast) driver for Mesa Graphics Buffer Manager.
651 %description gbm-driver-swrast -l pl.UTF-8
652 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
653 Manager (zarządcy bufora graficznego).
655 %package gbm-driver-vmwgfx
656 Summary: vmwgfx driver for Mesa GBM framework
657 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
659 Requires: %{name}-libgbm = %{version}-%{release}
660 Obsoletes: Mesa-opencl-driver-vmwgfx
662 %description gbm-driver-vmwgfx
663 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
664 virtual video adapter.
666 %description gbm-driver-vmwgfx -l pl.UTF-8
667 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
668 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
671 Summary: Mesa GL API shared library
672 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
674 Conflicts: Mesa-libEGL < 8.0.1-2
676 %description libglapi
677 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
679 %description libglapi -l pl.UTF-8
680 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
683 %package libwayland-egl
684 Summary: Wayland EGL library
685 Summary(pl.UTF-8): Biblioteka Wayland EGL
687 Requires: libdrm >= %{libdrm_ver}
689 %description libwayland-egl
690 Wayland EGL platform library.
692 %description libwayland-egl -l pl.UTF-8
693 Biblioteka platformy EGL Wayland.
695 %package libwayland-egl-devel
696 Summary: Development files for Wayland EGL library
697 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
698 Group: Development/Libraries
699 Requires: %{name}-libwayland-egl = %{version}-%{release}
700 Requires: libdrm-devel >= %{libdrm_ver}
702 %description libwayland-egl-devel
703 Development files for Wayland EGL platform library.
705 %description libwayland-egl-devel -l pl.UTF-8
706 Pliki programistyczne biblioteki platformy EGL Wayland.
708 %package libxatracker
709 Summary: Xorg Gallium3D accelleration library
710 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
712 Requires: libdrm >= %{libdrm_ver}
714 %description libxatracker
715 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
717 %description libxatracker -l pl.UTF-8
718 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
721 %package libxatracker-devel
722 Summary: Header files for Xorg Gallium3D accelleration library
723 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
724 Group: X11/Development/Libraries
725 Requires: %{name}-libxatracker = %{version}-%{release}
726 Requires: libdrm-devel >= %{libdrm_ver}
728 %description libxatracker-devel
729 Header files for Xorg Gallium3D accelleration library.
731 %description libxatracker-devel -l pl.UTF-8
732 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
734 %package khrplatform-devel
735 Summary: Khronos platform header file
736 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
737 Group: Development/Libraries
738 Conflicts: Mesa-libEGL-devel < 8.0.1-2
740 %description khrplatform-devel
741 Khronos platform header file.
743 %description khrplatform-devel -l pl.UTF-8
744 Plik nagłówkowy platformy Khronos.
746 %package dri-driver-ati-radeon-R100
747 Summary: X.org DRI driver for ATI R100 card family
748 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
751 Requires: xorg-driver-video-ati
752 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
753 Requires: xorg-xserver-server >= %{xserver_ver}
754 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
756 %description dri-driver-ati-radeon-R100
757 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
759 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
760 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
762 %package dri-driver-ati-radeon-R200
763 Summary: X.org DRI driver for ATI R200 card family
764 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
767 Requires: xorg-driver-video-ati
768 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
769 Requires: xorg-xserver-server >= %{xserver_ver}
770 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
772 %description dri-driver-ati-radeon-R200
773 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
775 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
776 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
778 %package dri-driver-ati-radeon-R300
779 Summary: X.org DRI driver for ATI R300 card family
780 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
783 Requires: xorg-driver-video-ati
784 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
785 Requires: xorg-xserver-server >= %{xserver_ver}
786 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
788 %description dri-driver-ati-radeon-R300
789 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
791 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
792 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
794 %package dri-driver-ati-radeon-R600
795 Summary: X.org DRI driver for ATI R600 card family
796 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
799 Requires: radeon-ucode
800 Requires: xorg-driver-video-ati
801 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
802 Requires: xorg-xserver-server >= %{xserver_ver}
804 %description dri-driver-ati-radeon-R600
805 X.org DRI driver for ATI R600/R700 card family.
807 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
808 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
810 %package dri-driver-ati-radeon-SI
811 Summary: X.org DRI driver for ATI Southern Islands card family
812 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
815 Requires: radeon-ucode
816 Requires: xorg-driver-video-ati
817 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
818 Requires: xorg-xserver-server >= %{xserver_ver}
820 %description dri-driver-ati-radeon-SI
821 X.org DRI driver for ATI Southern Islands card family.
823 %description dri-driver-ati-radeon-SI -l pl.UTF-8
824 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
826 %package dri-driver-intel-i915
827 Summary: X.org DRI driver for Intel i915 card family
828 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
831 Requires: xorg-driver-video-intel
832 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
833 Requires: xorg-xserver-server >= %{xserver_ver}
834 Obsoletes: Mesa-dri-driver-intel-i830
835 Obsoletes: X11-driver-i810-dri < 1:7.0.0
837 %description dri-driver-intel-i915
838 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
841 %description dri-driver-intel-i915 -l pl.UTF-8
842 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
845 %package dri-driver-intel-i965
846 Summary: X.org DRI driver for Intel i965 card family
847 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
850 Requires: xorg-driver-video-intel
851 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
852 Requires: xorg-xserver-server >= %{xserver_ver}
853 Obsoletes: Mesa-dri-driver-intel-i830
854 Obsoletes: X11-driver-i810-dri < 1:7.0.0
856 %description dri-driver-intel-i965
857 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
858 965GME, GM45, G41, B43, Q45, G45);
860 %description dri-driver-intel-i965 -l pl.UTF-8
861 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
862 965GM, 965GME, GM45, G41, B43, Q45, G45).
864 %package dri-driver-nouveau
865 Summary: X.org DRI driver for NVIDIA card family
866 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
869 Requires: xorg-driver-video-nouveau
870 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
871 Requires: xorg-xserver-server >= %{xserver_ver}
873 %description dri-driver-nouveau
874 X.org DRI drivers for NVIDIA card family.
876 %description dri-driver-nouveau -l pl.UTF-8
877 Sterowniki X.org DRI dla rodziny kart NVIDIA.
879 %package dri-driver-swrast
880 Summary: X.org DRI software rasterizer driver
881 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
884 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
885 Requires: xorg-xserver-server >= %{xserver_ver}
887 %description dri-driver-swrast
888 X.org DRI software rasterizer driver.
890 %description dri-driver-swrast -l pl.UTF-8
891 Sterownik X.org DRI obsługujący rysowanie programowe.
893 %package dri-driver-vmwgfx
894 Summary: X.org DRI driver for VMware
895 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
898 Requires: xorg-driver-video-vmware
899 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
900 Requires: xorg-xserver-server >= %{xserver_ver}
902 %description dri-driver-vmwgfx
903 X.org DRI driver for VMWare.
905 %description dri-driver-vmwgfx -l pl.UTF-8
906 Sterownik X.org DRI dla VMware.
908 %package -n libvdpau-driver-mesa-nouveau
909 Summary: Mesa nouveau driver for the vdpau API
910 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
913 Requires: libdrm >= %{libdrm_ver}
914 Requires: libvdpau >= 0.4.1
915 Conflicts: libvdpau-driver-mesa
917 %description -n libvdpau-driver-mesa-nouveau
918 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
921 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
922 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
925 %package -n libvdpau-driver-mesa-r300
926 Summary: Mesa r300 driver for the vdpau API
927 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
930 Requires: libdrm >= %{libdrm_ver}
931 Requires: libvdpau >= 0.4.1
932 Conflicts: libvdpau-driver-mesa
934 %description -n libvdpau-driver-mesa-r300
935 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
938 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
939 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
942 %package -n libvdpau-driver-mesa-r600
943 Summary: Mesa r600 driver for the vdpau API
944 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
947 Requires: libdrm >= %{libdrm_ver}
948 Requires: libvdpau >= 0.4.1
949 Conflicts: libvdpau-driver-mesa
951 %description -n libvdpau-driver-mesa-r600
952 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
953 based on R600/R700 chips.
955 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
956 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
957 na układach R600/R700.
959 %package -n libvdpau-driver-mesa-radeonsi
960 Summary: Mesa radeonsi driver for the vdpau API
961 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
964 Requires: libdrm >= %{libdrm_ver}
965 Requires: libvdpau >= 0.4.1
966 Conflicts: libvdpau-driver-mesa
967 Obsoletes: Mesa-libllvmradeon
969 %description -n libvdpau-driver-mesa-radeonsi
970 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
971 adapters based on Southern Islands chips.
973 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
974 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
975 oparte na układach Southern Islands.
977 %package -n omxil-mesa
978 Summary: Mesa driver for Bellagio OpenMAX IL API
979 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
982 Requires: libdrm >= %{libdrm_ver}
983 Requires: libxcb >= 1.8
984 Requires: libomxil-bellagio
985 Obsoletes: omxil-mesa-nouveau
986 Obsoletes: omxil-mesa-r600
987 Obsoletes: omxil-mesa-radeonsi
989 %description -n omxil-mesa
990 Mesa driver for Bellagio OpenMAX IL API.
992 %description -n omxil-mesa -l pl.UTF-8
993 Sterownik Mesa dla API Bellagio OpenMAX IL.
995 %package -n omxil-mesa-nouveau
996 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
997 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1000 Requires: libdrm >= %{libdrm_ver}
1001 Requires: libxcb >= 1.8
1002 Requires: libomxil-bellagio
1004 %description -n omxil-mesa-nouveau
1005 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1006 adapters (NV40-NV96, NVa0).
1008 %description -n omxil-mesa-nouveau -l pl.UTF-8
1009 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1010 NVidia (NV40-NV96, NVa0).
1012 %package -n omxil-mesa-r600
1013 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1014 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1016 Group: X11/Libraries
1017 Requires: libdrm >= %{libdrm_ver}
1018 Requires: libxcb >= 1.8
1019 Requires: libomxil-bellagio
1021 %description -n omxil-mesa-r600
1022 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1023 adapters based on R600/R700 chips.
1025 %description -n omxil-mesa-r600 -l pl.UTF-8
1026 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1027 Radeon oparte na układach R600/R700.
1029 %package -n omxil-mesa-radeonsi
1030 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1031 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1033 Group: X11/Libraries
1034 Requires: libdrm >= %{libdrm_ver}
1035 Requires: libxcb >= 1.8
1036 Requires: libomxil-bellagio
1038 %description -n omxil-mesa-radeonsi
1039 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1040 Radeon adapters based on Southern Islands chips.
1042 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1043 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1044 ATI Radeon oparte na układach Southern Islands.
1056 dri_drivers="r200 radeon \
1057 %if %{without gallium_intel}
1062 %ifarch sparc sparcv9 sparc64
1067 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1069 gallium_drivers="svga swrast \
1070 %if %{with gallium_intel}
1073 %if %{with gallium_radeon}
1078 %if %{with gallium_nouveau}
1083 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1086 --disable-silent-rules \
1090 %{?with_static_libs:--enable-static} \
1093 --enable-shared-glapi \
1098 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1101 --enable-gallium-llvm \
1102 --enable-llvm-shared-libs \
1103 %{__enable egl gallium-egl} \
1104 %{__enable gbm gallium-gbm} \
1105 %{__enable ocl_icd opencl-icd} \
1106 %{__enable opencl opencl} \
1107 %{?with_egl:%{?with_openvg:--enable-openvg}} \
1109 %{?with_omx:--enable-omx} \
1110 %{?with_xa:--enable-xa} \
1112 --with-gallium-drivers=${gallium_drivers} \
1114 --without-gallium-drivers \
1116 --with-va-libdir=%{_libdir}/libva/dri \
1117 --with-dri-drivers=${dri_drivers} \
1118 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1122 %{?with_tests:%{__make} check}
1125 rm -rf $RPM_BUILD_ROOT
1128 DESTDIR=$RPM_BUILD_ROOT
1130 # strip out undesirable headers
1131 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1132 # dlopened by soname
1133 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1134 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1135 # dlopened by soname or .so link
1136 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1137 # not used externally
1138 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1140 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1141 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1142 # not defined by standards; and not needed, there is pkg-config support
1143 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1144 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1146 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1147 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1148 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1151 rm -rf $RPM_BUILD_ROOT
1153 %post libEGL -p /sbin/ldconfig
1154 %postun libEGL -p /sbin/ldconfig
1156 %post libGL -p /sbin/ldconfig
1157 %postun libGL -p /sbin/ldconfig
1159 %post libGLES -p /sbin/ldconfig
1160 %postun libGLES -p /sbin/ldconfig
1162 %post libOSMesa -p /sbin/ldconfig
1163 %postun libOSMesa -p /sbin/ldconfig
1165 %post libOpenCL -p /sbin/ldconfig
1166 %postun libOpenCL -p /sbin/ldconfig
1168 %post libOpenVG -p /sbin/ldconfig
1169 %postun libOpenVG -p /sbin/ldconfig
1171 %post libXvMC-nouveau -p /sbin/ldconfig
1172 %postun libXvMC-nouveau -p /sbin/ldconfig
1173 %post libXvMC-r600 -p /sbin/ldconfig
1174 %postun libXvMC-r600 -p /sbin/ldconfig
1176 %post libgbm -p /sbin/ldconfig
1177 %postun libgbm -p /sbin/ldconfig
1179 %post libglapi -p /sbin/ldconfig
1180 %postun libglapi -p /sbin/ldconfig
1182 %post libwayland-egl -p /sbin/ldconfig
1183 %postun libwayland-egl -p /sbin/ldconfig
1185 %post libxatracker -p /sbin/ldconfig
1186 %postun libxatracker -p /sbin/ldconfig
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1192 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_libdir}/libEGL.so
1197 %dir %{_includedir}/EGL
1198 %{_includedir}/EGL/egl.h
1199 %{_includedir}/EGL/eglext.h
1200 %{_includedir}/EGL/eglextchromium.h
1201 %{_includedir}/EGL/eglmesaext.h
1202 %{_includedir}/EGL/eglplatform.h
1203 %{_pkgconfigdir}/egl.pc
1205 %if %{with static_libs}
1206 %files libEGL-static
1207 %defattr(644,root,root,755)
1213 %defattr(644,root,root,755)
1214 %doc docs/{*.html,README.UVD,relnotes/*.html}
1215 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1216 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1217 # symlink for binary apps which fail to conform Linux OpenGL ABI
1218 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1219 %attr(755,root,root) %{_libdir}/libGL.so
1220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1223 %defattr(644,root,root,755)
1225 %dir %{_includedir}/GL
1226 %{_includedir}/GL/gl.h
1227 %{_includedir}/GL/glcorearb.h
1228 %{_includedir}/GL/glext.h
1229 %{_includedir}/GL/gl_mangle.h
1230 %{_includedir}/GL/glx.h
1231 %{_includedir}/GL/glxext.h
1232 %{_includedir}/GL/glx_mangle.h
1233 %dir %{_includedir}/GL/internal
1234 %{_includedir}/GL/internal/dri_interface.h
1235 %{_pkgconfigdir}/dri.pc
1236 %{_pkgconfigdir}/gl.pc
1238 %if %{with static_libs}
1240 %defattr(644,root,root,755)
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1247 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1248 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1249 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1251 %files libGLES-devel
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1254 %attr(755,root,root) %{_libdir}/libGLESv2.so
1256 %{_includedir}/GLES2
1257 %{_includedir}/GLES3
1258 %{_pkgconfigdir}/glesv1_cm.pc
1259 %{_pkgconfigdir}/glesv2.pc
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1264 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1266 %files libOSMesa-devel
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libOSMesa.so
1269 %{_includedir}/GL/osmesa.h
1270 %{_pkgconfigdir}/osmesa.pc
1272 %if %{with static_libs}
1273 %files libOSMesa-static
1274 %defattr(644,root,root,755)
1275 %{_libdir}/libOSMesa.a
1281 %defattr(644,root,root,755)
1282 /etc/OpenCL/vendors/mesa.icd
1283 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1284 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1285 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1290 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1292 %files libOpenCL-devel
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/libOpenCL.so
1299 %if %{with egl} && %{with openvg} && %{with gallium}
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1303 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1305 %files libOpenVG-devel
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libdir}/libOpenVG.so
1309 %{_pkgconfigdir}/vg.pc
1313 %if %{with gallium_nouveau}
1314 %files libXvMC-nouveau
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1317 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1320 %if %{with gallium_radeon}
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1324 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1327 %files -n libva-driver-gallium
1328 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1335 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1337 %dir %{_libdir}/gallium-pipe
1340 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/libgbm.so
1347 %{_includedir}/gbm.h
1348 %{_pkgconfigdir}/gbm.pc
1352 %if %{with gallium_intel}
1353 %files gbm-driver-i915
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1358 %if %{with gallium_nouveau}
1359 %files gbm-driver-nouveau
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1364 %if %{with gallium_radeon}
1365 %files gbm-driver-r300
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1369 %files gbm-driver-r600
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1373 %files gbm-driver-radeonsi
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1378 %files gbm-driver-swrast
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1382 %files gbm-driver-vmwgfx
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1390 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1391 # libglapi-devel? nothing seems to need it atm.
1392 #%attr(755,root,root) %{_libdir}/libglapi.so
1395 %files libwayland-egl
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1398 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1400 %files libwayland-egl-devel
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1403 %{_pkgconfigdir}/wayland-egl.pc
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1410 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1412 %files libxatracker-devel
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_libdir}/libxatracker.so
1415 %{_includedir}/xa_composite.h
1416 %{_includedir}/xa_context.h
1417 %{_includedir}/xa_tracker.h
1418 %{_pkgconfigdir}/xatracker.pc
1422 %files khrplatform-devel
1423 %defattr(644,root,root,755)
1424 %dir %{_includedir}/KHR
1425 %{_includedir}/KHR/khrplatform.h
1428 %files dri-driver-ati-radeon-R100
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1432 %files dri-driver-ati-radeon-R200
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1437 %if %{with gallium_radeon}
1438 %files dri-driver-ati-radeon-R300
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1442 %files dri-driver-ati-radeon-R600
1443 %defattr(644,root,root,755)
1444 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1446 %files dri-driver-ati-radeon-SI
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1452 %files dri-driver-intel-i915
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1456 %files dri-driver-intel-i965
1457 %defattr(644,root,root,755)
1458 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1460 %files dri-driver-nouveau
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1463 %if %{with gallium_nouveau}
1464 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1467 %files dri-driver-swrast
1468 %defattr(644,root,root,755)
1470 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1472 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1475 %files dri-driver-vmwgfx
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1481 # ldconfig is not used in vdpau tree, so package all symlinks
1482 %if %{with gallium_nouveau}
1483 %files -n libvdpau-driver-mesa-nouveau
1484 %defattr(644,root,root,755)
1485 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1486 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1487 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1490 %if %{with gallium_radeon}
1491 %files -n libvdpau-driver-mesa-r300
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1494 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1495 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1497 %files -n libvdpau-driver-mesa-r600
1498 %defattr(644,root,root,755)
1499 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1500 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1501 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1503 %files -n libvdpau-driver-mesa-radeonsi
1504 %defattr(644,root,root,755)
1505 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1506 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1507 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1511 %if %{with gallium} && %{with omx}
1512 %files -n omxil-mesa
1513 %defattr(644,root,root,755)
1514 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so