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
31 Summary: Free OpenGL implementation
32 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
36 License: MIT (core) and others - see license.html file
38 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
39 # Source0-md5: dc45d1192203e418163e0017640e1cfc
40 Patch0: %{name}-link.patch
41 Patch1: %{name}-llvm3.2-support.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.9
56 BuildRequires: llvm-devel >= 3.1
57 %{?with_opencl:BuildRequires: llvm-libclc}
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 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
99 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
100 # libdricore: internal library, not linked with libglapi
101 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
102 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.*
105 %define filterout_ld -Wl,--as-needed
108 Mesa is a 3-D graphics library with an API which is very similar to
109 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
110 syntax or state machine, it is being used with authorization from
111 Silicon Graphics, Inc. However, the author does not possess an OpenGL
112 license from SGI, and makes no claim that Mesa is in any way a
113 compatible replacement for OpenGL or associated with SGI.
115 %description -l pl.UTF-8
116 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
117 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
118 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
119 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
120 OpenGL ani powiązana z SGI.
123 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
124 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
127 Requires: %{name}-libglapi = %{version}-%{release}
128 # glx driver in libEGL dlopens libGL.so
129 Requires: OpenGL >= 1.2
130 Requires: libdrm >= %{libdrm_ver}
131 Requires: libxcb >= 1.9
132 %{?with_wayland:Requires: wayland >= 1.0.0}
135 Requires: %{name}-libOpenVG = %{version}-%{release}
136 Requires: udev-libs >= 1:150
139 Requires: %{name}-libgbm = %{version}-%{release}
144 This package contains shared libEGL - Mesa implementation of EGL
145 Native Platform Graphics Interface as specified by Khronos Group:
146 <http://www.khronos.org/egl/>.
148 %description libEGL -l pl.UTF-8
149 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
150 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
151 graficznego platformy natywnej) wg specyfikacji Khronos Group:
152 <http://www.khronos.org/egl/>.
154 %package libEGL-devel
155 Summary: Header files for Mesa implementation of EGL library
156 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
158 Group: Development/Libraries
159 Requires: %{name}-khrplatform-devel = %{version}-%{release}
160 Requires: %{name}-libEGL = %{version}-%{release}
161 Requires: libdrm-devel >= %{libdrm_ver}
162 Requires: xorg-lib-libX11-devel
163 Requires: xorg-lib-libXdamage-devel
164 Requires: xorg-lib-libXext-devel
165 Requires: xorg-lib-libXfixes-devel
166 Requires: xorg-lib-libXxf86vm-devel
167 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
168 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
169 Provides: EGL-devel = 1.4
171 %description libEGL-devel
172 Header files for Mesa implementation of EGL library.
174 %description libEGL-devel -l pl.UTF-8
175 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
177 %package libEGL-static
178 Summary: Static Mesa EGL library
179 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
181 Group: Development/Libraries
182 Requires: %{name}-libEGL-devel = %{version}-%{release}
183 Provides: EGL-static = 1.4
185 %description libEGL-static
186 Static Mesa EGL library.
188 %description libEGL-static -l pl.UTF-8
189 Statyczna biblioteka Mesa EGL.
192 Summary: Free Mesa3D implementation of libGL OpenGL library
193 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
196 Requires: %{name}-libglapi = %{version}-%{release}
197 Requires: libdrm >= %{libdrm_ver}
198 Provides: OpenGL = 3.1
199 Provides: OpenGL-GLX = 1.4
202 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
203 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
206 Mesa is a 3-D graphics library with an API which is very similar to
207 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
208 syntax or state machine, it is being used with authorization from
209 Silicon Graphics, Inc. However, the author does not possess an OpenGL
210 license from SGI, and makes no claim that Mesa is in any way a
211 compatible replacement for OpenGL or associated with SGI.
213 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
214 specifications. It uses DRI for rendering.
216 %description libGL -l pl.UTF-8
217 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
218 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
219 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
220 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
221 OpenGL ani powiązana z SGI.
223 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
224 GLX 1.4. Używa DRI do renderowania.
227 Summary: Header files for Mesa3D libGL library
228 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
230 Group: X11/Development/Libraries
231 # loose dependency on libGL to use with other libGL binaries
232 Requires: OpenGL >= 1.5
233 Requires: libdrm-devel >= %{libdrm_ver}
234 Requires: xorg-lib-libX11-devel
235 Requires: xorg-lib-libXdamage-devel
236 Requires: xorg-lib-libXext-devel
237 Requires: xorg-lib-libXxf86vm-devel
238 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
239 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
240 Suggests: OpenGL-doc-man
241 Provides: OpenGL-GLX-devel = 1.4
242 Provides: OpenGL-devel = 3.1
243 Obsoletes: Mesa-devel
244 Obsoletes: X11-OpenGL-devel < 1:7.0.0
245 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
246 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
247 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
249 %description libGL-devel
250 Header files for Mesa3D libGL library.
252 %description libGL-devel -l pl.UTF-8
253 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
255 %package libGL-static
256 Summary: Static Mesa3D libGL library
257 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
259 Group: X11/Development/Libraries
260 Requires: %{name}-libGL-devel = %{version}-%{release}
261 Provides: OpenGL-static = 3.1
262 Obsoletes: Mesa-static
263 Obsoletes: X11-OpenGL-static < 1:7.0.0
264 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
266 %description libGL-static
267 Static Mesa3D libGL library. It uses software renderer.
269 %description libGL-static -l pl.UTF-8
270 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
274 Summary: Mesa implementation of GLES (OpenGL ES) libraries
275 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
277 Requires: %{name}-libglapi = %{version}-%{release}
279 Provides: OpenGLESv1 = 1.1
280 Provides: OpenGLESv2 = 2.0
283 This package contains shared libraries of Mesa implementation of GLES
284 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
285 on embedded systems. OpenGL ES specification can be found on Khronos
286 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
289 %description libGLES -l pl.UTF-8
290 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
291 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
292 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
293 OpenGL ES można znaleźć na stronie Khronos Group:
294 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
297 %package libGLES-devel
298 Summary: Header files for Mesa GLES libraries
299 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
300 Group: Development/Libraries
301 Requires: %{name}-khrplatform-devel = %{version}-%{release}
302 # <EGL/egl.h> for <GLES/egl.h>
303 Requires: %{name}-libEGL-devel = %{version}-%{release}
304 Requires: %{name}-libGLES = %{version}-%{release}
305 Provides: OpenGLES-devel
306 Provides: OpenGLESv1-devel = 1.1
307 Provides: OpenGLESv2-devel = 2.0
309 %description libGLES-devel
310 Header files for Mesa GLES libraries.
312 %description libGLES-devel -l pl.UTF-8
313 Pliki nagłówkowe bibliotek Mesa GLES.
316 Summary: OSMesa (off-screen renderer) library
317 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
321 %description libOSMesa
322 OSMesa (off-screen renderer) library.
324 %description libOSMesa -l pl.UTF-8
325 Biblioteka OSMesa (renderująca bitmapy w pamięci).
327 %package libOSMesa-devel
328 Summary: Header file for OSMesa (off-screen renderer) library
329 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
331 Group: Development/Libraries
332 Requires: %{name}-libOSMesa = %{version}-%{release}
334 Requires: OpenGL-devel
335 Requires: libselinux-devel
337 %description libOSMesa-devel
338 Header file for OSMesa (off-screen renderer) library.
340 %description libOSMesa-devel -l pl.UTF-8
341 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
343 %package libOSMesa-static
344 Summary: Static OSMesa (off-screen renderer) library
345 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
347 Group: Development/Libraries
348 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
349 # this static build of OSMesa needs static non-dri Mesa implementation
350 Requires: %{name}-libGL-static = %{version}-%{release}
352 %description libOSMesa-static
353 Static OSMesa (off-screen renderer) library.
355 %description libOSMesa-static -l pl.UTF-8
356 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
359 Summary: Mesa implementation of OpenCL (Compuing Language) API
360 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
363 Requires: libdrm >= %{libdrm_ver}
364 Requires: llvm-libclc
365 Requires: udev-libs >= 1:150
366 Provides: OpenCL = 1.1
368 %description libOpenCL
369 This package contains Mesa implementation of OpenCL - standard for
370 cross-platform, parallel programming of modern processors found in
371 personal computers, servers and handheld/embedded devices. OpenCL
372 specification can be found on Khronos Group site:
373 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
375 %description libOpenCL -l pl.UTF-8
376 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
377 wieloplatformowego, równoległego programowania nowoczesnych
378 procesorów, jakie znajdują się w komputerach osobistych, serwerach
379 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
380 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
381 Mesa zawiera implementację OpenCL w wersji 1.1.
383 %package libOpenCL-devel
384 Summary: Header files for Mesa OpenCL library
385 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
387 Group: Development/Libraries
388 Requires: %{name}-libOpenCL = %{version}-%{release}
389 Provides: OpenCL-devel = 1.1
391 %description libOpenCL-devel
392 Header files for Mesa OpenCL library.
394 %description libOpenCL-devel -l pl.UTF-8
395 Pliki nagłówkowe biblioteki Mesa OpenCL.
397 %package opencl-driver-i915
398 Summary: i915 driver for Mesa OpenCL implementation
399 Summary(pl.UTF-8): Sterownik i915 dla implementacji Mesa OpenCL
401 Requires: %{name}-libOpenCL = %{version}-%{release}
403 %description opencl-driver-i915
404 i915 driver for Mesa OpenCL implementation. It supports Intel
405 915/945/G33/Q33/Q35/Pineview chips.
407 %description opencl-driver-i915 -l pl.UTF-8
408 Sterownik i915 dla implementacji Mesa standardu OpenCL. Obsługuje
409 układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
411 %package opencl-driver-nouveau
412 Summary: nouveau driver for Mesa OpenCL implementation
413 Summary(pl.UTF-8): Sterownik nouveau dla implementacji Mesa OpenCL
415 Requires: %{name}-libOpenCL = %{version}-%{release}
417 %description opencl-driver-nouveau
418 nouveau driver for Mesa OpenCL implementation. It supports NVidia
421 %description opencl-driver-nouveau -l pl.UTF-8
422 Sterownik nouveau dla implementacji Mesa standardu OpenCL. Obsługuje
423 karty graficzne firmy NVidia.
425 %package opencl-driver-r300
426 Summary: r300 driver for Mesa OpenCL implementation
427 Summary(pl.UTF-8): Sterownik r300 dla implementacji Mesa OpenCL
429 Requires: %{name}-libOpenCL = %{version}-%{release}
431 %description opencl-driver-r300
432 r300 driver for Mesa OpenCL implementation. It supports ATI Radeon
433 adapters based on R300/R400/RS690/R500 chips.
435 %description opencl-driver-r300 -l pl.UTF-8
436 Sterownik r300 dla implementacji Mesa standardu OpenCL. Obsługuje
437 karty graficzne ATI Radeon oparte na układach R300/R400/RS690/R500.
439 %package opencl-driver-r600
440 Summary: r600 driver for Mesa OpenCL implementation
441 Summary(pl.UTF-8): Sterownik r600 dla implementacji Mesa OpenCL
443 Requires: %{name}-libOpenCL = %{version}-%{release}
445 %description opencl-driver-r600
446 r600 driver for Mesa OpenCL implementation. It supports ATI Radeon
447 adapters based on R600/R700 chips.
449 %description opencl-driver-r600 -l pl.UTF-8
450 Sterownik r600 dla implementacji Mesa standardu OpenCL. Obsługuje
451 karty graficzne ATI Radeon oparte na układach R600/R700.
453 %package opencl-driver-radeonsi
454 Summary: radeonsi driver for Mesa OpenCL implementation
455 Summary(pl.UTF-8): Sterownik radeonsi dla implementacji Mesa OpenCL
457 Requires: %{name}-libOpenCL = %{version}-%{release}
459 %description opencl-driver-radeonsi
460 radeonsi driver for Mesa OpenCL implementation. It supports ATI Radeon
461 adapters based on Southern Islands chips.
463 %description opencl-driver-radeonsi -l pl.UTF-8
464 Sterownik radeonsi dla implementacji Mesa standardu OpenCL. Obsługuje
465 karty graficzne ATI Radeon oparte na układach Southern Islands.
467 %package opencl-driver-swrast
468 Summary: Software (swrast) driver for Mesa OpenCL implementation
469 Summary(pl.UTF-8): Sterownik programowy (swrast) dla implementacji Mesa OpenCL
471 Requires: %{name}-libOpenCL = %{version}-%{release}
473 %description opencl-driver-swrast
474 Software (swrast) driver for Mesa OpenCL implementation.
476 %description opencl-driver-swrast -l pl.UTF-8
477 Sterownik programowy (swrast) dla implementacji Mesa standardu OpenCL.
479 %package opencl-driver-vmwgfx
480 Summary: vmwgfx driver for Mesa OpenCL implementation
481 Summary(pl.UTF-8): Sterownik vmwgfx dla implementacji Mesa OpenCL
483 Requires: %{name}-libOpenCL = %{version}-%{release}
485 %description opencl-driver-vmwgfx
486 vmwgfx driver for Mesa OpenCL implementation. It supports VMware
487 virtual video adapter.
489 %description opencl-driver-vmwgfx -l pl.UTF-8
490 Sterownik vmwgfx dla implementacji Mesa standardu OpenCL. Obsługuje
491 wirtualną kartę graficzną VMware.
494 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
495 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
498 Provides: OpenVG = 1.1
500 %description libOpenVG
501 This package contains Mesa implementation of OpenVG - cross-platform
502 API that provides a low-level hardware acceleration interface for
503 vector graphics libraries such as Flash and SVG. OpenVG specification
504 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
505 Mesa implements OpenVG 1.1.
507 %description libOpenVG -l pl.UTF-8
508 Ten pakiet zawiera implementację Mesa standardu OpenVG -
509 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
510 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
511 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
512 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
515 %package libOpenVG-devel
516 Summary: Header file for Mesa OpenVG library
517 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
519 Group: Development/Libraries
520 Requires: %{name}-khrplatform-devel = %{version}-%{release}
521 Requires: %{name}-libOpenVG = %{version}-%{release}
522 Provides: OpenVG-devel = 1.1
524 %description libOpenVG-devel
525 Header file for Mesa OpenVG library.
527 %description libOpenVG-devel -l pl.UTF-8
528 Plik nagłówkowy biblioteki Mesa OpenVG.
530 %package libXvMC-nouveau
531 Summary: Mesa implementation of XvMC API for NVidia adapters
532 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
535 Requires: libdrm >= %{libdrm_ver}
536 Requires: xorg-lib-libXvMC >= 1.0.6
537 Conflicts: Mesa-libXvMC
539 %description libXvMC-nouveau
540 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
542 %description libXvMC-nouveau -l pl.UTF-8
543 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
545 %package libXvMC-r300
546 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
547 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
550 Requires: libdrm >= %{libdrm_ver}
551 Requires: xorg-lib-libXvMC >= 1.0.6
552 Conflicts: Mesa-libXvMC
554 %description libXvMC-r300
555 Mesa implementation of XvMC API for ATI Radeon adapters based on
556 R300/R400/RS690/R500 chips.
558 %description libXvMC-r300 -l pl.UTF-8
559 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
560 R300/R400/RS690/R500.
562 %package libXvMC-r600
563 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
564 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
567 Requires: libdrm >= %{libdrm_ver}
568 Requires: xorg-lib-libXvMC >= 1.0.6
569 Conflicts: Mesa-libXvMC
571 %description libXvMC-r600
572 Mesa implementation of XvMC API for ATI Radeon adapters based on
575 %description libXvMC-r600 -l pl.UTF-8
576 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
579 %package libXvMC-softpipe
580 Summary: Mesa softpipe implementation of XvMC API
581 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
584 Requires: libdrm >= %{libdrm_ver}
585 Requires: xorg-lib-libXvMC >= 1.0.6
586 Conflicts: Mesa-libXvMC
588 %description libXvMC-softpipe
589 Mesa softpipe implementation of XvMC API.
591 %description libXvMC-softpipe -l pl.UTF-8
592 Implementacja Mesa softpipe API XvMC.
595 Summary: Mesa Graphics Buffer Manager library
596 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
598 Requires: udev-libs >= 1:150
599 Conflicts: Mesa-libEGL < 8.0.1-2
602 Mesa Graphics Buffer Manager library.
604 %description libgbm -l pl.UTF-8
605 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
607 %package libgbm-devel
608 Summary: Header file for Mesa Graphics Buffer Manager library
609 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
610 Group: Development/Libraries
611 Requires: %{name}-libgbm = %{version}-%{release}
612 Requires: udev-devel >= 1:150
614 %description libgbm-devel
615 Header file for Mesa Graphics Buffer Manager library.
617 %description libgbm-devel -l pl.UTF-8
618 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
621 %package gbm-driver-i915
622 Summary: i915 driver for Mesa GBM framework
623 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
625 Requires: %{name}-libgbm = %{version}-%{release}
627 %description gbm-driver-i915
628 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
629 915/945/G33/Q33/Q35/Pineview chips.
631 %description gbm-driver-i915 -l pl.UTF-8
632 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
633 bufora graficznego). Obsługuje układy Intela z serii
634 915/945/G33/Q33/Q35/Pineview.
636 %package gbm-driver-nouveau
637 Summary: nouveau driver for Mesa GBM framework
638 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
640 Requires: %{name}-libgbm = %{version}-%{release}
642 %description gbm-driver-nouveau
643 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
646 %description gbm-driver-nouveau -l pl.UTF-8
647 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
648 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
650 %package gbm-driver-r300
651 Summary: r300 driver for Mesa GBM framework
652 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
654 Requires: %{name}-libgbm = %{version}-%{release}
656 %description gbm-driver-r300
657 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
658 adapters based on R300/R400/RS690/R500 chips.
660 %description gbm-driver-r300 -l pl.UTF-8
661 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
662 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
663 układach R300/R400/RS690/R500.
665 %package gbm-driver-r600
666 Summary: r600 driver for Mesa GBM framework
667 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
669 Requires: %{name}-libgbm = %{version}-%{release}
671 %description gbm-driver-r600
672 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
673 adapters based on R600/R700 chips.
675 %description gbm-driver-r600 -l pl.UTF-8
676 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
677 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
680 %package gbm-driver-radeonsi
681 Summary: radeonsi driver for Mesa GBM framework
682 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
684 Requires: %{name}-libgbm = %{version}-%{release}
686 %description gbm-driver-radeonsi
687 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
688 Radeon adapters based on Southern Islands chips.
690 %description gbm-driver-radeonsi -l pl.UTF-8
691 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
692 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
693 oparte na układach Southern Islands.
695 %package gbm-driver-swrast
696 Summary: Software (swrast) driver for Mesa GBM framework
697 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
699 Requires: %{name}-libgbm = %{version}-%{release}
701 %description gbm-driver-swrast
702 Software (swrast) driver for Mesa Graphics Buffer Manager.
704 %description gbm-driver-swrast -l pl.UTF-8
705 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
706 Manager (zarządcy bufora graficznego).
708 %package gbm-driver-vmwgfx
709 Summary: vmwgfx driver for Mesa GBM framework
710 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
712 Requires: %{name}-libgbm = %{version}-%{release}
714 %description gbm-driver-vmwgfx
715 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
716 virtual video adapter.
718 %description gbm-driver-vmwgfx -l pl.UTF-8
719 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
720 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
723 Summary: Mesa GL API shared library
724 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
726 Conflicts: Mesa-libEGL < 8.0.1-2
728 %description libglapi
729 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
731 %description libglapi -l pl.UTF-8
732 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
735 %package libwayland-egl
736 Summary: Wayland EGL library
737 Summary(pl.UTF-8): Biblioteka Wayland EGL
739 Requires: libdrm >= %{libdrm_ver}
741 %description libwayland-egl
742 Wayland EGL platform library.
744 %description libwayland-egl -l pl.UTF-8
745 Biblioteka platformy EGL Wayland.
747 %package libwayland-egl-devel
748 Summary: Development files for Wayland EGL library
749 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
750 Group: Development/Libraries
751 Requires: %{name}-libwayland-egl = %{version}-%{release}
752 Requires: libdrm-devel >= %{libdrm_ver}
754 %description libwayland-egl-devel
755 Development files for Wayland EGL platform library.
757 %description libwayland-egl-devel -l pl.UTF-8
758 Pliki programistyczne biblioteki platformy EGL Wayland.
760 %package libxatracker
761 Summary: Xorg Gallium3D accelleration library
762 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
764 Requires: libdrm >= %{libdrm_ver}
766 %description libxatracker
767 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
769 %description libxatracker -l pl.UTF-8
770 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
773 %package libxatracker-devel
774 Summary: Header files for Xorg Gallium3D accelleration library
775 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
776 Group: X11/Development/Libraries
777 Requires: %{name}-libxatracker = %{version}-%{release}
778 Requires: libdrm-devel >= %{libdrm_ver}
780 %description libxatracker-devel
781 Header files for Xorg Gallium3D accelleration library.
783 %description libxatracker-devel -l pl.UTF-8
784 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
786 %package khrplatform-devel
787 Summary: Khronos platform header file
788 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
789 Group: Development/Libraries
790 Conflicts: Mesa-libEGL-devel < 8.0.1-2
792 %description khrplatform-devel
793 Khronos platform header file.
795 %description khrplatform-devel -l pl.UTF-8
796 Plik nagłówkowy platformy Khronos.
799 Summary: X.org DRI core library
800 Summary(pl.UTF-8): Biblioteka X.org DRI core
803 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
804 Requires: xorg-xserver-server >= %{xserver_ver}
806 %description dri-core
807 X.org DRI core library.
809 %description dri-core -l pl.UTF-8
810 Biblioteka X.org DRI core.
812 %package dri-driver-ati-radeon-R100
813 Summary: X.org DRI driver for ATI R100 card family
814 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
817 Requires: %{name}-dri-core = %{version}-%{release}
818 Requires: xorg-driver-video-ati
819 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
820 Requires: xorg-xserver-server >= %{xserver_ver}
821 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
823 %description dri-driver-ati-radeon-R100
824 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
826 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
827 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
829 %package dri-driver-ati-radeon-R200
830 Summary: X.org DRI driver for ATI R200 card family
831 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
834 Requires: %{name}-dri-core = %{version}-%{release}
835 Requires: xorg-driver-video-ati
836 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
837 Requires: xorg-xserver-server >= %{xserver_ver}
838 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
840 %description dri-driver-ati-radeon-R200
841 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
843 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
844 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
846 %package dri-driver-ati-radeon-R300
847 Summary: X.org DRI driver for ATI R300 card family
848 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
851 Requires: xorg-driver-video-ati
852 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
853 Requires: xorg-xserver-server >= %{xserver_ver}
854 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
856 %description dri-driver-ati-radeon-R300
857 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
859 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
860 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
862 %package dri-driver-ati-radeon-R600
863 Summary: X.org DRI driver for ATI R600 card family
864 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
867 Requires: radeon-ucode
868 Requires: xorg-driver-video-ati
869 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
870 Requires: xorg-xserver-server >= %{xserver_ver}
872 %description dri-driver-ati-radeon-R600
873 X.org DRI driver for ATI R600/R700 card family.
875 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
876 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
878 %package dri-driver-ati-radeon-SI
879 Summary: X.org DRI driver for ATI Southern Islands card family
880 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
883 Requires: radeon-ucode
884 Requires: xorg-driver-video-ati
885 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
886 Requires: xorg-xserver-server >= %{xserver_ver}
888 %description dri-driver-ati-radeon-SI
889 X.org DRI driver for ATI Southern Islands card family.
891 %description dri-driver-ati-radeon-SI -l pl.UTF-8
892 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
894 %package dri-driver-intel-i915
895 Summary: X.org DRI driver for Intel i915 card family
896 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
899 %if %{without gallium_intel}
900 Requires: %{name}-dri-core = %{version}-%{release}
902 Requires: xorg-driver-video-intel
903 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
904 Requires: xorg-xserver-server >= %{xserver_ver}
905 Obsoletes: Mesa-dri-driver-intel-i830
906 Obsoletes: X11-driver-i810-dri < 1:7.0.0
908 %description dri-driver-intel-i915
909 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
912 %description dri-driver-intel-i915 -l pl.UTF-8
913 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
916 %package dri-driver-intel-i965
917 Summary: X.org DRI driver for Intel i965 card family
918 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
921 Requires: %{name}-dri-core = %{version}-%{release}
922 Requires: xorg-driver-video-intel
923 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
924 Requires: xorg-xserver-server >= %{xserver_ver}
925 Obsoletes: Mesa-dri-driver-intel-i830
926 Obsoletes: X11-driver-i810-dri < 1:7.0.0
928 %description dri-driver-intel-i965
929 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
930 965GME, GM45, G41, B43, Q45, G45);
932 %description dri-driver-intel-i965 -l pl.UTF-8
933 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
934 965GM, 965GME, GM45, G41, B43, Q45, G45).
936 %package dri-driver-nouveau
937 Summary: X.org DRI driver for NVIDIA card family
938 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
941 Requires: %{name}-dri-core = %{version}-%{release}
942 Requires: xorg-driver-video-nouveau
943 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
944 Requires: xorg-xserver-server >= %{xserver_ver}
946 %description dri-driver-nouveau
947 X.org DRI drivers for NVIDIA card family.
949 %description dri-driver-nouveau -l pl.UTF-8
950 Sterowniki X.org DRI dla rodziny kart NVIDIA.
952 %package dri-driver-swrast
953 Summary: X.org DRI software rasterizer driver
954 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
957 Requires: %{name}-dri-core = %{version}-%{release}
958 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
959 Requires: xorg-xserver-server >= %{xserver_ver}
961 %description dri-driver-swrast
962 X.org DRI software rasterizer driver.
964 %description dri-driver-swrast -l pl.UTF-8
965 Sterownik X.org DRI obsługujący rysowanie programowe.
967 %package dri-driver-vmwgfx
968 Summary: X.org DRI driver for VMware
969 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
972 Requires: xorg-driver-video-vmware
973 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
974 Requires: xorg-xserver-server >= %{xserver_ver}
976 %description dri-driver-vmwgfx
977 X.org DRI driver for VMWare.
979 %description dri-driver-vmwgfx -l pl.UTF-8
980 Sterownik X.org DRI dla VMware.
982 %package -n libvdpau-driver-mesa-nouveau
983 Summary: Mesa nouveau driver for the vdpau API
984 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
987 Requires: libdrm >= %{libdrm_ver}
988 Requires: libvdpau >= 0.4.1
989 Conflicts: libvdpau-driver-mesa
991 %description -n libvdpau-driver-mesa-nouveau
992 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
995 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
996 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
999 %package -n libvdpau-driver-mesa-r300
1000 Summary: Mesa r300 driver for the vdpau API
1001 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
1003 Group: X11/Libraries
1004 Requires: libdrm >= %{libdrm_ver}
1005 Requires: libvdpau >= 0.4.1
1006 Conflicts: libvdpau-driver-mesa
1008 %description -n libvdpau-driver-mesa-r300
1009 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1010 based on R300/R400/RS690/R500 chips.
1012 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1013 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1014 na układach R300/R400/RS690/R500.
1016 %package -n libvdpau-driver-mesa-r600
1017 Summary: Mesa r600 driver for the vdpau API
1018 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1020 Group: X11/Libraries
1021 Requires: libdrm >= %{libdrm_ver}
1022 Requires: libvdpau >= 0.4.1
1023 Conflicts: libvdpau-driver-mesa
1025 %description -n libvdpau-driver-mesa-r600
1026 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1027 based on R600/R700 chips.
1029 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1030 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1031 na układach R600/R700.
1033 %package -n libvdpau-driver-mesa-radeonsi
1034 Summary: Mesa radeonsi driver for the vdpau API
1035 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1037 Group: X11/Libraries
1038 Requires: libdrm >= %{libdrm_ver}
1039 Requires: libvdpau >= 0.4.1
1040 Conflicts: libvdpau-driver-mesa
1042 %description -n libvdpau-driver-mesa-radeonsi
1043 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1044 adapters based on Southern Islands chips.
1046 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1047 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1048 oparte na układach Southern Islands.
1050 %package -n libvdpau-driver-mesa-softpipe
1051 Summary: Mesa softpipe driver for the vdpau API
1052 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
1054 Group: X11/Libraries
1055 Requires: libdrm >= %{libdrm_ver}
1056 Requires: libvdpau >= 0.4.1
1057 Conflicts: libvdpau-driver-mesa
1059 %description -n libvdpau-driver-mesa-softpipe
1060 Mesa softpipe driver for the vdpau API.
1062 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
1063 Sterownik Mesa softpipe dla API vdpau.
1076 dri_drivers="r200 radeon \
1077 %if %{without gallium_intel}
1082 %ifarch sparc sparcv9 sparc64
1087 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1089 gallium_drivers="svga swrast \
1090 %if %{with gallium_intel}
1096 %if %{with gallium_nouveau}
1101 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1104 --disable-silent-rules \
1109 %{?with_static_libs:--enable-static} \
1112 --enable-shared-glapi \
1117 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1120 --enable-gallium-llvm \
1121 --with-llvm-shared-libs \ \
1122 %{__enable egl gallium-egl} \
1123 %{__enable gbm gallium-gbm} \
1124 %{?with_opencl:--enable-opencl} \
1125 %{?with_egl:--enable-openvg} \
1127 %{?with_xa:--enable-xa} \
1129 --with-gallium-drivers=${gallium_drivers} \
1131 --without-gallium-drivers \
1133 --with-dri-drivers=${dri_drivers} \
1134 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1139 rm -rf $RPM_BUILD_ROOT
1142 DESTDIR=$RPM_BUILD_ROOT
1144 # omitted by make install (as of 9.0)
1145 cp -pr include/CL $RPM_BUILD_ROOT%{_includedir}
1146 # strip out undesirable headers
1147 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1148 # dlopened by soname
1149 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1150 # not used externally
1151 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{version},glapi}.so
1153 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1154 # not defined by standards; and not needed, there is pkg-config support
1155 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1157 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1158 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1159 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1162 rm -rf $RPM_BUILD_ROOT
1164 %post libEGL -p /sbin/ldconfig
1165 %postun libEGL -p /sbin/ldconfig
1167 %post libGL -p /sbin/ldconfig
1168 %postun libGL -p /sbin/ldconfig
1170 %post libGLES -p /sbin/ldconfig
1171 %postun libGLES -p /sbin/ldconfig
1173 %post libOSMesa -p /sbin/ldconfig
1174 %postun libOSMesa -p /sbin/ldconfig
1176 %post libOpenCL -p /sbin/ldconfig
1177 %postun libOpenCL -p /sbin/ldconfig
1179 %post libOpenVG -p /sbin/ldconfig
1180 %postun libOpenVG -p /sbin/ldconfig
1182 %post libXvMC-nouveau -p /sbin/ldconfig
1183 %postun libXvMC-nouveau -p /sbin/ldconfig
1184 %post libXvMC-r300 -p /sbin/ldconfig
1185 %postun libXvMC-r300 -p /sbin/ldconfig
1186 %post libXvMC-r600 -p /sbin/ldconfig
1187 %postun libXvMC-r600 -p /sbin/ldconfig
1188 %post libXvMC-softpipe -p /sbin/ldconfig
1189 %postun libXvMC-softpipe -p /sbin/ldconfig
1191 %post libgbm -p /sbin/ldconfig
1192 %postun libgbm -p /sbin/ldconfig
1194 %post libglapi -p /sbin/ldconfig
1195 %postun libglapi -p /sbin/ldconfig
1197 %post libwayland-egl -p /sbin/ldconfig
1198 %postun libwayland-egl -p /sbin/ldconfig
1200 %post libxatracker -p /sbin/ldconfig
1201 %postun libxatracker -p /sbin/ldconfig
1203 %post dri-core -p /sbin/ldconfig
1204 %postun dri-core -p /sbin/ldconfig
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1210 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1213 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) %{_libdir}/libEGL.so
1219 %dir %{_includedir}/EGL
1220 %{_includedir}/EGL/egl.h
1221 %{_includedir}/EGL/eglext.h
1222 %{_includedir}/EGL/eglmesaext.h
1223 %{_includedir}/EGL/eglplatform.h
1224 %{_pkgconfigdir}/egl.pc
1226 %if %{with static_libs}
1227 %files libEGL-static
1228 %defattr(644,root,root,755)
1234 %defattr(644,root,root,755)
1235 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1236 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1237 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1238 # symlink for binary apps which fail to conform Linux OpenGL ABI
1239 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1240 %attr(755,root,root) %{_libdir}/libGL.so
1243 %defattr(644,root,root,755)
1245 %dir %{_includedir}/GL
1246 %{_includedir}/GL/gl.h
1247 %{_includedir}/GL/glext.h
1248 %{_includedir}/GL/gl_mangle.h
1249 %{_includedir}/GL/glx.h
1250 %{_includedir}/GL/glxext.h
1251 %{_includedir}/GL/glx_mangle.h
1252 %dir %{_includedir}/GL/internal
1253 %{_includedir}/GL/internal/dri_interface.h
1254 %{_pkgconfigdir}/dri.pc
1255 %{_pkgconfigdir}/gl.pc
1257 %if %{with static_libs}
1259 %defattr(644,root,root,755)
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1266 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1267 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1268 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1270 %files libGLES-devel
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1273 %attr(755,root,root) %{_libdir}/libGLESv2.so
1275 %{_includedir}/GLES2
1276 %{_pkgconfigdir}/glesv1_cm.pc
1277 %{_pkgconfigdir}/glesv2.pc
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1282 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1284 %files libOSMesa-devel
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_libdir}/libOSMesa.so
1287 %{_includedir}/GL/osmesa.h
1288 %{_pkgconfigdir}/osmesa.pc
1290 %if %{with static_libs}
1291 %files libOSMesa-static
1292 %defattr(644,root,root,755)
1293 %{_libdir}/libOSMesa.a
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1300 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1301 %dir %{_libdir}/opencl
1303 %files libOpenCL-devel
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/libOpenCL.so
1308 %if %{with gallium_intel}
1309 %files opencl-driver-i915
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) %{_libdir}/opencl/pipe_i915.so
1314 %if %{with gallium_nouveau}
1315 %files opencl-driver-nouveau
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/opencl/pipe_nouveau.so
1320 %files opencl-driver-r300
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/opencl/pipe_r300.so
1324 %files opencl-driver-r600
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/opencl/pipe_r600.so
1328 %files opencl-driver-radeonsi
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/opencl/pipe_radeonsi.so
1332 %files opencl-driver-swrast
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/opencl/pipe_swrast.so
1336 %files opencl-driver-vmwgfx
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libdir}/opencl/pipe_vmwgfx.so
1341 %if %{with egl} && %{with gallium}
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1345 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1347 %files libOpenVG-devel
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/libOpenVG.so
1351 %{_pkgconfigdir}/vg.pc
1355 %if %{with gallium_nouveau}
1356 %files libXvMC-nouveau
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1359 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1365 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1370 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1372 %files libXvMC-softpipe
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1375 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1380 %defattr(644,root,root,755)
1381 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1382 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1385 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1389 %defattr(644,root,root,755)
1390 %attr(755,root,root) %{_libdir}/libgbm.so
1391 %{_includedir}/gbm.h
1392 %{_pkgconfigdir}/gbm.pc
1396 %if %{with gallium_intel}
1397 %files gbm-driver-i915
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1402 %if %{with gallium_nouveau}
1403 %files gbm-driver-nouveau
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1408 %files gbm-driver-r300
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1412 %files gbm-driver-r600
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1416 %files gbm-driver-radeonsi
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1420 %files gbm-driver-swrast
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1424 %files gbm-driver-vmwgfx
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1432 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1433 # libglapi-devel? nothing seems to need it atm.
1434 #%attr(755,root,root) %{_libdir}/libglapi.so
1437 %files libwayland-egl
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1440 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1442 %files libwayland-egl-devel
1443 %defattr(644,root,root,755)
1444 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1445 %{_pkgconfigdir}/wayland-egl.pc
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1452 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1454 %files libxatracker-devel
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) %{_libdir}/libxatracker.so
1457 %{_includedir}/xa_composite.h
1458 %{_includedir}/xa_context.h
1459 %{_includedir}/xa_tracker.h
1460 %{_pkgconfigdir}/xatracker.pc
1464 %files khrplatform-devel
1465 %defattr(644,root,root,755)
1466 %dir %{_includedir}/KHR
1467 %{_includedir}/KHR/khrplatform.h
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_libdir}/libdricore%{version}.so.*.*
1473 %attr(755,root,root) %ghost %{_libdir}/libdricore%{version}.so.1
1474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1476 %files dri-driver-ati-radeon-R100
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1480 %files dri-driver-ati-radeon-R200
1481 %defattr(644,root,root,755)
1482 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1485 %files dri-driver-ati-radeon-R300
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1489 %files dri-driver-ati-radeon-R600
1490 %defattr(644,root,root,755)
1491 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1494 %files dri-driver-ati-radeon-SI
1495 %defattr(644,root,root,755)
1496 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1498 %files dri-driver-intel-i915
1499 %defattr(644,root,root,755)
1500 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1502 %files dri-driver-intel-i965
1503 %defattr(644,root,root,755)
1504 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1506 %files dri-driver-nouveau
1507 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1509 %if %{with gallium_nouveau}
1510 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1513 %files dri-driver-swrast
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1518 %files dri-driver-vmwgfx
1519 %defattr(644,root,root,755)
1520 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1524 # ldconfig is not used in vdpau tree, so package all symlinks
1525 %if %{with gallium_nouveau}
1526 %files -n libvdpau-driver-mesa-nouveau
1527 %defattr(644,root,root,755)
1528 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1529 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1530 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1533 %files -n libvdpau-driver-mesa-r300
1534 %defattr(644,root,root,755)
1535 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1537 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1539 %files -n libvdpau-driver-mesa-r600
1540 %defattr(644,root,root,755)
1541 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1542 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1543 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1545 %files -n libvdpau-driver-mesa-radeonsi
1546 %defattr(644,root,root,755)
1547 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1548 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1549 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1551 %files -n libvdpau-driver-mesa-softpipe
1552 %defattr(644,root,root,755)
1553 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1554 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1555 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so