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: d3891e02215422e120271d976ff1947e
40 Patch0: %{name}-link.patch
41 URL: http://www.mesa3d.org/
42 BuildRequires: autoconf >= 2.60
43 BuildRequires: automake
44 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
45 BuildRequires: expat-devel
46 BuildRequires: gcc >= 5:3.3
47 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
48 BuildRequires: libdrm-devel >= %{libdrm_ver}
49 BuildRequires: libselinux-devel
50 BuildRequires: libstdc++-devel >= 5:3.3.0
51 BuildRequires: libtalloc-devel >= 2:2.0.1
52 BuildRequires: libtool >= 2:2.2
53 BuildRequires: libvdpau-devel >= 0.4.1
54 BuildRequires: libxcb-devel >= 1.9
55 BuildRequires: llvm-devel >= 3.1
56 %{?with_opencl:BuildRequires: llvm-libclc}
57 BuildRequires: perl-base
58 BuildRequires: pixman-devel
59 BuildRequires: pkgconfig
60 BuildRequires: pkgconfig(talloc) >= 2.0.1
61 BuildRequires: python >= 2
62 BuildRequires: python-libxml2
63 BuildRequires: python-modules >= 2
64 BuildRequires: rpmbuild(macros) >= 1.470
65 BuildRequires: sed >= 4.0
66 %{?with_egl:BuildRequires: udev-devel >= 1:150}
67 # wayland-{client,server}
68 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.0}
69 BuildRequires: xorg-lib-libXdamage-devel
70 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
71 BuildRequires: xorg-lib-libXfixes-devel
72 BuildRequires: xorg-lib-libXt-devel
73 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
74 BuildRequires: xorg-lib-libXxf86vm-devel
75 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
76 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
77 BuildRequires: xorg-util-makedepend
78 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
80 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
81 BuildRequires: xorg-xserver-server-devel >= 1.6.0
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85 %if %{without gallium}
86 %undefine with_gallium_intel
87 %undefine with_gallium_nouveau
94 %undefine with_wayland
97 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
98 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
99 # libdricore: internal library, not linked with libglapi
100 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
101 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.* libXvMCnouveau.so.* libvdpau_softpipe.so.*
104 %define filterout_ld -Wl,--as-needed
107 Mesa is a 3-D graphics library with an API which is very similar to
108 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
109 syntax or state machine, it is being used with authorization from
110 Silicon Graphics, Inc. However, the author does not possess an OpenGL
111 license from SGI, and makes no claim that Mesa is in any way a
112 compatible replacement for OpenGL or associated with SGI.
114 %description -l pl.UTF-8
115 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
116 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
117 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
118 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
119 OpenGL ani powiązana z SGI.
122 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
123 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
126 Requires: %{name}-libglapi = %{version}-%{release}
127 # glx driver in libEGL dlopens libGL.so
128 Requires: OpenGL >= 1.2
129 Requires: libdrm >= %{libdrm_ver}
130 Requires: libxcb >= 1.9
131 %{?with_wayland:Requires: wayland >= 1.0.0}
134 Requires: %{name}-libOpenVG = %{version}-%{release}
135 Requires: udev-libs >= 1:150
138 Requires: %{name}-libgbm = %{version}-%{release}
143 This package contains shared libEGL - Mesa implementation of EGL
144 Native Platform Graphics Interface as specified by Khronos Group:
145 <http://www.khronos.org/egl/>.
147 %description libEGL -l pl.UTF-8
148 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
149 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
150 graficznego platformy natywnej) wg specyfikacji Khronos Group:
151 <http://www.khronos.org/egl/>.
153 %package libEGL-devel
154 Summary: Header files for Mesa implementation of EGL library
155 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
157 Group: Development/Libraries
158 Requires: %{name}-khrplatform-devel = %{version}-%{release}
159 Requires: %{name}-libEGL = %{version}-%{release}
160 Requires: libdrm-devel >= %{libdrm_ver}
161 Requires: xorg-lib-libX11-devel
162 Requires: xorg-lib-libXdamage-devel
163 Requires: xorg-lib-libXext-devel
164 Requires: xorg-lib-libXfixes-devel
165 Requires: xorg-lib-libXxf86vm-devel
166 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
167 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
168 Provides: EGL-devel = 1.4
170 %description libEGL-devel
171 Header files for Mesa implementation of EGL library.
173 %description libEGL-devel -l pl.UTF-8
174 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
176 %package libEGL-static
177 Summary: Static Mesa EGL library
178 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
180 Group: Development/Libraries
181 Requires: %{name}-libEGL-devel = %{version}-%{release}
182 Provides: EGL-static = 1.4
184 %description libEGL-static
185 Static Mesa EGL library.
187 %description libEGL-static -l pl.UTF-8
188 Statyczna biblioteka Mesa EGL.
191 Summary: Free Mesa3D implementation of libGL OpenGL library
192 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
195 Requires: %{name}-libglapi = %{version}-%{release}
196 Requires: libdrm >= %{libdrm_ver}
197 Provides: OpenGL = 3.1
198 Provides: OpenGL-GLX = 1.4
201 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
202 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
205 Mesa is a 3-D graphics library with an API which is very similar to
206 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
207 syntax or state machine, it is being used with authorization from
208 Silicon Graphics, Inc. However, the author does not possess an OpenGL
209 license from SGI, and makes no claim that Mesa is in any way a
210 compatible replacement for OpenGL or associated with SGI.
212 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
213 specifications. It uses DRI for rendering.
215 %description libGL -l pl.UTF-8
216 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
217 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
218 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
219 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
220 OpenGL ani powiązana z SGI.
222 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
223 GLX 1.4. Używa DRI do renderowania.
226 Summary: Header files for Mesa3D libGL library
227 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
229 Group: X11/Development/Libraries
230 # loose dependency on libGL to use with other libGL binaries
231 Requires: OpenGL >= 1.5
232 Requires: libdrm-devel >= %{libdrm_ver}
233 Requires: xorg-lib-libX11-devel
234 Requires: xorg-lib-libXdamage-devel
235 Requires: xorg-lib-libXext-devel
236 Requires: xorg-lib-libXxf86vm-devel
237 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
238 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
239 Suggests: OpenGL-doc-man
240 Provides: OpenGL-GLX-devel = 1.4
241 Provides: OpenGL-devel = 3.1
242 Obsoletes: Mesa-devel
243 Obsoletes: X11-OpenGL-devel < 1:7.0.0
244 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
245 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
246 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
248 %description libGL-devel
249 Header files for Mesa3D libGL library.
251 %description libGL-devel -l pl.UTF-8
252 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
254 %package libGL-static
255 Summary: Static Mesa3D libGL library
256 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
258 Group: X11/Development/Libraries
259 Requires: %{name}-libGL-devel = %{version}-%{release}
260 Provides: OpenGL-static = 3.1
261 Obsoletes: Mesa-static
262 Obsoletes: X11-OpenGL-static < 1:7.0.0
263 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
265 %description libGL-static
266 Static Mesa3D libGL library. It uses software renderer.
268 %description libGL-static -l pl.UTF-8
269 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
273 Summary: Mesa implementation of GLES (OpenGL ES) libraries
274 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
276 Requires: %{name}-libglapi = %{version}-%{release}
278 Provides: OpenGLESv1 = 1.1
279 Provides: OpenGLESv2 = 2.0
282 This package contains shared libraries of Mesa implementation of GLES
283 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
284 on embedded systems. OpenGL ES specification can be found on Khronos
285 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
288 %description libGLES -l pl.UTF-8
289 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
290 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
291 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
292 OpenGL ES można znaleźć na stronie Khronos Group:
293 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
296 %package libGLES-devel
297 Summary: Header files for Mesa GLES libraries
298 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
299 Group: Development/Libraries
300 Requires: %{name}-khrplatform-devel = %{version}-%{release}
301 # <EGL/egl.h> for <GLES/egl.h>
302 Requires: %{name}-libEGL-devel = %{version}-%{release}
303 Requires: %{name}-libGLES = %{version}-%{release}
304 Provides: OpenGLES-devel
305 Provides: OpenGLESv1-devel = 1.1
306 Provides: OpenGLESv2-devel = 2.0
308 %description libGLES-devel
309 Header files for Mesa GLES libraries.
311 %description libGLES-devel -l pl.UTF-8
312 Pliki nagłówkowe bibliotek Mesa GLES.
315 Summary: OSMesa (off-screen renderer) library
316 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
320 %description libOSMesa
321 OSMesa (off-screen renderer) library.
323 %description libOSMesa -l pl.UTF-8
324 Biblioteka OSMesa (renderująca bitmapy w pamięci).
326 %package libOSMesa-devel
327 Summary: Header file for OSMesa (off-screen renderer) library
328 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
330 Group: Development/Libraries
331 Requires: %{name}-libOSMesa = %{version}-%{release}
333 Requires: OpenGL-devel
334 Requires: libselinux-devel
336 %description libOSMesa-devel
337 Header file for OSMesa (off-screen renderer) library.
339 %description libOSMesa-devel -l pl.UTF-8
340 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
342 %package libOSMesa-static
343 Summary: Static OSMesa (off-screen renderer) library
344 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
346 Group: Development/Libraries
347 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
348 # this static build of OSMesa needs static non-dri Mesa implementation
349 Requires: %{name}-libGL-static = %{version}-%{release}
351 %description libOSMesa-static
352 Static OSMesa (off-screen renderer) library.
354 %description libOSMesa-static -l pl.UTF-8
355 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
358 Summary: Mesa implementation of OpenCL (Compuing Language) API
359 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
362 Requires: libdrm >= %{libdrm_ver}
363 Requires: llvm-libclc
364 Requires: udev-libs >= 1:150
365 Provides: OpenCL = 1.1
367 %description libOpenCL
368 This package contains Mesa implementation of OpenCL - standard for
369 cross-platform, parallel programming of modern processors found in
370 personal computers, servers and handheld/embedded devices. OpenCL
371 specification can be found on Khronos Group site:
372 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
374 %description libOpenCL -l pl.UTF-8
375 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
376 wieloplatformowego, równoległego programowania nowoczesnych
377 procesorów, jakie znajdują się w komputerach osobistych, serwerach
378 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
379 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
380 Mesa zawiera implementację OpenCL w wersji 1.1.
382 %package libOpenCL-devel
383 Summary: Header files for Mesa OpenCL library
384 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
386 Group: Development/Libraries
387 Requires: %{name}-libOpenCL = %{version}-%{release}
388 Provides: OpenCL-devel = 1.1
390 %description libOpenCL-devel
391 Header files for Mesa OpenCL library.
393 %description libOpenCL-devel -l pl.UTF-8
394 Pliki nagłówkowe biblioteki Mesa OpenCL.
396 %package opencl-driver-i915
397 Summary: i915 driver for Mesa OpenCL implementation
398 Summary(pl.UTF-8): Sterownik i915 dla implementacji Mesa OpenCL
400 Requires: %{name}-libOpenCL = %{version}-%{release}
402 %description opencl-driver-i915
403 i915 driver for Mesa OpenCL implementation. It supports Intel
404 915/945/G33/Q33/Q35/Pineview chips.
406 %description opencl-driver-i915 -l pl.UTF-8
407 Sterownik i915 dla implementacji Mesa standardu OpenCL. Obsługuje
408 układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
410 %package opencl-driver-nouveau
411 Summary: nouveau driver for Mesa OpenCL implementation
412 Summary(pl.UTF-8): Sterownik nouveau dla implementacji Mesa OpenCL
414 Requires: %{name}-libOpenCL = %{version}-%{release}
416 %description opencl-driver-nouveau
417 nouveau driver for Mesa OpenCL implementation. It supports NVidia
420 %description opencl-driver-nouveau -l pl.UTF-8
421 Sterownik nouveau dla implementacji Mesa standardu OpenCL. Obsługuje
422 karty graficzne firmy NVidia.
424 %package opencl-driver-r300
425 Summary: r300 driver for Mesa OpenCL implementation
426 Summary(pl.UTF-8): Sterownik r300 dla implementacji Mesa OpenCL
428 Requires: %{name}-libOpenCL = %{version}-%{release}
430 %description opencl-driver-r300
431 r300 driver for Mesa OpenCL implementation. It supports ATI Radeon
432 adapters based on R300/R400/RS690/R500 chips.
434 %description opencl-driver-r300 -l pl.UTF-8
435 Sterownik r300 dla implementacji Mesa standardu OpenCL. Obsługuje
436 karty graficzne ATI Radeon oparte na układach R300/R400/RS690/R500.
438 %package opencl-driver-r600
439 Summary: r600 driver for Mesa OpenCL implementation
440 Summary(pl.UTF-8): Sterownik r600 dla implementacji Mesa OpenCL
442 Requires: %{name}-libOpenCL = %{version}-%{release}
444 %description opencl-driver-r600
445 r600 driver for Mesa OpenCL implementation. It supports ATI Radeon
446 adapters based on R600/R700 chips.
448 %description opencl-driver-r600 -l pl.UTF-8
449 Sterownik r600 dla implementacji Mesa standardu OpenCL. Obsługuje
450 karty graficzne ATI Radeon oparte na układach R600/R700.
452 %package opencl-driver-radeonsi
453 Summary: radeonsi driver for Mesa OpenCL implementation
454 Summary(pl.UTF-8): Sterownik radeonsi dla implementacji Mesa OpenCL
456 Requires: %{name}-libOpenCL = %{version}-%{release}
458 %description opencl-driver-radeonsi
459 radeonsi driver for Mesa OpenCL implementation. It supports ATI Radeon
460 adapters based on Southern Islands chips.
462 %description opencl-driver-radeonsi -l pl.UTF-8
463 Sterownik radeonsi dla implementacji Mesa standardu OpenCL. Obsługuje
464 karty graficzne ATI Radeon oparte na układach Southern Islands.
466 %package opencl-driver-swrast
467 Summary: Software (swrast) driver for Mesa OpenCL implementation
468 Summary(pl.UTF-8): Sterownik programowy (swrast) dla implementacji Mesa OpenCL
470 Requires: %{name}-libOpenCL = %{version}-%{release}
472 %description opencl-driver-swrast
473 Software (swrast) driver for Mesa OpenCL implementation.
475 %description opencl-driver-swrast -l pl.UTF-8
476 Sterownik programowy (swrast) dla implementacji Mesa standardu OpenCL.
478 %package opencl-driver-vmwgfx
479 Summary: vmwgfx driver for Mesa OpenCL implementation
480 Summary(pl.UTF-8): Sterownik vmwgfx dla implementacji Mesa OpenCL
482 Requires: %{name}-libOpenCL = %{version}-%{release}
484 %description opencl-driver-vmwgfx
485 vmwgfx driver for Mesa OpenCL implementation. It supports VMware
486 virtual video adapter.
488 %description opencl-driver-vmwgfx -l pl.UTF-8
489 Sterownik vmwgfx dla implementacji Mesa standardu OpenCL. Obsługuje
490 wirtualną kartę graficzną VMware.
493 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
494 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
497 Provides: OpenVG = 1.1
499 %description libOpenVG
500 This package contains Mesa implementation of OpenVG - cross-platform
501 API that provides a low-level hardware acceleration interface for
502 vector graphics libraries such as Flash and SVG. OpenVG specification
503 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
504 Mesa implements OpenVG 1.1.
506 %description libOpenVG -l pl.UTF-8
507 Ten pakiet zawiera implementację Mesa standardu OpenVG -
508 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
509 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
510 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
511 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
514 %package libOpenVG-devel
515 Summary: Header file for Mesa OpenVG library
516 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
518 Group: Development/Libraries
519 Requires: %{name}-khrplatform-devel = %{version}-%{release}
520 Requires: %{name}-libOpenVG = %{version}-%{release}
521 Provides: OpenVG-devel = 1.1
523 %description libOpenVG-devel
524 Header file for Mesa OpenVG library.
526 %description libOpenVG-devel -l pl.UTF-8
527 Plik nagłówkowy biblioteki Mesa OpenVG.
529 %package libXvMC-nouveau
530 Summary: Mesa implementation of XvMC API for NVidia adapters
531 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
534 Requires: libdrm >= %{libdrm_ver}
535 Requires: xorg-lib-libXvMC >= 1.0.6
536 Conflicts: Mesa-libXvMC
538 %description libXvMC-nouveau
539 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
541 %description libXvMC-nouveau -l pl.UTF-8
542 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
544 %package libXvMC-r300
545 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
546 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
549 Requires: libdrm >= %{libdrm_ver}
550 Requires: xorg-lib-libXvMC >= 1.0.6
551 Conflicts: Mesa-libXvMC
553 %description libXvMC-r300
554 Mesa implementation of XvMC API for ATI Radeon adapters based on
555 R300/R400/RS690/R500 chips.
557 %description libXvMC-r300 -l pl.UTF-8
558 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
559 R300/R400/RS690/R500.
561 %package libXvMC-r600
562 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
563 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
566 Requires: libdrm >= %{libdrm_ver}
567 Requires: xorg-lib-libXvMC >= 1.0.6
568 Conflicts: Mesa-libXvMC
570 %description libXvMC-r600
571 Mesa implementation of XvMC API for ATI Radeon adapters based on
574 %description libXvMC-r600 -l pl.UTF-8
575 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
578 %package libXvMC-softpipe
579 Summary: Mesa softpipe implementation of XvMC API
580 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
583 Requires: libdrm >= %{libdrm_ver}
584 Requires: xorg-lib-libXvMC >= 1.0.6
585 Conflicts: Mesa-libXvMC
587 %description libXvMC-softpipe
588 Mesa softpipe implementation of XvMC API.
590 %description libXvMC-softpipe -l pl.UTF-8
591 Implementacja Mesa softpipe API XvMC.
594 Summary: Mesa Graphics Buffer Manager library
595 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
597 Requires: udev-libs >= 1:150
598 Conflicts: Mesa-libEGL < 8.0.1-2
601 Mesa Graphics Buffer Manager library.
603 %description libgbm -l pl.UTF-8
604 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
606 %package libgbm-devel
607 Summary: Header file for Mesa Graphics Buffer Manager library
608 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
609 Group: Development/Libraries
610 Requires: %{name}-libgbm = %{version}-%{release}
611 Requires: udev-devel >= 1:150
613 %description libgbm-devel
614 Header file for Mesa Graphics Buffer Manager library.
616 %description libgbm-devel -l pl.UTF-8
617 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
620 %package gbm-driver-i915
621 Summary: i915 driver for Mesa GBM framework
622 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
624 Requires: %{name}-libgbm = %{version}-%{release}
626 %description gbm-driver-i915
627 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
628 915/945/G33/Q33/Q35/Pineview chips.
630 %description gbm-driver-i915 -l pl.UTF-8
631 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
632 bufora graficznego). Obsługuje układy Intela z serii
633 915/945/G33/Q33/Q35/Pineview.
635 %package gbm-driver-nouveau
636 Summary: nouveau driver for Mesa GBM framework
637 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
639 Requires: %{name}-libgbm = %{version}-%{release}
641 %description gbm-driver-nouveau
642 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
645 %description gbm-driver-nouveau -l pl.UTF-8
646 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
647 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
649 %package gbm-driver-r300
650 Summary: r300 driver for Mesa GBM framework
651 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
653 Requires: %{name}-libgbm = %{version}-%{release}
655 %description gbm-driver-r300
656 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
657 adapters based on R300/R400/RS690/R500 chips.
659 %description gbm-driver-r300 -l pl.UTF-8
660 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
661 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
662 układach R300/R400/RS690/R500.
664 %package gbm-driver-r600
665 Summary: r600 driver for Mesa GBM framework
666 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
668 Requires: %{name}-libgbm = %{version}-%{release}
670 %description gbm-driver-r600
671 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
672 adapters based on R600/R700 chips.
674 %description gbm-driver-r600 -l pl.UTF-8
675 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
676 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
679 %package gbm-driver-radeonsi
680 Summary: radeonsi driver for Mesa GBM framework
681 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
683 Requires: %{name}-libgbm = %{version}-%{release}
685 %description gbm-driver-radeonsi
686 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
687 Radeon adapters based on Southern Islands chips.
689 %description gbm-driver-radeonsi -l pl.UTF-8
690 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
691 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
692 oparte na układach Southern Islands.
694 %package gbm-driver-swrast
695 Summary: Software (swrast) driver for Mesa GBM framework
696 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
698 Requires: %{name}-libgbm = %{version}-%{release}
700 %description gbm-driver-swrast
701 Software (swrast) driver for Mesa Graphics Buffer Manager.
703 %description gbm-driver-swrast -l pl.UTF-8
704 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
705 Manager (zarządcy bufora graficznego).
707 %package gbm-driver-vmwgfx
708 Summary: vmwgfx driver for Mesa GBM framework
709 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
711 Requires: %{name}-libgbm = %{version}-%{release}
713 %description gbm-driver-vmwgfx
714 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
715 virtual video adapter.
717 %description gbm-driver-vmwgfx -l pl.UTF-8
718 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
719 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
722 Summary: Mesa GL API shared library
723 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
725 Conflicts: Mesa-libEGL < 8.0.1-2
727 %description libglapi
728 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
730 %description libglapi -l pl.UTF-8
731 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
734 %package libwayland-egl
735 Summary: Wayland EGL library
736 Summary(pl.UTF-8): Biblioteka Wayland EGL
738 Requires: libdrm >= %{libdrm_ver}
740 %description libwayland-egl
741 Wayland EGL platform library.
743 %description libwayland-egl -l pl.UTF-8
744 Biblioteka platformy EGL Wayland.
746 %package libwayland-egl-devel
747 Summary: Development files for Wayland EGL library
748 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
749 Group: Development/Libraries
750 Requires: %{name}-libwayland-egl = %{version}-%{release}
751 Requires: libdrm-devel >= %{libdrm_ver}
753 %description libwayland-egl-devel
754 Development files for Wayland EGL platform library.
756 %description libwayland-egl-devel -l pl.UTF-8
757 Pliki programistyczne biblioteki platformy EGL Wayland.
759 %package libxatracker
760 Summary: Xorg Gallium3D accelleration library
761 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
763 Requires: libdrm >= %{libdrm_ver}
765 %description libxatracker
766 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
768 %description libxatracker -l pl.UTF-8
769 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
772 %package libxatracker-devel
773 Summary: Header files for Xorg Gallium3D accelleration library
774 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
775 Group: X11/Development/Libraries
776 Requires: %{name}-libxatracker = %{version}-%{release}
777 Requires: libdrm-devel >= %{libdrm_ver}
779 %description libxatracker-devel
780 Header files for Xorg Gallium3D accelleration library.
782 %description libxatracker-devel -l pl.UTF-8
783 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
785 %package khrplatform-devel
786 Summary: Khronos platform header file
787 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
788 Group: Development/Libraries
789 Conflicts: Mesa-libEGL-devel < 8.0.1-2
791 %description khrplatform-devel
792 Khronos platform header file.
794 %description khrplatform-devel -l pl.UTF-8
795 Plik nagłówkowy platformy Khronos.
798 Summary: X.org DRI core library
799 Summary(pl.UTF-8): Biblioteka X.org DRI core
802 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
803 Requires: xorg-xserver-server >= %{xserver_ver}
805 %description dri-core
806 X.org DRI core library.
808 %description dri-core -l pl.UTF-8
809 Biblioteka X.org DRI core.
811 %package dri-driver-ati-radeon-R100
812 Summary: X.org DRI driver for ATI R100 card family
813 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
816 Requires: %{name}-dri-core = %{version}-%{release}
817 Requires: xorg-driver-video-ati
818 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
819 Requires: xorg-xserver-server >= %{xserver_ver}
820 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
822 %description dri-driver-ati-radeon-R100
823 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
825 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
826 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
828 %package dri-driver-ati-radeon-R200
829 Summary: X.org DRI driver for ATI R200 card family
830 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
833 Requires: %{name}-dri-core = %{version}-%{release}
834 Requires: xorg-driver-video-ati
835 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
836 Requires: xorg-xserver-server >= %{xserver_ver}
837 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
839 %description dri-driver-ati-radeon-R200
840 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
842 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
843 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
845 %package dri-driver-ati-radeon-R300
846 Summary: X.org DRI driver for ATI R300 card family
847 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
850 Requires: xorg-driver-video-ati
851 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
852 Requires: xorg-xserver-server >= %{xserver_ver}
853 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
855 %description dri-driver-ati-radeon-R300
856 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
858 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
859 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
861 %package dri-driver-ati-radeon-R600
862 Summary: X.org DRI driver for ATI R600 card family
863 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
866 Requires: radeon-ucode
867 Requires: xorg-driver-video-ati
868 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
869 Requires: xorg-xserver-server >= %{xserver_ver}
871 %description dri-driver-ati-radeon-R600
872 X.org DRI driver for ATI R600/R700 card family.
874 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
875 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
877 %package dri-driver-ati-radeon-SI
878 Summary: X.org DRI driver for ATI Southern Islands card family
879 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
882 Requires: radeon-ucode
883 Requires: xorg-driver-video-ati
884 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
885 Requires: xorg-xserver-server >= %{xserver_ver}
887 %description dri-driver-ati-radeon-SI
888 X.org DRI driver for ATI Southern Islands card family.
890 %description dri-driver-ati-radeon-SI -l pl.UTF-8
891 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
893 %package dri-driver-intel-i915
894 Summary: X.org DRI driver for Intel i915 card family
895 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
898 %if %{without gallium_intel}
899 Requires: %{name}-dri-core = %{version}-%{release}
901 Requires: xorg-driver-video-intel
902 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
903 Requires: xorg-xserver-server >= %{xserver_ver}
904 Obsoletes: Mesa-dri-driver-intel-i830
905 Obsoletes: X11-driver-i810-dri < 1:7.0.0
907 %description dri-driver-intel-i915
908 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
911 %description dri-driver-intel-i915 -l pl.UTF-8
912 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
915 %package dri-driver-intel-i965
916 Summary: X.org DRI driver for Intel i965 card family
917 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
920 Requires: %{name}-dri-core = %{version}-%{release}
921 Requires: xorg-driver-video-intel
922 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
923 Requires: xorg-xserver-server >= %{xserver_ver}
924 Obsoletes: Mesa-dri-driver-intel-i830
925 Obsoletes: X11-driver-i810-dri < 1:7.0.0
927 %description dri-driver-intel-i965
928 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
929 965GME, GM45, G41, B43, Q45, G45);
931 %description dri-driver-intel-i965 -l pl.UTF-8
932 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
933 965GM, 965GME, GM45, G41, B43, Q45, G45).
935 %package dri-driver-nouveau
936 Summary: X.org DRI driver for NVIDIA card family
937 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
940 Requires: %{name}-dri-core = %{version}-%{release}
941 Requires: xorg-driver-video-nouveau
942 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
943 Requires: xorg-xserver-server >= %{xserver_ver}
945 %description dri-driver-nouveau
946 X.org DRI drivers for NVIDIA card family.
948 %description dri-driver-nouveau -l pl.UTF-8
949 Sterowniki X.org DRI dla rodziny kart NVIDIA.
951 %package dri-driver-swrast
952 Summary: X.org DRI software rasterizer driver
953 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
956 Requires: %{name}-dri-core = %{version}-%{release}
957 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
958 Requires: xorg-xserver-server >= %{xserver_ver}
960 %description dri-driver-swrast
961 X.org DRI software rasterizer driver.
963 %description dri-driver-swrast -l pl.UTF-8
964 Sterownik X.org DRI obsługujący rysowanie programowe.
966 %package dri-driver-vmwgfx
967 Summary: X.org DRI driver for VMware
968 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
971 Requires: xorg-driver-video-vmware
972 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
973 Requires: xorg-xserver-server >= %{xserver_ver}
975 %description dri-driver-vmwgfx
976 X.org DRI driver for VMWare.
978 %description dri-driver-vmwgfx -l pl.UTF-8
979 Sterownik X.org DRI dla VMware.
981 %package -n libvdpau-driver-mesa-nouveau
982 Summary: Mesa nouveau driver for the vdpau API
983 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
986 Requires: libdrm >= %{libdrm_ver}
987 Requires: libvdpau >= 0.4.1
988 Conflicts: libvdpau-driver-mesa
990 %description -n libvdpau-driver-mesa-nouveau
991 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
994 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
995 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
998 %package -n libvdpau-driver-mesa-r300
999 Summary: Mesa r300 driver for the vdpau API
1000 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
1002 Group: X11/Libraries
1003 Requires: libdrm >= %{libdrm_ver}
1004 Requires: libvdpau >= 0.4.1
1005 Conflicts: libvdpau-driver-mesa
1007 %description -n libvdpau-driver-mesa-r300
1008 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1009 based on R300/R400/RS690/R500 chips.
1011 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1012 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1013 na układach R300/R400/RS690/R500.
1015 %package -n libvdpau-driver-mesa-r600
1016 Summary: Mesa r600 driver for the vdpau API
1017 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1019 Group: X11/Libraries
1020 Requires: libdrm >= %{libdrm_ver}
1021 Requires: libvdpau >= 0.4.1
1022 Conflicts: libvdpau-driver-mesa
1024 %description -n libvdpau-driver-mesa-r600
1025 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1026 based on R600/R700 chips.
1028 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1029 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1030 na układach R600/R700.
1032 %package -n libvdpau-driver-mesa-radeonsi
1033 Summary: Mesa radeonsi driver for the vdpau API
1034 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1036 Group: X11/Libraries
1037 Requires: libdrm >= %{libdrm_ver}
1038 Requires: libvdpau >= 0.4.1
1039 Conflicts: libvdpau-driver-mesa
1041 %description -n libvdpau-driver-mesa-radeonsi
1042 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1043 adapters based on Southern Islands chips.
1045 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1046 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1047 oparte na układach Southern Islands.
1049 %package -n libvdpau-driver-mesa-softpipe
1050 Summary: Mesa softpipe driver for the vdpau API
1051 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
1053 Group: X11/Libraries
1054 Requires: libdrm >= %{libdrm_ver}
1055 Requires: libvdpau >= 0.4.1
1056 Conflicts: libvdpau-driver-mesa
1058 %description -n libvdpau-driver-mesa-softpipe
1059 Mesa softpipe driver for the vdpau API.
1061 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
1062 Sterownik Mesa softpipe dla API vdpau.
1074 dri_drivers="r200 radeon \
1075 %if %{without gallium_intel}
1080 %ifarch sparc sparcv9 sparc64
1085 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1087 gallium_drivers="svga swrast \
1088 %if %{with gallium_intel}
1094 %if %{with gallium_nouveau}
1099 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1102 --disable-silent-rules \
1106 %{?with_static_libs:--enable-static} \
1109 --enable-shared-glapi \
1114 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1117 --enable-gallium-llvm \
1118 --with-llvm-shared-libs \
1119 %{__enable egl gallium-egl} \
1120 %{__enable gbm gallium-gbm} \
1121 %{?with_opencl:--enable-opencl} \
1122 %{?with_egl:--enable-openvg} \
1124 %{?with_xa:--enable-xa} \
1126 --with-gallium-drivers=${gallium_drivers} \
1128 --without-gallium-drivers \
1130 --with-dri-drivers=${dri_drivers} \
1131 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1136 rm -rf $RPM_BUILD_ROOT
1139 DESTDIR=$RPM_BUILD_ROOT
1141 # omitted by make install (as of 9.0)
1142 cp -pr include/CL $RPM_BUILD_ROOT%{_includedir}
1143 # strip out undesirable headers
1144 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1145 # dlopened by soname
1146 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1147 # not used externally
1148 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{version}.0,glapi}.so
1150 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1151 # not defined by standards; and not needed, there is pkg-config support
1152 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1153 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/lib*.la
1154 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gdb*.la
1156 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1157 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1158 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1161 rm -rf $RPM_BUILD_ROOT
1163 %post libEGL -p /sbin/ldconfig
1164 %postun libEGL -p /sbin/ldconfig
1166 %post libGL -p /sbin/ldconfig
1167 %postun libGL -p /sbin/ldconfig
1169 %post libGLES -p /sbin/ldconfig
1170 %postun libGLES -p /sbin/ldconfig
1172 %post libOSMesa -p /sbin/ldconfig
1173 %postun libOSMesa -p /sbin/ldconfig
1175 %post libOpenCL -p /sbin/ldconfig
1176 %postun libOpenCL -p /sbin/ldconfig
1178 %post libOpenVG -p /sbin/ldconfig
1179 %postun libOpenVG -p /sbin/ldconfig
1181 %post libXvMC-nouveau -p /sbin/ldconfig
1182 %postun libXvMC-nouveau -p /sbin/ldconfig
1183 %post libXvMC-r300 -p /sbin/ldconfig
1184 %postun libXvMC-r300 -p /sbin/ldconfig
1185 %post libXvMC-r600 -p /sbin/ldconfig
1186 %postun libXvMC-r600 -p /sbin/ldconfig
1187 %post libXvMC-softpipe -p /sbin/ldconfig
1188 %postun libXvMC-softpipe -p /sbin/ldconfig
1190 %post libgbm -p /sbin/ldconfig
1191 %postun libgbm -p /sbin/ldconfig
1193 %post libglapi -p /sbin/ldconfig
1194 %postun libglapi -p /sbin/ldconfig
1196 %post libwayland-egl -p /sbin/ldconfig
1197 %postun libwayland-egl -p /sbin/ldconfig
1199 %post libxatracker -p /sbin/ldconfig
1200 %postun libxatracker -p /sbin/ldconfig
1202 %post dri-core -p /sbin/ldconfig
1203 %postun dri-core -p /sbin/ldconfig
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1209 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1212 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/libEGL.so
1218 %dir %{_includedir}/EGL
1219 %{_includedir}/EGL/egl.h
1220 %{_includedir}/EGL/eglext.h
1221 %{_includedir}/EGL/eglmesaext.h
1222 %{_includedir}/EGL/eglplatform.h
1223 %{_pkgconfigdir}/egl.pc
1225 %if %{with static_libs}
1226 %files libEGL-static
1227 %defattr(644,root,root,755)
1233 %defattr(644,root,root,755)
1234 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1235 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1236 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1237 # symlink for binary apps which fail to conform Linux OpenGL ABI
1238 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1239 %attr(755,root,root) %{_libdir}/libGL.so
1242 %defattr(644,root,root,755)
1244 %dir %{_includedir}/GL
1245 %{_includedir}/GL/gl.h
1246 %{_includedir}/GL/glext.h
1247 %{_includedir}/GL/gl_mangle.h
1248 %{_includedir}/GL/glx.h
1249 %{_includedir}/GL/glxext.h
1250 %{_includedir}/GL/glx_mangle.h
1251 %dir %{_includedir}/GL/internal
1252 %{_includedir}/GL/internal/dri_interface.h
1253 %{_pkgconfigdir}/dri.pc
1254 %{_pkgconfigdir}/gl.pc
1256 %if %{with static_libs}
1258 %defattr(644,root,root,755)
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1265 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1266 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1267 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1269 %files libGLES-devel
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1272 %attr(755,root,root) %{_libdir}/libGLESv2.so
1274 %{_includedir}/GLES2
1275 %{_includedir}/GLES3
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
1302 %files libOpenCL-devel
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) %{_libdir}/libOpenCL.so
1307 %if %{with gallium_intel}
1308 %files opencl-driver-i915
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/opencl/pipe_i915.so
1313 %if %{with gallium_nouveau}
1314 %files opencl-driver-nouveau
1315 %defattr(644,root,root,755)
1316 #%attr(755,root,root) %{_libdir}/opencl/pipe_nouveau.so
1319 %files opencl-driver-r300
1320 %defattr(644,root,root,755)
1321 #%attr(755,root,root) %{_libdir}/opencl/pipe_r300.so
1323 %files opencl-driver-r600
1324 %defattr(644,root,root,755)
1325 #%attr(755,root,root) %{_libdir}/opencl/pipe_r600.so
1327 %files opencl-driver-radeonsi
1328 %defattr(644,root,root,755)
1329 #%attr(755,root,root) %{_libdir}/opencl/pipe_radeonsi.so
1331 %files opencl-driver-swrast
1332 %defattr(644,root,root,755)
1333 #%attr(755,root,root) %{_libdir}/opencl/pipe_swrast.so
1335 %files opencl-driver-vmwgfx
1336 %defattr(644,root,root,755)
1337 #%attr(755,root,root) %{_libdir}/opencl/pipe_vmwgfx.so
1340 %if %{with egl} && %{with gallium}
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1344 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1346 %files libOpenVG-devel
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_libdir}/libOpenVG.so
1350 %{_pkgconfigdir}/vg.pc
1354 %if %{with gallium_nouveau}
1355 %files libXvMC-nouveau
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1358 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0.0
1364 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1367 %defattr(644,root,root,755)
1368 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1369 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1371 %files libXvMC-softpipe
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0.0
1374 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1381 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1384 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_libdir}/libgbm.so
1390 %{_includedir}/gbm.h
1391 %{_pkgconfigdir}/gbm.pc
1395 %if %{with gallium_intel}
1396 %files gbm-driver-i915
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1401 %if %{with gallium_nouveau}
1402 %files gbm-driver-nouveau
1403 %defattr(644,root,root,755)
1404 #%attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1407 %files gbm-driver-r300
1408 %defattr(644,root,root,755)
1409 #%attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1411 %files gbm-driver-r600
1412 %defattr(644,root,root,755)
1413 #%attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1415 %files gbm-driver-radeonsi
1416 %defattr(644,root,root,755)
1417 #%attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1419 %files gbm-driver-swrast
1420 %defattr(644,root,root,755)
1421 #%attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1423 %files gbm-driver-vmwgfx
1424 %defattr(644,root,root,755)
1425 #%attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1431 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1432 # libglapi-devel? nothing seems to need it atm.
1433 #%attr(755,root,root) %{_libdir}/libglapi.so
1436 %files libwayland-egl
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1439 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1441 %files libwayland-egl-devel
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1444 %{_pkgconfigdir}/wayland-egl.pc
1449 %defattr(644,root,root,755)
1450 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1451 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1453 %files libxatracker-devel
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_libdir}/libxatracker.so
1456 %{_includedir}/xa_composite.h
1457 %{_includedir}/xa_context.h
1458 %{_includedir}/xa_tracker.h
1459 %{_pkgconfigdir}/xatracker.pc
1463 %files khrplatform-devel
1464 %defattr(644,root,root,755)
1465 %dir %{_includedir}/KHR
1466 %{_includedir}/KHR/khrplatform.h
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/libdricore%{version}.0.so.*.*
1472 %attr(755,root,root) %ghost %{_libdir}/libdricore%{version}.0.so.1
1473 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1475 %files dri-driver-ati-radeon-R100
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1479 %files dri-driver-ati-radeon-R200
1480 %defattr(644,root,root,755)
1481 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1484 %files dri-driver-ati-radeon-R300
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1488 %files dri-driver-ati-radeon-R600
1489 %defattr(644,root,root,755)
1490 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1493 %files dri-driver-ati-radeon-SI
1494 %defattr(644,root,root,755)
1495 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1497 %files dri-driver-intel-i915
1498 %defattr(644,root,root,755)
1499 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1501 %files dri-driver-intel-i965
1502 %defattr(644,root,root,755)
1503 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1505 %files dri-driver-nouveau
1506 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1508 %if %{with gallium_nouveau}
1509 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1512 %files dri-driver-swrast
1513 %defattr(644,root,root,755)
1514 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1517 %files dri-driver-vmwgfx
1518 %defattr(644,root,root,755)
1519 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1523 # ldconfig is not used in vdpau tree, so package all symlinks
1524 %if %{with gallium_nouveau}
1525 %files -n libvdpau-driver-mesa-nouveau
1526 %defattr(644,root,root,755)
1527 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1528 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1529 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1532 %files -n libvdpau-driver-mesa-r300
1533 %defattr(644,root,root,755)
1534 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1535 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1538 %files -n libvdpau-driver-mesa-r600
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1541 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1542 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1544 %files -n libvdpau-driver-mesa-radeonsi
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1547 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1548 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1550 %files -n libvdpau-driver-mesa-softpipe
1551 %defattr(644,root,root,755)
1552 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0.0
1553 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1554 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so