3 # - check if gallium_intel note is still valid, switch the bcond if not
5 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
6 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
9 %bcond_without gallium # gallium drivers
10 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
11 %bcond_without gallium_nouveau # gallium nouveau driver
12 %bcond_without egl # EGL libraries
13 %bcond_without gbm # Graphics Buffer Manager
14 %bcond_without opencl # OpenCL library
15 %bcond_without wayland # Wayland EGL
16 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
17 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
19 # minimal supported xserver version
20 %define xserver_ver 1.5.0
21 # glapi version (glapi tables in dri drivers and libglx must be in sync);
22 # set to current Mesa version on ABI break, when xserver tables get regenerated
23 # (until they start to be somehow versioned themselves)
24 %define glapi_ver 7.1.0
26 %define libdrm_ver 2.4.39
27 %define dri2proto_ver 2.6
28 %define glproto_ver 1.4.14
32 Summary: Free OpenGL implementation
33 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
37 License: MIT (core) and others - see license.html file
39 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
40 # Source0-md5: 97d6554c05ea7449398afe3a0ede7018
41 Patch0: %{name}-link.patch
42 URL: http://www.mesa3d.org/
43 BuildRequires: autoconf >= 2.60
44 BuildRequires: automake
45 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
46 BuildRequires: expat-devel
47 BuildRequires: gcc >= 5:3.3
48 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
49 BuildRequires: libdrm-devel >= %{libdrm_ver}
50 BuildRequires: libselinux-devel
51 BuildRequires: libstdc++-devel >= 5:3.3.0
52 BuildRequires: libtalloc-devel >= 2:2.0.1
53 BuildRequires: libtool >= 2:2.2
54 BuildRequires: libvdpau-devel >= 0.4.1
55 BuildRequires: libxcb-devel >= 1.8.1
56 BuildRequires: llvm-devel >= 3.1
57 BuildRequires: perl-base
58 BuildRequires: pixman-devel
59 BuildRequires: pkgconfig
60 BuildRequires: pkgconfig(talloc) >= 2.0.1
61 BuildRequires: python >= 2
62 BuildRequires: python-libxml2
63 BuildRequires: python-modules >= 2
64 BuildRequires: rpmbuild(macros) >= 1.470
65 BuildRequires: sed >= 4.0
66 %{?with_egl:BuildRequires: udev-devel >= 1:150}
67 # wayland-{client,server}
68 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.0}
69 BuildRequires: xorg-lib-libXdamage-devel
70 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
71 BuildRequires: xorg-lib-libXfixes-devel
72 BuildRequires: xorg-lib-libXt-devel
73 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
74 BuildRequires: xorg-lib-libXxf86vm-devel
75 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
76 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
77 BuildRequires: xorg-util-makedepend
78 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
80 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
81 BuildRequires: xorg-xserver-server-devel >= 1.6.0
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85 %if %{without gallium}
86 %undefine with_gallium_intel
87 %undefine with_gallium_nouveau
94 %undefine with_wayland
97 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
98 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
99 # libdricore: internal library, not linked with libglapi
100 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
101 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.*
104 %define filterout_ld -Wl,--as-needed
107 Mesa is a 3-D graphics library with an API which is very similar to
108 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
109 syntax or state machine, it is being used with authorization from
110 Silicon Graphics, Inc. However, the author does not possess an OpenGL
111 license from SGI, and makes no claim that Mesa is in any way a
112 compatible replacement for OpenGL or associated with SGI.
114 %description -l pl.UTF-8
115 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
116 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
117 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
118 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
119 OpenGL ani powiązana z SGI.
122 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
123 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
126 Requires: %{name}-libglapi = %{version}-%{release}
127 # glx driver in libEGL dlopens libGL.so
128 Requires: OpenGL >= 1.2
129 Requires: libdrm >= %{libdrm_ver}
130 %{?with_wayland:Requires: wayland >= 1.0.0}
133 Requires: %{name}-libOpenVG = %{version}-%{release}
134 Requires: udev-libs >= 1:150
137 Requires: %{name}-libgbm = %{version}-%{release}
142 This package contains shared libEGL - Mesa implementation of EGL
143 Native Platform Graphics Interface as specified by Khronos Group:
144 <http://www.khronos.org/egl/>.
146 %description libEGL -l pl.UTF-8
147 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
148 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
149 graficznego platformy natywnej) wg specyfikacji Khronos Group:
150 <http://www.khronos.org/egl/>.
152 %package libEGL-devel
153 Summary: Header files for Mesa implementation of EGL library
154 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
156 Group: Development/Libraries
157 Requires: %{name}-khrplatform-devel = %{version}-%{release}
158 Requires: %{name}-libEGL = %{version}-%{release}
159 Requires: libdrm-devel >= %{libdrm_ver}
160 Requires: xorg-lib-libX11-devel
161 Requires: xorg-lib-libXdamage-devel
162 Requires: xorg-lib-libXext-devel
163 Requires: xorg-lib-libXfixes-devel
164 Requires: xorg-lib-libXxf86vm-devel
165 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
166 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
167 Provides: EGL-devel = 1.4
169 %description libEGL-devel
170 Header files for Mesa implementation of EGL library.
172 %description libEGL-devel -l pl.UTF-8
173 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
175 %package libEGL-static
176 Summary: Static Mesa EGL library
177 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
179 Group: Development/Libraries
180 Requires: %{name}-libEGL-devel = %{version}-%{release}
181 Provides: EGL-static = 1.4
183 %description libEGL-static
184 Static Mesa EGL library.
186 %description libEGL-static -l pl.UTF-8
187 Statyczna biblioteka Mesa EGL.
190 Summary: Free Mesa3D implementation of libGL OpenGL library
191 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
194 Requires: %{name}-libglapi = %{version}-%{release}
195 Requires: libdrm >= %{libdrm_ver}
196 Provides: OpenGL = 3.1
197 Provides: OpenGL-GLX = 1.4
200 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
201 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
204 Mesa is a 3-D graphics library with an API which is very similar to
205 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
206 syntax or state machine, it is being used with authorization from
207 Silicon Graphics, Inc. However, the author does not possess an OpenGL
208 license from SGI, and makes no claim that Mesa is in any way a
209 compatible replacement for OpenGL or associated with SGI.
211 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
212 specifications. It uses DRI for rendering.
214 %description libGL -l pl.UTF-8
215 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
216 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
217 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
218 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
219 OpenGL ani powiązana z SGI.
221 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
222 GLX 1.4. Używa DRI do renderowania.
225 Summary: Header files for Mesa3D libGL library
226 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
228 Group: X11/Development/Libraries
229 # loose dependency on libGL to use with other libGL binaries
230 Requires: OpenGL >= 1.5
231 Requires: libdrm-devel >= %{libdrm_ver}
232 Requires: xorg-lib-libX11-devel
233 Requires: xorg-lib-libXdamage-devel
234 Requires: xorg-lib-libXext-devel
235 Requires: xorg-lib-libXxf86vm-devel
236 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
237 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
238 Suggests: OpenGL-doc-man
239 Provides: OpenGL-GLX-devel = 1.4
240 Provides: OpenGL-devel = 3.1
241 Obsoletes: Mesa-devel
242 Obsoletes: X11-OpenGL-devel < 1:7.0.0
243 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
244 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
245 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
247 %description libGL-devel
248 Header files for Mesa3D libGL library.
250 %description libGL-devel -l pl.UTF-8
251 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
253 %package libGL-static
254 Summary: Static Mesa3D libGL library
255 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
257 Group: X11/Development/Libraries
258 Requires: %{name}-libGL-devel = %{version}-%{release}
259 Provides: OpenGL-static = 3.1
260 Obsoletes: Mesa-static
261 Obsoletes: X11-OpenGL-static < 1:7.0.0
262 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
264 %description libGL-static
265 Static Mesa3D libGL library. It uses software renderer.
267 %description libGL-static -l pl.UTF-8
268 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
272 Summary: Mesa implementation of GLES (OpenGL ES) libraries
273 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
275 Requires: %{name}-libglapi = %{version}-%{release}
277 Provides: OpenGLESv1 = 1.1
278 Provides: OpenGLESv2 = 2.0
281 This package contains shared libraries of Mesa implementation of GLES
282 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
283 on embedded systems. OpenGL ES specification can be found on Khronos
284 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
287 %description libGLES -l pl.UTF-8
288 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
289 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
290 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
291 OpenGL ES można znaleźć na stronie Khronos Group:
292 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
295 %package libGLES-devel
296 Summary: Header files for Mesa GLES libraries
297 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
298 Group: Development/Libraries
299 Requires: %{name}-khrplatform-devel = %{version}-%{release}
300 # <EGL/egl.h> for <GLES/egl.h>
301 Requires: %{name}-libEGL-devel = %{version}-%{release}
302 Requires: %{name}-libGLES = %{version}-%{release}
303 Provides: OpenGLES-devel
304 Provides: OpenGLESv1-devel = 1.1
305 Provides: OpenGLESv2-devel = 2.0
307 %description libGLES-devel
308 Header files for Mesa GLES libraries.
310 %description libGLES-devel -l pl.UTF-8
311 Pliki nagłówkowe bibliotek Mesa GLES.
314 Summary: OSMesa (off-screen renderer) library
315 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
319 %description libOSMesa
320 OSMesa (off-screen renderer) library.
322 %description libOSMesa -l pl.UTF-8
323 Biblioteka OSMesa (renderująca bitmapy w pamięci).
325 %package libOSMesa-devel
326 Summary: Header file for OSMesa (off-screen renderer) library
327 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
329 Group: Development/Libraries
330 Requires: %{name}-libOSMesa = %{version}-%{release}
332 Requires: OpenGL-devel
333 Requires: libselinux-devel
335 %description libOSMesa-devel
336 Header file for OSMesa (off-screen renderer) library.
338 %description libOSMesa-devel -l pl.UTF-8
339 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
341 %package libOSMesa-static
342 Summary: Static OSMesa (off-screen renderer) library
343 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
345 Group: Development/Libraries
346 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
347 # this static build of OSMesa needs static non-dri Mesa implementation
348 Requires: %{name}-libGL-static = %{version}-%{release}
350 %description libOSMesa-static
351 Static OSMesa (off-screen renderer) library.
353 %description libOSMesa-static -l pl.UTF-8
354 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
357 Summary: Mesa implementation of OpenCL (Compuing Language) API
358 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
361 Requires: libdrm >= %{libdrm_ver}
362 Requires: udev-libs >= 1:150
363 Provides: OpenCL = 1.1
365 %description libOpenCL
366 This package contains Mesa implementation of OpenCL - standard for
367 cross-platform, parallel programming of modern processors found in
368 personal computers, servers and handheld/embedded devices. OpenCL
369 specification can be found on Khronos Group site:
370 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
372 %description libOpenCL -l pl.UTF-8
373 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
374 wieloplatformowego, równoległego programowania nowoczesnych
375 procesorów, jakie znajdują się w komputerach osobistych, serwerach
376 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
377 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
378 Mesa zawiera implementację OpenCL w wersji 1.1.
380 %package libOpenCL-devel
381 Summary: Header files for Mesa OpenCL library
382 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
384 Group: Development/Libraries
385 Requires: %{name}-libOpenCL = %{version}-%{release}
386 Provides: OpenCL-devel = 1.1
388 %description libOpenCL-devel
389 Header files for Mesa OpenCL library.
391 %description libOpenCL-devel -l pl.UTF-8
392 Pliki nagłówkowe biblioteki Mesa OpenCL.
394 %package opencl-driver-i915
395 Summary: i915 driver for Mesa OpenCL implementation
396 Summary(pl.UTF-8): Sterownik i915 dla implementacji Mesa OpenCL
398 Requires: %{name}-libOpenCL = %{version}-%{release}
400 %description opencl-driver-i915
401 i915 driver for Mesa OpenCL implementation. It supports Intel
402 915/945/G33/Q33/Q35/Pineview chips.
404 %description opencl-driver-i915 -l pl.UTF-8
405 Sterownik i915 dla implementacji Mesa standardu OpenCL. Obsługuje
406 układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
408 %package opencl-driver-nouveau
409 Summary: nouveau driver for Mesa OpenCL implementation
410 Summary(pl.UTF-8): Sterownik nouveau dla implementacji Mesa OpenCL
412 Requires: %{name}-libOpenCL = %{version}-%{release}
414 %description opencl-driver-nouveau
415 nouveau driver for Mesa OpenCL implementation. It supports NVidia
418 %description opencl-driver-nouveau -l pl.UTF-8
419 Sterownik nouveau dla implementacji Mesa standardu OpenCL. Obsługuje
420 karty graficzne firmy NVidia.
422 %package opencl-driver-r300
423 Summary: r300 driver for Mesa OpenCL implementation
424 Summary(pl.UTF-8): Sterownik r300 dla implementacji Mesa OpenCL
426 Requires: %{name}-libOpenCL = %{version}-%{release}
428 %description opencl-driver-r300
429 r300 driver for Mesa OpenCL implementation. It supports ATI Radeon
430 adapters based on R300/R400/RS690/R500 chips.
432 %description opencl-driver-r300 -l pl.UTF-8
433 Sterownik r300 dla implementacji Mesa standardu OpenCL. Obsługuje
434 karty graficzne ATI Radeon oparte na układach R300/R400/RS690/R500.
436 %package opencl-driver-r600
437 Summary: r600 driver for Mesa OpenCL implementation
438 Summary(pl.UTF-8): Sterownik r600 dla implementacji Mesa OpenCL
440 Requires: %{name}-libOpenCL = %{version}-%{release}
442 %description opencl-driver-r600
443 r600 driver for Mesa OpenCL implementation. It supports ATI Radeon
444 adapters based on R600/R700 chips.
446 %description opencl-driver-r600 -l pl.UTF-8
447 Sterownik r600 dla implementacji Mesa standardu OpenCL. Obsługuje
448 karty graficzne ATI Radeon oparte na układach R600/R700.
450 %package opencl-driver-radeonsi
451 Summary: radeonsi driver for Mesa OpenCL implementation
452 Summary(pl.UTF-8): Sterownik radeonsi dla implementacji Mesa OpenCL
454 Requires: %{name}-libOpenCL = %{version}-%{release}
456 %description opencl-driver-radeonsi
457 radeonsi driver for Mesa OpenCL implementation. It supports ATI
458 Radeon adapters based on Southern Islands chips.
460 %description opencl-driver-radeonsi -l pl.UTF-8
461 Sterownik radeonsi dla implementacji Mesa standardu OpenCL. Obsługuje
462 karty graficzne ATI Radeon oparte na układach Southern Islands.
464 %package opencl-driver-swrast
465 Summary: Software (swrast) driver for Mesa OpenCL implementation
466 Summary(pl.UTF-8): Sterownik programowy (swrast) dla implementacji Mesa OpenCL
468 Requires: %{name}-libOpenCL = %{version}-%{release}
470 %description opencl-driver-swrast
471 Software (swrast) driver for Mesa OpenCL implementation.
473 %description opencl-driver-swrast -l pl.UTF-8
474 Sterownik programowy (swrast) dla implementacji Mesa standardu OpenCL.
476 %package opencl-driver-vmwgfx
477 Summary: vmwgfx driver for Mesa OpenCL implementation
478 Summary(pl.UTF-8): Sterownik vmwgfx dla implementacji Mesa OpenCL
480 Requires: %{name}-libOpenCL = %{version}-%{release}
482 %description opencl-driver-vmwgfx
483 vmwgfx driver for Mesa OpenCL implementation. It supports VMware
484 virtual video adapter.
486 %description opencl-driver-vmwgfx -l pl.UTF-8
487 Sterownik vmwgfx dla implementacji Mesa standardu OpenCL. Obsługuje
488 wirtualną kartę graficzną VMware.
491 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
492 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
495 Provides: OpenVG = 1.1
497 %description libOpenVG
498 This package contains Mesa implementation of OpenVG - cross-platform
499 API that provides a low-level hardware acceleration interface for
500 vector graphics libraries such as Flash and SVG. OpenVG specification
501 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
502 Mesa implements OpenVG 1.1.
504 %description libOpenVG -l pl.UTF-8
505 Ten pakiet zawiera implementację Mesa standardu OpenVG -
506 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
507 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
508 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
509 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
512 %package libOpenVG-devel
513 Summary: Header file for Mesa OpenVG library
514 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
516 Group: Development/Libraries
517 Requires: %{name}-khrplatform-devel = %{version}-%{release}
518 Requires: %{name}-libOpenVG = %{version}-%{release}
519 Provides: OpenVG-devel = 1.1
521 %description libOpenVG-devel
522 Header file for Mesa OpenVG library.
524 %description libOpenVG-devel -l pl.UTF-8
525 Plik nagłówkowy biblioteki Mesa OpenVG.
527 %package libXvMC-nouveau
528 Summary: Mesa implementation of XvMC API for NVidia adapters
529 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
532 Requires: libdrm >= %{libdrm_ver}
533 Requires: xorg-lib-libXvMC >= 1.0.6
534 Conflicts: Mesa-libXvMC
536 %description libXvMC-nouveau
537 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
539 %description libXvMC-nouveau -l pl.UTF-8
540 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
542 %package libXvMC-r300
543 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
544 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
547 Requires: libdrm >= %{libdrm_ver}
548 Requires: xorg-lib-libXvMC >= 1.0.6
549 Conflicts: Mesa-libXvMC
551 %description libXvMC-r300
552 Mesa implementation of XvMC API for ATI Radeon adapters based on
553 R300/R400/RS690/R500 chips.
555 %description libXvMC-r300 -l pl.UTF-8
556 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
557 R300/R400/RS690/R500.
559 %package libXvMC-r600
560 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
561 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
564 Requires: libdrm >= %{libdrm_ver}
565 Requires: xorg-lib-libXvMC >= 1.0.6
566 Conflicts: Mesa-libXvMC
568 %description libXvMC-r600
569 Mesa implementation of XvMC API for ATI Radeon adapters based on
572 %description libXvMC-r600 -l pl.UTF-8
573 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
576 %package libXvMC-softpipe
577 Summary: Mesa softpipe implementation of XvMC API
578 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
581 Requires: libdrm >= %{libdrm_ver}
582 Requires: xorg-lib-libXvMC >= 1.0.6
583 Conflicts: Mesa-libXvMC
585 %description libXvMC-softpipe
586 Mesa softpipe implementation of XvMC API.
588 %description libXvMC-softpipe -l pl.UTF-8
589 Implementacja Mesa softpipe API XvMC.
592 Summary: Mesa Graphics Buffer Manager library
593 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
595 Requires: udev-libs >= 1:150
596 Conflicts: Mesa-libEGL < 8.0.1-2
599 Mesa Graphics Buffer Manager library.
601 %description libgbm -l pl.UTF-8
602 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
604 %package libgbm-devel
605 Summary: Header file for Mesa Graphics Buffer Manager library
606 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
607 Group: Development/Libraries
608 Requires: %{name}-libgbm = %{version}-%{release}
609 Requires: udev-devel >= 1:150
611 %description libgbm-devel
612 Header file for Mesa Graphics Buffer Manager library.
614 %description libgbm-devel -l pl.UTF-8
615 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
618 %package gbm-driver-i915
619 Summary: i915 driver for Mesa GBM framework
620 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
622 Requires: %{name}-libgbm = %{version}-%{release}
624 %description gbm-driver-i915
625 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
626 915/945/G33/Q33/Q35/Pineview chips.
628 %description gbm-driver-i915 -l pl.UTF-8
629 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
630 bufora graficznego). Obsługuje układy Intela z serii
631 915/945/G33/Q33/Q35/Pineview.
633 %package gbm-driver-nouveau
634 Summary: nouveau driver for Mesa GBM framework
635 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
637 Requires: %{name}-libgbm = %{version}-%{release}
639 %description gbm-driver-nouveau
640 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
643 %description gbm-driver-nouveau -l pl.UTF-8
644 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
645 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
647 %package gbm-driver-r300
648 Summary: r300 driver for Mesa GBM framework
649 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
651 Requires: %{name}-libgbm = %{version}-%{release}
653 %description gbm-driver-r300
654 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
655 adapters based on R300/R400/RS690/R500 chips.
657 %description gbm-driver-r300 -l pl.UTF-8
658 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
659 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
660 układach R300/R400/RS690/R500.
662 %package gbm-driver-r600
663 Summary: r600 driver for Mesa GBM framework
664 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
666 Requires: %{name}-libgbm = %{version}-%{release}
668 %description gbm-driver-r600
669 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
670 adapters based on R600/R700 chips.
672 %description gbm-driver-r600 -l pl.UTF-8
673 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
674 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
677 %package gbm-driver-radeonsi
678 Summary: radeonsi driver for Mesa GBM framework
679 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
681 Requires: %{name}-libgbm = %{version}-%{release}
683 %description gbm-driver-radeonsi
684 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
685 Radeon adapters based on Southern Islands chips.
687 %description gbm-driver-radeonsi -l pl.UTF-8
688 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
689 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
690 oparte na układach Southern Islands.
692 %package gbm-driver-swrast
693 Summary: Software (swrast) driver for Mesa GBM framework
694 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
696 Requires: %{name}-libgbm = %{version}-%{release}
698 %description gbm-driver-swrast
699 Software (swrast) driver for Mesa Graphics Buffer Manager.
701 %description gbm-driver-swrast -l pl.UTF-8
702 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
703 Manager (zarządcy bufora graficznego).
705 %package gbm-driver-vmwgfx
706 Summary: vmwgfx driver for Mesa GBM framework
707 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
709 Requires: %{name}-libgbm = %{version}-%{release}
711 %description gbm-driver-vmwgfx
712 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
713 virtual video adapter.
715 %description gbm-driver-vmwgfx -l pl.UTF-8
716 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
717 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
720 Summary: Mesa GL API shared library
721 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
723 Conflicts: Mesa-libEGL < 8.0.1-2
725 %description libglapi
726 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
728 %description libglapi -l pl.UTF-8
729 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
732 %package libwayland-egl
733 Summary: Wayland EGL library
734 Summary(pl.UTF-8): Biblioteka Wayland EGL
736 Requires: libdrm >= %{libdrm_ver}
738 %description libwayland-egl
739 Wayland EGL platform library.
741 %description libwayland-egl -l pl.UTF-8
742 Biblioteka platformy EGL Wayland.
744 %package libwayland-egl-devel
745 Summary: Development files for Wayland EGL library
746 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
747 Group: Development/Libraries
748 Requires: %{name}-libwayland-egl = %{version}-%{release}
749 Requires: libdrm-devel >= %{libdrm_ver}
751 %description libwayland-egl-devel
752 Development files for Wayland EGL platform library.
754 %description libwayland-egl-devel -l pl.UTF-8
755 Pliki programistyczne biblioteki platformy EGL Wayland.
757 %package libxatracker
758 Summary: Xorg Gallium3D accelleration library
759 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
761 Requires: libdrm >= %{libdrm_ver}
763 %description libxatracker
764 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
766 %description libxatracker -l pl.UTF-8
767 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
770 %package libxatracker-devel
771 Summary: Header files for Xorg Gallium3D accelleration library
772 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
773 Group: X11/Development/Libraries
774 Requires: %{name}-libxatracker = %{version}-%{release}
775 Requires: libdrm-devel >= %{libdrm_ver}
777 %description libxatracker-devel
778 Header files for Xorg Gallium3D accelleration library.
780 %description libxatracker-devel -l pl.UTF-8
781 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
783 %package khrplatform-devel
784 Summary: Khronos platform header file
785 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
786 Group: Development/Libraries
787 Conflicts: Mesa-libEGL-devel < 8.0.1-2
789 %description khrplatform-devel
790 Khronos platform header file.
792 %description khrplatform-devel -l pl.UTF-8
793 Plik nagłówkowy platformy Khronos.
796 Summary: X.org DRI core library
797 Summary(pl.UTF-8): Biblioteka X.org DRI core
800 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
801 Requires: xorg-xserver-server >= %{xserver_ver}
803 %description dri-core
804 X.org DRI core library.
806 %description dri-core -l pl.UTF-8
807 Biblioteka X.org DRI core.
809 %package dri-driver-ati-radeon-R100
810 Summary: X.org DRI driver for ATI R100 card family
811 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
814 Requires: %{name}-dri-core = %{version}-%{release}
815 Requires: xorg-driver-video-ati
816 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
817 Requires: xorg-xserver-server >= %{xserver_ver}
818 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
820 %description dri-driver-ati-radeon-R100
821 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
823 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
824 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
826 %package dri-driver-ati-radeon-R200
827 Summary: X.org DRI driver for ATI R200 card family
828 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
831 Requires: %{name}-dri-core = %{version}-%{release}
832 Requires: xorg-driver-video-ati
833 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
834 Requires: xorg-xserver-server >= %{xserver_ver}
835 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
837 %description dri-driver-ati-radeon-R200
838 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
840 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
841 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
843 %package dri-driver-ati-radeon-R300
844 Summary: X.org DRI driver for ATI R300 card family
845 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
848 Requires: xorg-driver-video-ati
849 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
850 Requires: xorg-xserver-server >= %{xserver_ver}
851 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
853 %description dri-driver-ati-radeon-R300
854 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
856 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
857 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
859 %package dri-driver-ati-radeon-R600
860 Summary: X.org DRI driver for ATI R600 card family
861 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
864 Requires: radeon-ucode
865 Requires: xorg-driver-video-ati
866 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
867 Requires: xorg-xserver-server >= %{xserver_ver}
869 %description dri-driver-ati-radeon-R600
870 X.org DRI driver for ATI R600/R700 card family.
872 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
873 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
875 %package dri-driver-ati-radeon-SI
876 Summary: X.org DRI driver for ATI Southern Islands card family
877 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
880 Requires: radeon-ucode
881 Requires: xorg-driver-video-ati
882 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
883 Requires: xorg-xserver-server >= %{xserver_ver}
885 %description dri-driver-ati-radeon-SI
886 X.org DRI driver for ATI Southern Islands card family.
888 %description dri-driver-ati-radeon-SI -l pl.UTF-8
889 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
891 %package dri-driver-intel-i915
892 Summary: X.org DRI driver for Intel i915 card family
893 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
896 %if %{without gallium_intel}
897 Requires: %{name}-dri-core = %{version}-%{release}
899 Requires: xorg-driver-video-intel
900 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
901 Requires: xorg-xserver-server >= %{xserver_ver}
902 Obsoletes: Mesa-dri-driver-intel-i830
903 Obsoletes: X11-driver-i810-dri < 1:7.0.0
905 %description dri-driver-intel-i915
906 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
909 %description dri-driver-intel-i915 -l pl.UTF-8
910 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
913 %package dri-driver-intel-i965
914 Summary: X.org DRI driver for Intel i965 card family
915 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
918 Requires: %{name}-dri-core = %{version}-%{release}
919 Requires: xorg-driver-video-intel
920 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
921 Requires: xorg-xserver-server >= %{xserver_ver}
922 Obsoletes: Mesa-dri-driver-intel-i830
923 Obsoletes: X11-driver-i810-dri < 1:7.0.0
925 %description dri-driver-intel-i965
926 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
927 965GME, GM45, G41, B43, Q45, G45);
929 %description dri-driver-intel-i965 -l pl.UTF-8
930 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
931 965GM, 965GME, GM45, G41, B43, Q45, G45).
933 %package dri-driver-nouveau
934 Summary: X.org DRI driver for NVIDIA card family
935 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
938 Requires: %{name}-dri-core = %{version}-%{release}
939 Requires: xorg-driver-video-nouveau
940 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
941 Requires: xorg-xserver-server >= %{xserver_ver}
943 %description dri-driver-nouveau
944 X.org DRI drivers for NVIDIA card family.
946 %description dri-driver-nouveau -l pl.UTF-8
947 Sterowniki X.org DRI dla rodziny kart NVIDIA.
949 %package dri-driver-swrast
950 Summary: X.org DRI software rasterizer driver
951 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
954 Requires: %{name}-dri-core = %{version}-%{release}
955 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
956 Requires: xorg-xserver-server >= %{xserver_ver}
958 %description dri-driver-swrast
959 X.org DRI software rasterizer driver.
961 %description dri-driver-swrast -l pl.UTF-8
962 Sterownik X.org DRI obsługujący rysowanie programowe.
964 %package dri-driver-vmwgfx
965 Summary: X.org DRI driver for VMware
966 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
969 Requires: xorg-driver-video-vmware
970 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
971 Requires: xorg-xserver-server >= %{xserver_ver}
973 %description dri-driver-vmwgfx
974 X.org DRI driver for VMWare.
976 %description dri-driver-vmwgfx -l pl.UTF-8
977 Sterownik X.org DRI dla VMware.
979 %package -n libvdpau-driver-mesa-nouveau
980 Summary: Mesa nouveau driver for the vdpau API
981 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
984 Requires: libdrm >= %{libdrm_ver}
985 Requires: libvdpau >= 0.4.1
986 Conflicts: libvdpau-driver-mesa
988 %description -n libvdpau-driver-mesa-nouveau
989 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
992 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
993 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
996 %package -n libvdpau-driver-mesa-r300
997 Summary: Mesa r300 driver for the vdpau API
998 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
1000 Group: X11/Libraries
1001 Requires: libdrm >= %{libdrm_ver}
1002 Requires: libvdpau >= 0.4.1
1003 Conflicts: libvdpau-driver-mesa
1005 %description -n libvdpau-driver-mesa-r300
1006 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1007 based on R300/R400/RS690/R500 chips.
1009 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1010 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1011 na układach R300/R400/RS690/R500.
1013 %package -n libvdpau-driver-mesa-r600
1014 Summary: Mesa r600 driver for the vdpau API
1015 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1017 Group: X11/Libraries
1018 Requires: libdrm >= %{libdrm_ver}
1019 Requires: libvdpau >= 0.4.1
1020 Conflicts: libvdpau-driver-mesa
1022 %description -n libvdpau-driver-mesa-r600
1023 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1024 based on R600/R700 chips.
1026 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1027 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1028 na układach R600/R700.
1030 %package -n libvdpau-driver-mesa-radeonsi
1031 Summary: Mesa radeonsi driver for the vdpau API
1032 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1034 Group: X11/Libraries
1035 Requires: libdrm >= %{libdrm_ver}
1036 Requires: libvdpau >= 0.4.1
1037 Conflicts: libvdpau-driver-mesa
1039 %description -n libvdpau-driver-mesa-radeonsi
1040 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1041 adapters based on Southern Islands chips.
1043 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1044 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1045 oparte na układach Southern Islands.
1047 %package -n libvdpau-driver-mesa-softpipe
1048 Summary: Mesa softpipe driver for the vdpau API
1049 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
1051 Group: X11/Libraries
1052 Requires: libdrm >= %{libdrm_ver}
1053 Requires: libvdpau >= 0.4.1
1054 Conflicts: libvdpau-driver-mesa
1056 %description -n libvdpau-driver-mesa-softpipe
1057 Mesa softpipe driver for the vdpau API.
1059 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
1060 Sterownik Mesa softpipe dla API vdpau.
1072 dri_drivers="r200 radeon \
1073 %if %{without gallium_intel}
1078 %ifarch sparc sparcv9 sparc64
1083 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1085 gallium_drivers="svga swrast \
1086 %if %{with gallium_intel}
1092 %if %{with gallium_nouveau}
1097 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1100 --disable-silent-rules \
1105 %{?with_static_libs:--enable-static} \
1108 --enable-shared-glapi \
1113 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1116 --enable-gallium-llvm \
1117 --with-llvm-shared-libs \ \
1118 %{__enable egl gallium-egl} \
1119 %{__enable gbm gallium-gbm} \
1120 %{?with_opencl:--enable-opencl} \
1121 %{?with_egl:--enable-openvg} \
1123 %{?with_xa:--enable-xa} \
1125 --with-gallium-drivers=${gallium_drivers} \
1127 --without-gallium-drivers \
1129 --with-dri-drivers=${dri_drivers} \
1130 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1135 rm -rf $RPM_BUILD_ROOT
1138 DESTDIR=$RPM_BUILD_ROOT
1140 # omitted by make install (as of 9.0)
1141 cp -pr include/CL $RPM_BUILD_ROOT%{_includedir}
1142 # strip out undesirable headers
1143 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1144 # dlopened by soname
1145 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1146 # not used externally
1147 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{version},glapi}.so
1149 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1150 # not defined by standards; and not needed, there is pkg-config support
1151 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1153 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1154 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1155 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1158 rm -rf $RPM_BUILD_ROOT
1160 %post libEGL -p /sbin/ldconfig
1161 %postun libEGL -p /sbin/ldconfig
1163 %post libGL -p /sbin/ldconfig
1164 %postun libGL -p /sbin/ldconfig
1166 %post libGLES -p /sbin/ldconfig
1167 %postun libGLES -p /sbin/ldconfig
1169 %post libOSMesa -p /sbin/ldconfig
1170 %postun libOSMesa -p /sbin/ldconfig
1172 %post libOpenCL -p /sbin/ldconfig
1173 %postun libOpenCL -p /sbin/ldconfig
1175 %post libOpenVG -p /sbin/ldconfig
1176 %postun libOpenVG -p /sbin/ldconfig
1178 %post libXvMC-nouveau -p /sbin/ldconfig
1179 %postun libXvMC-nouveau -p /sbin/ldconfig
1180 %post libXvMC-r300 -p /sbin/ldconfig
1181 %postun libXvMC-r300 -p /sbin/ldconfig
1182 %post libXvMC-r600 -p /sbin/ldconfig
1183 %postun libXvMC-r600 -p /sbin/ldconfig
1184 %post libXvMC-softpipe -p /sbin/ldconfig
1185 %postun libXvMC-softpipe -p /sbin/ldconfig
1187 %post libgbm -p /sbin/ldconfig
1188 %postun libgbm -p /sbin/ldconfig
1190 %post libglapi -p /sbin/ldconfig
1191 %postun libglapi -p /sbin/ldconfig
1193 %post libwayland-egl -p /sbin/ldconfig
1194 %postun libwayland-egl -p /sbin/ldconfig
1196 %post libxatracker -p /sbin/ldconfig
1197 %postun libxatracker -p /sbin/ldconfig
1199 %post dri-core -p /sbin/ldconfig
1200 %postun dri-core -p /sbin/ldconfig
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1206 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1209 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_libdir}/libEGL.so
1215 %dir %{_includedir}/EGL
1216 %{_includedir}/EGL/egl.h
1217 %{_includedir}/EGL/eglext.h
1218 %{_includedir}/EGL/eglmesaext.h
1219 %{_includedir}/EGL/eglplatform.h
1220 %{_pkgconfigdir}/egl.pc
1222 %if %{with static_libs}
1223 %files libEGL-static
1224 %defattr(644,root,root,755)
1230 %defattr(644,root,root,755)
1231 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1232 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1233 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1234 # symlink for binary apps which fail to conform Linux OpenGL ABI
1235 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1236 %attr(755,root,root) %{_libdir}/libGL.so
1239 %defattr(644,root,root,755)
1241 %dir %{_includedir}/GL
1242 %{_includedir}/GL/gl.h
1243 %{_includedir}/GL/glext.h
1244 %{_includedir}/GL/gl_mangle.h
1245 %{_includedir}/GL/glx.h
1246 %{_includedir}/GL/glxext.h
1247 %{_includedir}/GL/glx_mangle.h
1248 %dir %{_includedir}/GL/internal
1249 %{_includedir}/GL/internal/dri_interface.h
1250 %{_pkgconfigdir}/dri.pc
1251 %{_pkgconfigdir}/gl.pc
1253 %if %{with static_libs}
1255 %defattr(644,root,root,755)
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1262 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1263 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1264 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1266 %files libGLES-devel
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1269 %attr(755,root,root) %{_libdir}/libGLESv2.so
1271 %{_includedir}/GLES2
1272 %{_pkgconfigdir}/glesv1_cm.pc
1273 %{_pkgconfigdir}/glesv2.pc
1276 %defattr(644,root,root,755)
1277 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1278 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1280 %files libOSMesa-devel
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/libOSMesa.so
1283 %{_includedir}/GL/osmesa.h
1284 %{_pkgconfigdir}/osmesa.pc
1286 %if %{with static_libs}
1287 %files libOSMesa-static
1288 %defattr(644,root,root,755)
1289 %{_libdir}/libOSMesa.a
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1296 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1297 %dir %{_libdir}/opencl
1299 %files libOpenCL-devel
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_libdir}/libOpenCL.so
1304 %if %{with gallium_intel}
1305 %files opencl-driver-i915
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libdir}/opencl/pipe_i915.so
1310 %if %{with gallium_nouveau}
1311 %files opencl-driver-nouveau
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_libdir}/opencl/pipe_nouveau.so
1316 %files opencl-driver-r300
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/opencl/pipe_r300.so
1320 %files opencl-driver-r600
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/opencl/pipe_r600.so
1324 %files opencl-driver-radeonsi
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/opencl/pipe_radeonsi.so
1328 %files opencl-driver-swrast
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/opencl/pipe_swrast.so
1332 %files opencl-driver-vmwgfx
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/opencl/pipe_vmwgfx.so
1337 %if %{with egl} && %{with gallium}
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1341 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1343 %files libOpenVG-devel
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_libdir}/libOpenVG.so
1347 %{_pkgconfigdir}/vg.pc
1351 %if %{with gallium_nouveau}
1352 %files libXvMC-nouveau
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1355 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1361 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1366 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1368 %files libXvMC-softpipe
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1371 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1378 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1381 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1385 %defattr(644,root,root,755)
1386 %attr(755,root,root) %{_libdir}/libgbm.so
1387 %{_includedir}/gbm.h
1388 %{_pkgconfigdir}/gbm.pc
1392 %if %{with gallium_intel}
1393 %files gbm-driver-i915
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1398 %if %{with gallium_nouveau}
1399 %files gbm-driver-nouveau
1400 %defattr(644,root,root,755)
1401 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1404 %files gbm-driver-r300
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1408 %files gbm-driver-r600
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1412 %files gbm-driver-radeonsi
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1416 %files gbm-driver-swrast
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1420 %files gbm-driver-vmwgfx
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1428 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1429 # libglapi-devel? nothing seems to need it atm.
1430 #%attr(755,root,root) %{_libdir}/libglapi.so
1433 %files libwayland-egl
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1436 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1438 %files libwayland-egl-devel
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1441 %{_pkgconfigdir}/wayland-egl.pc
1446 %defattr(644,root,root,755)
1447 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1448 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1450 %files libxatracker-devel
1451 %defattr(644,root,root,755)
1452 %attr(755,root,root) %{_libdir}/libxatracker.so
1453 %{_includedir}/xa_composite.h
1454 %{_includedir}/xa_context.h
1455 %{_includedir}/xa_tracker.h
1456 %{_pkgconfigdir}/xatracker.pc
1460 %files khrplatform-devel
1461 %defattr(644,root,root,755)
1462 %dir %{_includedir}/KHR
1463 %{_includedir}/KHR/khrplatform.h
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_libdir}/libdricore%{version}.so.*.*
1469 %attr(755,root,root) %ghost %{_libdir}/libdricore%{version}.so.1
1470 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1472 %files dri-driver-ati-radeon-R100
1473 %defattr(644,root,root,755)
1474 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1476 %files dri-driver-ati-radeon-R200
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1481 %files dri-driver-ati-radeon-R300
1482 %defattr(644,root,root,755)
1483 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1485 %files dri-driver-ati-radeon-R600
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1490 %files dri-driver-ati-radeon-SI
1491 %defattr(644,root,root,755)
1492 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1494 %files dri-driver-intel-i915
1495 %defattr(644,root,root,755)
1496 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1498 %files dri-driver-intel-i965
1499 %defattr(644,root,root,755)
1500 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1502 %files dri-driver-nouveau
1503 %defattr(644,root,root,755)
1504 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1505 %if %{with gallium_nouveau}
1506 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1509 %files dri-driver-swrast
1510 %defattr(644,root,root,755)
1511 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1514 %files dri-driver-vmwgfx
1515 %defattr(644,root,root,755)
1516 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1520 # ldconfig is not used in vdpau tree, so package all symlinks
1521 %if %{with gallium_nouveau}
1522 %files -n libvdpau-driver-mesa-nouveau
1523 %defattr(644,root,root,755)
1524 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1525 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1526 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1529 %files -n libvdpau-driver-mesa-r300
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1532 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1533 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1535 %files -n libvdpau-driver-mesa-r600
1536 %defattr(644,root,root,755)
1537 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1538 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1539 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1541 %files -n libvdpau-driver-mesa-radeonsi
1542 %defattr(644,root,root,755)
1543 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1545 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1547 %files -n libvdpau-driver-mesa-softpipe
1548 %defattr(644,root,root,755)
1549 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1550 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1551 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so