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}
128 %{?with_wayland:Requires: wayland >= 1.0.0}
131 Requires: %{name}-libOpenVG = %{version}-%{release}
132 Requires: udev-libs >= 1:150
135 Requires: %{name}-libgbm = %{version}-%{release}
140 This package contains shared libEGL - Mesa implementation of EGL
141 Native Platform Graphics Interface as specified by Khronos Group:
142 <http://www.khronos.org/egl/>.
144 %description libEGL -l pl.UTF-8
145 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
146 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
147 graficznego platformy natywnej) wg specyfikacji Khronos Group:
148 <http://www.khronos.org/egl/>.
150 %package libEGL-devel
151 Summary: Header files for Mesa implementation of EGL library
152 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
154 Group: Development/Libraries
155 Requires: %{name}-khrplatform-devel = %{version}-%{release}
156 Requires: %{name}-libEGL = %{version}-%{release}
157 Requires: libdrm-devel >= %{libdrm_ver}
158 Requires: xorg-lib-libX11-devel
159 Requires: xorg-lib-libXdamage-devel
160 Requires: xorg-lib-libXext-devel
161 Requires: xorg-lib-libXfixes-devel
162 Requires: xorg-lib-libXxf86vm-devel
163 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
164 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
165 Provides: EGL-devel = 1.4
167 %description libEGL-devel
168 Header files for Mesa implementation of EGL library.
170 %description libEGL-devel -l pl.UTF-8
171 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
173 %package libEGL-static
174 Summary: Static Mesa EGL library
175 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
177 Group: Development/Libraries
178 Requires: %{name}-libEGL-devel = %{version}-%{release}
179 Provides: EGL-static = 1.4
181 %description libEGL-static
182 Static Mesa EGL library.
184 %description libEGL-static -l pl.UTF-8
185 Statyczna biblioteka Mesa EGL.
188 Summary: Free Mesa3D implementation of libGL OpenGL library
189 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
192 Requires: %{name}-libglapi = %{version}-%{release}
193 Requires: libdrm >= %{libdrm_ver}
194 Provides: OpenGL = 3.1
195 Provides: OpenGL-GLX = 1.4
198 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
199 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
202 Mesa is a 3-D graphics library with an API which is very similar to
203 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
204 syntax or state machine, it is being used with authorization from
205 Silicon Graphics, Inc. However, the author does not possess an OpenGL
206 license from SGI, and makes no claim that Mesa is in any way a
207 compatible replacement for OpenGL or associated with SGI.
209 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
210 specifications. It uses DRI for rendering.
212 %description libGL -l pl.UTF-8
213 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
214 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
215 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
216 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
217 OpenGL ani powiązana z SGI.
219 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
220 GLX 1.4. Używa DRI do renderowania.
223 Summary: Header files for Mesa3D libGL library
224 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
226 Group: X11/Development/Libraries
227 # loose dependency on libGL to use with other libGL binaries
228 Requires: OpenGL >= 1.5
229 Requires: libdrm-devel >= %{libdrm_ver}
230 Requires: xorg-lib-libX11-devel
231 Requires: xorg-lib-libXdamage-devel
232 Requires: xorg-lib-libXext-devel
233 Requires: xorg-lib-libXxf86vm-devel
234 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
235 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
236 Suggests: OpenGL-doc-man
237 Provides: OpenGL-GLX-devel = 1.4
238 Provides: OpenGL-devel = 3.1
239 Obsoletes: Mesa-devel
240 Obsoletes: X11-OpenGL-devel < 1:7.0.0
241 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
242 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
243 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
245 %description libGL-devel
246 Header files for Mesa3D libGL library.
248 %description libGL-devel -l pl.UTF-8
249 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
251 %package libGL-static
252 Summary: Static Mesa3D libGL library
253 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
255 Group: X11/Development/Libraries
256 Requires: %{name}-libGL-devel = %{version}-%{release}
257 Provides: OpenGL-static = 3.1
258 Obsoletes: Mesa-static
259 Obsoletes: X11-OpenGL-static < 1:7.0.0
260 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
262 %description libGL-static
263 Static Mesa3D libGL library. It uses software renderer.
265 %description libGL-static -l pl.UTF-8
266 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
270 Summary: Mesa implementation of GLES (OpenGL ES) libraries
271 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
273 Requires: %{name}-libglapi = %{version}-%{release}
275 Provides: OpenGLESv1 = 1.1
276 Provides: OpenGLESv2 = 2.0
279 This package contains shared libraries of Mesa implementation of GLES
280 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
281 on embedded systems. OpenGL ES specification can be found on Khronos
282 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
285 %description libGLES -l pl.UTF-8
286 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
287 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
288 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
289 OpenGL ES można znaleźć na stronie Khronos Group:
290 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
293 %package libGLES-devel
294 Summary: Header files for Mesa GLES libraries
295 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
296 Group: Development/Libraries
297 Requires: %{name}-khrplatform-devel = %{version}-%{release}
298 # <EGL/egl.h> for <GLES/egl.h>
299 Requires: %{name}-libEGL-devel = %{version}-%{release}
300 Requires: %{name}-libGLES = %{version}-%{release}
301 Provides: OpenGLES-devel
302 Provides: OpenGLESv1-devel = 1.1
303 Provides: OpenGLESv2-devel = 2.0
305 %description libGLES-devel
306 Header files for Mesa GLES libraries.
308 %description libGLES-devel -l pl.UTF-8
309 Pliki nagłówkowe bibliotek Mesa GLES.
312 Summary: OSMesa (off-screen renderer) library
313 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
317 %description libOSMesa
318 OSMesa (off-screen renderer) library.
320 %description libOSMesa -l pl.UTF-8
321 Biblioteka OSMesa (renderująca bitmapy w pamięci).
323 %package libOSMesa-devel
324 Summary: Header file for OSMesa (off-screen renderer) library
325 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
327 Group: Development/Libraries
328 Requires: %{name}-libOSMesa = %{version}-%{release}
330 Requires: OpenGL-devel
331 Requires: libselinux-devel
333 %description libOSMesa-devel
334 Header file for OSMesa (off-screen renderer) library.
336 %description libOSMesa-devel -l pl.UTF-8
337 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
339 %package libOSMesa-static
340 Summary: Static OSMesa (off-screen renderer) library
341 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
343 Group: Development/Libraries
344 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
345 # this static build of OSMesa needs static non-dri Mesa implementation
346 Requires: %{name}-libGL-static = %{version}-%{release}
348 %description libOSMesa-static
349 Static OSMesa (off-screen renderer) library.
351 %description libOSMesa-static -l pl.UTF-8
352 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
355 Summary: Mesa implementation of OpenCL (Compuing Language) API
356 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
359 Requires: libdrm >= %{libdrm_ver}
360 Requires: udev-libs >= 1:150
361 Provides: OpenCL = 1.1
363 %description libOpenCL
364 This package contains Mesa implementation of OpenCL - standard for
365 cross-platform, parallel programming of modern processors found in
366 personal computers, servers and handheld/embedded devices. OpenCL
367 specification can be found on Khronos Group site:
368 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
370 %description libOpenCL -l pl.UTF-8
371 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
372 wieloplatformowego, równoległego programowania nowoczesnych
373 procesorów, jakie znajdują się w komputerach osobistych, serwerach
374 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
375 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
376 Mesa zawiera implementację OpenCL w wersji 1.1.
378 %package libOpenCL-devel
379 Summary: Header files for Mesa OpenCL library
380 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
382 Group: Development/Libraries
383 Requires: %{name}-libOpenCL = %{version}-%{release}
384 Provides: OpenCL-devel = 1.1
386 %description libOpenCL-devel
387 Header files for Mesa OpenCL library.
389 %description libOpenCL-devel -l pl.UTF-8
390 Pliki nagłówkowe biblioteki Mesa OpenCL.
392 %package opencl-driver-i915
393 Summary: i915 driver for Mesa OpenCL implementation
394 Summary(pl.UTF-8): Sterownik i915 dla implementacji Mesa OpenCL
396 Requires: %{name}-libOpenCL = %{version}-%{release}
398 %description opencl-driver-i915
399 i915 driver for Mesa OpenCL implementation. It supports Intel
400 915/945/G33/Q33/Q35/Pineview chips.
402 %description opencl-driver-i915 -l pl.UTF-8
403 Sterownik i915 dla implementacji Mesa standardu OpenCL. Obsługuje
404 układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
406 %package opencl-driver-nouveau
407 Summary: nouveau driver for Mesa OpenCL implementation
408 Summary(pl.UTF-8): Sterownik nouveau dla implementacji Mesa OpenCL
410 Requires: %{name}-libOpenCL = %{version}-%{release}
412 %description opencl-driver-nouveau
413 nouveau driver for Mesa OpenCL implementation. It supports NVidia
416 %description opencl-driver-nouveau -l pl.UTF-8
417 Sterownik nouveau dla implementacji Mesa standardu OpenCL. Obsługuje
418 karty graficzne firmy NVidia.
420 %package opencl-driver-r300
421 Summary: r300 driver for Mesa OpenCL implementation
422 Summary(pl.UTF-8): Sterownik r300 dla implementacji Mesa OpenCL
424 Requires: %{name}-libOpenCL = %{version}-%{release}
426 %description opencl-driver-r300
427 r300 driver for Mesa OpenCL implementation. It supports ATI Radeon
428 adapters based on R300/R400/RS690/R500 chips.
430 %description opencl-driver-r300 -l pl.UTF-8
431 Sterownik r300 dla implementacji Mesa standardu OpenCL. Obsługuje
432 karty graficzne ATI Radeon oparte na układach R300/R400/RS690/R500.
434 %package opencl-driver-r600
435 Summary: r600 driver for Mesa OpenCL implementation
436 Summary(pl.UTF-8): Sterownik r600 dla implementacji Mesa OpenCL
438 Requires: %{name}-libOpenCL = %{version}-%{release}
440 %description opencl-driver-r600
441 r600 driver for Mesa OpenCL implementation. It supports ATI Radeon
442 adapters based on R600/R700 chips.
444 %description opencl-driver-r600 -l pl.UTF-8
445 Sterownik r600 dla implementacji Mesa standardu OpenCL. Obsługuje
446 karty graficzne ATI Radeon oparte na układach R600/R700.
448 %package opencl-driver-radeonsi
449 Summary: radeonsi driver for Mesa OpenCL implementation
450 Summary(pl.UTF-8): Sterownik radeonsi dla implementacji Mesa OpenCL
452 Requires: %{name}-libOpenCL = %{version}-%{release}
454 %description opencl-driver-radeonsi
455 radeonsi driver for Mesa OpenCL implementation. It supports ATI
456 Radeon adapters based on Southern Islands chips.
458 %description opencl-driver-radeonsi -l pl.UTF-8
459 Sterownik radeonsi dla implementacji Mesa standardu OpenCL. Obsługuje
460 karty graficzne ATI Radeon oparte na układach Southern Islands.
462 %package opencl-driver-swrast
463 Summary: Software (swrast) driver for Mesa OpenCL implementation
464 Summary(pl.UTF-8): Sterownik programowy (swrast) dla implementacji Mesa OpenCL
466 Requires: %{name}-libOpenCL = %{version}-%{release}
468 %description opencl-driver-swrast
469 Software (swrast) driver for Mesa OpenCL implementation.
471 %description opencl-driver-swrast -l pl.UTF-8
472 Sterownik programowy (swrast) dla implementacji Mesa standardu OpenCL.
474 %package opencl-driver-vmwgfx
475 Summary: vmwgfx driver for Mesa OpenCL implementation
476 Summary(pl.UTF-8): Sterownik vmwgfx dla implementacji Mesa OpenCL
478 Requires: %{name}-libOpenCL = %{version}-%{release}
480 %description opencl-driver-vmwgfx
481 vmwgfx driver for Mesa OpenCL implementation. It supports VMware
482 virtual video adapter.
484 %description opencl-driver-vmwgfx -l pl.UTF-8
485 Sterownik vmwgfx dla implementacji Mesa standardu OpenCL. Obsługuje
486 wirtualną kartę graficzną VMware.
489 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
490 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
493 Provides: OpenVG = 1.1
495 %description libOpenVG
496 This package contains Mesa implementation of OpenVG - cross-platform
497 API that provides a low-level hardware acceleration interface for
498 vector graphics libraries such as Flash and SVG. OpenVG specification
499 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
500 Mesa implements OpenVG 1.1.
502 %description libOpenVG -l pl.UTF-8
503 Ten pakiet zawiera implementację Mesa standardu OpenVG -
504 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
505 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
506 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
507 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
510 %package libOpenVG-devel
511 Summary: Header file for Mesa OpenVG library
512 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
514 Group: Development/Libraries
515 Requires: %{name}-khrplatform-devel = %{version}-%{release}
516 Requires: %{name}-libOpenVG = %{version}-%{release}
517 Provides: OpenVG-devel = 1.1
519 %description libOpenVG-devel
520 Header file for Mesa OpenVG library.
522 %description libOpenVG-devel -l pl.UTF-8
523 Plik nagłówkowy biblioteki Mesa OpenVG.
525 %package libXvMC-nouveau
526 Summary: Mesa implementation of XvMC API for NVidia adapters
527 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
530 Requires: libdrm >= %{libdrm_ver}
531 Requires: xorg-lib-libXvMC >= 1.0.6
532 Conflicts: Mesa-libXvMC
534 %description libXvMC-nouveau
535 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
537 %description libXvMC-nouveau -l pl.UTF-8
538 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
540 %package libXvMC-r300
541 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
542 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
545 Requires: libdrm >= %{libdrm_ver}
546 Requires: xorg-lib-libXvMC >= 1.0.6
547 Conflicts: Mesa-libXvMC
549 %description libXvMC-r300
550 Mesa implementation of XvMC API for ATI Radeon adapters based on
551 R300/R400/RS690/R500 chips.
553 %description libXvMC-r300 -l pl.UTF-8
554 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
555 R300/R400/RS690/R500.
557 %package libXvMC-r600
558 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
559 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
562 Requires: libdrm >= %{libdrm_ver}
563 Requires: xorg-lib-libXvMC >= 1.0.6
564 Conflicts: Mesa-libXvMC
566 %description libXvMC-r600
567 Mesa implementation of XvMC API for ATI Radeon adapters based on
570 %description libXvMC-r600 -l pl.UTF-8
571 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
574 %package libXvMC-softpipe
575 Summary: Mesa softpipe implementation of XvMC API
576 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
579 Requires: libdrm >= %{libdrm_ver}
580 Requires: xorg-lib-libXvMC >= 1.0.6
581 Conflicts: Mesa-libXvMC
583 %description libXvMC-softpipe
584 Mesa softpipe implementation of XvMC API.
586 %description libXvMC-softpipe -l pl.UTF-8
587 Implementacja Mesa softpipe API XvMC.
590 Summary: Mesa Graphics Buffer Manager library
591 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
593 Requires: udev-libs >= 1:150
594 Conflicts: Mesa-libEGL < 8.0.1-2
597 Mesa Graphics Buffer Manager library.
599 %description libgbm -l pl.UTF-8
600 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
602 %package libgbm-devel
603 Summary: Header file for Mesa Graphics Buffer Manager library
604 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
605 Group: Development/Libraries
606 Requires: %{name}-libgbm = %{version}-%{release}
607 Requires: udev-devel >= 1:150
609 %description libgbm-devel
610 Header file for Mesa Graphics Buffer Manager library.
612 %description libgbm-devel -l pl.UTF-8
613 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
616 %package gbm-driver-i915
617 Summary: i915 driver for Mesa GBM framework
618 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
620 Requires: %{name}-libgbm = %{version}-%{release}
622 %description gbm-driver-i915
623 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
624 915/945/G33/Q33/Q35/Pineview chips.
626 %description gbm-driver-i915 -l pl.UTF-8
627 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
628 bufora graficznego). Obsługuje układy Intela z serii
629 915/945/G33/Q33/Q35/Pineview.
631 %package gbm-driver-nouveau
632 Summary: nouveau driver for Mesa GBM framework
633 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
635 Requires: %{name}-libgbm = %{version}-%{release}
637 %description gbm-driver-nouveau
638 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
641 %description gbm-driver-nouveau -l pl.UTF-8
642 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
643 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
645 %package gbm-driver-r300
646 Summary: r300 driver for Mesa GBM framework
647 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
649 Requires: %{name}-libgbm = %{version}-%{release}
651 %description gbm-driver-r300
652 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
653 adapters based on R300/R400/RS690/R500 chips.
655 %description gbm-driver-r300 -l pl.UTF-8
656 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
657 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
658 układach R300/R400/RS690/R500.
660 %package gbm-driver-r600
661 Summary: r600 driver for Mesa GBM framework
662 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
664 Requires: %{name}-libgbm = %{version}-%{release}
666 %description gbm-driver-r600
667 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
668 adapters based on R600/R700 chips.
670 %description gbm-driver-r600 -l pl.UTF-8
671 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
672 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
675 %package gbm-driver-radeonsi
676 Summary: radeonsi driver for Mesa GBM framework
677 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
679 Requires: %{name}-libgbm = %{version}-%{release}
681 %description gbm-driver-radeonsi
682 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
683 Radeon adapters based on Southern Islands chips.
685 %description gbm-driver-radeonsi -l pl.UTF-8
686 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
687 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
688 oparte na układach Southern Islands.
690 %package gbm-driver-swrast
691 Summary: Software (swrast) driver for Mesa GBM framework
692 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
694 Requires: %{name}-libgbm = %{version}-%{release}
696 %description gbm-driver-swrast
697 Software (swrast) driver for Mesa Graphics Buffer Manager.
699 %description gbm-driver-swrast -l pl.UTF-8
700 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
701 Manager (zarządcy bufora graficznego).
703 %package gbm-driver-vmwgfx
704 Summary: vmwgfx driver for Mesa GBM framework
705 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
707 Requires: %{name}-libgbm = %{version}-%{release}
709 %description gbm-driver-vmwgfx
710 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
711 virtual video adapter.
713 %description gbm-driver-vmwgfx -l pl.UTF-8
714 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
715 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
718 Summary: Mesa GL API shared library
719 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
721 Conflicts: Mesa-libEGL < 8.0.1-2
723 %description libglapi
724 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
726 %description libglapi -l pl.UTF-8
727 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
730 %package libwayland-egl
731 Summary: Wayland EGL library
732 Summary(pl.UTF-8): Biblioteka Wayland EGL
734 Requires: libdrm >= %{libdrm_ver}
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}
749 %description libwayland-egl-devel
750 Development files for Wayland EGL platform library.
752 %description libwayland-egl-devel -l pl.UTF-8
753 Pliki programistyczne biblioteki platformy EGL Wayland.
755 %package libxatracker
756 Summary: Xorg Gallium3D accelleration library
757 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
759 Requires: libdrm >= %{libdrm_ver}
761 %description libxatracker
762 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
764 %description libxatracker -l pl.UTF-8
765 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
768 %package libxatracker-devel
769 Summary: Header files for Xorg Gallium3D accelleration library
770 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
771 Group: X11/Development/Libraries
772 Requires: %{name}-libxatracker = %{version}-%{release}
773 Requires: libdrm-devel >= %{libdrm_ver}
775 %description libxatracker-devel
776 Header files for Xorg Gallium3D accelleration library.
778 %description libxatracker-devel -l pl.UTF-8
779 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
781 %package khrplatform-devel
782 Summary: Khronos platform header file
783 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
784 Group: Development/Libraries
785 Conflicts: Mesa-libEGL-devel < 8.0.1-2
787 %description khrplatform-devel
788 Khronos platform header file.
790 %description khrplatform-devel -l pl.UTF-8
791 Plik nagłówkowy platformy Khronos.
794 Summary: X.org DRI core library
795 Summary(pl.UTF-8): Biblioteka X.org DRI core
798 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
799 Requires: xorg-xserver-server >= %{xserver_ver}
801 %description dri-core
802 X.org DRI core library.
804 %description dri-core -l pl.UTF-8
805 Biblioteka X.org DRI core.
807 %package dri-driver-ati-radeon-R100
808 Summary: X.org DRI driver for ATI R100 card family
809 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
812 Requires: %{name}-dri-core = %{version}-%{release}
813 Requires: xorg-driver-video-ati
814 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
815 Requires: xorg-xserver-server >= %{xserver_ver}
816 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
818 %description dri-driver-ati-radeon-R100
819 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
821 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
822 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
824 %package dri-driver-ati-radeon-R200
825 Summary: X.org DRI driver for ATI R200 card family
826 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
829 Requires: %{name}-dri-core = %{version}-%{release}
830 Requires: xorg-driver-video-ati
831 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
832 Requires: xorg-xserver-server >= %{xserver_ver}
833 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
835 %description dri-driver-ati-radeon-R200
836 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
838 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
839 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
841 %package dri-driver-ati-radeon-R300
842 Summary: X.org DRI driver for ATI R300 card family
843 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
846 Requires: xorg-driver-video-ati
847 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
848 Requires: xorg-xserver-server >= %{xserver_ver}
849 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
851 %description dri-driver-ati-radeon-R300
852 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
854 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
855 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
857 %package dri-driver-ati-radeon-R600
858 Summary: X.org DRI driver for ATI R600 card family
859 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
862 Requires: radeon-ucode
863 Requires: xorg-driver-video-ati
864 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
865 Requires: xorg-xserver-server >= %{xserver_ver}
867 %description dri-driver-ati-radeon-R600
868 X.org DRI driver for ATI R600/R700 card family.
870 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
871 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
873 %package dri-driver-ati-radeon-SI
874 Summary: X.org DRI driver for ATI Southern Islands card family
875 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
878 Requires: radeon-ucode
879 Requires: xorg-driver-video-ati
880 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
881 Requires: xorg-xserver-server >= %{xserver_ver}
883 %description dri-driver-ati-radeon-SI
884 X.org DRI driver for ATI Southern Islands card family.
886 %description dri-driver-ati-radeon-SI -l pl.UTF-8
887 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
889 %package dri-driver-intel-i915
890 Summary: X.org DRI driver for Intel i915 card family
891 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
894 %if %{without gallium_intel}
895 Requires: %{name}-dri-core = %{version}-%{release}
897 Requires: xorg-driver-video-intel
898 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
899 Requires: xorg-xserver-server >= %{xserver_ver}
900 Obsoletes: Mesa-dri-driver-intel-i830
901 Obsoletes: X11-driver-i810-dri < 1:7.0.0
903 %description dri-driver-intel-i915
904 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
907 %description dri-driver-intel-i915 -l pl.UTF-8
908 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
911 %package dri-driver-intel-i965
912 Summary: X.org DRI driver for Intel i965 card family
913 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
916 Requires: %{name}-dri-core = %{version}-%{release}
917 Requires: xorg-driver-video-intel
918 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
919 Requires: xorg-xserver-server >= %{xserver_ver}
920 Obsoletes: Mesa-dri-driver-intel-i830
921 Obsoletes: X11-driver-i810-dri < 1:7.0.0
923 %description dri-driver-intel-i965
924 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
925 965GME, GM45, G41, B43, Q45, G45);
927 %description dri-driver-intel-i965 -l pl.UTF-8
928 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
929 965GM, 965GME, GM45, G41, B43, Q45, G45).
931 %package dri-driver-nouveau
932 Summary: X.org DRI driver for NVIDIA card family
933 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
936 Requires: %{name}-dri-core = %{version}-%{release}
937 Requires: xorg-driver-video-nouveau
938 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
939 Requires: xorg-xserver-server >= %{xserver_ver}
941 %description dri-driver-nouveau
942 X.org DRI drivers for NVIDIA card family.
944 %description dri-driver-nouveau -l pl.UTF-8
945 Sterowniki X.org DRI dla rodziny kart NVIDIA.
947 %package dri-driver-swrast
948 Summary: X.org DRI software rasterizer driver
949 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
952 Requires: %{name}-dri-core = %{version}-%{release}
953 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
954 Requires: xorg-xserver-server >= %{xserver_ver}
956 %description dri-driver-swrast
957 X.org DRI software rasterizer driver.
959 %description dri-driver-swrast -l pl.UTF-8
960 Sterownik X.org DRI obsługujący rysowanie programowe.
962 %package dri-driver-vmwgfx
963 Summary: X.org DRI driver for VMware
964 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
967 Requires: xorg-driver-video-vmware
968 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
969 Requires: xorg-xserver-server >= %{xserver_ver}
971 %description dri-driver-vmwgfx
972 X.org DRI driver for VMWare.
974 %description dri-driver-vmwgfx -l pl.UTF-8
975 Sterownik X.org DRI dla VMware.
977 %package -n libvdpau-driver-mesa-nouveau
978 Summary: Mesa nouveau driver for the vdpau API
979 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
982 Requires: libdrm >= %{libdrm_ver}
983 Requires: libvdpau >= 0.4.1
984 Conflicts: libvdpau-driver-mesa
986 %description -n libvdpau-driver-mesa-nouveau
987 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
990 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
991 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
994 %package -n libvdpau-driver-mesa-r300
995 Summary: Mesa r300 driver for the vdpau API
996 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
999 Requires: libdrm >= %{libdrm_ver}
1000 Requires: libvdpau >= 0.4.1
1001 Conflicts: libvdpau-driver-mesa
1003 %description -n libvdpau-driver-mesa-r300
1004 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1005 based on R300/R400/RS690/R500 chips.
1007 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1008 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1009 na układach R300/R400/RS690/R500.
1011 %package -n libvdpau-driver-mesa-r600
1012 Summary: Mesa r600 driver for the vdpau API
1013 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1015 Group: X11/Libraries
1016 Requires: libdrm >= %{libdrm_ver}
1017 Requires: libvdpau >= 0.4.1
1018 Conflicts: libvdpau-driver-mesa
1020 %description -n libvdpau-driver-mesa-r600
1021 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1022 based on R600/R700 chips.
1024 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1025 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1026 na układach R600/R700.
1028 %package -n libvdpau-driver-mesa-radeonsi
1029 Summary: Mesa radeonsi driver for the vdpau API
1030 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1032 Group: X11/Libraries
1033 Requires: libdrm >= %{libdrm_ver}
1034 Requires: libvdpau >= 0.4.1
1035 Conflicts: libvdpau-driver-mesa
1037 %description -n libvdpau-driver-mesa-radeonsi
1038 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1039 adapters based on Southern Islands chips.
1041 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1042 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1043 oparte na układach Southern Islands.
1045 %package -n libvdpau-driver-mesa-softpipe
1046 Summary: Mesa softpipe driver for the vdpau API
1047 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
1049 Group: X11/Libraries
1050 Requires: libdrm >= %{libdrm_ver}
1051 Requires: libvdpau >= 0.4.1
1052 Conflicts: libvdpau-driver-mesa
1054 %description -n libvdpau-driver-mesa-softpipe
1055 Mesa softpipe driver for the vdpau API.
1057 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
1058 Sterownik Mesa softpipe dla API vdpau.
1071 dri_drivers="r200 radeon \
1072 %if %{without gallium_intel}
1077 %ifarch sparc sparcv9 sparc64
1082 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1084 gallium_drivers="svga swrast \
1085 %if %{with gallium_intel}
1091 %if %{with gallium_nouveau}
1096 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1099 --disable-silent-rules \
1104 %{?with_static_libs:--enable-static} \
1107 --enable-shared-glapi \
1112 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1115 --enable-gallium-llvm \
1116 --with-llvm-shared-libs \ \
1117 %{__enable egl gallium-egl} \
1118 %{__enable gbm gallium-gbm} \
1119 %{?with_opencl:--enable-opencl} \
1120 %{?with_egl:--enable-openvg} \
1122 %{?with_xa:--enable-xa} \
1124 --with-gallium-drivers=${gallium_drivers} \
1126 --without-gallium-drivers \
1128 --with-dri-drivers=${dri_drivers} \
1129 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1134 rm -rf $RPM_BUILD_ROOT
1137 DESTDIR=$RPM_BUILD_ROOT
1139 # omitted by make install (as of 9.0)
1140 cp -pr include/CL $RPM_BUILD_ROOT%{_includedir}
1141 # strip out undesirable headers
1142 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1143 # dlopened by soname
1144 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1145 # not used externally
1146 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore9.0.0,glapi}.so
1148 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1149 # not defined by standards; and not needed, there is pkg-config support
1150 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1152 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1153 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1154 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1157 rm -rf $RPM_BUILD_ROOT
1159 %post libEGL -p /sbin/ldconfig
1160 %postun libEGL -p /sbin/ldconfig
1162 %post libGL -p /sbin/ldconfig
1163 %postun libGL -p /sbin/ldconfig
1165 %post libGLES -p /sbin/ldconfig
1166 %postun libGLES -p /sbin/ldconfig
1168 %post libOSMesa -p /sbin/ldconfig
1169 %postun libOSMesa -p /sbin/ldconfig
1171 %post libOpenCL -p /sbin/ldconfig
1172 %postun libOpenCL -p /sbin/ldconfig
1174 %post libOpenVG -p /sbin/ldconfig
1175 %postun libOpenVG -p /sbin/ldconfig
1177 %post libXvMC-nouveau -p /sbin/ldconfig
1178 %postun libXvMC-nouveau -p /sbin/ldconfig
1179 %post libXvMC-r300 -p /sbin/ldconfig
1180 %postun libXvMC-r300 -p /sbin/ldconfig
1181 %post libXvMC-r600 -p /sbin/ldconfig
1182 %postun libXvMC-r600 -p /sbin/ldconfig
1183 %post libXvMC-softpipe -p /sbin/ldconfig
1184 %postun libXvMC-softpipe -p /sbin/ldconfig
1186 %post libgbm -p /sbin/ldconfig
1187 %postun libgbm -p /sbin/ldconfig
1189 %post libglapi -p /sbin/ldconfig
1190 %postun libglapi -p /sbin/ldconfig
1192 %post libwayland-egl -p /sbin/ldconfig
1193 %postun libwayland-egl -p /sbin/ldconfig
1195 %post libxatracker -p /sbin/ldconfig
1196 %postun libxatracker -p /sbin/ldconfig
1198 %post dri-core -p /sbin/ldconfig
1199 %postun dri-core -p /sbin/ldconfig
1203 %defattr(644,root,root,755)
1204 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1205 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1208 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_libdir}/libEGL.so
1214 %dir %{_includedir}/EGL
1215 %{_includedir}/EGL/egl.h
1216 %{_includedir}/EGL/eglext.h
1217 %{_includedir}/EGL/eglmesaext.h
1218 %{_includedir}/EGL/eglplatform.h
1219 %{_pkgconfigdir}/egl.pc
1221 %if %{with static_libs}
1222 %files libEGL-static
1223 %defattr(644,root,root,755)
1229 %defattr(644,root,root,755)
1230 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1231 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1232 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1233 # symlink for binary apps which fail to conform Linux OpenGL ABI
1234 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1235 %attr(755,root,root) %{_libdir}/libGL.so
1238 %defattr(644,root,root,755)
1240 %dir %{_includedir}/GL
1241 %{_includedir}/GL/gl.h
1242 %{_includedir}/GL/glext.h
1243 %{_includedir}/GL/gl_mangle.h
1244 %{_includedir}/GL/glx.h
1245 %{_includedir}/GL/glxext.h
1246 %{_includedir}/GL/glx_mangle.h
1247 %dir %{_includedir}/GL/internal
1248 %{_includedir}/GL/internal/dri_interface.h
1249 %{_pkgconfigdir}/dri.pc
1250 %{_pkgconfigdir}/gl.pc
1252 %if %{with static_libs}
1254 %defattr(644,root,root,755)
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1261 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1262 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1263 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1265 %files libGLES-devel
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1268 %attr(755,root,root) %{_libdir}/libGLESv2.so
1270 %{_includedir}/GLES2
1271 %{_pkgconfigdir}/glesv1_cm.pc
1272 %{_pkgconfigdir}/glesv2.pc
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1277 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1279 %files libOSMesa-devel
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/libOSMesa.so
1282 %{_includedir}/GL/osmesa.h
1283 %{_pkgconfigdir}/osmesa.pc
1285 %if %{with static_libs}
1286 %files libOSMesa-static
1287 %defattr(644,root,root,755)
1288 %{_libdir}/libOSMesa.a
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1295 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1296 %dir %{_libdir}/opencl
1298 %files libOpenCL-devel
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/libOpenCL.so
1303 %if %{with gallium_intel}
1304 %files opencl-driver-i915
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/opencl/pipe_i915.so
1309 %if %{with gallium_nouveau}
1310 %files opencl-driver-nouveau
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_libdir}/opencl/pipe_nouveau.so
1315 %files opencl-driver-r300
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/opencl/pipe_r300.so
1319 %files opencl-driver-r600
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_libdir}/opencl/pipe_r600.so
1323 %files opencl-driver-radeonsi
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/opencl/pipe_radeonsi.so
1327 %files opencl-driver-swrast
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_libdir}/opencl/pipe_swrast.so
1331 %files opencl-driver-vmwgfx
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_libdir}/opencl/pipe_vmwgfx.so
1336 %if %{with egl} && %{with gallium}
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1340 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1342 %files libOpenVG-devel
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/libOpenVG.so
1346 %{_pkgconfigdir}/vg.pc
1350 %if %{with gallium_nouveau}
1351 %files libXvMC-nouveau
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1354 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1360 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1365 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1367 %files libXvMC-softpipe
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1370 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1377 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1380 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_libdir}/libgbm.so
1386 %{_includedir}/gbm.h
1387 %{_pkgconfigdir}/gbm.pc
1391 %if %{with gallium_intel}
1392 %files gbm-driver-i915
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1397 %if %{with gallium_nouveau}
1398 %files gbm-driver-nouveau
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1403 %files gbm-driver-r300
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1407 %files gbm-driver-r600
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1411 %files gbm-driver-radeonsi
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1415 %files gbm-driver-swrast
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1419 %files gbm-driver-vmwgfx
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1427 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1428 # libglapi-devel? nothing seems to need it atm.
1429 #%attr(755,root,root) %{_libdir}/libglapi.so
1432 %files libwayland-egl
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1435 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1437 %files libwayland-egl-devel
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1440 %{_pkgconfigdir}/wayland-egl.pc
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1447 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1449 %files libxatracker-devel
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_libdir}/libxatracker.so
1452 %{_includedir}/xa_composite.h
1453 %{_includedir}/xa_context.h
1454 %{_includedir}/xa_tracker.h
1455 %{_pkgconfigdir}/xatracker.pc
1459 %files khrplatform-devel
1460 %defattr(644,root,root,755)
1461 %dir %{_includedir}/KHR
1462 %{_includedir}/KHR/khrplatform.h
1466 %defattr(644,root,root,755)
1467 %attr(755,root,root) %{_libdir}/libdricore9.0.0.so.*.*
1468 %attr(755,root,root) %ghost %{_libdir}/libdricore9.0.0.so.1
1469 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1471 %files dri-driver-ati-radeon-R100
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1475 %files dri-driver-ati-radeon-R200
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1480 %files dri-driver-ati-radeon-R300
1481 %defattr(644,root,root,755)
1482 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1484 %files dri-driver-ati-radeon-R600
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1489 %files dri-driver-ati-radeon-SI
1490 %defattr(644,root,root,755)
1491 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1493 %files dri-driver-intel-i915
1494 %defattr(644,root,root,755)
1495 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1497 %files dri-driver-intel-i965
1498 %defattr(644,root,root,755)
1499 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1501 %files dri-driver-nouveau
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1504 %if %{with gallium_nouveau}
1505 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1508 %files dri-driver-swrast
1509 %defattr(644,root,root,755)
1510 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1513 %files dri-driver-vmwgfx
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1519 # ldconfig is not used in vdpau tree, so package all symlinks
1520 %if %{with gallium_nouveau}
1521 %files -n libvdpau-driver-mesa-nouveau
1522 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1524 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1525 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1528 %files -n libvdpau-driver-mesa-r300
1529 %defattr(644,root,root,755)
1530 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1531 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1532 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1534 %files -n libvdpau-driver-mesa-r600
1535 %defattr(644,root,root,755)
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1537 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1538 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1540 %files -n libvdpau-driver-mesa-radeonsi
1541 %defattr(644,root,root,755)
1542 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1543 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1546 %files -n libvdpau-driver-mesa-softpipe
1547 %defattr(644,root,root,755)
1548 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1549 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1550 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so