3 # - check if gallium_intel 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_intel # gallium i915 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_intel
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: 5bb515d4b0931b7a9e1bfec3da73f10f
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-nouveau
869 Summary: X.org DRI driver for NVIDIA card family
870 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
873 Requires: xorg-driver-video-nouveau
874 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
875 Requires: xorg-xserver-server >= %{xserver_ver}
877 %description dri-driver-nouveau
878 X.org DRI drivers for NVIDIA card family.
880 %description dri-driver-nouveau -l pl.UTF-8
881 Sterowniki X.org DRI dla rodziny kart NVIDIA.
883 %package dri-driver-swrast
884 Summary: X.org DRI software rasterizer driver
885 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
888 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
889 Requires: xorg-xserver-server >= %{xserver_ver}
891 %description dri-driver-swrast
892 X.org DRI software rasterizer driver.
894 %description dri-driver-swrast -l pl.UTF-8
895 Sterownik X.org DRI obsługujący rysowanie programowe.
897 %package dri-driver-vmwgfx
898 Summary: X.org DRI driver for VMware
899 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
902 Requires: xorg-driver-video-vmware
903 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
904 Requires: xorg-xserver-server >= %{xserver_ver}
906 %description dri-driver-vmwgfx
907 X.org DRI driver for VMWare.
909 %description dri-driver-vmwgfx -l pl.UTF-8
910 Sterownik X.org DRI dla VMware.
913 Summary: Nine Direct3D9 driver (for Wine)
914 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
916 Requires: libdrm >= %{libdrm_ver}
919 Nine Direct3D9 driver (for Wine).
921 %description d3d -l pl.UTF-8
922 Sterownik Direct3D9 Nine (dla Wine).
925 Summary: Nine Direct3D9 driver API
926 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
927 Group: Development/Libraries
928 Requires: libdrm-devel >= %{libdrm_ver}
930 %description d3d-devel
931 Nine Direct3D9 driver API.
933 %description d3d-devel -l pl.UTF-8
934 API sterownika Direct3D9 Nine.
936 %package -n libvdpau-driver-mesa-nouveau
937 Summary: Mesa nouveau driver for the vdpau API
938 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
941 Requires: libdrm >= %{libdrm_ver}
942 Requires: libvdpau >= 1.1
943 Conflicts: libvdpau-driver-mesa
945 %description -n libvdpau-driver-mesa-nouveau
946 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
949 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
950 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
953 %package -n libvdpau-driver-mesa-r300
954 Summary: Mesa r300 driver for the vdpau API
955 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
958 Requires: libdrm >= %{libdrm_ver}
959 Requires: libvdpau >= 1.1
960 Conflicts: libvdpau-driver-mesa
962 %description -n libvdpau-driver-mesa-r300
963 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
966 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
967 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
970 %package -n libvdpau-driver-mesa-r600
971 Summary: Mesa r600 driver for the vdpau API
972 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
975 Requires: libdrm >= %{libdrm_ver}
976 Requires: libvdpau >= 1.1
977 Conflicts: libvdpau-driver-mesa
979 %description -n libvdpau-driver-mesa-r600
980 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
981 based on R600/R700 chips.
983 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
984 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
985 na układach R600/R700.
987 %package -n libvdpau-driver-mesa-radeonsi
988 Summary: Mesa radeonsi driver for the vdpau API
989 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
992 Requires: libdrm >= %{libdrm_ver}
993 Requires: libvdpau >= 1.1
994 Conflicts: libvdpau-driver-mesa
995 Obsoletes: Mesa-libllvmradeon
997 %description -n libvdpau-driver-mesa-radeonsi
998 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
999 adapters based on Southern Islands chips.
1001 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1002 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1003 oparte na układach Southern Islands.
1005 %package -n omxil-mesa
1006 Summary: Mesa driver for Bellagio OpenMAX IL API
1007 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1009 Group: X11/Libraries
1010 Requires: libdrm >= %{libdrm_ver}
1011 Requires: libxcb >= 1.8
1012 Requires: libomxil-bellagio
1013 Obsoletes: omxil-mesa-nouveau
1014 Obsoletes: omxil-mesa-r600
1015 Obsoletes: omxil-mesa-radeonsi
1017 %description -n omxil-mesa
1018 Mesa driver for Bellagio OpenMAX IL API.
1020 %description -n omxil-mesa -l pl.UTF-8
1021 Sterownik Mesa dla API Bellagio OpenMAX IL.
1023 %package -n omxil-mesa-nouveau
1024 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1025 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1027 Group: X11/Libraries
1028 Requires: libdrm >= %{libdrm_ver}
1029 Requires: libxcb >= 1.8
1030 Requires: libomxil-bellagio
1032 %description -n omxil-mesa-nouveau
1033 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1034 adapters (NV40-NV96, NVa0).
1036 %description -n omxil-mesa-nouveau -l pl.UTF-8
1037 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1038 NVidia (NV40-NV96, NVa0).
1040 %package -n omxil-mesa-r600
1041 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1042 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1044 Group: X11/Libraries
1045 Requires: libdrm >= %{libdrm_ver}
1046 Requires: libxcb >= 1.8
1047 Requires: libomxil-bellagio
1049 %description -n omxil-mesa-r600
1050 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1051 adapters based on R600/R700 chips.
1053 %description -n omxil-mesa-r600 -l pl.UTF-8
1054 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1055 Radeon oparte na układach R600/R700.
1057 %package -n omxil-mesa-radeonsi
1058 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1059 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1061 Group: X11/Libraries
1062 Requires: libdrm >= %{libdrm_ver}
1063 Requires: libxcb >= 1.8
1064 Requires: libomxil-bellagio
1066 %description -n omxil-mesa-radeonsi
1067 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1068 Radeon adapters based on Southern Islands chips.
1070 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1071 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1072 ATI Radeon oparte na układach Southern Islands.
1075 %setup -q -n mesa-%{version}
1085 dri_drivers="r200 radeon \
1086 %if %{without gallium_intel}
1091 %ifarch sparc sparcv9 sparc64
1096 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1098 gallium_drivers="svga swrast \
1099 %if %{with gallium_intel}
1102 %if %{with gallium_radeon}
1107 %if %{with gallium_nouveau}
1112 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1115 --disable-silent-rules \
1121 --enable-shared-glapi \
1122 %{?with_static_libs:--enable-static} \
1123 %{?with_texture_float:--enable-texture-float} \
1128 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1131 --enable-gallium-llvm \
1132 --enable-llvm-shared-libs \
1133 %{__enable egl gallium-egl} \
1134 %{__enable gbm gallium-gbm} \
1135 %{__enable ocl_icd opencl-icd} \
1136 %{?with_nine:--enable-nine} \
1137 %{__enable opencl} \
1139 %{?with_omx:--enable-omx} \
1140 %{?with_xa:--enable-xa} \
1142 --with-gallium-drivers=${gallium_drivers} \
1144 --without-gallium-drivers \
1146 --with-dri-drivers=${dri_drivers} \
1147 --with-dri-driverdir=%{_libdir}/xorg/modules/dri \
1148 --with-sha1=libnettle \
1149 --with-va-libdir=%{_libdir}/libva/dri
1153 %{?with_tests:%{__make} check}
1156 rm -rf $RPM_BUILD_ROOT
1159 DESTDIR=$RPM_BUILD_ROOT
1161 # strip out undesirable headers
1162 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/wglext.h
1163 # dlopened by soname
1164 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1165 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1166 # dlopened by soname or .so link
1167 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1168 # not used externally
1169 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1171 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1172 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1173 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1174 # not defined by standards; and not needed, there is pkg-config support
1175 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1176 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1178 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1179 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1180 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1183 rm -rf $RPM_BUILD_ROOT
1185 %post libEGL -p /sbin/ldconfig
1186 %postun libEGL -p /sbin/ldconfig
1188 %post libGL -p /sbin/ldconfig
1189 %postun libGL -p /sbin/ldconfig
1191 %post libGLES -p /sbin/ldconfig
1192 %postun libGLES -p /sbin/ldconfig
1194 %post libOSMesa -p /sbin/ldconfig
1195 %postun libOSMesa -p /sbin/ldconfig
1197 %post libOpenCL -p /sbin/ldconfig
1198 %postun libOpenCL -p /sbin/ldconfig
1200 %post libOpenVG -p /sbin/ldconfig
1201 %postun libOpenVG -p /sbin/ldconfig
1203 %post libXvMC-nouveau -p /sbin/ldconfig
1204 %postun libXvMC-nouveau -p /sbin/ldconfig
1205 %post libXvMC-r600 -p /sbin/ldconfig
1206 %postun libXvMC-r600 -p /sbin/ldconfig
1208 %post libgbm -p /sbin/ldconfig
1209 %postun libgbm -p /sbin/ldconfig
1211 %post libglapi -p /sbin/ldconfig
1212 %postun libglapi -p /sbin/ldconfig
1214 %post libwayland-egl -p /sbin/ldconfig
1215 %postun libwayland-egl -p /sbin/ldconfig
1217 %post libxatracker -p /sbin/ldconfig
1218 %postun libxatracker -p /sbin/ldconfig
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1224 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/libEGL.so
1229 %dir %{_includedir}/EGL
1230 %{_includedir}/EGL/egl.h
1231 %{_includedir}/EGL/eglext.h
1232 %{_includedir}/EGL/eglextchromium.h
1233 %{_includedir}/EGL/eglmesaext.h
1234 %{_includedir}/EGL/eglplatform.h
1235 %{_pkgconfigdir}/egl.pc
1237 %if %{with static_libs}
1238 %files libEGL-static
1239 %defattr(644,root,root,755)
1245 %defattr(644,root,root,755)
1246 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1247 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1248 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1249 # symlink for binary apps which fail to conform Linux OpenGL ABI
1250 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1251 %attr(755,root,root) %{_libdir}/libGL.so
1252 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1255 %defattr(644,root,root,755)
1257 %dir %{_includedir}/GL
1258 %{_includedir}/GL/gl.h
1259 %{_includedir}/GL/glcorearb.h
1260 %{_includedir}/GL/glext.h
1261 %{_includedir}/GL/gl_mangle.h
1262 %{_includedir}/GL/glx.h
1263 %{_includedir}/GL/glxext.h
1264 %{_includedir}/GL/glx_mangle.h
1265 %dir %{_includedir}/GL/internal
1266 %{_includedir}/GL/internal/dri_interface.h
1267 %{_pkgconfigdir}/dri.pc
1268 %{_pkgconfigdir}/gl.pc
1270 %if %{with static_libs}
1272 %defattr(644,root,root,755)
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1279 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1280 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1281 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1283 %files libGLES-devel
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1286 %attr(755,root,root) %{_libdir}/libGLESv2.so
1288 %{_includedir}/GLES2
1289 %{_includedir}/GLES3
1290 %{_pkgconfigdir}/glesv1_cm.pc
1291 %{_pkgconfigdir}/glesv2.pc
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1296 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1298 %files libOSMesa-devel
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/libOSMesa.so
1301 %{_includedir}/GL/osmesa.h
1302 %{_pkgconfigdir}/osmesa.pc
1304 %if %{with static_libs}
1305 %files libOSMesa-static
1306 %defattr(644,root,root,755)
1307 %{_libdir}/libOSMesa.a
1313 %defattr(644,root,root,755)
1314 /etc/OpenCL/vendors/mesa.icd
1315 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1316 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1317 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1322 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1324 %files libOpenCL-devel
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/libOpenCL.so
1331 %if %{with egl} && %{with openvg} && %{with gallium}
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1335 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1337 %files libOpenVG-devel
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libOpenVG.so
1341 %{_pkgconfigdir}/vg.pc
1345 %if %{with gallium_nouveau}
1346 %files libXvMC-nouveau
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1349 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1352 %if %{with gallium_radeon}
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1356 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1360 %files -n libva-driver-gallium
1361 %defattr(644,root,root,755)
1362 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1370 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1372 %dir %{_libdir}/gallium-pipe
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_libdir}/libgbm.so
1378 %{_includedir}/gbm.h
1379 %{_pkgconfigdir}/gbm.pc
1383 %if %{with gallium_intel}
1384 %files gbm-driver-i915
1385 %defattr(644,root,root,755)
1386 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1389 %if %{with gallium_nouveau}
1390 %files gbm-driver-nouveau
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1395 %if %{with gallium_radeon}
1396 %files gbm-driver-r300
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1400 %files gbm-driver-r600
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1404 %files gbm-driver-radeonsi
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1409 %files gbm-driver-swrast
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1413 %files gbm-driver-vmwgfx
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1419 %defattr(644,root,root,755)
1420 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1421 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1422 # libglapi-devel? nothing seems to need it atm.
1423 #%attr(755,root,root) %{_libdir}/libglapi.so
1426 %files libwayland-egl
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1429 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1431 %files libwayland-egl-devel
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1434 %{_pkgconfigdir}/wayland-egl.pc
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1441 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1443 %files libxatracker-devel
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{_libdir}/libxatracker.so
1446 %{_includedir}/xa_composite.h
1447 %{_includedir}/xa_context.h
1448 %{_includedir}/xa_tracker.h
1449 %{_pkgconfigdir}/xatracker.pc
1453 %files khrplatform-devel
1454 %defattr(644,root,root,755)
1455 %dir %{_includedir}/KHR
1456 %{_includedir}/KHR/khrplatform.h
1459 %files dri-driver-ati-radeon-R100
1460 %defattr(644,root,root,755)
1461 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1463 %files dri-driver-ati-radeon-R200
1464 %defattr(644,root,root,755)
1465 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1468 %if %{with gallium_radeon}
1469 %files dri-driver-ati-radeon-R300
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1473 %files dri-driver-ati-radeon-R600
1474 %defattr(644,root,root,755)
1475 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1477 %files dri-driver-ati-radeon-SI
1478 %defattr(644,root,root,755)
1479 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1483 %files dri-driver-intel-i915
1484 %defattr(644,root,root,755)
1485 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1487 %files dri-driver-intel-i965
1488 %defattr(644,root,root,755)
1489 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1491 %files dri-driver-nouveau
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1494 %if %{with gallium_nouveau}
1495 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1498 %files dri-driver-swrast
1499 %defattr(644,root,root,755)
1501 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1503 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1506 %files dri-driver-vmwgfx
1507 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1513 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1518 %defattr(644,root,root,755)
1519 %{_includedir}/d3dadapter
1520 %{_pkgconfigdir}/d3d.pc
1524 # ldconfig is not used in vdpau tree, so package all symlinks
1525 %if %{with gallium_nouveau}
1526 %files -n libvdpau-driver-mesa-nouveau
1527 %defattr(644,root,root,755)
1528 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1529 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1530 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1533 %if %{with gallium_radeon}
1534 %files -n libvdpau-driver-mesa-r300
1535 %defattr(644,root,root,755)
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1537 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1538 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1540 %files -n libvdpau-driver-mesa-r600
1541 %defattr(644,root,root,755)
1542 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1543 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1546 %files -n libvdpau-driver-mesa-radeonsi
1547 %defattr(644,root,root,755)
1548 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1549 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1550 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1554 %if %{with gallium} && %{with omx}
1555 %files -n omxil-mesa
1556 %defattr(644,root,root,755)
1557 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so