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 Patch1: %{name}-wayland.patch
43 URL: http://www.mesa3d.org/
44 BuildRequires: autoconf >= 2.60
45 BuildRequires: automake
46 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
47 BuildRequires: expat-devel
48 BuildRequires: gcc >= 5:3.3
49 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
50 BuildRequires: libdrm-devel >= %{libdrm_ver}
51 BuildRequires: libselinux-devel
52 BuildRequires: libstdc++-devel >= 5:3.3.0
53 BuildRequires: libtalloc-devel >= 2:2.0.1
54 BuildRequires: libtool >= 2:2.2
55 BuildRequires: libvdpau-devel >= 0.4.1
56 BuildRequires: libxcb-devel >= 1.8.1
57 BuildRequires: llvm-devel >= 3.1
58 BuildRequires: perl-base
59 BuildRequires: pixman-devel
60 BuildRequires: pkgconfig
61 BuildRequires: pkgconfig(talloc) >= 2.0.1
62 BuildRequires: python >= 2
63 BuildRequires: python-libxml2
64 BuildRequires: python-modules >= 2
65 BuildRequires: rpmbuild(macros) >= 1.470
66 BuildRequires: sed >= 4.0
67 %{?with_egl:BuildRequires: udev-devel >= 1:150}
68 # wayland-{client,server}
69 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.0}
70 BuildRequires: xorg-lib-libXdamage-devel
71 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
72 BuildRequires: xorg-lib-libXfixes-devel
73 BuildRequires: xorg-lib-libXt-devel
74 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
75 BuildRequires: xorg-lib-libXxf86vm-devel
76 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
77 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
78 BuildRequires: xorg-util-makedepend
79 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
81 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
82 BuildRequires: xorg-xserver-server-devel >= 1.6.0
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 %if %{without gallium}
87 %undefine with_gallium_intel
88 %undefine with_gallium_nouveau
95 %undefine with_wayland
98 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
99 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libXvMCnouveau.so.* libdricore.*.so.* libOSMesa.so.* libdricore.*so.*
102 %define filterout_ld -Wl,--as-needed
105 Mesa is a 3-D graphics library with an API which is very similar to
106 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
107 syntax or state machine, it is being used with authorization from
108 Silicon Graphics, Inc. However, the author does not possess an OpenGL
109 license from SGI, and makes no claim that Mesa is in any way a
110 compatible replacement for OpenGL or associated with SGI.
112 %description -l pl.UTF-8
113 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
114 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
115 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
116 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
117 OpenGL ani powiązana z SGI.
120 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
121 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
124 Requires: %{name}-libglapi = %{version}-%{release}
125 # glx driver in libEGL dlopens libGL.so
126 Requires: OpenGL >= 1.2
127 Requires: libdrm >= %{libdrm_ver}
130 Requires: %{name}-libOpenVG = %{version}-%{release}
131 Requires: udev-libs >= 1:150
134 Requires: %{name}-libgbm = %{version}-%{release}
139 This package contains shared libEGL - Mesa implementation of EGL
140 Native Platform Graphics Interface as specified by Khronos Group:
141 <http://www.khronos.org/egl/>.
143 %description libEGL -l pl.UTF-8
144 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
145 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
146 graficznego platformy natywnej) wg specyfikacji Khronos Group:
147 <http://www.khronos.org/egl/>.
149 %package libEGL-devel
150 Summary: Header files for Mesa implementation of EGL library
151 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
153 Group: Development/Libraries
154 Requires: %{name}-khrplatform-devel = %{version}-%{release}
155 Requires: %{name}-libEGL = %{version}-%{release}
156 Requires: libdrm-devel >= %{libdrm_ver}
157 Requires: xorg-lib-libX11-devel
158 Requires: xorg-lib-libXdamage-devel
159 Requires: xorg-lib-libXext-devel
160 Requires: xorg-lib-libXfixes-devel
161 Requires: xorg-lib-libXxf86vm-devel
162 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
163 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
164 Provides: EGL-devel = 1.4
166 %description libEGL-devel
167 Header files for Mesa implementation of EGL library.
169 %description libEGL-devel -l pl.UTF-8
170 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
172 %package libEGL-static
173 Summary: Static Mesa EGL library
174 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
176 Group: Development/Libraries
177 Requires: %{name}-libEGL-devel = %{version}-%{release}
178 Provides: EGL-static = 1.4
180 %description libEGL-static
181 Static Mesa EGL library.
183 %description libEGL-static -l pl.UTF-8
184 Statyczna biblioteka Mesa EGL.
187 Summary: Free Mesa3D implementation of libGL OpenGL library
188 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
191 Requires: %{name}-libglapi = %{version}-%{release}
192 Requires: libdrm >= %{libdrm_ver}
193 Provides: OpenGL = 3.1
194 Provides: OpenGL-GLX = 1.4
197 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
198 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
201 Mesa is a 3-D graphics library with an API which is very similar to
202 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
203 syntax or state machine, it is being used with authorization from
204 Silicon Graphics, Inc. However, the author does not possess an OpenGL
205 license from SGI, and makes no claim that Mesa is in any way a
206 compatible replacement for OpenGL or associated with SGI.
208 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
209 specifications. It uses DRI for rendering.
211 %description libGL -l pl.UTF-8
212 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
213 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
214 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
215 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
216 OpenGL ani powiązana z SGI.
218 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
219 GLX 1.4. Używa DRI do renderowania.
222 Summary: Header files for Mesa3D libGL library
223 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
225 Group: X11/Development/Libraries
226 # loose dependency on libGL to use with other libGL binaries
227 Requires: OpenGL >= 1.5
228 Requires: libdrm-devel >= %{libdrm_ver}
229 Requires: xorg-lib-libX11-devel
230 Requires: xorg-lib-libXdamage-devel
231 Requires: xorg-lib-libXext-devel
232 Requires: xorg-lib-libXxf86vm-devel
233 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
234 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
235 Suggests: OpenGL-doc-man
236 Provides: OpenGL-GLX-devel = 1.4
237 Provides: OpenGL-devel = 3.1
238 Obsoletes: Mesa-devel
239 Obsoletes: X11-OpenGL-devel < 1:7.0.0
240 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
241 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
242 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
244 %description libGL-devel
245 Header files for Mesa3D libGL library.
247 %description libGL-devel -l pl.UTF-8
248 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
250 %package libGL-static
251 Summary: Static Mesa3D libGL library
252 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
254 Group: X11/Development/Libraries
255 Requires: %{name}-libGL-devel = %{version}-%{release}
256 Provides: OpenGL-static = 3.1
257 Obsoletes: Mesa-static
258 Obsoletes: X11-OpenGL-static < 1:7.0.0
259 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
261 %description libGL-static
262 Static Mesa3D libGL library. It uses software renderer.
264 %description libGL-static -l pl.UTF-8
265 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
269 Summary: Mesa implementation of GLES (OpenGL ES) libraries
270 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
272 Requires: %{name}-libglapi = %{version}-%{release}
274 Provides: OpenGLESv1 = 1.1
275 Provides: OpenGLESv2 = 2.0
278 This package contains shared libraries of Mesa implementation of GLES
279 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
280 on embedded systems. OpenGL ES specification can be found on Khronos
281 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
284 %description libGLES -l pl.UTF-8
285 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
286 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
287 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
288 OpenGL ES można znaleźć na stronie Khronos Group:
289 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
292 %package libGLES-devel
293 Summary: Header files for Mesa GLES libraries
294 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
295 Group: Development/Libraries
296 Requires: %{name}-khrplatform-devel = %{version}-%{release}
297 # <EGL/egl.h> for <GLES/egl.h>
298 Requires: %{name}-libEGL-devel = %{version}-%{release}
299 Requires: %{name}-libGLES = %{version}-%{release}
300 Provides: OpenGLES-devel
301 Provides: OpenGLESv1-devel = 1.1
302 Provides: OpenGLESv2-devel = 2.0
304 %description libGLES-devel
305 Header files for Mesa GLES libraries.
307 %description libGLES-devel -l pl.UTF-8
308 Pliki nagłówkowe bibliotek Mesa GLES.
311 Summary: OSMesa (off-screen renderer) library
312 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
316 %description libOSMesa
317 OSMesa (off-screen renderer) library.
319 %description libOSMesa -l pl.UTF-8
320 Biblioteka OSMesa (renderująca bitmapy w pamięci).
322 %package libOSMesa-devel
323 Summary: Header file for OSMesa (off-screen renderer) library
324 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
326 Group: Development/Libraries
327 Requires: %{name}-libOSMesa = %{version}-%{release}
329 Requires: OpenGL-devel
330 Requires: libselinux-devel
332 %description libOSMesa-devel
333 Header file for OSMesa (off-screen renderer) library.
335 %description libOSMesa-devel -l pl.UTF-8
336 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
338 %package libOSMesa-static
339 Summary: Static OSMesa (off-screen renderer) library
340 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
342 Group: Development/Libraries
343 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
344 # this static build of OSMesa needs static non-dri Mesa implementation
345 Requires: %{name}-libGL-static = %{version}-%{release}
347 %description libOSMesa-static
348 Static OSMesa (off-screen renderer) library.
350 %description libOSMesa-static -l pl.UTF-8
351 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
354 Summary: Mesa implementation of OpenCL (Compuing Language) API
355 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
358 Requires: libdrm >= %{libdrm_ver}
359 Requires: udev-libs >= 1:150
360 Provides: OpenCL = 1.1
362 %description libOpenCL
363 This package contains Mesa implementation of OpenCL - standard for
364 cross-platform, parallel programming of modern processors found in
365 personal computers, servers and handheld/embedded devices. OpenCL
366 specification can be found on Khronos Group site:
367 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
369 %description libOpenCL -l pl.UTF-8
370 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
371 wieloplatformowego, równoległego programowania nowoczesnych
372 procesorów, jakie znajdują się w komputerach osobistych, serwerach
373 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
374 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
375 Mesa zawiera implementację OpenCL w wersji 1.1.
377 %package libOpenCL-devel
378 Summary: Header files for Mesa OpenCL library
379 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
381 Group: Development/Libraries
382 Requires: %{name}-libOpenCL = %{version}-%{release}
383 Provides: OpenCL-devel = 1.1
385 %description libOpenCL-devel
386 Header files for Mesa OpenCL library.
388 %description libOpenCL-devel -l pl.UTF-8
389 Pliki nagłówkowe biblioteki Mesa OpenCL.
391 %package opencl-driver-i915
392 Summary: i915 driver for Mesa OpenCL implementation
393 Summary(pl.UTF-8): Sterownik i915 dla implementacji Mesa OpenCL
395 Requires: %{name}-libOpenCL = %{version}-%{release}
397 %description opencl-driver-i915
398 i915 driver for Mesa OpenCL implementation. It supports Intel
399 915/945/G33/Q33/Q35/Pineview chips.
401 %description opencl-driver-i915 -l pl.UTF-8
402 Sterownik i915 dla implementacji Mesa standardu OpenCL. Obsługuje
403 układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
405 %package opencl-driver-nouveau
406 Summary: nouveau driver for Mesa OpenCL implementation
407 Summary(pl.UTF-8): Sterownik nouveau dla implementacji Mesa OpenCL
409 Requires: %{name}-libOpenCL = %{version}-%{release}
411 %description opencl-driver-nouveau
412 nouveau driver for Mesa OpenCL implementation. It supports NVidia
415 %description opencl-driver-nouveau -l pl.UTF-8
416 Sterownik nouveau dla implementacji Mesa standardu OpenCL. Obsługuje
417 karty graficzne firmy NVidia.
419 %package opencl-driver-r300
420 Summary: r300 driver for Mesa OpenCL implementation
421 Summary(pl.UTF-8): Sterownik r300 dla implementacji Mesa OpenCL
423 Requires: %{name}-libOpenCL = %{version}-%{release}
425 %description opencl-driver-r300
426 r300 driver for Mesa OpenCL implementation. It supports ATI Radeon
427 adapters based on R300/R400/RS690/R500 chips.
429 %description opencl-driver-r300 -l pl.UTF-8
430 Sterownik r300 dla implementacji Mesa standardu OpenCL. Obsługuje
431 karty graficzne ATI Radeon oparte na układach R300/R400/RS690/R500.
433 %package opencl-driver-r600
434 Summary: r600 driver for Mesa OpenCL implementation
435 Summary(pl.UTF-8): Sterownik r600 dla implementacji Mesa OpenCL
437 Requires: %{name}-libOpenCL = %{version}-%{release}
439 %description opencl-driver-r600
440 r600 driver for Mesa OpenCL implementation. It supports ATI Radeon
441 adapters based on R600/R700 chips.
443 %description opencl-driver-r600 -l pl.UTF-8
444 Sterownik r600 dla implementacji Mesa standardu OpenCL. Obsługuje
445 karty graficzne ATI Radeon oparte na układach R600/R700.
447 %package opencl-driver-radeonsi
448 Summary: radeonsi driver for Mesa OpenCL implementation
449 Summary(pl.UTF-8): Sterownik radeonsi dla implementacji Mesa OpenCL
451 Requires: %{name}-libOpenCL = %{version}-%{release}
453 %description opencl-driver-radeonsi
454 radeonsi driver for Mesa OpenCL implementation. It supports ATI
455 Radeon adapters based on Southern Islands chips.
457 %description opencl-driver-radeonsi -l pl.UTF-8
458 Sterownik radeonsi dla implementacji Mesa standardu OpenCL. Obsługuje
459 karty graficzne ATI Radeon oparte na układach Southern Islands.
461 %package opencl-driver-swrast
462 Summary: Software (swrast) driver for Mesa OpenCL implementation
463 Summary(pl.UTF-8): Sterownik programowy (swrast) dla implementacji Mesa OpenCL
465 Requires: %{name}-libOpenCL = %{version}-%{release}
467 %description opencl-driver-swrast
468 Software (swrast) driver for Mesa OpenCL implementation.
470 %description opencl-driver-swrast -l pl.UTF-8
471 Sterownik programowy (swrast) dla implementacji Mesa standardu OpenCL.
473 %package opencl-driver-vmwgfx
474 Summary: vmwgfx driver for Mesa OpenCL implementation
475 Summary(pl.UTF-8): Sterownik vmwgfx dla implementacji Mesa OpenCL
477 Requires: %{name}-libOpenCL = %{version}-%{release}
479 %description opencl-driver-vmwgfx
480 vmwgfx driver for Mesa OpenCL implementation. It supports VMware
481 virtual video adapter.
483 %description opencl-driver-vmwgfx -l pl.UTF-8
484 Sterownik vmwgfx dla implementacji Mesa standardu OpenCL. Obsługuje
485 wirtualną kartę graficzną VMware.
488 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
489 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
492 Provides: OpenVG = 1.1
494 %description libOpenVG
495 This package contains Mesa implementation of OpenVG - cross-platform
496 API that provides a low-level hardware acceleration interface for
497 vector graphics libraries such as Flash and SVG. OpenVG specification
498 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
499 Mesa implements OpenVG 1.1.
501 %description libOpenVG -l pl.UTF-8
502 Ten pakiet zawiera implementację Mesa standardu OpenVG -
503 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
504 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
505 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
506 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
509 %package libOpenVG-devel
510 Summary: Header file for Mesa OpenVG library
511 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
513 Group: Development/Libraries
514 Requires: %{name}-khrplatform-devel = %{version}-%{release}
515 Requires: %{name}-libOpenVG = %{version}-%{release}
516 Provides: OpenVG-devel = 1.1
518 %description libOpenVG-devel
519 Header file for Mesa OpenVG library.
521 %description libOpenVG-devel -l pl.UTF-8
522 Plik nagłówkowy biblioteki Mesa OpenVG.
524 %package libXvMC-nouveau
525 Summary: Mesa implementation of XvMC API for NVidia adapters
526 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
529 Requires: libdrm >= %{libdrm_ver}
530 Requires: xorg-lib-libXvMC >= 1.0.6
531 Conflicts: Mesa-libXvMC
533 %description libXvMC-nouveau
534 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
536 %description libXvMC-nouveau -l pl.UTF-8
537 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
539 %package libXvMC-r300
540 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
541 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
544 Requires: libdrm >= %{libdrm_ver}
545 Requires: xorg-lib-libXvMC >= 1.0.6
546 Conflicts: Mesa-libXvMC
548 %description libXvMC-r300
549 Mesa implementation of XvMC API for ATI Radeon adapters based on
550 R300/R400/RS690/R500 chips.
552 %description libXvMC-r300 -l pl.UTF-8
553 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
554 R300/R400/RS690/R500.
556 %package libXvMC-r600
557 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
558 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
561 Requires: libdrm >= %{libdrm_ver}
562 Requires: xorg-lib-libXvMC >= 1.0.6
563 Conflicts: Mesa-libXvMC
565 %description libXvMC-r600
566 Mesa implementation of XvMC API for ATI Radeon adapters based on
569 %description libXvMC-r600 -l pl.UTF-8
570 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
573 %package libXvMC-softpipe
574 Summary: Mesa softpipe implementation of XvMC API
575 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
578 Requires: libdrm >= %{libdrm_ver}
579 Requires: xorg-lib-libXvMC >= 1.0.6
580 Conflicts: Mesa-libXvMC
582 %description libXvMC-softpipe
583 Mesa softpipe implementation of XvMC API.
585 %description libXvMC-softpipe -l pl.UTF-8
586 Implementacja Mesa softpipe API XvMC.
589 Summary: Mesa Graphics Buffer Manager library
590 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
592 Requires: udev-libs >= 1:150
593 Conflicts: Mesa-libEGL < 8.0.1-2
596 Mesa Graphics Buffer Manager library.
598 %description libgbm -l pl.UTF-8
599 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
601 %package libgbm-devel
602 Summary: Header file for Mesa Graphics Buffer Manager library
603 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
604 Group: Development/Libraries
605 Requires: %{name}-libgbm = %{version}-%{release}
606 Requires: udev-devel >= 1:150
608 %description libgbm-devel
609 Header file for Mesa Graphics Buffer Manager library.
611 %description libgbm-devel -l pl.UTF-8
612 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
615 %package gbm-driver-i915
616 Summary: i915 driver for Mesa GBM framework
617 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
619 Requires: %{name}-libgbm = %{version}-%{release}
621 %description gbm-driver-i915
622 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
623 915/945/G33/Q33/Q35/Pineview chips.
625 %description gbm-driver-i915 -l pl.UTF-8
626 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
627 bufora graficznego). Obsługuje układy Intela z serii
628 915/945/G33/Q33/Q35/Pineview.
630 %package gbm-driver-nouveau
631 Summary: nouveau driver for Mesa GBM framework
632 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
634 Requires: %{name}-libgbm = %{version}-%{release}
636 %description gbm-driver-nouveau
637 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
640 %description gbm-driver-nouveau -l pl.UTF-8
641 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
642 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
644 %package gbm-driver-r300
645 Summary: r300 driver for Mesa GBM framework
646 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
648 Requires: %{name}-libgbm = %{version}-%{release}
650 %description gbm-driver-r300
651 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
652 adapters based on R300/R400/RS690/R500 chips.
654 %description gbm-driver-r300 -l pl.UTF-8
655 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
656 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
657 układach R300/R400/RS690/R500.
659 %package gbm-driver-r600
660 Summary: r600 driver for Mesa GBM framework
661 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
663 Requires: %{name}-libgbm = %{version}-%{release}
665 %description gbm-driver-r600
666 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
667 adapters based on R600/R700 chips.
669 %description gbm-driver-r600 -l pl.UTF-8
670 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
671 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
674 %package gbm-driver-radeonsi
675 Summary: radeonsi driver for Mesa GBM framework
676 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
678 Requires: %{name}-libgbm = %{version}-%{release}
680 %description gbm-driver-radeonsi
681 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
682 Radeon adapters based on Southern Islands chips.
684 %description gbm-driver-radeonsi -l pl.UTF-8
685 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
686 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
687 oparte na układach Southern Islands.
689 %package gbm-driver-swrast
690 Summary: Software (swrast) driver for Mesa GBM framework
691 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
693 Requires: %{name}-libgbm = %{version}-%{release}
695 %description gbm-driver-swrast
696 Software (swrast) driver for Mesa Graphics Buffer Manager.
698 %description gbm-driver-swrast -l pl.UTF-8
699 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
700 Manager (zarządcy bufora graficznego).
702 %package gbm-driver-vmwgfx
703 Summary: vmwgfx driver for Mesa GBM framework
704 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
706 Requires: %{name}-libgbm = %{version}-%{release}
708 %description gbm-driver-vmwgfx
709 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
710 virtual video adapter.
712 %description gbm-driver-vmwgfx -l pl.UTF-8
713 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
714 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
717 Summary: Mesa GL API shared library
718 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
720 Conflicts: Mesa-libEGL < 8.0.1-2
722 %description libglapi
723 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
725 %description libglapi -l pl.UTF-8
726 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
729 %package libwayland-egl
730 Summary: Wayland EGL library
731 Summary(pl.UTF-8): Biblioteka Wayland EGL
733 Requires: libdrm >= %{libdrm_ver}
734 Requires: wayland >= 1.0.0
736 %description libwayland-egl
737 Wayland EGL platform library.
739 %description libwayland-egl -l pl.UTF-8
740 Biblioteka platformy EGL Wayland.
742 %package libwayland-egl-devel
743 Summary: Development files for Wayland EGL library
744 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
745 Group: Development/Libraries
746 Requires: %{name}-libwayland-egl = %{version}-%{release}
747 Requires: libdrm-devel >= %{libdrm_ver}
748 Requires: wayland-devel >= 1.0.0
750 %description libwayland-egl-devel
751 Development files for Wayland EGL platform library.
753 %description libwayland-egl-devel -l pl.UTF-8
754 Pliki programistyczne biblioteki platformy EGL Wayland.
756 %package libxatracker
757 Summary: Xorg Gallium3D accelleration library
758 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
760 Requires: libdrm >= %{libdrm_ver}
762 %description libxatracker
763 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
765 %description libxatracker -l pl.UTF-8
766 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
769 %package libxatracker-devel
770 Summary: Header files for Xorg Gallium3D accelleration library
771 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
772 Group: X11/Development/Libraries
773 Requires: %{name}-libxatracker = %{version}-%{release}
774 Requires: libdrm-devel >= %{libdrm_ver}
776 %description libxatracker-devel
777 Header files for Xorg Gallium3D accelleration library.
779 %description libxatracker-devel -l pl.UTF-8
780 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
782 %package khrplatform-devel
783 Summary: Khronos platform header file
784 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
785 Group: Development/Libraries
786 Conflicts: Mesa-libEGL-devel < 8.0.1-2
788 %description khrplatform-devel
789 Khronos platform header file.
791 %description khrplatform-devel -l pl.UTF-8
792 Plik nagłówkowy platformy Khronos.
795 Summary: X.org DRI core library
796 Summary(pl.UTF-8): Biblioteka X.org DRI core
799 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
800 Requires: xorg-xserver-server >= %{xserver_ver}
802 %description dri-core
803 X.org DRI core library.
805 %description dri-core -l pl.UTF-8
806 Biblioteka X.org DRI core.
808 %package dri-driver-ati-radeon-R100
809 Summary: X.org DRI driver for ATI R100 card family
810 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
813 Requires: %{name}-dri-core = %{version}-%{release}
814 Requires: xorg-driver-video-ati
815 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
816 Requires: xorg-xserver-server >= %{xserver_ver}
817 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
819 %description dri-driver-ati-radeon-R100
820 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
822 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
823 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
825 %package dri-driver-ati-radeon-R200
826 Summary: X.org DRI driver for ATI R200 card family
827 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
830 Requires: %{name}-dri-core = %{version}-%{release}
831 Requires: xorg-driver-video-ati
832 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
833 Requires: xorg-xserver-server >= %{xserver_ver}
834 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
836 %description dri-driver-ati-radeon-R200
837 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
839 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
840 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
842 %package dri-driver-ati-radeon-R300
843 Summary: X.org DRI driver for ATI R300 card family
844 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
847 Requires: xorg-driver-video-ati
848 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
849 Requires: xorg-xserver-server >= %{xserver_ver}
850 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
852 %description dri-driver-ati-radeon-R300
853 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
855 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
856 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
858 %package dri-driver-ati-radeon-R600
859 Summary: X.org DRI driver for ATI R600 card family
860 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
863 Requires: radeon-ucode
864 Requires: xorg-driver-video-ati
865 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
866 Requires: xorg-xserver-server >= %{xserver_ver}
868 %description dri-driver-ati-radeon-R600
869 X.org DRI driver for ATI R600/R700 card family.
871 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
872 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
874 %package dri-driver-ati-radeon-SI
875 Summary: X.org DRI driver for ATI Southern Islands card family
876 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
879 Requires: radeon-ucode
880 Requires: xorg-driver-video-ati
881 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
882 Requires: xorg-xserver-server >= %{xserver_ver}
884 %description dri-driver-ati-radeon-SI
885 X.org DRI driver for ATI Southern Islands card family.
887 %description dri-driver-ati-radeon-SI -l pl.UTF-8
888 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
890 %package dri-driver-intel-i915
891 Summary: X.org DRI driver for Intel i915 card family
892 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
895 %if %{without gallium_intel}
896 Requires: %{name}-dri-core = %{version}-%{release}
898 Requires: xorg-driver-video-intel
899 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
900 Requires: xorg-xserver-server >= %{xserver_ver}
901 Obsoletes: Mesa-dri-driver-intel-i830
902 Obsoletes: X11-driver-i810-dri < 1:7.0.0
904 %description dri-driver-intel-i915
905 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
908 %description dri-driver-intel-i915 -l pl.UTF-8
909 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
912 %package dri-driver-intel-i965
913 Summary: X.org DRI driver for Intel i965 card family
914 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
917 Requires: %{name}-dri-core = %{version}-%{release}
918 Requires: xorg-driver-video-intel
919 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
920 Requires: xorg-xserver-server >= %{xserver_ver}
921 Obsoletes: Mesa-dri-driver-intel-i830
922 Obsoletes: X11-driver-i810-dri < 1:7.0.0
924 %description dri-driver-intel-i965
925 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
926 965GME, GM45, G41, B43, Q45, G45);
928 %description dri-driver-intel-i965 -l pl.UTF-8
929 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
930 965GM, 965GME, GM45, G41, B43, Q45, G45).
932 %package dri-driver-nouveau
933 Summary: X.org DRI driver for NVIDIA card family
934 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
937 Requires: %{name}-dri-core = %{version}-%{release}
938 Requires: xorg-driver-video-nouveau
939 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
940 Requires: xorg-xserver-server >= %{xserver_ver}
942 %description dri-driver-nouveau
943 X.org DRI drivers for NVIDIA card family.
945 %description dri-driver-nouveau -l pl.UTF-8
946 Sterowniki X.org DRI dla rodziny kart NVIDIA.
948 %package dri-driver-swrast
949 Summary: X.org DRI software rasterizer driver
950 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
953 Requires: %{name}-dri-core = %{version}-%{release}
954 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
955 Requires: xorg-xserver-server >= %{xserver_ver}
957 %description dri-driver-swrast
958 X.org DRI software rasterizer driver.
960 %description dri-driver-swrast -l pl.UTF-8
961 Sterownik X.org DRI obsługujący rysowanie programowe.
963 %package dri-driver-vmwgfx
964 Summary: X.org DRI driver for VMware
965 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
968 Requires: xorg-driver-video-vmware
969 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
970 Requires: xorg-xserver-server >= %{xserver_ver}
972 %description dri-driver-vmwgfx
973 X.org DRI driver for VMWare.
975 %description dri-driver-vmwgfx -l pl.UTF-8
976 Sterownik X.org DRI dla VMware.
978 %package -n libvdpau-driver-mesa-nouveau
979 Summary: Mesa nouveau driver for the vdpau API
980 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
983 Requires: libdrm >= %{libdrm_ver}
984 Requires: libvdpau >= 0.4.1
985 Conflicts: libvdpau-driver-mesa
987 %description -n libvdpau-driver-mesa-nouveau
988 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
991 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
992 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
995 %package -n libvdpau-driver-mesa-r300
996 Summary: Mesa r300 driver for the vdpau API
997 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
1000 Requires: libdrm >= %{libdrm_ver}
1001 Requires: libvdpau >= 0.4.1
1002 Conflicts: libvdpau-driver-mesa
1004 %description -n libvdpau-driver-mesa-r300
1005 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1006 based on R300/R400/RS690/R500 chips.
1008 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1009 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1010 na układach R300/R400/RS690/R500.
1012 %package -n libvdpau-driver-mesa-r600
1013 Summary: Mesa r600 driver for the vdpau API
1014 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1016 Group: X11/Libraries
1017 Requires: libdrm >= %{libdrm_ver}
1018 Requires: libvdpau >= 0.4.1
1019 Conflicts: libvdpau-driver-mesa
1021 %description -n libvdpau-driver-mesa-r600
1022 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1023 based on R600/R700 chips.
1025 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1026 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1027 na układach R600/R700.
1029 %package -n libvdpau-driver-mesa-radeonsi
1030 Summary: Mesa radeonsi driver for the vdpau API
1031 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1033 Group: X11/Libraries
1034 Requires: libdrm >= %{libdrm_ver}
1035 Requires: libvdpau >= 0.4.1
1036 Conflicts: libvdpau-driver-mesa
1038 %description -n libvdpau-driver-mesa-radeonsi
1039 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1040 adapters based on Southern Islands chips.
1042 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1043 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1044 oparte na układach Southern Islands.
1046 %package -n libvdpau-driver-mesa-softpipe
1047 Summary: Mesa softpipe driver for the vdpau API
1048 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
1050 Group: X11/Libraries
1051 Requires: libdrm >= %{libdrm_ver}
1052 Requires: libvdpau >= 0.4.1
1053 Conflicts: libvdpau-driver-mesa
1055 %description -n libvdpau-driver-mesa-softpipe
1056 Mesa softpipe driver for the vdpau API.
1058 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
1059 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{dricore9.0.0,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}/libdricore9.0.0.so.*.*
1469 %attr(755,root,root) %ghost %{_libdir}/libdricore9.0.0.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