3 # - check if gallium_i915 note is still valid, switch the bcond if not
5 # - ARM drivers (ilo,freedreno,vc4)?
6 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
7 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
10 %bcond_without gallium # gallium drivers
11 %bcond_with gallium_i915 # gallium i915 Intel driver (instead of plain dri; doesn't work with AIGLX)
12 %bcond_without gallium_nouveau # gallium nouveau driver
13 %bcond_without gallium_radeon # gallium radeon drivers
14 %bcond_without egl # EGL libraries
15 %bcond_with openvg # OpenVG library [not builind since 10.4, dropped in 10.6]
16 %bcond_without gbm # Graphics Buffer Manager
17 %bcond_without nine # Nine Direct3D 9+ state tracker (for Wine)
18 %bcond_without opencl # OpenCL support
19 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
20 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
21 %bcond_without va # VA library
22 %bcond_without wayland # Wayland EGL
23 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
24 %bcond_with texture_float # floating-point textures and renderbuffers (SGI patent in US)
25 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
26 %bcond_with tests # tests
28 # glapi version (glapi tables in dri drivers and libglx must be in sync);
29 # set to current Mesa version on ABI break, when xserver tables get regenerated
30 # (until they start to be somehow versioned themselves)
31 %define glapi_ver 7.1.0
32 # minimal supported xserver version
33 %define xserver_ver 1.5.0
35 %define libdrm_ver 2.4.63
36 %define dri2proto_ver 2.6
37 %define dri3proto_ver 1.0
38 %define glproto_ver 1.4.14
39 %define presentproto_ver 1.0
41 %if %{without gallium}
42 %undefine with_gallium_i915
43 %undefine with_gallium_nouveau
44 %undefine with_gallium_radeon
46 %undefine with_ocl_icd
54 %undefine with_wayland
57 Summary: Free OpenGL implementation
58 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
62 License: MIT (core) and others - see license.html file
64 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/mesa-%{version}.tar.xz
65 # Source0-md5: 00a81d2b97cc62c08ae91f8914825f0b
66 Patch0: missing-type.patch
68 URL: http://www.mesa3d.org/
69 BuildRequires: autoconf >= 2.60
70 BuildRequires: automake
71 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
72 BuildRequires: elfutils-devel
73 BuildRequires: expat-devel
74 BuildRequires: gcc >= 6:4.2.0
75 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
76 BuildRequires: libdrm-devel >= %{libdrm_ver}
77 BuildRequires: libselinux-devel
78 BuildRequires: libstdc++-devel >= 6:4.2.0
79 BuildRequires: libtalloc-devel >= 2:2.0.1
80 BuildRequires: libtool >= 2:2.2
81 %{?with_va:BuildRequires: libva-devel >= 1.3.0}
82 %{?with_va:BuildRequires: pkgconfig(libva) >= 0.35.0}
83 BuildRequires: libvdpau-devel >= 1.1
84 BuildRequires: libxcb-devel >= 1.10
85 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
86 %{?with_opencl:BuildRequires: llvm-libclc}
87 # for SHA1 (could use also libmd/libsha1/libgcrypt/openssl instead)
88 BuildRequires: nettle-devel
89 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
90 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
91 BuildRequires: perl-base
92 BuildRequires: pixman-devel
93 BuildRequires: pkgconfig
94 BuildRequires: pkgconfig(talloc) >= 2.0.1
95 BuildRequires: pkgconfig(xcb-dri3)
96 BuildRequires: pkgconfig(xcb-present)
97 BuildRequires: python >= 2
98 BuildRequires: python-Mako >= 0.3.4
99 BuildRequires: python-modules >= 2
100 BuildRequires: rpmbuild(macros) >= 1.470
101 BuildRequires: sed >= 4.0
102 %{?with_egl:BuildRequires: udev-devel >= 1:151}
103 # wayland-{client,server}
104 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
105 BuildRequires: xorg-lib-libXdamage-devel
106 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
107 BuildRequires: xorg-lib-libXfixes-devel
108 BuildRequires: xorg-lib-libXt-devel
109 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
110 BuildRequires: xorg-lib-libXxf86vm-devel
111 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
112 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
113 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
114 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
115 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
116 BuildRequires: xorg-util-makedepend
118 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
119 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
121 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
123 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
124 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
125 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
126 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
129 %define filterout_ld -Wl,--as-needed
132 Mesa is a 3-D graphics library with an API which is very similar to
133 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
134 syntax or state machine, it is being used with authorization from
135 Silicon Graphics, Inc. However, the author does not possess an OpenGL
136 license from SGI, and makes no claim that Mesa is in any way a
137 compatible replacement for OpenGL or associated with SGI.
139 %description -l pl.UTF-8
140 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
141 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
142 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
143 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
144 OpenGL ani powiązana z SGI.
147 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
148 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
151 Requires: %{name}-libglapi = %{version}-%{release}
152 # glx driver in libEGL dlopens libGL.so
153 Requires: OpenGL >= 1.2
154 Requires: libdrm >= %{libdrm_ver}
155 Requires: libxcb >= 1.9
156 %{?with_wayland:Requires: wayland >= 1.2.0}
158 Requires: udev-libs >= 1:151
161 Requires: %{name}-libgbm = %{version}-%{release}
166 This package contains shared libEGL - Mesa implementation of EGL
167 Native Platform Graphics Interface as specified by Khronos Group:
168 <http://www.khronos.org/egl/>.
170 %description libEGL -l pl.UTF-8
171 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
172 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
173 graficznego platformy natywnej) wg specyfikacji Khronos Group:
174 <http://www.khronos.org/egl/>.
176 %package libEGL-devel
177 Summary: Header files for Mesa implementation of EGL library
178 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
180 Group: Development/Libraries
181 Requires: %{name}-khrplatform-devel = %{version}-%{release}
182 Requires: %{name}-libEGL = %{version}-%{release}
183 Requires: libdrm-devel >= %{libdrm_ver}
184 Requires: xorg-lib-libX11-devel
185 Requires: xorg-lib-libXdamage-devel
186 Requires: xorg-lib-libXext-devel >= 1.0.5
187 Requires: xorg-lib-libXfixes-devel
188 Requires: xorg-lib-libXxf86vm-devel
189 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
190 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
191 Provides: EGL-devel = 1.5
193 %description libEGL-devel
194 Header files for Mesa implementation of EGL library.
196 %description libEGL-devel -l pl.UTF-8
197 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
199 %package libEGL-static
200 Summary: Static Mesa EGL library
201 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
203 Group: Development/Libraries
204 Requires: %{name}-libEGL-devel = %{version}-%{release}
205 Provides: EGL-static = 1.5
207 %description libEGL-static
208 Static Mesa EGL library.
210 %description libEGL-static -l pl.UTF-8
211 Statyczna biblioteka Mesa EGL.
214 Summary: Free Mesa3D implementation of libGL OpenGL library
215 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
218 Requires: %{name}-libglapi = %{version}-%{release}
219 Requires: libdrm >= %{libdrm_ver}
220 Provides: OpenGL = 4.1
221 Provides: OpenGL-GLX = 1.4
224 Obsoletes: Mesa-dri-core < 10.0.0
225 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
226 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
229 Mesa is a 3-D graphics library with an API which is very similar to
230 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
231 syntax or state machine, it is being used with authorization from
232 Silicon Graphics, Inc. However, the author does not possess an OpenGL
233 license from SGI, and makes no claim that Mesa is in any way a
234 compatible replacement for OpenGL or associated with SGI.
236 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
237 specifications. It uses DRI for rendering.
239 %description libGL -l pl.UTF-8
240 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
241 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
242 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
243 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
244 OpenGL ani powiązana z SGI.
246 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
247 GLX 1.4. Używa DRI do renderowania.
250 Summary: Header files for Mesa3D libGL library
251 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
253 Group: X11/Development/Libraries
254 # loose dependency on libGL to use with other libGL binaries
255 Requires: OpenGL >= 1.5
256 Requires: libdrm-devel >= %{libdrm_ver}
257 Requires: xorg-lib-libX11-devel
258 Requires: xorg-lib-libXdamage-devel
259 Requires: xorg-lib-libXext-devel >= 1.0.5
260 Requires: xorg-lib-libXxf86vm-devel
261 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
262 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
263 Suggests: OpenGL-doc-man
264 Provides: OpenGL-GLX-devel = 1.4
265 Provides: OpenGL-devel = 4.1
266 Obsoletes: Mesa-devel
267 Obsoletes: X11-OpenGL-devel < 1:7.0.0
268 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
269 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
270 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
272 %description libGL-devel
273 Header files for Mesa3D libGL library.
275 %description libGL-devel -l pl.UTF-8
276 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
278 %package libGL-static
279 Summary: Static Mesa3D libGL library
280 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
282 Group: X11/Development/Libraries
283 Requires: %{name}-libGL-devel = %{version}-%{release}
284 Provides: OpenGL-static = 4.1
285 Obsoletes: Mesa-static
286 Obsoletes: X11-OpenGL-static < 1:7.0.0
287 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
289 %description libGL-static
290 Static Mesa3D libGL library. It uses software renderer.
292 %description libGL-static -l pl.UTF-8
293 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
297 Summary: Mesa implementation of GLES (OpenGL ES) libraries
298 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
300 Requires: %{name}-libglapi = %{version}-%{release}
302 Provides: OpenGLESv1 = 1.1
303 Provides: OpenGLESv2 = 2.0
304 Provides: OpenGLESv3 = 3.1
307 This package contains shared libraries of Mesa implementation of GLES
308 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
309 on embedded systems. OpenGL ES specification can be found on Khronos
310 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
313 %description libGLES -l pl.UTF-8
314 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
315 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
316 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
317 OpenGL ES można znaleźć na stronie Khronos Group:
318 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
321 %package libGLES-devel
322 Summary: Header files for Mesa GLES libraries
323 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
324 Group: Development/Libraries
325 Requires: %{name}-khrplatform-devel = %{version}-%{release}
326 # <EGL/egl.h> for <GLES/egl.h>
327 Requires: %{name}-libEGL-devel = %{version}-%{release}
328 Requires: %{name}-libGLES = %{version}-%{release}
329 Provides: OpenGLES-devel
330 Provides: OpenGLESv1-devel = 1.1
331 Provides: OpenGLESv2-devel = 2.0
332 Provides: OpenGLESv3-devel = 3.1
334 %description libGLES-devel
335 Header files for Mesa GLES libraries.
337 %description libGLES-devel -l pl.UTF-8
338 Pliki nagłówkowe bibliotek Mesa GLES.
341 Summary: OSMesa (off-screen renderer) library
342 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
346 %description libOSMesa
347 OSMesa (off-screen renderer) library.
349 %description libOSMesa -l pl.UTF-8
350 Biblioteka OSMesa (renderująca bitmapy w pamięci).
352 %package libOSMesa-devel
353 Summary: Header file for OSMesa (off-screen renderer) library
354 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
356 Group: Development/Libraries
357 Requires: %{name}-libOSMesa = %{version}-%{release}
359 Requires: OpenGL-devel
360 Requires: libselinux-devel
362 %description libOSMesa-devel
363 Header file for OSMesa (off-screen renderer) library.
365 %description libOSMesa-devel -l pl.UTF-8
366 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
368 %package libOSMesa-static
369 Summary: Static OSMesa (off-screen renderer) library
370 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
372 Group: Development/Libraries
373 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
374 # this static build of OSMesa needs static non-dri Mesa implementation
375 Requires: %{name}-libGL-static = %{version}-%{release}
377 %description libOSMesa-static
378 Static OSMesa (off-screen renderer) library.
380 %description libOSMesa-static -l pl.UTF-8
381 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
384 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
385 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
388 Requires: filesystem >= 4.0-29
389 Requires: libdrm >= %{libdrm_ver}
390 Requires: llvm-libclc
391 Requires: udev-libs >= 1:151
392 Provides: OpenCL = 1.1
393 Provides: ocl-icd-driver
395 %description OpenCL-icd
396 This package contains Mesa implementation of OpenCL - standard for
397 cross-platform, parallel programming of modern processors found in
398 personal computers, servers and handheld/embedded devices. OpenCL
399 specification can be found on Khronos Group site:
400 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
402 The implementation is provided as an installable client driver (ICD)
403 for use with the ocl-icd loader.
405 %description OpenCL-icd -l pl.UTF-8
406 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
407 wieloplatformowego, równoległego programowania nowoczesnych
408 procesorów, jakie znajdują się w komputerach osobistych, serwerach
409 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
410 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
411 Mesa zawiera implementację OpenCL w wersji 1.1.
413 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
414 (ICD), który może być użyty z loaderem ocl-icd.
417 Summary: Mesa implementation of OpenCL (Compuing Language) API
418 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
421 Requires: libdrm >= %{libdrm_ver}
422 Requires: llvm-libclc
423 Requires: udev-libs >= 1:151
424 Provides: OpenCL = 1.1
426 %description libOpenCL
427 This package contains Mesa implementation of OpenCL - standard for
428 cross-platform, parallel programming of modern processors found in
429 personal computers, servers and handheld/embedded devices. OpenCL
430 specification can be found on Khronos Group site:
431 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
433 %description libOpenCL -l pl.UTF-8
434 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
435 wieloplatformowego, równoległego programowania nowoczesnych
436 procesorów, jakie znajdują się w komputerach osobistych, serwerach
437 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
438 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
439 Mesa zawiera implementację OpenCL w wersji 1.1.
441 %package libOpenCL-devel
442 Summary: Header files for Mesa OpenCL library
443 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
445 Group: Development/Libraries
446 Requires: %{name}-libOpenCL = %{version}-%{release}
447 Provides: OpenCL-devel = 1.2
449 %description libOpenCL-devel
450 Header files for Mesa OpenCL library.
452 %description libOpenCL-devel -l pl.UTF-8
453 Pliki nagłówkowe biblioteki Mesa OpenCL.
456 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
457 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
460 Provides: OpenVG = 1.1
462 %description libOpenVG
463 This package contains Mesa implementation of OpenVG - cross-platform
464 API that provides a low-level hardware acceleration interface for
465 vector graphics libraries such as Flash and SVG. OpenVG specification
466 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
467 Mesa implements OpenVG 1.1.
469 %description libOpenVG -l pl.UTF-8
470 Ten pakiet zawiera implementację Mesa standardu OpenVG -
471 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
472 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
473 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
474 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
477 %package libOpenVG-devel
478 Summary: Header file for Mesa OpenVG library
479 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
481 Group: Development/Libraries
482 Requires: %{name}-khrplatform-devel = %{version}-%{release}
483 Requires: %{name}-libOpenVG = %{version}-%{release}
484 Provides: OpenVG-devel = 1.1
486 %description libOpenVG-devel
487 Header file for Mesa OpenVG library.
489 %description libOpenVG-devel -l pl.UTF-8
490 Plik nagłówkowy biblioteki Mesa OpenVG.
492 %package libXvMC-nouveau
493 Summary: Mesa implementation of XvMC API for NVidia adapters
494 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
497 Requires: libdrm >= %{libdrm_ver}
498 Requires: xorg-lib-libXvMC >= 1.0.6
499 Conflicts: Mesa-libXvMC
501 %description libXvMC-nouveau
502 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
504 %description libXvMC-nouveau -l pl.UTF-8
505 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
507 %package libXvMC-r600
508 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
509 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
512 Requires: libdrm >= %{libdrm_ver}
513 Requires: xorg-lib-libXvMC >= 1.0.6
514 Conflicts: Mesa-libXvMC
516 %description libXvMC-r600
517 Mesa implementation of XvMC API for ATI Radeon adapters based on
520 %description libXvMC-r600 -l pl.UTF-8
521 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
524 %package -n libva-driver-gallium
525 Summary: VA driver for Gallium State Tracker
526 Summary(pl.UTF-8): Sterownik VA do Gallium
528 Requires: libva >= 1.3.0
530 %description -n libva-driver-gallium
531 VA driver for Gallium State Tracker.
533 %description -n libva-driver-gallium -l pl.UTF-8
534 Sterownik VA do Gallium.
537 Summary: Mesa Graphics Buffer Manager library
538 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
540 Requires: %{name}-libglapi = %{version}-%{release}
541 Requires: udev-libs >= 1:151
542 Conflicts: Mesa-libEGL < 8.0.1-2
545 Mesa Graphics Buffer Manager library.
547 %description libgbm -l pl.UTF-8
548 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
550 %package libgbm-devel
551 Summary: Header file for Mesa Graphics Buffer Manager library
552 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
553 Group: Development/Libraries
554 Requires: %{name}-libgbm = %{version}-%{release}
555 Requires: udev-devel >= 1:151
557 %description libgbm-devel
558 Header file for Mesa Graphics Buffer Manager library.
560 %description libgbm-devel -l pl.UTF-8
561 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
564 %package gbm-driver-i915
565 Summary: i915 driver for Mesa GBM framework
566 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
568 Requires: %{name}-libgbm = %{version}-%{release}
569 Obsoletes: Mesa-opencl-driver-i915
571 %description gbm-driver-i915
572 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
573 915/945/G33/Q33/Q35/Pineview chips.
575 %description gbm-driver-i915 -l pl.UTF-8
576 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
577 bufora graficznego). Obsługuje układy Intela z serii
578 915/945/G33/Q33/Q35/Pineview.
580 %package gbm-driver-nouveau
581 Summary: nouveau driver for Mesa GBM framework
582 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
584 Requires: %{name}-libgbm = %{version}-%{release}
585 Obsoletes: Mesa-opencl-driver-nouveau
587 %description gbm-driver-nouveau
588 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
591 %description gbm-driver-nouveau -l pl.UTF-8
592 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
593 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
595 %package gbm-driver-r300
596 Summary: r300 driver for Mesa GBM framework
597 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
599 Requires: %{name}-libgbm = %{version}-%{release}
600 Obsoletes: Mesa-opencl-driver-r300
602 %description gbm-driver-r300
603 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
604 adapters based on R300/R400/RS690/R500 chips.
606 %description gbm-driver-r300 -l pl.UTF-8
607 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
608 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
609 układach R300/R400/RS690/R500.
611 %package gbm-driver-r600
612 Summary: r600 driver for Mesa GBM framework
613 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
615 Requires: %{name}-libgbm = %{version}-%{release}
616 Obsoletes: Mesa-libllvmradeon
617 Obsoletes: Mesa-opencl-driver-r600
619 %description gbm-driver-r600
620 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
621 adapters based on R600/R700 chips.
623 %description gbm-driver-r600 -l pl.UTF-8
624 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
625 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
628 %package gbm-driver-radeonsi
629 Summary: radeonsi driver for Mesa GBM framework
630 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
632 Requires: %{name}-libgbm = %{version}-%{release}
633 Obsoletes: Mesa-libllvmradeon
634 Obsoletes: Mesa-opencl-driver-radeonsi
636 %description gbm-driver-radeonsi
637 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
638 Radeon adapters based on Southern Islands chips.
640 %description gbm-driver-radeonsi -l pl.UTF-8
641 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
642 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
643 oparte na układach Southern Islands.
645 %package gbm-driver-swrast
646 Summary: Software (swrast) driver for Mesa GBM framework
647 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
649 Requires: %{name}-libgbm = %{version}-%{release}
650 Obsoletes: Mesa-opencl-driver-swrast
652 %description gbm-driver-swrast
653 Software (swrast) driver for Mesa Graphics Buffer Manager.
655 %description gbm-driver-swrast -l pl.UTF-8
656 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
657 Manager (zarządcy bufora graficznego).
659 %package gbm-driver-vmwgfx
660 Summary: vmwgfx driver for Mesa GBM framework
661 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
663 Requires: %{name}-libgbm = %{version}-%{release}
664 Obsoletes: Mesa-opencl-driver-vmwgfx
666 %description gbm-driver-vmwgfx
667 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
668 virtual video adapter.
670 %description gbm-driver-vmwgfx -l pl.UTF-8
671 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
672 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
675 Summary: Mesa GL API shared library
676 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
678 Conflicts: Mesa-libEGL < 8.0.1-2
680 %description libglapi
681 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
683 %description libglapi -l pl.UTF-8
684 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
687 %package libwayland-egl
688 Summary: Wayland EGL library
689 Summary(pl.UTF-8): Biblioteka Wayland EGL
691 Requires: libdrm >= %{libdrm_ver}
693 %description libwayland-egl
694 Wayland EGL platform library.
696 %description libwayland-egl -l pl.UTF-8
697 Biblioteka platformy EGL Wayland.
699 %package libwayland-egl-devel
700 Summary: Development files for Wayland EGL library
701 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
702 Group: Development/Libraries
703 Requires: %{name}-libwayland-egl = %{version}-%{release}
704 Requires: libdrm-devel >= %{libdrm_ver}
706 %description libwayland-egl-devel
707 Development files for Wayland EGL platform library.
709 %description libwayland-egl-devel -l pl.UTF-8
710 Pliki programistyczne biblioteki platformy EGL Wayland.
712 %package libxatracker
713 Summary: Xorg Gallium3D accelleration library
714 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
716 Requires: libdrm >= %{libdrm_ver}
718 %description libxatracker
719 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
721 %description libxatracker -l pl.UTF-8
722 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
725 %package libxatracker-devel
726 Summary: Header files for Xorg Gallium3D accelleration library
727 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
728 Group: X11/Development/Libraries
729 Requires: %{name}-libxatracker = %{version}-%{release}
730 Requires: libdrm-devel >= %{libdrm_ver}
732 %description libxatracker-devel
733 Header files for Xorg Gallium3D accelleration library.
735 %description libxatracker-devel -l pl.UTF-8
736 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
738 %package khrplatform-devel
739 Summary: Khronos platform header file
740 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
741 Group: Development/Libraries
742 Conflicts: Mesa-libEGL-devel < 8.0.1-2
744 %description khrplatform-devel
745 Khronos platform header file.
747 %description khrplatform-devel -l pl.UTF-8
748 Plik nagłówkowy platformy Khronos.
750 %package dri-driver-ati-radeon-R100
751 Summary: X.org DRI driver for ATI R100 card family
752 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
755 Requires: xorg-driver-video-ati
756 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
757 Requires: xorg-xserver-server >= %{xserver_ver}
758 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
760 %description dri-driver-ati-radeon-R100
761 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
763 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
764 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
766 %package dri-driver-ati-radeon-R200
767 Summary: X.org DRI driver for ATI R200 card family
768 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
771 Requires: xorg-driver-video-ati
772 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
773 Requires: xorg-xserver-server >= %{xserver_ver}
774 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
776 %description dri-driver-ati-radeon-R200
777 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
779 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
780 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
782 %package dri-driver-ati-radeon-R300
783 Summary: X.org DRI driver for ATI R300 card family
784 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
787 Requires: xorg-driver-video-ati
788 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
789 Requires: xorg-xserver-server >= %{xserver_ver}
790 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
792 %description dri-driver-ati-radeon-R300
793 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
795 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
796 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
798 %package dri-driver-ati-radeon-R600
799 Summary: X.org DRI driver for ATI R600 card family
800 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
803 Requires: radeon-ucode
804 Requires: xorg-driver-video-ati
805 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
806 Requires: xorg-xserver-server >= %{xserver_ver}
808 %description dri-driver-ati-radeon-R600
809 X.org DRI driver for ATI R600/R700 card family.
811 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
812 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
814 %package dri-driver-ati-radeon-SI
815 Summary: X.org DRI driver for ATI Southern Islands card family
816 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
819 Requires: radeon-ucode
820 Requires: xorg-driver-video-ati
821 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
822 Requires: xorg-xserver-server >= %{xserver_ver}
824 %description dri-driver-ati-radeon-SI
825 X.org DRI driver for ATI Southern Islands card family.
827 %description dri-driver-ati-radeon-SI -l pl.UTF-8
828 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
830 %package dri-driver-intel-i915
831 Summary: X.org DRI driver for Intel i915 card family
832 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
835 Requires: xorg-driver-video-intel
836 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
837 Requires: xorg-xserver-server >= %{xserver_ver}
838 Obsoletes: Mesa-dri-driver-intel-i830
839 Obsoletes: X11-driver-i810-dri < 1:7.0.0
841 %description dri-driver-intel-i915
842 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
845 %description dri-driver-intel-i915 -l pl.UTF-8
846 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
849 %package dri-driver-intel-i965
850 Summary: X.org DRI driver for Intel i965 card family
851 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
854 Requires: xorg-driver-video-intel
855 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
856 Requires: xorg-xserver-server >= %{xserver_ver}
857 Obsoletes: Mesa-dri-driver-intel-i830
858 Obsoletes: X11-driver-i810-dri < 1:7.0.0
860 %description dri-driver-intel-i965
861 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
862 965GME, GM45, G41, B43, Q45, G45);
864 %description dri-driver-intel-i965 -l pl.UTF-8
865 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
866 965GM, 965GME, GM45, G41, B43, Q45, G45).
868 %package dri-driver-intel-ilo
869 Summary: X.org DRI driver for Intel card family
870 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel
873 Requires: xorg-driver-video-intel
874 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
875 Requires: xorg-xserver-server >= %{xserver_ver}
877 %description dri-driver-intel-ilo
878 X.org DRI driver for Intel card family.
880 %description dri-driver-intel-ilo -l pl.UTF-8
881 Sterownik X.org DRI dla rodziny kart Intel.
883 %package dri-driver-nouveau
884 Summary: X.org DRI driver for NVIDIA card family
885 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
888 Requires: xorg-driver-video-nouveau
889 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
890 Requires: xorg-xserver-server >= %{xserver_ver}
892 %description dri-driver-nouveau
893 X.org DRI drivers for NVIDIA card family.
895 %description dri-driver-nouveau -l pl.UTF-8
896 Sterowniki X.org DRI dla rodziny kart NVIDIA.
898 %package dri-driver-swrast
899 Summary: X.org DRI software rasterizer driver
900 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
903 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
904 Requires: xorg-xserver-server >= %{xserver_ver}
906 %description dri-driver-swrast
907 X.org DRI software rasterizer driver.
909 %description dri-driver-swrast -l pl.UTF-8
910 Sterownik X.org DRI obsługujący rysowanie programowe.
912 %package dri-driver-virgl
913 Summary: X.org DRI driver for QEMU VirGL
914 Summary(pl.UTF-8): Sterownik X.org DRI dla QEMU VirGL
917 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
918 Requires: xorg-xserver-server >= %{xserver_ver}
920 %description dri-driver-virgl
921 X.org DRI driver for QEMU VirGL.
923 %description dri-driver-virgl -l pl.UTF-8
924 Sterownik X.org DRI dla QEMU VirGL.
926 %package dri-driver-vmwgfx
927 Summary: X.org DRI driver for VMware
928 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
931 Requires: xorg-driver-video-vmware
932 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
933 Requires: xorg-xserver-server >= %{xserver_ver}
935 %description dri-driver-vmwgfx
936 X.org DRI driver for VMWare.
938 %description dri-driver-vmwgfx -l pl.UTF-8
939 Sterownik X.org DRI dla VMware.
942 Summary: Nine Direct3D9 driver (for Wine)
943 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
945 Requires: libdrm >= %{libdrm_ver}
948 Nine Direct3D9 driver (for Wine).
950 %description d3d -l pl.UTF-8
951 Sterownik Direct3D9 Nine (dla Wine).
954 Summary: Nine Direct3D9 driver API
955 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
956 Group: Development/Libraries
957 Requires: libdrm-devel >= %{libdrm_ver}
959 %description d3d-devel
960 Nine Direct3D9 driver API.
962 %description d3d-devel -l pl.UTF-8
963 API sterownika Direct3D9 Nine.
965 %package -n libvdpau-driver-mesa-nouveau
966 Summary: Mesa nouveau driver for the vdpau API
967 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
970 Requires: libdrm >= %{libdrm_ver}
971 Requires: libvdpau >= 1.1
972 Conflicts: libvdpau-driver-mesa
974 %description -n libvdpau-driver-mesa-nouveau
975 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
978 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
979 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
982 %package -n libvdpau-driver-mesa-r300
983 Summary: Mesa r300 driver for the vdpau API
984 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
987 Requires: libdrm >= %{libdrm_ver}
988 Requires: libvdpau >= 1.1
989 Conflicts: libvdpau-driver-mesa
991 %description -n libvdpau-driver-mesa-r300
992 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
995 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
996 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
999 %package -n libvdpau-driver-mesa-r600
1000 Summary: Mesa r600 driver for the vdpau API
1001 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1003 Group: X11/Libraries
1004 Requires: libdrm >= %{libdrm_ver}
1005 Requires: libvdpau >= 1.1
1006 Conflicts: libvdpau-driver-mesa
1008 %description -n libvdpau-driver-mesa-r600
1009 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1010 based on R600/R700 chips.
1012 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1013 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1014 na układach R600/R700.
1016 %package -n libvdpau-driver-mesa-radeonsi
1017 Summary: Mesa radeonsi driver for the vdpau API
1018 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1020 Group: X11/Libraries
1021 Requires: libdrm >= %{libdrm_ver}
1022 Requires: libvdpau >= 1.1
1023 Conflicts: libvdpau-driver-mesa
1024 Obsoletes: Mesa-libllvmradeon
1026 %description -n libvdpau-driver-mesa-radeonsi
1027 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1028 adapters based on Southern Islands chips.
1030 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1031 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1032 oparte na układach Southern Islands.
1034 %package -n omxil-mesa
1035 Summary: Mesa driver for Bellagio OpenMAX IL API
1036 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1038 Group: X11/Libraries
1039 Requires: libdrm >= %{libdrm_ver}
1040 Requires: libxcb >= 1.8
1041 Requires: libomxil-bellagio
1042 Obsoletes: omxil-mesa-nouveau
1043 Obsoletes: omxil-mesa-r600
1044 Obsoletes: omxil-mesa-radeonsi
1046 %description -n omxil-mesa
1047 Mesa driver for Bellagio OpenMAX IL API.
1049 %description -n omxil-mesa -l pl.UTF-8
1050 Sterownik Mesa dla API Bellagio OpenMAX IL.
1052 %package -n omxil-mesa-nouveau
1053 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1054 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1056 Group: X11/Libraries
1057 Requires: libdrm >= %{libdrm_ver}
1058 Requires: libxcb >= 1.8
1059 Requires: libomxil-bellagio
1061 %description -n omxil-mesa-nouveau
1062 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1063 adapters (NV40-NV96, NVa0).
1065 %description -n omxil-mesa-nouveau -l pl.UTF-8
1066 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1067 NVidia (NV40-NV96, NVa0).
1069 %package -n omxil-mesa-r600
1070 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1071 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1073 Group: X11/Libraries
1074 Requires: libdrm >= %{libdrm_ver}
1075 Requires: libxcb >= 1.8
1076 Requires: libomxil-bellagio
1078 %description -n omxil-mesa-r600
1079 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1080 adapters based on R600/R700 chips.
1082 %description -n omxil-mesa-r600 -l pl.UTF-8
1083 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1084 Radeon oparte na układach R600/R700.
1086 %package -n omxil-mesa-radeonsi
1087 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1088 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1090 Group: X11/Libraries
1091 Requires: libdrm >= %{libdrm_ver}
1092 Requires: libxcb >= 1.8
1093 Requires: libomxil-bellagio
1095 %description -n omxil-mesa-radeonsi
1096 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1097 Radeon adapters based on Southern Islands chips.
1099 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1100 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1101 ATI Radeon oparte na układach Southern Islands.
1104 %setup -q -n mesa-%{version}
1114 dri_drivers="r200 radeon \
1115 %if %{without gallium_i915}
1120 %ifarch sparc sparcv9 sparc64
1125 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1127 gallium_drivers="svga swrast \
1128 %if %{with gallium_i915}
1131 %if %{with gallium_radeon}
1136 %if %{with gallium_nouveau}
1143 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1146 --disable-silent-rules \
1152 --enable-shared-glapi \
1153 %{?with_static_libs:--enable-static} \
1154 %{?with_texture_float:--enable-texture-float} \
1159 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1162 --enable-gallium-llvm \
1163 --enable-llvm-shared-libs \
1164 %{__enable egl gallium-egl} \
1165 %{__enable gbm gallium-gbm} \
1166 %{__enable ocl_icd opencl-icd} \
1167 %{?with_nine:--enable-nine} \
1168 %{__enable opencl} \
1170 %{?with_omx:--enable-omx} \
1171 %{?with_xa:--enable-xa} \
1173 --with-gallium-drivers=${gallium_drivers} \
1175 --without-gallium-drivers \
1177 --with-dri-drivers=${dri_drivers} \
1178 --with-dri-driverdir=%{_libdir}/xorg/modules/dri \
1179 --with-sha1=libnettle \
1180 --with-va-libdir=%{_libdir}/libva/dri
1184 %{?with_tests:%{__make} check}
1187 rm -rf $RPM_BUILD_ROOT
1190 DESTDIR=$RPM_BUILD_ROOT
1192 # strip out undesirable headers
1193 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/wglext.h
1194 # dlopened by soname
1195 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1196 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1197 # dlopened by soname or .so link
1198 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1199 # not used externally
1200 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1202 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1203 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1204 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1205 # not defined by standards; and not needed, there is pkg-config support
1206 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1207 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1209 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1210 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1211 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1214 rm -rf $RPM_BUILD_ROOT
1216 %post libEGL -p /sbin/ldconfig
1217 %postun libEGL -p /sbin/ldconfig
1219 %post libGL -p /sbin/ldconfig
1220 %postun libGL -p /sbin/ldconfig
1222 %post libGLES -p /sbin/ldconfig
1223 %postun libGLES -p /sbin/ldconfig
1225 %post libOSMesa -p /sbin/ldconfig
1226 %postun libOSMesa -p /sbin/ldconfig
1228 %post libOpenCL -p /sbin/ldconfig
1229 %postun libOpenCL -p /sbin/ldconfig
1231 %post libOpenVG -p /sbin/ldconfig
1232 %postun libOpenVG -p /sbin/ldconfig
1234 %post libXvMC-nouveau -p /sbin/ldconfig
1235 %postun libXvMC-nouveau -p /sbin/ldconfig
1236 %post libXvMC-r600 -p /sbin/ldconfig
1237 %postun libXvMC-r600 -p /sbin/ldconfig
1239 %post libgbm -p /sbin/ldconfig
1240 %postun libgbm -p /sbin/ldconfig
1242 %post libglapi -p /sbin/ldconfig
1243 %postun libglapi -p /sbin/ldconfig
1245 %post libwayland-egl -p /sbin/ldconfig
1246 %postun libwayland-egl -p /sbin/ldconfig
1248 %post libxatracker -p /sbin/ldconfig
1249 %postun libxatracker -p /sbin/ldconfig
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1255 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/libEGL.so
1260 %dir %{_includedir}/EGL
1261 %{_includedir}/EGL/egl.h
1262 %{_includedir}/EGL/eglext.h
1263 %{_includedir}/EGL/eglextchromium.h
1264 %{_includedir}/EGL/eglmesaext.h
1265 %{_includedir}/EGL/eglplatform.h
1266 %{_pkgconfigdir}/egl.pc
1268 %if %{with static_libs}
1269 %files libEGL-static
1270 %defattr(644,root,root,755)
1276 %defattr(644,root,root,755)
1277 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1278 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1279 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1280 # symlink for binary apps which fail to conform Linux OpenGL ABI
1281 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1282 %attr(755,root,root) %{_libdir}/libGL.so
1283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1286 %defattr(644,root,root,755)
1288 %dir %{_includedir}/GL
1289 %{_includedir}/GL/gl.h
1290 %{_includedir}/GL/glcorearb.h
1291 %{_includedir}/GL/glext.h
1292 %{_includedir}/GL/gl_mangle.h
1293 %{_includedir}/GL/glx.h
1294 %{_includedir}/GL/glxext.h
1295 %{_includedir}/GL/glx_mangle.h
1296 %dir %{_includedir}/GL/internal
1297 %{_includedir}/GL/internal/dri_interface.h
1298 %{_pkgconfigdir}/dri.pc
1299 %{_pkgconfigdir}/gl.pc
1301 %if %{with static_libs}
1303 %defattr(644,root,root,755)
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1310 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1311 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1312 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1314 %files libGLES-devel
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1317 %attr(755,root,root) %{_libdir}/libGLESv2.so
1319 %{_includedir}/GLES2
1320 %{_includedir}/GLES3
1321 %{_pkgconfigdir}/glesv1_cm.pc
1322 %{_pkgconfigdir}/glesv2.pc
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1327 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1329 %files libOSMesa-devel
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/libOSMesa.so
1332 %{_includedir}/GL/osmesa.h
1333 %{_pkgconfigdir}/osmesa.pc
1335 %if %{with static_libs}
1336 %files libOSMesa-static
1337 %defattr(644,root,root,755)
1338 %{_libdir}/libOSMesa.a
1344 %defattr(644,root,root,755)
1345 /etc/OpenCL/vendors/mesa.icd
1346 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1347 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1348 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1353 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1355 %files libOpenCL-devel
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_libdir}/libOpenCL.so
1362 %if %{with egl} && %{with openvg} && %{with gallium}
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1366 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1368 %files libOpenVG-devel
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/libOpenVG.so
1372 %{_pkgconfigdir}/vg.pc
1376 %if %{with gallium_nouveau}
1377 %files libXvMC-nouveau
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1380 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1383 %if %{with gallium_radeon}
1385 %defattr(644,root,root,755)
1386 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1387 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1391 %files -n libva-driver-gallium
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1401 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1403 %dir %{_libdir}/gallium-pipe
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_libdir}/libgbm.so
1409 %{_includedir}/gbm.h
1410 %{_pkgconfigdir}/gbm.pc
1414 %if %{with gallium_i915}
1415 %files gbm-driver-i915
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1420 %if %{with gallium_nouveau}
1421 %files gbm-driver-nouveau
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1426 %if %{with gallium_radeon}
1427 %files gbm-driver-r300
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1431 %files gbm-driver-r600
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1435 %files gbm-driver-radeonsi
1436 %defattr(644,root,root,755)
1437 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1440 %files gbm-driver-swrast
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1444 %files gbm-driver-vmwgfx
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1452 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1453 # libglapi-devel? nothing seems to need it atm.
1454 #%attr(755,root,root) %{_libdir}/libglapi.so
1457 %files libwayland-egl
1458 %defattr(644,root,root,755)
1459 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1460 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1462 %files libwayland-egl-devel
1463 %defattr(644,root,root,755)
1464 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1465 %{_pkgconfigdir}/wayland-egl.pc
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1472 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1474 %files libxatracker-devel
1475 %defattr(644,root,root,755)
1476 %attr(755,root,root) %{_libdir}/libxatracker.so
1477 %{_includedir}/xa_composite.h
1478 %{_includedir}/xa_context.h
1479 %{_includedir}/xa_tracker.h
1480 %{_pkgconfigdir}/xatracker.pc
1484 %files khrplatform-devel
1485 %defattr(644,root,root,755)
1486 %dir %{_includedir}/KHR
1487 %{_includedir}/KHR/khrplatform.h
1490 %files dri-driver-ati-radeon-R100
1491 %defattr(644,root,root,755)
1492 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1494 %files dri-driver-ati-radeon-R200
1495 %defattr(644,root,root,755)
1496 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1499 %if %{with gallium_radeon}
1500 %files dri-driver-ati-radeon-R300
1501 %defattr(644,root,root,755)
1502 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1504 %files dri-driver-ati-radeon-R600
1505 %defattr(644,root,root,755)
1506 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1508 %files dri-driver-ati-radeon-SI
1509 %defattr(644,root,root,755)
1510 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1513 %files dri-driver-intel-ilo
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ilo_dri.so
1516 # better place needed for dir
1517 %attr(755,root,root) %dir %{_libdir}/gallium-pipe
1518 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i965.so
1521 %files dri-driver-intel-i915
1522 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1525 %files dri-driver-intel-i965
1526 %defattr(644,root,root,755)
1527 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1529 %files dri-driver-nouveau
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1532 %if %{with gallium_nouveau}
1533 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1536 %files dri-driver-swrast
1537 %defattr(644,root,root,755)
1539 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1541 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1544 %files dri-driver-virgl
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) %{_libdir}/xorg/modules/dri/virtio_gpu_dri.so
1548 %files dri-driver-vmwgfx
1549 %defattr(644,root,root,755)
1550 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1555 %defattr(644,root,root,755)
1557 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1560 %defattr(644,root,root,755)
1561 %{_includedir}/d3dadapter
1562 %{_pkgconfigdir}/d3d.pc
1566 # ldconfig is not used in vdpau tree, so package all symlinks
1567 %if %{with gallium_nouveau}
1568 %files -n libvdpau-driver-mesa-nouveau
1569 %defattr(644,root,root,755)
1570 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1571 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1572 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1575 %if %{with gallium_radeon}
1576 %files -n libvdpau-driver-mesa-r300
1577 %defattr(644,root,root,755)
1578 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1579 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1580 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1582 %files -n libvdpau-driver-mesa-r600
1583 %defattr(644,root,root,755)
1584 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1585 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1586 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1588 %files -n libvdpau-driver-mesa-radeonsi
1589 %defattr(644,root,root,755)
1590 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1591 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1592 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1596 %if %{with gallium} && %{with omx}
1597 %files -n omxil-mesa
1598 %defattr(644,root,root,755)
1599 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so