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: 60e557ce407be3732711da484ab3db6c
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}
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 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
98 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libXvMCnouveau.so.* libdricore.*.so.* libOSMesa.so.* libdricore.*so.*
101 %define filterout_ld -Wl,--as-needed
104 Mesa is a 3-D graphics library with an API which is very similar to
105 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
106 syntax or state machine, it is being used with authorization from
107 Silicon Graphics, Inc. However, the author does not possess an OpenGL
108 license from SGI, and makes no claim that Mesa is in any way a
109 compatible replacement for OpenGL or associated with SGI.
111 %description -l pl.UTF-8
112 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
113 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
114 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
115 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
116 OpenGL ani powiązana z SGI.
119 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
120 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
123 Requires: %{name}-libglapi = %{version}-%{release}
124 # glx driver in libEGL dlopens libGL.so
125 Requires: OpenGL >= 1.2
126 Requires: libdrm >= %{libdrm_ver}
129 Requires: %{name}-libOpenVG = %{version}-%{release}
130 Requires: udev-libs >= 1:150
133 Requires: %{name}-libgbm = %{version}-%{release}
138 This package contains shared libEGL - Mesa implementation of EGL
139 Native Platform Graphics Interface as specified by Khronos Group:
140 <http://www.khronos.org/egl/>.
142 %description libEGL -l pl.UTF-8
143 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
144 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
145 graficznego platformy natywnej) wg specyfikacji Khronos Group:
146 <http://www.khronos.org/egl/>.
148 %package libEGL-devel
149 Summary: Header files for Mesa implementation of EGL library
150 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
152 Group: Development/Libraries
153 Requires: %{name}-khrplatform-devel = %{version}-%{release}
154 Requires: %{name}-libEGL = %{version}-%{release}
155 Requires: libdrm-devel >= %{libdrm_ver}
156 Requires: xorg-lib-libX11-devel
157 Requires: xorg-lib-libXdamage-devel
158 Requires: xorg-lib-libXext-devel
159 Requires: xorg-lib-libXfixes-devel
160 Requires: xorg-lib-libXxf86vm-devel
161 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
162 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
163 Provides: EGL-devel = 1.4
165 %description libEGL-devel
166 Header files for Mesa implementation of EGL library.
168 %description libEGL-devel -l pl.UTF-8
169 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
171 %package libEGL-static
172 Summary: Static Mesa EGL library
173 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
175 Group: Development/Libraries
176 Requires: %{name}-libEGL-devel = %{version}-%{release}
177 Provides: EGL-static = 1.4
179 %description libEGL-static
180 Static Mesa EGL library.
182 %description libEGL-static -l pl.UTF-8
183 Statyczna biblioteka Mesa EGL.
186 Summary: Free Mesa3D implementation of libGL OpenGL library
187 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
190 Requires: %{name}-libglapi = %{version}-%{release}
191 Requires: libdrm >= %{libdrm_ver}
192 Provides: OpenGL = 3.1
193 Provides: OpenGL-GLX = 1.4
196 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
197 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
200 Mesa is a 3-D graphics library with an API which is very similar to
201 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
202 syntax or state machine, it is being used with authorization from
203 Silicon Graphics, Inc. However, the author does not possess an OpenGL
204 license from SGI, and makes no claim that Mesa is in any way a
205 compatible replacement for OpenGL or associated with SGI.
207 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
208 specifications. It uses DRI for rendering.
210 %description libGL -l pl.UTF-8
211 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
212 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
213 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
214 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
215 OpenGL ani powiązana z SGI.
217 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
218 GLX 1.4. Używa DRI do renderowania.
221 Summary: Header files for Mesa3D libGL library
222 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
224 Group: X11/Development/Libraries
225 # loose dependency on libGL to use with other libGL binaries
226 Requires: OpenGL >= 1.5
227 Requires: libdrm-devel >= %{libdrm_ver}
228 Requires: xorg-lib-libX11-devel
229 Requires: xorg-lib-libXdamage-devel
230 Requires: xorg-lib-libXext-devel
231 Requires: xorg-lib-libXxf86vm-devel
232 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
233 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
234 Suggests: OpenGL-doc-man
235 Provides: OpenGL-GLX-devel = 1.4
236 Provides: OpenGL-devel = 3.1
237 Obsoletes: Mesa-devel
238 Obsoletes: X11-OpenGL-devel < 1:7.0.0
239 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
240 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
241 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
243 %description libGL-devel
244 Header files for Mesa3D libGL library.
246 %description libGL-devel -l pl.UTF-8
247 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
249 %package libGL-static
250 Summary: Static Mesa3D libGL library
251 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
253 Group: X11/Development/Libraries
254 Requires: %{name}-libGL-devel = %{version}-%{release}
255 Provides: OpenGL-static = 3.1
256 Obsoletes: Mesa-static
257 Obsoletes: X11-OpenGL-static < 1:7.0.0
258 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
260 %description libGL-static
261 Static Mesa3D libGL library. It uses software renderer.
263 %description libGL-static -l pl.UTF-8
264 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
268 Summary: Mesa implementation of GLES (OpenGL ES) libraries
269 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
271 Requires: %{name}-libglapi = %{version}-%{release}
273 Provides: OpenGLESv1 = 1.1
274 Provides: OpenGLESv2 = 2.0
277 This package contains shared libraries of Mesa implementation of GLES
278 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
279 on embedded systems. OpenGL ES specification can be found on Khronos
280 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
283 %description libGLES -l pl.UTF-8
284 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
285 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
286 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
287 OpenGL ES można znaleźć na stronie Khronos Group:
288 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
291 %package libGLES-devel
292 Summary: Header files for Mesa GLES libraries
293 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
294 Group: Development/Libraries
295 Requires: %{name}-khrplatform-devel = %{version}-%{release}
296 # <EGL/egl.h> for <GLES/egl.h>
297 Requires: %{name}-libEGL-devel = %{version}-%{release}
298 Requires: %{name}-libGLES = %{version}-%{release}
299 Provides: OpenGLES-devel
300 Provides: OpenGLESv1-devel = 1.1
301 Provides: OpenGLESv2-devel = 2.0
303 %description libGLES-devel
304 Header files for Mesa GLES libraries.
306 %description libGLES-devel -l pl.UTF-8
307 Pliki nagłówkowe bibliotek Mesa GLES.
310 Summary: OSMesa (off-screen renderer) library
311 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
315 %description libOSMesa
316 OSMesa (off-screen renderer) library.
318 %description libOSMesa -l pl.UTF-8
319 Biblioteka OSMesa (renderująca bitmapy w pamięci).
321 %package libOSMesa-devel
322 Summary: Header file for OSMesa (off-screen renderer) library
323 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
325 Group: Development/Libraries
326 Requires: %{name}-libOSMesa = %{version}-%{release}
328 Requires: OpenGL-devel
329 Requires: libselinux-devel
331 %description libOSMesa-devel
332 Header file for OSMesa (off-screen renderer) library.
334 %description libOSMesa-devel -l pl.UTF-8
335 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
337 %package libOSMesa-static
338 Summary: Static OSMesa (off-screen renderer) library
339 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
341 Group: Development/Libraries
342 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
343 # this static build of OSMesa needs static non-dri Mesa implementation
344 Requires: %{name}-libGL-static = %{version}-%{release}
346 %description libOSMesa-static
347 Static OSMesa (off-screen renderer) library.
349 %description libOSMesa-static -l pl.UTF-8
350 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
353 Summary: Mesa implementation of OpenCL (Compuing Language) API
354 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
357 Requires: libdrm >= %{libdrm_ver}
358 Requires: udev-libs >= 1:150
359 Provides: OpenCL = 1.1
361 %description libOpenCL
362 This package contains Mesa implementation of OpenCL - standard for
363 cross-platform, parallel programming of modern processors found in
364 personal computers, servers and handheld/embedded devices. OpenCL
365 specification can be found on Khronos Group site:
366 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
368 %description libOpenCL -l pl.UTF-8
369 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
370 wieloplatformowego, równoległego programowania nowoczesnych
371 procesorów, jakie znajdują się w komputerach osobistych, serwerach
372 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
373 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
374 Mesa zawiera implementację OpenCL w wersji 1.1.
376 %package libOpenCL-devel
377 Summary: Header files for Mesa OpenCL library
378 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
380 Group: Development/Libraries
381 Requires: %{name}-libOpenCL = %{version}-%{release}
382 Provides: OpenCL-devel = 1.1
384 %description libOpenCL-devel
385 Header files for Mesa OpenCL library.
387 %description libOpenCL-devel -l pl.UTF-8
388 Pliki nagłówkowe biblioteki Mesa OpenCL.
390 %package opencl-driver-i915
391 Summary: i915 driver for Mesa OpenCL implementation
392 Summary(pl.UTF-8): Sterownik i915 dla implementacji Mesa OpenCL
394 Requires: %{name}-libOpenCL = %{version}-%{release}
396 %description opencl-driver-i915
397 i915 driver for Mesa OpenCL implementation. It supports Intel
398 915/945/G33/Q33/Q35/Pineview chips.
400 %description opencl-driver-i915 -l pl.UTF-8
401 Sterownik i915 dla implementacji Mesa standardu OpenCL. Obsługuje
402 układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
404 %package opencl-driver-nouveau
405 Summary: nouveau driver for Mesa OpenCL implementation
406 Summary(pl.UTF-8): Sterownik nouveau dla implementacji Mesa OpenCL
408 Requires: %{name}-libOpenCL = %{version}-%{release}
410 %description opencl-driver-nouveau
411 nouveau driver for Mesa OpenCL implementation. It supports NVidia
414 %description opencl-driver-nouveau -l pl.UTF-8
415 Sterownik nouveau dla implementacji Mesa standardu OpenCL. Obsługuje
416 karty graficzne firmy NVidia.
418 %package opencl-driver-r300
419 Summary: r300 driver for Mesa OpenCL implementation
420 Summary(pl.UTF-8): Sterownik r300 dla implementacji Mesa OpenCL
422 Requires: %{name}-libOpenCL = %{version}-%{release}
424 %description opencl-driver-r300
425 r300 driver for Mesa OpenCL implementation. It supports ATI Radeon
426 adapters based on R300/R400/RS690/R500 chips.
428 %description opencl-driver-r300 -l pl.UTF-8
429 Sterownik r300 dla implementacji Mesa standardu OpenCL. Obsługuje
430 karty graficzne ATI Radeon oparte na układach R300/R400/RS690/R500.
432 %package opencl-driver-r600
433 Summary: r600 driver for Mesa OpenCL implementation
434 Summary(pl.UTF-8): Sterownik r600 dla implementacji Mesa OpenCL
436 Requires: %{name}-libOpenCL = %{version}-%{release}
438 %description opencl-driver-r600
439 r600 driver for Mesa OpenCL implementation. It supports ATI Radeon
440 adapters based on R600/R700 chips.
442 %description opencl-driver-r600 -l pl.UTF-8
443 Sterownik r600 dla implementacji Mesa standardu OpenCL. Obsługuje
444 karty graficzne ATI Radeon oparte na układach R600/R700.
446 %package opencl-driver-radeonsi
447 Summary: radeonsi driver for Mesa OpenCL implementation
448 Summary(pl.UTF-8): Sterownik radeonsi dla implementacji Mesa OpenCL
450 Requires: %{name}-libOpenCL = %{version}-%{release}
452 %description opencl-driver-radeonsi
453 radeonsi driver for Mesa OpenCL implementation. It supports ATI
454 Radeon adapters based on Southern Islands chips.
456 %description opencl-driver-radeonsi -l pl.UTF-8
457 Sterownik radeonsi dla implementacji Mesa standardu OpenCL. Obsługuje
458 karty graficzne ATI Radeon oparte na układach Southern Islands.
460 %package opencl-driver-swrast
461 Summary: Software (swrast) driver for Mesa OpenCL implementation
462 Summary(pl.UTF-8): Sterownik programowy (swrast) dla implementacji Mesa OpenCL
464 Requires: %{name}-libOpenCL = %{version}-%{release}
466 %description opencl-driver-swrast
467 Software (swrast) driver for Mesa OpenCL implementation.
469 %description opencl-driver-swrast -l pl.UTF-8
470 Sterownik programowy (swrast) dla implementacji Mesa standardu OpenCL.
472 %package opencl-driver-vmwgfx
473 Summary: vmwgfx driver for Mesa OpenCL implementation
474 Summary(pl.UTF-8): Sterownik vmwgfx dla implementacji Mesa OpenCL
476 Requires: %{name}-libOpenCL = %{version}-%{release}
478 %description opencl-driver-vmwgfx
479 vmwgfx driver for Mesa OpenCL implementation. It supports VMware
480 virtual video adapter.
482 %description opencl-driver-vmwgfx -l pl.UTF-8
483 Sterownik vmwgfx dla implementacji Mesa standardu OpenCL. Obsługuje
484 wirtualną kartę graficzną VMware.
487 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
488 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
491 Provides: OpenVG = 1.1
493 %description libOpenVG
494 This package contains Mesa implementation of OpenVG - cross-platform
495 API that provides a low-level hardware acceleration interface for
496 vector graphics libraries such as Flash and SVG. OpenVG specification
497 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
498 Mesa implements OpenVG 1.1.
500 %description libOpenVG -l pl.UTF-8
501 Ten pakiet zawiera implementację Mesa standardu OpenVG -
502 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
503 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
504 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
505 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
508 %package libOpenVG-devel
509 Summary: Header file for Mesa OpenVG library
510 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
512 Group: Development/Libraries
513 Requires: %{name}-khrplatform-devel = %{version}-%{release}
514 Requires: %{name}-libOpenVG = %{version}-%{release}
515 Provides: OpenVG-devel = 1.1
517 %description libOpenVG-devel
518 Header file for Mesa OpenVG library.
520 %description libOpenVG-devel -l pl.UTF-8
521 Plik nagłówkowy biblioteki Mesa OpenVG.
523 %package libXvMC-nouveau
524 Summary: Mesa implementation of XvMC API for NVidia adapters
525 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
528 Requires: libdrm >= %{libdrm_ver}
529 Requires: xorg-lib-libXvMC >= 1.0.6
530 Conflicts: Mesa-libXvMC
532 %description libXvMC-nouveau
533 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
535 %description libXvMC-nouveau -l pl.UTF-8
536 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
538 %package libXvMC-r300
539 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
540 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
543 Requires: libdrm >= %{libdrm_ver}
544 Requires: xorg-lib-libXvMC >= 1.0.6
545 Conflicts: Mesa-libXvMC
547 %description libXvMC-r300
548 Mesa implementation of XvMC API for ATI Radeon adapters based on
549 R300/R400/RS690/R500 chips.
551 %description libXvMC-r300 -l pl.UTF-8
552 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
553 R300/R400/RS690/R500.
555 %package libXvMC-r600
556 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
557 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
560 Requires: libdrm >= %{libdrm_ver}
561 Requires: xorg-lib-libXvMC >= 1.0.6
562 Conflicts: Mesa-libXvMC
564 %description libXvMC-r600
565 Mesa implementation of XvMC API for ATI Radeon adapters based on
568 %description libXvMC-r600 -l pl.UTF-8
569 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
572 %package libXvMC-softpipe
573 Summary: Mesa softpipe implementation of XvMC API
574 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
577 Requires: libdrm >= %{libdrm_ver}
578 Requires: xorg-lib-libXvMC >= 1.0.6
579 Conflicts: Mesa-libXvMC
581 %description libXvMC-softpipe
582 Mesa softpipe implementation of XvMC API.
584 %description libXvMC-softpipe -l pl.UTF-8
585 Implementacja Mesa softpipe API XvMC.
588 Summary: Mesa Graphics Buffer Manager library
589 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
591 Requires: udev-libs >= 1:150
592 Conflicts: Mesa-libEGL < 8.0.1-2
595 Mesa Graphics Buffer Manager library.
597 %description libgbm -l pl.UTF-8
598 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
600 %package libgbm-devel
601 Summary: Header file for Mesa Graphics Buffer Manager library
602 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
603 Group: Development/Libraries
604 Requires: %{name}-libgbm = %{version}-%{release}
605 Requires: udev-devel >= 1:150
607 %description libgbm-devel
608 Header file for Mesa Graphics Buffer Manager library.
610 %description libgbm-devel -l pl.UTF-8
611 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
614 %package gbm-driver-i915
615 Summary: i915 driver for Mesa GBM framework
616 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
618 Requires: %{name}-libgbm = %{version}-%{release}
620 %description gbm-driver-i915
621 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
622 915/945/G33/Q33/Q35/Pineview chips.
624 %description gbm-driver-i915 -l pl.UTF-8
625 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
626 bufora graficznego). Obsługuje układy Intela z serii
627 915/945/G33/Q33/Q35/Pineview.
629 %package gbm-driver-nouveau
630 Summary: nouveau driver for Mesa GBM framework
631 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
633 Requires: %{name}-libgbm = %{version}-%{release}
635 %description gbm-driver-nouveau
636 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
639 %description gbm-driver-nouveau -l pl.UTF-8
640 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
641 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
643 %package gbm-driver-r300
644 Summary: r300 driver for Mesa GBM framework
645 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
647 Requires: %{name}-libgbm = %{version}-%{release}
649 %description gbm-driver-r300
650 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
651 adapters based on R300/R400/RS690/R500 chips.
653 %description gbm-driver-r300 -l pl.UTF-8
654 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
655 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
656 układach R300/R400/RS690/R500.
658 %package gbm-driver-r600
659 Summary: r600 driver for Mesa GBM framework
660 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
662 Requires: %{name}-libgbm = %{version}-%{release}
664 %description gbm-driver-r600
665 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
666 adapters based on R600/R700 chips.
668 %description gbm-driver-r600 -l pl.UTF-8
669 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
670 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
673 %package gbm-driver-radeonsi
674 Summary: radeonsi driver for Mesa GBM framework
675 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
677 Requires: %{name}-libgbm = %{version}-%{release}
679 %description gbm-driver-radeonsi
680 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
681 Radeon adapters based on Southern Islands chips.
683 %description gbm-driver-radeonsi -l pl.UTF-8
684 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
685 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
686 oparte na układach Southern Islands.
688 %package gbm-driver-swrast
689 Summary: Software (swrast) driver for Mesa GBM framework
690 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
692 Requires: %{name}-libgbm = %{version}-%{release}
694 %description gbm-driver-swrast
695 Software (swrast) driver for Mesa Graphics Buffer Manager.
697 %description gbm-driver-swrast -l pl.UTF-8
698 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
699 Manager (zarządcy bufora graficznego).
701 %package gbm-driver-vmwgfx
702 Summary: vmwgfx driver for Mesa GBM framework
703 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
705 Requires: %{name}-libgbm = %{version}-%{release}
707 %description gbm-driver-vmwgfx
708 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
709 virtual video adapter.
711 %description gbm-driver-vmwgfx -l pl.UTF-8
712 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
713 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
716 Summary: Mesa GL API shared library
717 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
719 Conflicts: Mesa-libEGL < 8.0.1-2
721 %description libglapi
722 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
724 %description libglapi -l pl.UTF-8
725 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
728 %package libwayland-egl
729 Summary: Wayland EGL library
730 Summary(pl.UTF-8): Biblioteka Wayland EGL
732 Requires: libdrm >= %{libdrm_ver}
734 %description libwayland-egl
735 Wayland EGL platform library.
737 %description libwayland-egl -l pl.UTF-8
738 Biblioteka platformy EGL Wayland.
740 %package libwayland-egl-devel
741 Summary: Development files for Wayland EGL library
742 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
743 Group: Development/Libraries
744 Requires: %{name}-libwayland-egl = %{version}-%{release}
745 Requires: libdrm-devel >= %{libdrm_ver}
746 Requires: wayland-devel
748 %description libwayland-egl-devel
749 Development files for Wayland EGL platform library.
751 %description libwayland-egl-devel -l pl.UTF-8
752 Pliki programistyczne biblioteki platformy EGL Wayland.
754 %package libxatracker
755 Summary: Xorg Gallium3D accelleration library
756 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
758 Requires: libdrm >= %{libdrm_ver}
760 %description libxatracker
761 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
763 %description libxatracker -l pl.UTF-8
764 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
767 %package libxatracker-devel
768 Summary: Header files for Xorg Gallium3D accelleration library
769 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
770 Group: X11/Development/Libraries
771 Requires: %{name}-libxatracker = %{version}-%{release}
772 Requires: libdrm-devel >= %{libdrm_ver}
774 %description libxatracker-devel
775 Header files for Xorg Gallium3D accelleration library.
777 %description libxatracker-devel -l pl.UTF-8
778 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
780 %package khrplatform-devel
781 Summary: Khronos platform header file
782 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
783 Group: Development/Libraries
784 Conflicts: Mesa-libEGL-devel < 8.0.1-2
786 %description khrplatform-devel
787 Khronos platform header file.
789 %description khrplatform-devel -l pl.UTF-8
790 Plik nagłówkowy platformy Khronos.
793 Summary: X.org DRI core library
794 Summary(pl.UTF-8): Biblioteka X.org DRI core
797 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
798 Requires: xorg-xserver-server >= %{xserver_ver}
800 %description dri-core
801 X.org DRI core library.
803 %description dri-core -l pl.UTF-8
804 Biblioteka X.org DRI core.
806 %package dri-driver-ati-radeon-R100
807 Summary: X.org DRI driver for ATI R100 card family
808 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
811 Requires: %{name}-dri-core = %{version}-%{release}
812 Requires: xorg-driver-video-ati
813 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
814 Requires: xorg-xserver-server >= %{xserver_ver}
815 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
817 %description dri-driver-ati-radeon-R100
818 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
820 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
821 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
823 %package dri-driver-ati-radeon-R200
824 Summary: X.org DRI driver for ATI R200 card family
825 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
828 Requires: %{name}-dri-core = %{version}-%{release}
829 Requires: xorg-driver-video-ati
830 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
831 Requires: xorg-xserver-server >= %{xserver_ver}
832 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
834 %description dri-driver-ati-radeon-R200
835 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
837 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
838 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
840 %package dri-driver-ati-radeon-R300
841 Summary: X.org DRI driver for ATI R300 card family
842 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
845 Requires: xorg-driver-video-ati
846 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
847 Requires: xorg-xserver-server >= %{xserver_ver}
848 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
850 %description dri-driver-ati-radeon-R300
851 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
853 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
854 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
856 %package dri-driver-ati-radeon-R600
857 Summary: X.org DRI driver for ATI R600 card family
858 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
861 Requires: radeon-ucode
862 Requires: xorg-driver-video-ati
863 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
864 Requires: xorg-xserver-server >= %{xserver_ver}
866 %description dri-driver-ati-radeon-R600
867 X.org DRI driver for ATI R600/R700 card family.
869 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
870 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
872 %package dri-driver-ati-radeon-SI
873 Summary: X.org DRI driver for ATI Southern Islands card family
874 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
877 Requires: radeon-ucode
878 Requires: xorg-driver-video-ati
879 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
880 Requires: xorg-xserver-server >= %{xserver_ver}
882 %description dri-driver-ati-radeon-SI
883 X.org DRI driver for ATI Southern Islands card family.
885 %description dri-driver-ati-radeon-SI -l pl.UTF-8
886 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
888 %package dri-driver-intel-i915
889 Summary: X.org DRI driver for Intel i915 card family
890 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
893 %if %{without gallium_intel}
894 Requires: %{name}-dri-core = %{version}-%{release}
896 Requires: xorg-driver-video-intel
897 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
898 Requires: xorg-xserver-server >= %{xserver_ver}
899 Obsoletes: Mesa-dri-driver-intel-i830
900 Obsoletes: X11-driver-i810-dri < 1:7.0.0
902 %description dri-driver-intel-i915
903 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
906 %description dri-driver-intel-i915 -l pl.UTF-8
907 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
910 %package dri-driver-intel-i965
911 Summary: X.org DRI driver for Intel i965 card family
912 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
915 Requires: %{name}-dri-core = %{version}-%{release}
916 Requires: xorg-driver-video-intel
917 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
918 Requires: xorg-xserver-server >= %{xserver_ver}
919 Obsoletes: Mesa-dri-driver-intel-i830
920 Obsoletes: X11-driver-i810-dri < 1:7.0.0
922 %description dri-driver-intel-i965
923 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
924 965GME, GM45, G41, B43, Q45, G45);
926 %description dri-driver-intel-i965 -l pl.UTF-8
927 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
928 965GM, 965GME, GM45, G41, B43, Q45, G45).
930 %package dri-driver-nouveau
931 Summary: X.org DRI driver for NVIDIA card family
932 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
935 Requires: %{name}-dri-core = %{version}-%{release}
936 Requires: xorg-driver-video-nouveau
937 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
938 Requires: xorg-xserver-server >= %{xserver_ver}
940 %description dri-driver-nouveau
941 X.org DRI drivers for NVIDIA card family.
943 %description dri-driver-nouveau -l pl.UTF-8
944 Sterowniki X.org DRI dla rodziny kart NVIDIA.
946 %package dri-driver-swrast
947 Summary: X.org DRI software rasterizer driver
948 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
951 Requires: %{name}-dri-core = %{version}-%{release}
952 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
953 Requires: xorg-xserver-server >= %{xserver_ver}
955 %description dri-driver-swrast
956 X.org DRI software rasterizer driver.
958 %description dri-driver-swrast -l pl.UTF-8
959 Sterownik X.org DRI obsługujący rysowanie programowe.
961 %package dri-driver-vmwgfx
962 Summary: X.org DRI driver for VMware
963 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
966 Requires: xorg-driver-video-vmware
967 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
968 Requires: xorg-xserver-server >= %{xserver_ver}
970 %description dri-driver-vmwgfx
971 X.org DRI driver for VMWare.
973 %description dri-driver-vmwgfx -l pl.UTF-8
974 Sterownik X.org DRI dla VMware.
976 %package -n libvdpau-driver-mesa-nouveau
977 Summary: Mesa nouveau driver for the vdpau API
978 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
981 Requires: libdrm >= %{libdrm_ver}
982 Requires: libvdpau >= 0.4.1
983 Conflicts: libvdpau-driver-mesa
985 %description -n libvdpau-driver-mesa-nouveau
986 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
989 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
990 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
993 %package -n libvdpau-driver-mesa-r300
994 Summary: Mesa r300 driver for the vdpau API
995 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
998 Requires: libdrm >= %{libdrm_ver}
999 Requires: libvdpau >= 0.4.1
1000 Conflicts: libvdpau-driver-mesa
1002 %description -n libvdpau-driver-mesa-r300
1003 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1004 based on R300/R400/RS690/R500 chips.
1006 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1007 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1008 na układach R300/R400/RS690/R500.
1010 %package -n libvdpau-driver-mesa-r600
1011 Summary: Mesa r600 driver for the vdpau API
1012 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1014 Group: X11/Libraries
1015 Requires: libdrm >= %{libdrm_ver}
1016 Requires: libvdpau >= 0.4.1
1017 Conflicts: libvdpau-driver-mesa
1019 %description -n libvdpau-driver-mesa-r600
1020 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1021 based on R600/R700 chips.
1023 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1024 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1025 na układach R600/R700.
1027 %package -n libvdpau-driver-mesa-radeonsi
1028 Summary: Mesa radeonsi driver for the vdpau API
1029 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1031 Group: X11/Libraries
1032 Requires: libdrm >= %{libdrm_ver}
1033 Requires: libvdpau >= 0.4.1
1034 Conflicts: libvdpau-driver-mesa
1036 %description -n libvdpau-driver-mesa-radeonsi
1037 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1038 adapters based on Southern Islands chips.
1040 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1041 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1042 oparte na układach Southern Islands.
1044 %package -n libvdpau-driver-mesa-softpipe
1045 Summary: Mesa softpipe driver for the vdpau API
1046 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
1048 Group: X11/Libraries
1049 Requires: libdrm >= %{libdrm_ver}
1050 Requires: libvdpau >= 0.4.1
1051 Conflicts: libvdpau-driver-mesa
1053 %description -n libvdpau-driver-mesa-softpipe
1054 Mesa softpipe driver for the vdpau API.
1056 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
1057 Sterownik Mesa softpipe dla API vdpau.
1069 dri_drivers="r200 radeon \
1070 %if %{without gallium_intel}
1075 %ifarch sparc sparcv9 sparc64
1080 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1082 gallium_drivers="svga swrast \
1083 %if %{with gallium_intel}
1089 %if %{with gallium_nouveau}
1094 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1097 --disable-silent-rules \
1102 %{?with_static_libs:--enable-static} \
1105 --enable-shared-glapi \
1110 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1113 --enable-gallium-llvm \
1114 --with-llvm-shared-libs \ \
1115 %{__enable egl gallium-egl} \
1116 %{__enable gbm gallium-gbm} \
1117 %{?with_opencl:--enable-opencl} \
1118 %{?with_egl:--enable-openvg} \
1120 %{?with_xa:--enable-xa} \
1122 --with-gallium-drivers=${gallium_drivers} \
1124 --without-gallium-drivers \
1126 --with-dri-drivers=${dri_drivers} \
1127 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1132 rm -rf $RPM_BUILD_ROOT
1135 DESTDIR=$RPM_BUILD_ROOT
1137 # omitted by make install (as of 9.0)
1138 cp -pr include/CL $RPM_BUILD_ROOT%{_includedir}
1139 # strip out undesirable headers
1140 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1141 # dlopened by soname
1142 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1143 # not used externally
1144 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore9.0.0,glapi}.so
1146 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1147 # not defined by standards; and not needed, there is pkg-config support
1148 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1150 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1151 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1152 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1155 rm -rf $RPM_BUILD_ROOT
1157 %post libEGL -p /sbin/ldconfig
1158 %postun libEGL -p /sbin/ldconfig
1160 %post libGL -p /sbin/ldconfig
1161 %postun libGL -p /sbin/ldconfig
1163 %post libGLES -p /sbin/ldconfig
1164 %postun libGLES -p /sbin/ldconfig
1166 %post libOSMesa -p /sbin/ldconfig
1167 %postun libOSMesa -p /sbin/ldconfig
1169 %post libOpenCL -p /sbin/ldconfig
1170 %postun libOpenCL -p /sbin/ldconfig
1172 %post libOpenVG -p /sbin/ldconfig
1173 %postun libOpenVG -p /sbin/ldconfig
1175 %post libXvMC-nouveau -p /sbin/ldconfig
1176 %postun libXvMC-nouveau -p /sbin/ldconfig
1177 %post libXvMC-r300 -p /sbin/ldconfig
1178 %postun libXvMC-r300 -p /sbin/ldconfig
1179 %post libXvMC-r600 -p /sbin/ldconfig
1180 %postun libXvMC-r600 -p /sbin/ldconfig
1181 %post libXvMC-softpipe -p /sbin/ldconfig
1182 %postun libXvMC-softpipe -p /sbin/ldconfig
1184 %post libgbm -p /sbin/ldconfig
1185 %postun libgbm -p /sbin/ldconfig
1187 %post libglapi -p /sbin/ldconfig
1188 %postun libglapi -p /sbin/ldconfig
1190 %post libwayland-egl -p /sbin/ldconfig
1191 %postun libwayland-egl -p /sbin/ldconfig
1193 %post libxatracker -p /sbin/ldconfig
1194 %postun libxatracker -p /sbin/ldconfig
1196 %post dri-core -p /sbin/ldconfig
1197 %postun dri-core -p /sbin/ldconfig
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1203 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1206 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_libdir}/libEGL.so
1212 %dir %{_includedir}/EGL
1213 %{_includedir}/EGL/egl.h
1214 %{_includedir}/EGL/eglext.h
1215 %{_includedir}/EGL/eglmesaext.h
1216 %{_includedir}/EGL/eglplatform.h
1217 %{_pkgconfigdir}/egl.pc
1219 %if %{with static_libs}
1220 %files libEGL-static
1221 %defattr(644,root,root,755)
1227 %defattr(644,root,root,755)
1228 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1229 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1230 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1231 # symlink for binary apps which fail to conform Linux OpenGL ABI
1232 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1233 %attr(755,root,root) %{_libdir}/libGL.so
1236 %defattr(644,root,root,755)
1238 %dir %{_includedir}/GL
1239 %{_includedir}/GL/gl.h
1240 %{_includedir}/GL/glext.h
1241 %{_includedir}/GL/gl_mangle.h
1242 %{_includedir}/GL/glx.h
1243 %{_includedir}/GL/glxext.h
1244 %{_includedir}/GL/glx_mangle.h
1245 %dir %{_includedir}/GL/internal
1246 %{_includedir}/GL/internal/dri_interface.h
1247 %{_pkgconfigdir}/dri.pc
1248 %{_pkgconfigdir}/gl.pc
1250 %if %{with static_libs}
1252 %defattr(644,root,root,755)
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1259 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1260 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1261 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1263 %files libGLES-devel
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1266 %attr(755,root,root) %{_libdir}/libGLESv2.so
1268 %{_includedir}/GLES2
1269 %{_pkgconfigdir}/glesv1_cm.pc
1270 %{_pkgconfigdir}/glesv2.pc
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1275 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1277 %files libOSMesa-devel
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_libdir}/libOSMesa.so
1280 %{_includedir}/GL/osmesa.h
1281 %{_pkgconfigdir}/osmesa.pc
1283 %if %{with static_libs}
1284 %files libOSMesa-static
1285 %defattr(644,root,root,755)
1286 %{_libdir}/libOSMesa.a
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1293 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1294 %dir %{_libdir}/opencl
1296 %files libOpenCL-devel
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/libOpenCL.so
1301 %if %{with gallium_intel}
1302 %files opencl-driver-i915
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) %{_libdir}/opencl/pipe_i915.so
1307 %if %{with gallium_nouveau}
1308 %files opencl-driver-nouveau
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/opencl/pipe_nouveau.so
1313 %files opencl-driver-r300
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_libdir}/opencl/pipe_r300.so
1317 %files opencl-driver-r600
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_libdir}/opencl/pipe_r600.so
1321 %files opencl-driver-radeonsi
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_libdir}/opencl/pipe_radeonsi.so
1325 %files opencl-driver-swrast
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/opencl/pipe_swrast.so
1329 %files opencl-driver-vmwgfx
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/opencl/pipe_vmwgfx.so
1334 %if %{with egl} && %{with gallium}
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1338 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1340 %files libOpenVG-devel
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_libdir}/libOpenVG.so
1344 %{_pkgconfigdir}/vg.pc
1348 %if %{with gallium_nouveau}
1349 %files libXvMC-nouveau
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1352 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1358 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1363 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1365 %files libXvMC-softpipe
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1368 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1375 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1378 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_libdir}/libgbm.so
1384 %{_includedir}/gbm.h
1385 %{_pkgconfigdir}/gbm.pc
1389 %if %{with gallium_intel}
1390 %files gbm-driver-i915
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1395 %if %{with gallium_nouveau}
1396 %files gbm-driver-nouveau
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1401 %files gbm-driver-r300
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1405 %files gbm-driver-r600
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1409 %files gbm-driver-radeonsi
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1413 %files gbm-driver-swrast
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1417 %files gbm-driver-vmwgfx
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1425 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1426 # libglapi-devel? nothing seems to need it atm.
1427 #%attr(755,root,root) %{_libdir}/libglapi.so
1430 %files libwayland-egl
1431 %defattr(644,root,root,755)
1432 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1433 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1435 %files libwayland-egl-devel
1436 %defattr(644,root,root,755)
1437 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1438 %{_pkgconfigdir}/wayland-egl.pc
1443 %defattr(644,root,root,755)
1444 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1445 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1447 %files libxatracker-devel
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_libdir}/libxatracker.so
1450 %{_includedir}/xa_composite.h
1451 %{_includedir}/xa_context.h
1452 %{_includedir}/xa_tracker.h
1453 %{_pkgconfigdir}/xatracker.pc
1457 %files khrplatform-devel
1458 %defattr(644,root,root,755)
1459 %dir %{_includedir}/KHR
1460 %{_includedir}/KHR/khrplatform.h
1464 %defattr(644,root,root,755)
1465 %attr(755,root,root) %{_libdir}/libdricore9.0.0.so.*.*
1466 %attr(755,root,root) %ghost %{_libdir}/libdricore9.0.0.so.1
1467 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1469 %files dri-driver-ati-radeon-R100
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1473 %files dri-driver-ati-radeon-R200
1474 %defattr(644,root,root,755)
1475 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1478 %files dri-driver-ati-radeon-R300
1479 %defattr(644,root,root,755)
1480 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1482 %files dri-driver-ati-radeon-R600
1483 %defattr(644,root,root,755)
1484 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1487 %files dri-driver-ati-radeon-SI
1488 %defattr(644,root,root,755)
1489 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1491 %files dri-driver-intel-i915
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1495 %files dri-driver-intel-i965
1496 %defattr(644,root,root,755)
1497 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1499 %files dri-driver-nouveau
1500 %defattr(644,root,root,755)
1501 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1502 %if %{with gallium_nouveau}
1503 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1506 %files dri-driver-swrast
1507 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1511 %files dri-driver-vmwgfx
1512 %defattr(644,root,root,755)
1513 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1517 # ldconfig is not used in vdpau tree, so package all symlinks
1518 %if %{with gallium_nouveau}
1519 %files -n libvdpau-driver-mesa-nouveau
1520 %defattr(644,root,root,755)
1521 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1522 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1523 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1526 %files -n libvdpau-driver-mesa-r300
1527 %defattr(644,root,root,755)
1528 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1529 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1530 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1532 %files -n libvdpau-driver-mesa-r600
1533 %defattr(644,root,root,755)
1534 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1535 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1538 %files -n libvdpau-driver-mesa-radeonsi
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1541 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1542 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1544 %files -n libvdpau-driver-mesa-softpipe
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1547 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1548 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so