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 Summary: Free OpenGL implementation
40 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
44 License: MIT (core) and others - see license.html file
46 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
47 # Source0-md5: 461ab299aa38937a679c57b401788a42
48 Patch0: missing-type.patch
49 URL: http://www.mesa3d.org/
50 BuildRequires: autoconf >= 2.60
51 BuildRequires: automake
52 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
53 BuildRequires: elfutils-devel
54 BuildRequires: expat-devel
55 BuildRequires: gcc >= 5:3.3
56 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
57 BuildRequires: libdrm-devel >= %{libdrm_ver}
58 BuildRequires: libselinux-devel
59 BuildRequires: libstdc++-devel >= 5:3.3.0
60 BuildRequires: libtalloc-devel >= 2:2.0.1
61 BuildRequires: libtool >= 2:2.2
62 BuildRequires: libvdpau-devel >= 0.4.1
63 BuildRequires: libxcb-devel >= 1.10
64 BuildRequires: llvm-devel >= 3.3
65 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
66 %{?with_opencl:BuildRequires: llvm-libclc}
67 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
68 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
69 BuildRequires: perl-base
70 BuildRequires: pixman-devel
71 BuildRequires: pkgconfig
72 BuildRequires: pkgconfig(talloc) >= 2.0.1
73 BuildRequires: pkgconfig(xcb-dri3)
74 BuildRequires: pkgconfig(xcb-present)
75 BuildRequires: python >= 2
76 BuildRequires: python-modules >= 2
77 BuildRequires: rpmbuild(macros) >= 1.470
78 BuildRequires: sed >= 4.0
79 %{?with_egl:BuildRequires: udev-devel >= 1:151}
80 # wayland-{client,server}
81 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
82 BuildRequires: xorg-lib-libXdamage-devel
83 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
84 BuildRequires: xorg-lib-libXfixes-devel
85 BuildRequires: xorg-lib-libXt-devel
86 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
87 BuildRequires: xorg-lib-libXxf86vm-devel
88 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
89 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
90 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
91 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
92 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
93 BuildRequires: xorg-util-makedepend
94 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
96 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
97 BuildRequires: xorg-xserver-server-devel >= 1.6.0
99 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
101 %if %{without gallium}
102 %undefine with_gallium_intel
103 %undefine with_gallium_nouveau
104 %undefine with_ocl_icd
105 %undefine with_opencl
111 %undefine with_wayland
114 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
115 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
116 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
117 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
120 %define filterout_ld -Wl,--as-needed
123 Mesa is a 3-D graphics library with an API which is very similar to
124 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
125 syntax or state machine, it is being used with authorization from
126 Silicon Graphics, Inc. However, the author does not possess an OpenGL
127 license from SGI, and makes no claim that Mesa is in any way a
128 compatible replacement for OpenGL or associated with SGI.
130 %description -l pl.UTF-8
131 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
132 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
133 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
134 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
135 OpenGL ani powiązana z SGI.
138 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
139 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
142 Requires: %{name}-libglapi = %{version}-%{release}
143 # glx driver in libEGL dlopens libGL.so
144 Requires: OpenGL >= 1.2
145 Requires: libdrm >= %{libdrm_ver}
146 Requires: libxcb >= 1.9
147 %{?with_wayland:Requires: wayland >= 1.2.0}
151 Requires: %{name}-libOpenVG = %{version}-%{release}
153 Requires: udev-libs >= 1:151
156 Requires: %{name}-libgbm = %{version}-%{release}
161 This package contains shared libEGL - Mesa implementation of EGL
162 Native Platform Graphics Interface as specified by Khronos Group:
163 <http://www.khronos.org/egl/>.
165 %description libEGL -l pl.UTF-8
166 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
167 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
168 graficznego platformy natywnej) wg specyfikacji Khronos Group:
169 <http://www.khronos.org/egl/>.
171 %package libEGL-devel
172 Summary: Header files for Mesa implementation of EGL library
173 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
175 Group: Development/Libraries
176 Requires: %{name}-khrplatform-devel = %{version}-%{release}
177 Requires: %{name}-libEGL = %{version}-%{release}
178 Requires: libdrm-devel >= %{libdrm_ver}
179 Requires: xorg-lib-libX11-devel
180 Requires: xorg-lib-libXdamage-devel
181 Requires: xorg-lib-libXext-devel >= 1.0.5
182 Requires: xorg-lib-libXfixes-devel
183 Requires: xorg-lib-libXxf86vm-devel
184 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
185 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
186 Provides: EGL-devel = 1.4
188 %description libEGL-devel
189 Header files for Mesa implementation of EGL library.
191 %description libEGL-devel -l pl.UTF-8
192 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
194 %package libEGL-static
195 Summary: Static Mesa EGL library
196 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
198 Group: Development/Libraries
199 Requires: %{name}-libEGL-devel = %{version}-%{release}
200 Provides: EGL-static = 1.4
202 %description libEGL-static
203 Static Mesa EGL library.
205 %description libEGL-static -l pl.UTF-8
206 Statyczna biblioteka Mesa EGL.
209 Summary: Free Mesa3D implementation of libGL OpenGL library
210 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
213 Requires: %{name}-libglapi = %{version}-%{release}
214 Requires: libdrm >= %{libdrm_ver}
215 Provides: OpenGL = 3.3
216 Provides: OpenGL-GLX = 1.4
219 Obsoletes: Mesa-dri-core < 10.0.0
220 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
221 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
224 Mesa is a 3-D graphics library with an API which is very similar to
225 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
226 syntax or state machine, it is being used with authorization from
227 Silicon Graphics, Inc. However, the author does not possess an OpenGL
228 license from SGI, and makes no claim that Mesa is in any way a
229 compatible replacement for OpenGL or associated with SGI.
231 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
232 specifications. It uses DRI for rendering.
234 %description libGL -l pl.UTF-8
235 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
236 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
237 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
238 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
239 OpenGL ani powiązana z SGI.
241 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
242 GLX 1.4. Używa DRI do renderowania.
245 Summary: Header files for Mesa3D libGL library
246 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
248 Group: X11/Development/Libraries
249 # loose dependency on libGL to use with other libGL binaries
250 Requires: OpenGL >= 1.5
251 Requires: libdrm-devel >= %{libdrm_ver}
252 Requires: xorg-lib-libX11-devel
253 Requires: xorg-lib-libXdamage-devel
254 Requires: xorg-lib-libXext-devel >= 1.0.5
255 Requires: xorg-lib-libXxf86vm-devel
256 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
257 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
258 Suggests: OpenGL-doc-man
259 Provides: OpenGL-GLX-devel = 1.4
260 Provides: OpenGL-devel = 3.3
261 Obsoletes: Mesa-devel
262 Obsoletes: X11-OpenGL-devel < 1:7.0.0
263 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
264 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
265 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
267 %description libGL-devel
268 Header files for Mesa3D libGL library.
270 %description libGL-devel -l pl.UTF-8
271 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
273 %package libGL-static
274 Summary: Static Mesa3D libGL library
275 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
277 Group: X11/Development/Libraries
278 Requires: %{name}-libGL-devel = %{version}-%{release}
279 Provides: OpenGL-static = 3.3
280 Obsoletes: Mesa-static
281 Obsoletes: X11-OpenGL-static < 1:7.0.0
282 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
284 %description libGL-static
285 Static Mesa3D libGL library. It uses software renderer.
287 %description libGL-static -l pl.UTF-8
288 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
292 Summary: Mesa implementation of GLES (OpenGL ES) libraries
293 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
295 Requires: %{name}-libglapi = %{version}-%{release}
297 Provides: OpenGLESv1 = 1.1
298 Provides: OpenGLESv2 = 2.0
301 This package contains shared libraries of Mesa implementation of GLES
302 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
303 on embedded systems. OpenGL ES specification can be found on Khronos
304 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
307 %description libGLES -l pl.UTF-8
308 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
309 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
310 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
311 OpenGL ES można znaleźć na stronie Khronos Group:
312 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
315 %package libGLES-devel
316 Summary: Header files for Mesa GLES libraries
317 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
318 Group: Development/Libraries
319 Requires: %{name}-khrplatform-devel = %{version}-%{release}
320 # <EGL/egl.h> for <GLES/egl.h>
321 Requires: %{name}-libEGL-devel = %{version}-%{release}
322 Requires: %{name}-libGLES = %{version}-%{release}
323 Provides: OpenGLES-devel
324 Provides: OpenGLESv1-devel = 1.1
325 Provides: OpenGLESv2-devel = 2.0
327 %description libGLES-devel
328 Header files for Mesa GLES libraries.
330 %description libGLES-devel -l pl.UTF-8
331 Pliki nagłówkowe bibliotek Mesa GLES.
334 Summary: OSMesa (off-screen renderer) library
335 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
339 %description libOSMesa
340 OSMesa (off-screen renderer) library.
342 %description libOSMesa -l pl.UTF-8
343 Biblioteka OSMesa (renderująca bitmapy w pamięci).
345 %package libOSMesa-devel
346 Summary: Header file for OSMesa (off-screen renderer) library
347 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
349 Group: Development/Libraries
350 Requires: %{name}-libOSMesa = %{version}-%{release}
352 Requires: OpenGL-devel
353 Requires: libselinux-devel
355 %description libOSMesa-devel
356 Header file for OSMesa (off-screen renderer) library.
358 %description libOSMesa-devel -l pl.UTF-8
359 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
361 %package libOSMesa-static
362 Summary: Static OSMesa (off-screen renderer) library
363 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
365 Group: Development/Libraries
366 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
367 # this static build of OSMesa needs static non-dri Mesa implementation
368 Requires: %{name}-libGL-static = %{version}-%{release}
370 %description libOSMesa-static
371 Static OSMesa (off-screen renderer) library.
373 %description libOSMesa-static -l pl.UTF-8
374 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
377 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
378 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
381 Requires: filesystem >= 4.0-29
382 Requires: libdrm >= %{libdrm_ver}
383 Requires: llvm-libclc
384 Requires: udev-libs >= 1:151
385 Provides: OpenCL = 1.1
387 %description OpenCL-icd
388 This package contains Mesa implementation of OpenCL - standard for
389 cross-platform, parallel programming of modern processors found in
390 personal computers, servers and handheld/embedded devices. OpenCL
391 specification can be found on Khronos Group site:
392 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
394 The implementation is provided as an installable client driver (ICD)
395 for use with the ocl-icd loader.
397 %description OpenCL-icd -l pl.UTF-8
398 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
399 wieloplatformowego, równoległego programowania nowoczesnych
400 procesorów, jakie znajdują się w komputerach osobistych, serwerach
401 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
402 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
403 Mesa zawiera implementację OpenCL w wersji 1.1.
405 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
406 (ICD), który może być użyty z loaderem ocl-icd.
409 Summary: Mesa implementation of OpenCL (Compuing Language) API
410 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
413 Requires: libdrm >= %{libdrm_ver}
414 Requires: llvm-libclc
415 Requires: udev-libs >= 1:151
416 Provides: OpenCL = 1.1
418 %description libOpenCL
419 This package contains Mesa implementation of OpenCL - standard for
420 cross-platform, parallel programming of modern processors found in
421 personal computers, servers and handheld/embedded devices. OpenCL
422 specification can be found on Khronos Group site:
423 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
425 %description libOpenCL -l pl.UTF-8
426 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
427 wieloplatformowego, równoległego programowania nowoczesnych
428 procesorów, jakie znajdują się w komputerach osobistych, serwerach
429 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
430 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
431 Mesa zawiera implementację OpenCL w wersji 1.1.
433 %package libOpenCL-devel
434 Summary: Header files for Mesa OpenCL library
435 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
437 Group: Development/Libraries
438 Requires: %{name}-libOpenCL = %{version}-%{release}
439 Provides: OpenCL-devel = 1.1
441 %description libOpenCL-devel
442 Header files for Mesa OpenCL library.
444 %description libOpenCL-devel -l pl.UTF-8
445 Pliki nagłówkowe biblioteki Mesa OpenCL.
448 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
449 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
452 Provides: OpenVG = 1.1
454 %description libOpenVG
455 This package contains Mesa implementation of OpenVG - cross-platform
456 API that provides a low-level hardware acceleration interface for
457 vector graphics libraries such as Flash and SVG. OpenVG specification
458 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
459 Mesa implements OpenVG 1.1.
461 %description libOpenVG -l pl.UTF-8
462 Ten pakiet zawiera implementację Mesa standardu OpenVG -
463 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
464 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
465 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
466 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
469 %package libOpenVG-devel
470 Summary: Header file for Mesa OpenVG library
471 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
473 Group: Development/Libraries
474 Requires: %{name}-khrplatform-devel = %{version}-%{release}
475 Requires: %{name}-libOpenVG = %{version}-%{release}
476 Provides: OpenVG-devel = 1.1
478 %description libOpenVG-devel
479 Header file for Mesa OpenVG library.
481 %description libOpenVG-devel -l pl.UTF-8
482 Plik nagłówkowy biblioteki Mesa OpenVG.
484 %package libXvMC-nouveau
485 Summary: Mesa implementation of XvMC API for NVidia adapters
486 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
489 Requires: libdrm >= %{libdrm_ver}
490 Requires: xorg-lib-libXvMC >= 1.0.6
491 Conflicts: Mesa-libXvMC
493 %description libXvMC-nouveau
494 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
496 %description libXvMC-nouveau -l pl.UTF-8
497 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
499 %package libXvMC-r600
500 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
501 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
504 Requires: libdrm >= %{libdrm_ver}
505 Requires: xorg-lib-libXvMC >= 1.0.6
506 Conflicts: Mesa-libXvMC
508 %description libXvMC-r600
509 Mesa implementation of XvMC API for ATI Radeon adapters based on
512 %description libXvMC-r600 -l pl.UTF-8
513 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
516 %package -n libva-driver-gallium
517 Summary: VA driver for Gallium State Tracker
518 Summary(pl.UTF-8): Sterownik VA do Gallium
521 %description -n libva-driver-gallium
522 VA driver for Gallium State Tracker.
524 %description -n libva-driver-gallium -l pl.UTF-8
525 Sterownik VA do Gallium.
528 Summary: Mesa Graphics Buffer Manager library
529 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
531 Requires: %{name}-libglapi = %{version}-%{release}
532 Requires: udev-libs >= 1:151
533 Conflicts: Mesa-libEGL < 8.0.1-2
536 Mesa Graphics Buffer Manager library.
538 %description libgbm -l pl.UTF-8
539 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
541 %package libgbm-devel
542 Summary: Header file for Mesa Graphics Buffer Manager library
543 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
544 Group: Development/Libraries
545 Requires: %{name}-libgbm = %{version}-%{release}
546 Requires: udev-devel >= 1:151
548 %description libgbm-devel
549 Header file for Mesa Graphics Buffer Manager library.
551 %description libgbm-devel -l pl.UTF-8
552 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
555 %package gbm-driver-i915
556 Summary: i915 driver for Mesa GBM framework
557 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
559 Requires: %{name}-libgbm = %{version}-%{release}
560 Obsoletes: Mesa-opencl-driver-i915
562 %description gbm-driver-i915
563 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
564 915/945/G33/Q33/Q35/Pineview chips.
566 %description gbm-driver-i915 -l pl.UTF-8
567 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
568 bufora graficznego). Obsługuje układy Intela z serii
569 915/945/G33/Q33/Q35/Pineview.
571 %package gbm-driver-nouveau
572 Summary: nouveau driver for Mesa GBM framework
573 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
575 Requires: %{name}-libgbm = %{version}-%{release}
576 Obsoletes: Mesa-opencl-driver-nouveau
578 %description gbm-driver-nouveau
579 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
582 %description gbm-driver-nouveau -l pl.UTF-8
583 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
584 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
586 %package gbm-driver-r300
587 Summary: r300 driver for Mesa GBM framework
588 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
590 Requires: %{name}-libgbm = %{version}-%{release}
591 Obsoletes: Mesa-opencl-driver-r300
593 %description gbm-driver-r300
594 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
595 adapters based on R300/R400/RS690/R500 chips.
597 %description gbm-driver-r300 -l pl.UTF-8
598 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
599 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
600 układach R300/R400/RS690/R500.
602 %package gbm-driver-r600
603 Summary: r600 driver for Mesa GBM framework
604 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
606 Requires: %{name}-libgbm = %{version}-%{release}
607 Obsoletes: Mesa-libllvmradeon
608 Obsoletes: Mesa-opencl-driver-r600
610 %description gbm-driver-r600
611 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
612 adapters based on R600/R700 chips.
614 %description gbm-driver-r600 -l pl.UTF-8
615 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
616 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
619 %package gbm-driver-radeonsi
620 Summary: radeonsi driver for Mesa GBM framework
621 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
623 Requires: %{name}-libgbm = %{version}-%{release}
624 Obsoletes: Mesa-libllvmradeon
625 Obsoletes: Mesa-opencl-driver-radeonsi
627 %description gbm-driver-radeonsi
628 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
629 Radeon adapters based on Southern Islands chips.
631 %description gbm-driver-radeonsi -l pl.UTF-8
632 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
633 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
634 oparte na układach Southern Islands.
636 %package gbm-driver-swrast
637 Summary: Software (swrast) driver for Mesa GBM framework
638 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
640 Requires: %{name}-libgbm = %{version}-%{release}
641 Obsoletes: Mesa-opencl-driver-swrast
643 %description gbm-driver-swrast
644 Software (swrast) driver for Mesa Graphics Buffer Manager.
646 %description gbm-driver-swrast -l pl.UTF-8
647 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
648 Manager (zarządcy bufora graficznego).
650 %package gbm-driver-vmwgfx
651 Summary: vmwgfx driver for Mesa GBM framework
652 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
654 Requires: %{name}-libgbm = %{version}-%{release}
655 Obsoletes: Mesa-opencl-driver-vmwgfx
657 %description gbm-driver-vmwgfx
658 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
659 virtual video adapter.
661 %description gbm-driver-vmwgfx -l pl.UTF-8
662 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
663 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
666 Summary: Mesa GL API shared library
667 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
669 Conflicts: Mesa-libEGL < 8.0.1-2
671 %description libglapi
672 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
674 %description libglapi -l pl.UTF-8
675 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
678 %package libwayland-egl
679 Summary: Wayland EGL library
680 Summary(pl.UTF-8): Biblioteka Wayland EGL
682 Requires: libdrm >= %{libdrm_ver}
684 %description libwayland-egl
685 Wayland EGL platform library.
687 %description libwayland-egl -l pl.UTF-8
688 Biblioteka platformy EGL Wayland.
690 %package libwayland-egl-devel
691 Summary: Development files for Wayland EGL library
692 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
693 Group: Development/Libraries
694 Requires: %{name}-libwayland-egl = %{version}-%{release}
695 Requires: libdrm-devel >= %{libdrm_ver}
697 %description libwayland-egl-devel
698 Development files for Wayland EGL platform library.
700 %description libwayland-egl-devel -l pl.UTF-8
701 Pliki programistyczne biblioteki platformy EGL Wayland.
703 %package libxatracker
704 Summary: Xorg Gallium3D accelleration library
705 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
707 Requires: libdrm >= %{libdrm_ver}
709 %description libxatracker
710 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
712 %description libxatracker -l pl.UTF-8
713 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
716 %package libxatracker-devel
717 Summary: Header files for Xorg Gallium3D accelleration library
718 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
719 Group: X11/Development/Libraries
720 Requires: %{name}-libxatracker = %{version}-%{release}
721 Requires: libdrm-devel >= %{libdrm_ver}
723 %description libxatracker-devel
724 Header files for Xorg Gallium3D accelleration library.
726 %description libxatracker-devel -l pl.UTF-8
727 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
729 %package khrplatform-devel
730 Summary: Khronos platform header file
731 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
732 Group: Development/Libraries
733 Conflicts: Mesa-libEGL-devel < 8.0.1-2
735 %description khrplatform-devel
736 Khronos platform header file.
738 %description khrplatform-devel -l pl.UTF-8
739 Plik nagłówkowy platformy Khronos.
741 %package dri-driver-ati-radeon-R100
742 Summary: X.org DRI driver for ATI R100 card family
743 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
746 Requires: xorg-driver-video-ati
747 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
748 Requires: xorg-xserver-server >= %{xserver_ver}
749 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
751 %description dri-driver-ati-radeon-R100
752 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
754 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
755 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
757 %package dri-driver-ati-radeon-R200
758 Summary: X.org DRI driver for ATI R200 card family
759 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
762 Requires: xorg-driver-video-ati
763 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
764 Requires: xorg-xserver-server >= %{xserver_ver}
765 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
767 %description dri-driver-ati-radeon-R200
768 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
770 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
771 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
773 %package dri-driver-ati-radeon-R300
774 Summary: X.org DRI driver for ATI R300 card family
775 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
778 Requires: xorg-driver-video-ati
779 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
780 Requires: xorg-xserver-server >= %{xserver_ver}
781 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
783 %description dri-driver-ati-radeon-R300
784 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
786 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
787 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
789 %package dri-driver-ati-radeon-R600
790 Summary: X.org DRI driver for ATI R600 card family
791 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
794 Requires: radeon-ucode
795 Requires: xorg-driver-video-ati
796 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
797 Requires: xorg-xserver-server >= %{xserver_ver}
799 %description dri-driver-ati-radeon-R600
800 X.org DRI driver for ATI R600/R700 card family.
802 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
803 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
805 %package dri-driver-ati-radeon-SI
806 Summary: X.org DRI driver for ATI Southern Islands card family
807 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
810 Requires: radeon-ucode
811 Requires: xorg-driver-video-ati
812 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
813 Requires: xorg-xserver-server >= %{xserver_ver}
815 %description dri-driver-ati-radeon-SI
816 X.org DRI driver for ATI Southern Islands card family.
818 %description dri-driver-ati-radeon-SI -l pl.UTF-8
819 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
821 %package dri-driver-intel-i915
822 Summary: X.org DRI driver for Intel i915 card family
823 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
826 Requires: xorg-driver-video-intel
827 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
828 Requires: xorg-xserver-server >= %{xserver_ver}
829 Obsoletes: Mesa-dri-driver-intel-i830
830 Obsoletes: X11-driver-i810-dri < 1:7.0.0
832 %description dri-driver-intel-i915
833 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
836 %description dri-driver-intel-i915 -l pl.UTF-8
837 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
840 %package dri-driver-intel-i965
841 Summary: X.org DRI driver for Intel i965 card family
842 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
845 Requires: xorg-driver-video-intel
846 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
847 Requires: xorg-xserver-server >= %{xserver_ver}
848 Obsoletes: Mesa-dri-driver-intel-i830
849 Obsoletes: X11-driver-i810-dri < 1:7.0.0
851 %description dri-driver-intel-i965
852 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
853 965GME, GM45, G41, B43, Q45, G45);
855 %description dri-driver-intel-i965 -l pl.UTF-8
856 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
857 965GM, 965GME, GM45, G41, B43, Q45, G45).
859 %package dri-driver-nouveau
860 Summary: X.org DRI driver for NVIDIA card family
861 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
864 Requires: xorg-driver-video-nouveau
865 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
866 Requires: xorg-xserver-server >= %{xserver_ver}
868 %description dri-driver-nouveau
869 X.org DRI drivers for NVIDIA card family.
871 %description dri-driver-nouveau -l pl.UTF-8
872 Sterowniki X.org DRI dla rodziny kart NVIDIA.
874 %package dri-driver-swrast
875 Summary: X.org DRI software rasterizer driver
876 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
879 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
880 Requires: xorg-xserver-server >= %{xserver_ver}
882 %description dri-driver-swrast
883 X.org DRI software rasterizer driver.
885 %description dri-driver-swrast -l pl.UTF-8
886 Sterownik X.org DRI obsługujący rysowanie programowe.
888 %package dri-driver-vmwgfx
889 Summary: X.org DRI driver for VMware
890 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
893 Requires: xorg-driver-video-vmware
894 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
895 Requires: xorg-xserver-server >= %{xserver_ver}
897 %description dri-driver-vmwgfx
898 X.org DRI driver for VMWare.
900 %description dri-driver-vmwgfx -l pl.UTF-8
901 Sterownik X.org DRI dla VMware.
903 %package -n libvdpau-driver-mesa-nouveau
904 Summary: Mesa nouveau driver for the vdpau API
905 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
908 Requires: libdrm >= %{libdrm_ver}
909 Requires: libvdpau >= 0.4.1
910 Conflicts: libvdpau-driver-mesa
912 %description -n libvdpau-driver-mesa-nouveau
913 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
916 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
917 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
920 %package -n libvdpau-driver-mesa-r300
921 Summary: Mesa r300 driver for the vdpau API
922 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
925 Requires: libdrm >= %{libdrm_ver}
926 Requires: libvdpau >= 0.4.1
927 Conflicts: libvdpau-driver-mesa
929 %description -n libvdpau-driver-mesa-r300
930 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
933 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
934 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
937 %package -n libvdpau-driver-mesa-r600
938 Summary: Mesa r600 driver for the vdpau API
939 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
942 Requires: libdrm >= %{libdrm_ver}
943 Requires: libvdpau >= 0.4.1
944 Conflicts: libvdpau-driver-mesa
946 %description -n libvdpau-driver-mesa-r600
947 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
948 based on R600/R700 chips.
950 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
951 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
952 na układach R600/R700.
954 %package -n libvdpau-driver-mesa-radeonsi
955 Summary: Mesa radeonsi driver for the vdpau API
956 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
959 Requires: libdrm >= %{libdrm_ver}
960 Requires: libvdpau >= 0.4.1
961 Conflicts: libvdpau-driver-mesa
962 Obsoletes: Mesa-libllvmradeon
964 %description -n libvdpau-driver-mesa-radeonsi
965 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
966 adapters based on Southern Islands chips.
968 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
969 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
970 oparte na układach Southern Islands.
972 %package -n omxil-mesa
973 Summary: Mesa driver for Bellagio OpenMAX IL API
974 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
977 Requires: libdrm >= %{libdrm_ver}
978 Requires: libxcb >= 1.8
979 Requires: libomxil-bellagio
980 Obsoletes: omxil-mesa-nouveau
981 Obsoletes: omxil-mesa-r600
982 Obsoletes: omxil-mesa-radeonsi
984 %description -n omxil-mesa
985 Mesa driver for Bellagio OpenMAX IL API.
987 %description -n omxil-mesa -l pl.UTF-8
988 Sterownik Mesa dla API Bellagio OpenMAX IL.
990 %package -n omxil-mesa-nouveau
991 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
992 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
995 Requires: libdrm >= %{libdrm_ver}
996 Requires: libxcb >= 1.8
997 Requires: libomxil-bellagio
999 %description -n omxil-mesa-nouveau
1000 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1001 adapters (NV40-NV96, NVa0).
1003 %description -n omxil-mesa-nouveau -l pl.UTF-8
1004 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1005 NVidia (NV40-NV96, NVa0).
1007 %package -n omxil-mesa-r600
1008 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1009 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1011 Group: X11/Libraries
1012 Requires: libdrm >= %{libdrm_ver}
1013 Requires: libxcb >= 1.8
1014 Requires: libomxil-bellagio
1016 %description -n omxil-mesa-r600
1017 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1018 adapters based on R600/R700 chips.
1020 %description -n omxil-mesa-r600 -l pl.UTF-8
1021 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1022 Radeon oparte na układach R600/R700.
1024 %package -n omxil-mesa-radeonsi
1025 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1026 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1028 Group: X11/Libraries
1029 Requires: libdrm >= %{libdrm_ver}
1030 Requires: libxcb >= 1.8
1031 Requires: libomxil-bellagio
1033 %description -n omxil-mesa-radeonsi
1034 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1035 Radeon adapters based on Southern Islands chips.
1037 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1038 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1039 ATI Radeon oparte na układach Southern Islands.
1051 dri_drivers="r200 radeon \
1052 %if %{without gallium_intel}
1057 %ifarch sparc sparcv9 sparc64
1062 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1064 gallium_drivers="svga swrast \
1065 %if %{with gallium_intel}
1068 %if %{with gallium_radeon}
1073 %if %{with gallium_nouveau}
1078 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1081 --disable-silent-rules \
1085 %{?with_static_libs:--enable-static} \
1088 --enable-shared-glapi \
1093 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1096 --enable-gallium-llvm \
1097 --enable-llvm-shared-libs \
1098 %{__enable egl gallium-egl} \
1099 %{__enable gbm gallium-gbm} \
1100 %{__enable ocl_icd opencl-icd} \
1101 %{__enable opencl opencl} \
1102 %{?with_egl:%{?with_openvg:--enable-openvg}} \
1104 %{?with_omx:--enable-omx} \
1105 %{?with_xa:--enable-xa} \
1107 --with-gallium-drivers=${gallium_drivers} \
1109 --without-gallium-drivers \
1111 --with-va-libdir=%{_libdir}/libva/dri \
1112 --with-dri-drivers=${dri_drivers} \
1113 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1117 %{?with_tests:%{__make} check}
1120 rm -rf $RPM_BUILD_ROOT
1123 DESTDIR=$RPM_BUILD_ROOT
1125 # strip out undesirable headers
1126 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1127 # dlopened by soname
1128 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1129 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0
1130 # dlopened by soname or .so link
1131 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0
1132 # not used externally
1133 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1135 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1136 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1137 # not defined by standards; and not needed, there is pkg-config support
1138 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1139 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1141 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1142 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1143 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1146 rm -rf $RPM_BUILD_ROOT
1148 %post libEGL -p /sbin/ldconfig
1149 %postun libEGL -p /sbin/ldconfig
1151 %post libGL -p /sbin/ldconfig
1152 %postun libGL -p /sbin/ldconfig
1154 %post libGLES -p /sbin/ldconfig
1155 %postun libGLES -p /sbin/ldconfig
1157 %post libOSMesa -p /sbin/ldconfig
1158 %postun libOSMesa -p /sbin/ldconfig
1160 %post libOpenCL -p /sbin/ldconfig
1161 %postun libOpenCL -p /sbin/ldconfig
1163 %post libOpenVG -p /sbin/ldconfig
1164 %postun libOpenVG -p /sbin/ldconfig
1166 %post libXvMC-nouveau -p /sbin/ldconfig
1167 %postun libXvMC-nouveau -p /sbin/ldconfig
1168 %post libXvMC-r600 -p /sbin/ldconfig
1169 %postun libXvMC-r600 -p /sbin/ldconfig
1171 %post libgbm -p /sbin/ldconfig
1172 %postun libgbm -p /sbin/ldconfig
1174 %post libglapi -p /sbin/ldconfig
1175 %postun libglapi -p /sbin/ldconfig
1177 %post libwayland-egl -p /sbin/ldconfig
1178 %postun libwayland-egl -p /sbin/ldconfig
1180 %post libxatracker -p /sbin/ldconfig
1181 %postun libxatracker -p /sbin/ldconfig
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1187 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_libdir}/libEGL.so
1192 %dir %{_includedir}/EGL
1193 %{_includedir}/EGL/egl.h
1194 %{_includedir}/EGL/eglext.h
1195 %{_includedir}/EGL/eglextchromium.h
1196 %{_includedir}/EGL/eglmesaext.h
1197 %{_includedir}/EGL/eglplatform.h
1198 %{_pkgconfigdir}/egl.pc
1200 %if %{with static_libs}
1201 %files libEGL-static
1202 %defattr(644,root,root,755)
1208 %defattr(644,root,root,755)
1209 %doc docs/{*.html,README.UVD,relnotes/*.html}
1210 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1211 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1212 # symlink for binary apps which fail to conform Linux OpenGL ABI
1213 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1214 %attr(755,root,root) %{_libdir}/libGL.so
1215 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1218 %defattr(644,root,root,755)
1220 %dir %{_includedir}/GL
1221 %{_includedir}/GL/gl.h
1222 %{_includedir}/GL/glcorearb.h
1223 %{_includedir}/GL/glext.h
1224 %{_includedir}/GL/gl_mangle.h
1225 %{_includedir}/GL/glx.h
1226 %{_includedir}/GL/glxext.h
1227 %{_includedir}/GL/glx_mangle.h
1228 %dir %{_includedir}/GL/internal
1229 %{_includedir}/GL/internal/dri_interface.h
1230 %{_pkgconfigdir}/dri.pc
1231 %{_pkgconfigdir}/gl.pc
1233 %if %{with static_libs}
1235 %defattr(644,root,root,755)
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1242 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1243 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1244 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1246 %files libGLES-devel
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1249 %attr(755,root,root) %{_libdir}/libGLESv2.so
1251 %{_includedir}/GLES2
1252 %{_includedir}/GLES3
1253 %{_pkgconfigdir}/glesv1_cm.pc
1254 %{_pkgconfigdir}/glesv2.pc
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1259 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1261 %files libOSMesa-devel
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/libOSMesa.so
1264 %{_includedir}/GL/osmesa.h
1265 %{_pkgconfigdir}/osmesa.pc
1267 %if %{with static_libs}
1268 %files libOSMesa-static
1269 %defattr(644,root,root,755)
1270 %{_libdir}/libOSMesa.a
1276 %defattr(644,root,root,755)
1277 /etc/OpenCL/vendors/mesa.icd
1278 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1279 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1280 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1285 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1287 %files libOpenCL-devel
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/libOpenCL.so
1294 %if %{with egl} && %{with openvg} && %{with gallium}
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1298 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1300 %files libOpenVG-devel
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/libOpenVG.so
1304 %{_pkgconfigdir}/vg.pc
1308 %if %{with gallium_nouveau}
1309 %files libXvMC-nouveau
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1312 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1315 %if %{with gallium_radeon}
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1319 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1322 %files -n libva-driver-gallium
1323 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1330 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1332 %dir %{_libdir}/gallium-pipe
1335 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_libdir}/libgbm.so
1342 %{_includedir}/gbm.h
1343 %{_pkgconfigdir}/gbm.pc
1347 %if %{with gallium_intel}
1348 %files gbm-driver-i915
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1353 %if %{with gallium_nouveau}
1354 %files gbm-driver-nouveau
1355 %defattr(644,root,root,755)
1356 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1359 %if %{with gallium_radeon}
1360 %files gbm-driver-r300
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1364 %files gbm-driver-r600
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1368 %files gbm-driver-radeonsi
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1373 %files gbm-driver-swrast
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1377 %files gbm-driver-vmwgfx
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1385 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1386 # libglapi-devel? nothing seems to need it atm.
1387 #%attr(755,root,root) %{_libdir}/libglapi.so
1390 %files libwayland-egl
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1393 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1395 %files libwayland-egl-devel
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1398 %{_pkgconfigdir}/wayland-egl.pc
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1405 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1407 %files libxatracker-devel
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/libxatracker.so
1410 %{_includedir}/xa_composite.h
1411 %{_includedir}/xa_context.h
1412 %{_includedir}/xa_tracker.h
1413 %{_pkgconfigdir}/xatracker.pc
1417 %files khrplatform-devel
1418 %defattr(644,root,root,755)
1419 %dir %{_includedir}/KHR
1420 %{_includedir}/KHR/khrplatform.h
1423 %files dri-driver-ati-radeon-R100
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1427 %files dri-driver-ati-radeon-R200
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1432 %if %{with gallium_radeon}
1433 %files dri-driver-ati-radeon-R300
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1437 %files dri-driver-ati-radeon-R600
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1441 %files dri-driver-ati-radeon-SI
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1447 %files dri-driver-intel-i915
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1451 %files dri-driver-intel-i965
1452 %defattr(644,root,root,755)
1453 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1455 %files dri-driver-nouveau
1456 %defattr(644,root,root,755)
1457 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1458 %if %{with gallium_nouveau}
1459 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1462 %files dri-driver-swrast
1463 %defattr(644,root,root,755)
1464 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1465 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1468 %files dri-driver-vmwgfx
1469 %defattr(644,root,root,755)
1470 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1474 # ldconfig is not used in vdpau tree, so package all symlinks
1475 %if %{with gallium_nouveau}
1476 %files -n libvdpau-driver-mesa-nouveau
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1479 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1480 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1483 %if %{with gallium_radeon}
1484 %files -n libvdpau-driver-mesa-r300
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1487 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1488 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1490 %files -n libvdpau-driver-mesa-r600
1491 %defattr(644,root,root,755)
1492 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1493 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1494 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1496 %files -n libvdpau-driver-mesa-radeonsi
1497 %defattr(644,root,root,755)
1498 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1499 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1500 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1504 %if %{with gallium} && %{with omx}
1505 %files -n omxil-mesa
1506 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so