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.60
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: bf9118bf0fbf360715cfe60baf7a1db5
66 Patch0: missing-type.patch
67 URL: http://www.mesa3d.org/
68 BuildRequires: autoconf >= 2.60
69 BuildRequires: automake
70 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
71 BuildRequires: elfutils-devel
72 BuildRequires: expat-devel
73 BuildRequires: gcc >= 6:4.2.0
74 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
75 BuildRequires: libdrm-devel >= %{libdrm_ver}
76 BuildRequires: libselinux-devel
77 BuildRequires: libstdc++-devel >= 6:4.2.0
78 BuildRequires: libtalloc-devel >= 2:2.0.1
79 BuildRequires: libtool >= 2:2.2
80 %{?with_va:BuildRequires: libva-devel >= 1.3.0}
81 %{?with_va:BuildRequires: pkgconfig(libva) >= 0.35.0}
82 BuildRequires: libvdpau-devel >= 0.4.1
83 BuildRequires: libxcb-devel >= 1.10
84 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
85 %{?with_opencl:BuildRequires: llvm-libclc}
86 # for SHA1 (could use also libmd/libsha1/libgcrypt/openssl instead)
87 BuildRequires: nettle-devel
88 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
89 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
90 BuildRequires: perl-base
91 BuildRequires: pixman-devel
92 BuildRequires: pkgconfig
93 BuildRequires: pkgconfig(talloc) >= 2.0.1
94 BuildRequires: pkgconfig(xcb-dri3)
95 BuildRequires: pkgconfig(xcb-present)
96 BuildRequires: python >= 2
97 BuildRequires: python-Mako >= 0.3.4
98 BuildRequires: python-modules >= 2
99 BuildRequires: rpmbuild(macros) >= 1.470
100 BuildRequires: sed >= 4.0
101 %{?with_egl:BuildRequires: udev-devel >= 1:151}
102 # wayland-{client,server}
103 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
104 BuildRequires: xorg-lib-libXdamage-devel
105 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
106 BuildRequires: xorg-lib-libXfixes-devel
107 BuildRequires: xorg-lib-libXt-devel
108 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
109 BuildRequires: xorg-lib-libXxf86vm-devel
110 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
111 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
112 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
113 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
114 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
115 BuildRequires: xorg-util-makedepend
117 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
118 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
120 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
122 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
123 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
124 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
125 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
128 %define filterout_ld -Wl,--as-needed
131 Mesa is a 3-D graphics library with an API which is very similar to
132 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
133 syntax or state machine, it is being used with authorization from
134 Silicon Graphics, Inc. However, the author does not possess an OpenGL
135 license from SGI, and makes no claim that Mesa is in any way a
136 compatible replacement for OpenGL or associated with SGI.
138 %description -l pl.UTF-8
139 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
140 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
141 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
142 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
143 OpenGL ani powiązana z SGI.
146 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
147 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
150 Requires: %{name}-libglapi = %{version}-%{release}
151 # glx driver in libEGL dlopens libGL.so
152 Requires: OpenGL >= 1.2
153 Requires: libdrm >= %{libdrm_ver}
154 Requires: libxcb >= 1.9
155 %{?with_wayland:Requires: wayland >= 1.2.0}
157 Requires: udev-libs >= 1:151
160 Requires: %{name}-libgbm = %{version}-%{release}
165 This package contains shared libEGL - Mesa implementation of EGL
166 Native Platform Graphics Interface as specified by Khronos Group:
167 <http://www.khronos.org/egl/>.
169 %description libEGL -l pl.UTF-8
170 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
171 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
172 graficznego platformy natywnej) wg specyfikacji Khronos Group:
173 <http://www.khronos.org/egl/>.
175 %package libEGL-devel
176 Summary: Header files for Mesa implementation of EGL library
177 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
179 Group: Development/Libraries
180 Requires: %{name}-khrplatform-devel = %{version}-%{release}
181 Requires: %{name}-libEGL = %{version}-%{release}
182 Requires: libdrm-devel >= %{libdrm_ver}
183 Requires: xorg-lib-libX11-devel
184 Requires: xorg-lib-libXdamage-devel
185 Requires: xorg-lib-libXext-devel >= 1.0.5
186 Requires: xorg-lib-libXfixes-devel
187 Requires: xorg-lib-libXxf86vm-devel
188 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
189 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
190 Provides: EGL-devel = 1.4
192 %description libEGL-devel
193 Header files for Mesa implementation of EGL library.
195 %description libEGL-devel -l pl.UTF-8
196 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
198 %package libEGL-static
199 Summary: Static Mesa EGL library
200 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
202 Group: Development/Libraries
203 Requires: %{name}-libEGL-devel = %{version}-%{release}
204 Provides: EGL-static = 1.4
206 %description libEGL-static
207 Static Mesa EGL library.
209 %description libEGL-static -l pl.UTF-8
210 Statyczna biblioteka Mesa EGL.
213 Summary: Free Mesa3D implementation of libGL OpenGL library
214 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
217 Requires: %{name}-libglapi = %{version}-%{release}
218 Requires: libdrm >= %{libdrm_ver}
219 Provides: OpenGL = 3.3
220 Provides: OpenGL-GLX = 1.4
223 Obsoletes: Mesa-dri-core < 10.0.0
224 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
225 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
228 Mesa is a 3-D graphics library with an API which is very similar to
229 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
230 syntax or state machine, it is being used with authorization from
231 Silicon Graphics, Inc. However, the author does not possess an OpenGL
232 license from SGI, and makes no claim that Mesa is in any way a
233 compatible replacement for OpenGL or associated with SGI.
235 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
236 specifications. It uses DRI for rendering.
238 %description libGL -l pl.UTF-8
239 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
240 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
241 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
242 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
243 OpenGL ani powiązana z SGI.
245 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
246 GLX 1.4. Używa DRI do renderowania.
249 Summary: Header files for Mesa3D libGL library
250 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
252 Group: X11/Development/Libraries
253 # loose dependency on libGL to use with other libGL binaries
254 Requires: OpenGL >= 1.5
255 Requires: libdrm-devel >= %{libdrm_ver}
256 Requires: xorg-lib-libX11-devel
257 Requires: xorg-lib-libXdamage-devel
258 Requires: xorg-lib-libXext-devel >= 1.0.5
259 Requires: xorg-lib-libXxf86vm-devel
260 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
261 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
262 Suggests: OpenGL-doc-man
263 Provides: OpenGL-GLX-devel = 1.4
264 Provides: OpenGL-devel = 3.3
265 Obsoletes: Mesa-devel
266 Obsoletes: X11-OpenGL-devel < 1:7.0.0
267 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
268 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
269 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
271 %description libGL-devel
272 Header files for Mesa3D libGL library.
274 %description libGL-devel -l pl.UTF-8
275 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
277 %package libGL-static
278 Summary: Static Mesa3D libGL library
279 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
281 Group: X11/Development/Libraries
282 Requires: %{name}-libGL-devel = %{version}-%{release}
283 Provides: OpenGL-static = 3.3
284 Obsoletes: Mesa-static
285 Obsoletes: X11-OpenGL-static < 1:7.0.0
286 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
288 %description libGL-static
289 Static Mesa3D libGL library. It uses software renderer.
291 %description libGL-static -l pl.UTF-8
292 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
296 Summary: Mesa implementation of GLES (OpenGL ES) libraries
297 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
299 Requires: %{name}-libglapi = %{version}-%{release}
301 Provides: OpenGLESv1 = 1.1
302 Provides: OpenGLESv2 = 2.0
305 This package contains shared libraries of Mesa implementation of GLES
306 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
307 on embedded systems. OpenGL ES specification can be found on Khronos
308 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
311 %description libGLES -l pl.UTF-8
312 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
313 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
314 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
315 OpenGL ES można znaleźć na stronie Khronos Group:
316 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
319 %package libGLES-devel
320 Summary: Header files for Mesa GLES libraries
321 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
322 Group: Development/Libraries
323 Requires: %{name}-khrplatform-devel = %{version}-%{release}
324 # <EGL/egl.h> for <GLES/egl.h>
325 Requires: %{name}-libEGL-devel = %{version}-%{release}
326 Requires: %{name}-libGLES = %{version}-%{release}
327 Provides: OpenGLES-devel
328 Provides: OpenGLESv1-devel = 1.1
329 Provides: OpenGLESv2-devel = 2.0
331 %description libGLES-devel
332 Header files for Mesa GLES libraries.
334 %description libGLES-devel -l pl.UTF-8
335 Pliki nagłówkowe bibliotek Mesa GLES.
338 Summary: OSMesa (off-screen renderer) library
339 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
343 %description libOSMesa
344 OSMesa (off-screen renderer) library.
346 %description libOSMesa -l pl.UTF-8
347 Biblioteka OSMesa (renderująca bitmapy w pamięci).
349 %package libOSMesa-devel
350 Summary: Header file for OSMesa (off-screen renderer) library
351 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
353 Group: Development/Libraries
354 Requires: %{name}-libOSMesa = %{version}-%{release}
356 Requires: OpenGL-devel
357 Requires: libselinux-devel
359 %description libOSMesa-devel
360 Header file for OSMesa (off-screen renderer) library.
362 %description libOSMesa-devel -l pl.UTF-8
363 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
365 %package libOSMesa-static
366 Summary: Static OSMesa (off-screen renderer) library
367 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
369 Group: Development/Libraries
370 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
371 # this static build of OSMesa needs static non-dri Mesa implementation
372 Requires: %{name}-libGL-static = %{version}-%{release}
374 %description libOSMesa-static
375 Static OSMesa (off-screen renderer) library.
377 %description libOSMesa-static -l pl.UTF-8
378 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
381 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
382 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
385 Requires: filesystem >= 4.0-29
386 Requires: libdrm >= %{libdrm_ver}
387 Requires: llvm-libclc
388 Requires: udev-libs >= 1:151
389 Provides: OpenCL = 1.1
390 Provides: ocl-icd-driver
392 %description OpenCL-icd
393 This package contains Mesa implementation of OpenCL - standard for
394 cross-platform, parallel programming of modern processors found in
395 personal computers, servers and handheld/embedded devices. OpenCL
396 specification can be found on Khronos Group site:
397 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
399 The implementation is provided as an installable client driver (ICD)
400 for use with the ocl-icd loader.
402 %description OpenCL-icd -l pl.UTF-8
403 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
404 wieloplatformowego, równoległego programowania nowoczesnych
405 procesorów, jakie znajdują się w komputerach osobistych, serwerach
406 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
407 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
408 Mesa zawiera implementację OpenCL w wersji 1.1.
410 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
411 (ICD), który może być użyty z loaderem ocl-icd.
414 Summary: Mesa implementation of OpenCL (Compuing Language) API
415 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
418 Requires: libdrm >= %{libdrm_ver}
419 Requires: llvm-libclc
420 Requires: udev-libs >= 1:151
421 Provides: OpenCL = 1.1
423 %description libOpenCL
424 This package contains Mesa implementation of OpenCL - standard for
425 cross-platform, parallel programming of modern processors found in
426 personal computers, servers and handheld/embedded devices. OpenCL
427 specification can be found on Khronos Group site:
428 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
430 %description libOpenCL -l pl.UTF-8
431 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
432 wieloplatformowego, równoległego programowania nowoczesnych
433 procesorów, jakie znajdują się w komputerach osobistych, serwerach
434 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
435 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
436 Mesa zawiera implementację OpenCL w wersji 1.1.
438 %package libOpenCL-devel
439 Summary: Header files for Mesa OpenCL library
440 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
442 Group: Development/Libraries
443 Requires: %{name}-libOpenCL = %{version}-%{release}
444 Provides: OpenCL-devel = 1.1
446 %description libOpenCL-devel
447 Header files for Mesa OpenCL library.
449 %description libOpenCL-devel -l pl.UTF-8
450 Pliki nagłówkowe biblioteki Mesa OpenCL.
453 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
454 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
457 Provides: OpenVG = 1.1
459 %description libOpenVG
460 This package contains Mesa implementation of OpenVG - cross-platform
461 API that provides a low-level hardware acceleration interface for
462 vector graphics libraries such as Flash and SVG. OpenVG specification
463 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
464 Mesa implements OpenVG 1.1.
466 %description libOpenVG -l pl.UTF-8
467 Ten pakiet zawiera implementację Mesa standardu OpenVG -
468 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
469 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
470 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
471 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
474 %package libOpenVG-devel
475 Summary: Header file for Mesa OpenVG library
476 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
478 Group: Development/Libraries
479 Requires: %{name}-khrplatform-devel = %{version}-%{release}
480 Requires: %{name}-libOpenVG = %{version}-%{release}
481 Provides: OpenVG-devel = 1.1
483 %description libOpenVG-devel
484 Header file for Mesa OpenVG library.
486 %description libOpenVG-devel -l pl.UTF-8
487 Plik nagłówkowy biblioteki Mesa OpenVG.
489 %package libXvMC-nouveau
490 Summary: Mesa implementation of XvMC API for NVidia adapters
491 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
494 Requires: libdrm >= %{libdrm_ver}
495 Requires: xorg-lib-libXvMC >= 1.0.6
496 Conflicts: Mesa-libXvMC
498 %description libXvMC-nouveau
499 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
501 %description libXvMC-nouveau -l pl.UTF-8
502 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
504 %package libXvMC-r600
505 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
506 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
509 Requires: libdrm >= %{libdrm_ver}
510 Requires: xorg-lib-libXvMC >= 1.0.6
511 Conflicts: Mesa-libXvMC
513 %description libXvMC-r600
514 Mesa implementation of XvMC API for ATI Radeon adapters based on
517 %description libXvMC-r600 -l pl.UTF-8
518 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
521 %package -n libva-driver-gallium
522 Summary: VA driver for Gallium State Tracker
523 Summary(pl.UTF-8): Sterownik VA do Gallium
525 Requires: libva >= 1.3.0
527 %description -n libva-driver-gallium
528 VA driver for Gallium State Tracker.
530 %description -n libva-driver-gallium -l pl.UTF-8
531 Sterownik VA do Gallium.
534 Summary: Mesa Graphics Buffer Manager library
535 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
537 Requires: %{name}-libglapi = %{version}-%{release}
538 Requires: udev-libs >= 1:151
539 Conflicts: Mesa-libEGL < 8.0.1-2
542 Mesa Graphics Buffer Manager library.
544 %description libgbm -l pl.UTF-8
545 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
547 %package libgbm-devel
548 Summary: Header file for Mesa Graphics Buffer Manager library
549 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
550 Group: Development/Libraries
551 Requires: %{name}-libgbm = %{version}-%{release}
552 Requires: udev-devel >= 1:151
554 %description libgbm-devel
555 Header file for Mesa Graphics Buffer Manager library.
557 %description libgbm-devel -l pl.UTF-8
558 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
561 %package gbm-driver-i915
562 Summary: i915 driver for Mesa GBM framework
563 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
565 Requires: %{name}-libgbm = %{version}-%{release}
566 Obsoletes: Mesa-opencl-driver-i915
568 %description gbm-driver-i915
569 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
570 915/945/G33/Q33/Q35/Pineview chips.
572 %description gbm-driver-i915 -l pl.UTF-8
573 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
574 bufora graficznego). Obsługuje układy Intela z serii
575 915/945/G33/Q33/Q35/Pineview.
577 %package gbm-driver-nouveau
578 Summary: nouveau driver for Mesa GBM framework
579 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
581 Requires: %{name}-libgbm = %{version}-%{release}
582 Obsoletes: Mesa-opencl-driver-nouveau
584 %description gbm-driver-nouveau
585 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
588 %description gbm-driver-nouveau -l pl.UTF-8
589 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
590 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
592 %package gbm-driver-r300
593 Summary: r300 driver for Mesa GBM framework
594 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
596 Requires: %{name}-libgbm = %{version}-%{release}
597 Obsoletes: Mesa-opencl-driver-r300
599 %description gbm-driver-r300
600 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
601 adapters based on R300/R400/RS690/R500 chips.
603 %description gbm-driver-r300 -l pl.UTF-8
604 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
605 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
606 układach R300/R400/RS690/R500.
608 %package gbm-driver-r600
609 Summary: r600 driver for Mesa GBM framework
610 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
612 Requires: %{name}-libgbm = %{version}-%{release}
613 Obsoletes: Mesa-libllvmradeon
614 Obsoletes: Mesa-opencl-driver-r600
616 %description gbm-driver-r600
617 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
618 adapters based on R600/R700 chips.
620 %description gbm-driver-r600 -l pl.UTF-8
621 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
622 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
625 %package gbm-driver-radeonsi
626 Summary: radeonsi driver for Mesa GBM framework
627 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
629 Requires: %{name}-libgbm = %{version}-%{release}
630 Obsoletes: Mesa-libllvmradeon
631 Obsoletes: Mesa-opencl-driver-radeonsi
633 %description gbm-driver-radeonsi
634 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
635 Radeon adapters based on Southern Islands chips.
637 %description gbm-driver-radeonsi -l pl.UTF-8
638 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
639 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
640 oparte na układach Southern Islands.
642 %package gbm-driver-swrast
643 Summary: Software (swrast) driver for Mesa GBM framework
644 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
646 Requires: %{name}-libgbm = %{version}-%{release}
647 Obsoletes: Mesa-opencl-driver-swrast
649 %description gbm-driver-swrast
650 Software (swrast) driver for Mesa Graphics Buffer Manager.
652 %description gbm-driver-swrast -l pl.UTF-8
653 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
654 Manager (zarządcy bufora graficznego).
656 %package gbm-driver-vmwgfx
657 Summary: vmwgfx driver for Mesa GBM framework
658 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
660 Requires: %{name}-libgbm = %{version}-%{release}
661 Obsoletes: Mesa-opencl-driver-vmwgfx
663 %description gbm-driver-vmwgfx
664 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
665 virtual video adapter.
667 %description gbm-driver-vmwgfx -l pl.UTF-8
668 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
669 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
672 Summary: Mesa GL API shared library
673 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
675 Conflicts: Mesa-libEGL < 8.0.1-2
677 %description libglapi
678 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
680 %description libglapi -l pl.UTF-8
681 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
684 %package libwayland-egl
685 Summary: Wayland EGL library
686 Summary(pl.UTF-8): Biblioteka Wayland EGL
688 Requires: libdrm >= %{libdrm_ver}
690 %description libwayland-egl
691 Wayland EGL platform library.
693 %description libwayland-egl -l pl.UTF-8
694 Biblioteka platformy EGL Wayland.
696 %package libwayland-egl-devel
697 Summary: Development files for Wayland EGL library
698 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
699 Group: Development/Libraries
700 Requires: %{name}-libwayland-egl = %{version}-%{release}
701 Requires: libdrm-devel >= %{libdrm_ver}
703 %description libwayland-egl-devel
704 Development files for Wayland EGL platform library.
706 %description libwayland-egl-devel -l pl.UTF-8
707 Pliki programistyczne biblioteki platformy EGL Wayland.
709 %package libxatracker
710 Summary: Xorg Gallium3D accelleration library
711 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
713 Requires: libdrm >= %{libdrm_ver}
715 %description libxatracker
716 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
718 %description libxatracker -l pl.UTF-8
719 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
722 %package libxatracker-devel
723 Summary: Header files for Xorg Gallium3D accelleration library
724 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
725 Group: X11/Development/Libraries
726 Requires: %{name}-libxatracker = %{version}-%{release}
727 Requires: libdrm-devel >= %{libdrm_ver}
729 %description libxatracker-devel
730 Header files for Xorg Gallium3D accelleration library.
732 %description libxatracker-devel -l pl.UTF-8
733 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
735 %package khrplatform-devel
736 Summary: Khronos platform header file
737 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
738 Group: Development/Libraries
739 Conflicts: Mesa-libEGL-devel < 8.0.1-2
741 %description khrplatform-devel
742 Khronos platform header file.
744 %description khrplatform-devel -l pl.UTF-8
745 Plik nagłówkowy platformy Khronos.
747 %package dri-driver-ati-radeon-R100
748 Summary: X.org DRI driver for ATI R100 card family
749 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
752 Requires: xorg-driver-video-ati
753 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
754 Requires: xorg-xserver-server >= %{xserver_ver}
755 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
757 %description dri-driver-ati-radeon-R100
758 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
760 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
761 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
763 %package dri-driver-ati-radeon-R200
764 Summary: X.org DRI driver for ATI R200 card family
765 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
768 Requires: xorg-driver-video-ati
769 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
770 Requires: xorg-xserver-server >= %{xserver_ver}
771 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
773 %description dri-driver-ati-radeon-R200
774 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
776 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
777 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
779 %package dri-driver-ati-radeon-R300
780 Summary: X.org DRI driver for ATI R300 card family
781 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
784 Requires: xorg-driver-video-ati
785 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
786 Requires: xorg-xserver-server >= %{xserver_ver}
787 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
789 %description dri-driver-ati-radeon-R300
790 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
792 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
793 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
795 %package dri-driver-ati-radeon-R600
796 Summary: X.org DRI driver for ATI R600 card family
797 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
800 Requires: radeon-ucode
801 Requires: xorg-driver-video-ati
802 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
803 Requires: xorg-xserver-server >= %{xserver_ver}
805 %description dri-driver-ati-radeon-R600
806 X.org DRI driver for ATI R600/R700 card family.
808 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
809 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
811 %package dri-driver-ati-radeon-SI
812 Summary: X.org DRI driver for ATI Southern Islands card family
813 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
816 Requires: radeon-ucode
817 Requires: xorg-driver-video-ati
818 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
819 Requires: xorg-xserver-server >= %{xserver_ver}
821 %description dri-driver-ati-radeon-SI
822 X.org DRI driver for ATI Southern Islands card family.
824 %description dri-driver-ati-radeon-SI -l pl.UTF-8
825 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
827 %package dri-driver-intel-i915
828 Summary: X.org DRI driver for Intel i915 card family
829 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
832 Requires: xorg-driver-video-intel
833 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
834 Requires: xorg-xserver-server >= %{xserver_ver}
835 Obsoletes: Mesa-dri-driver-intel-i830
836 Obsoletes: X11-driver-i810-dri < 1:7.0.0
838 %description dri-driver-intel-i915
839 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
842 %description dri-driver-intel-i915 -l pl.UTF-8
843 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
846 %package dri-driver-intel-i965
847 Summary: X.org DRI driver for Intel i965 card family
848 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
851 Requires: xorg-driver-video-intel
852 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
853 Requires: xorg-xserver-server >= %{xserver_ver}
854 Obsoletes: Mesa-dri-driver-intel-i830
855 Obsoletes: X11-driver-i810-dri < 1:7.0.0
857 %description dri-driver-intel-i965
858 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
859 965GME, GM45, G41, B43, Q45, G45);
861 %description dri-driver-intel-i965 -l pl.UTF-8
862 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
863 965GM, 965GME, GM45, G41, B43, Q45, G45).
865 %package dri-driver-nouveau
866 Summary: X.org DRI driver for NVIDIA card family
867 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
870 Requires: xorg-driver-video-nouveau
871 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
872 Requires: xorg-xserver-server >= %{xserver_ver}
874 %description dri-driver-nouveau
875 X.org DRI drivers for NVIDIA card family.
877 %description dri-driver-nouveau -l pl.UTF-8
878 Sterowniki X.org DRI dla rodziny kart NVIDIA.
880 %package dri-driver-swrast
881 Summary: X.org DRI software rasterizer driver
882 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
885 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
886 Requires: xorg-xserver-server >= %{xserver_ver}
888 %description dri-driver-swrast
889 X.org DRI software rasterizer driver.
891 %description dri-driver-swrast -l pl.UTF-8
892 Sterownik X.org DRI obsługujący rysowanie programowe.
894 %package dri-driver-vmwgfx
895 Summary: X.org DRI driver for VMware
896 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
899 Requires: xorg-driver-video-vmware
900 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
901 Requires: xorg-xserver-server >= %{xserver_ver}
903 %description dri-driver-vmwgfx
904 X.org DRI driver for VMWare.
906 %description dri-driver-vmwgfx -l pl.UTF-8
907 Sterownik X.org DRI dla VMware.
910 Summary: Nine Direct3D9 driver (for Wine)
911 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
913 Requires: libdrm >= %{libdrm_ver}
916 Nine Direct3D9 driver (for Wine).
918 %description d3d -l pl.UTF-8
919 Sterownik Direct3D9 Nine (dla Wine).
922 Summary: Nine Direct3D9 driver API
923 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
924 Group: Development/Libraries
925 Requires: libdrm-devel >= %{libdrm_ver}
927 %description d3d-devel
928 Nine Direct3D9 driver API.
930 %description d3d-devel -l pl.UTF-8
931 API sterownika Direct3D9 Nine.
933 %package -n libvdpau-driver-mesa-nouveau
934 Summary: Mesa nouveau driver for the vdpau API
935 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
938 Requires: libdrm >= %{libdrm_ver}
939 Requires: libvdpau >= 0.4.1
940 Conflicts: libvdpau-driver-mesa
942 %description -n libvdpau-driver-mesa-nouveau
943 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
946 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
947 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
950 %package -n libvdpau-driver-mesa-r300
951 Summary: Mesa r300 driver for the vdpau API
952 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
955 Requires: libdrm >= %{libdrm_ver}
956 Requires: libvdpau >= 0.4.1
957 Conflicts: libvdpau-driver-mesa
959 %description -n libvdpau-driver-mesa-r300
960 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
963 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
964 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
967 %package -n libvdpau-driver-mesa-r600
968 Summary: Mesa r600 driver for the vdpau API
969 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
972 Requires: libdrm >= %{libdrm_ver}
973 Requires: libvdpau >= 0.4.1
974 Conflicts: libvdpau-driver-mesa
976 %description -n libvdpau-driver-mesa-r600
977 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
978 based on R600/R700 chips.
980 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
981 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
982 na układach R600/R700.
984 %package -n libvdpau-driver-mesa-radeonsi
985 Summary: Mesa radeonsi driver for the vdpau API
986 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
989 Requires: libdrm >= %{libdrm_ver}
990 Requires: libvdpau >= 0.4.1
991 Conflicts: libvdpau-driver-mesa
992 Obsoletes: Mesa-libllvmradeon
994 %description -n libvdpau-driver-mesa-radeonsi
995 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
996 adapters based on Southern Islands chips.
998 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
999 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1000 oparte na układach Southern Islands.
1002 %package -n omxil-mesa
1003 Summary: Mesa driver for Bellagio OpenMAX IL API
1004 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1006 Group: X11/Libraries
1007 Requires: libdrm >= %{libdrm_ver}
1008 Requires: libxcb >= 1.8
1009 Requires: libomxil-bellagio
1010 Obsoletes: omxil-mesa-nouveau
1011 Obsoletes: omxil-mesa-r600
1012 Obsoletes: omxil-mesa-radeonsi
1014 %description -n omxil-mesa
1015 Mesa driver for Bellagio OpenMAX IL API.
1017 %description -n omxil-mesa -l pl.UTF-8
1018 Sterownik Mesa dla API Bellagio OpenMAX IL.
1020 %package -n omxil-mesa-nouveau
1021 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1022 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1024 Group: X11/Libraries
1025 Requires: libdrm >= %{libdrm_ver}
1026 Requires: libxcb >= 1.8
1027 Requires: libomxil-bellagio
1029 %description -n omxil-mesa-nouveau
1030 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1031 adapters (NV40-NV96, NVa0).
1033 %description -n omxil-mesa-nouveau -l pl.UTF-8
1034 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1035 NVidia (NV40-NV96, NVa0).
1037 %package -n omxil-mesa-r600
1038 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1039 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1041 Group: X11/Libraries
1042 Requires: libdrm >= %{libdrm_ver}
1043 Requires: libxcb >= 1.8
1044 Requires: libomxil-bellagio
1046 %description -n omxil-mesa-r600
1047 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1048 adapters based on R600/R700 chips.
1050 %description -n omxil-mesa-r600 -l pl.UTF-8
1051 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1052 Radeon oparte na układach R600/R700.
1054 %package -n omxil-mesa-radeonsi
1055 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1056 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1058 Group: X11/Libraries
1059 Requires: libdrm >= %{libdrm_ver}
1060 Requires: libxcb >= 1.8
1061 Requires: libomxil-bellagio
1063 %description -n omxil-mesa-radeonsi
1064 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1065 Radeon adapters based on Southern Islands chips.
1067 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1068 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1069 ATI Radeon oparte na układach Southern Islands.
1072 %setup -q -n mesa-%{version}
1081 dri_drivers="r200 radeon \
1082 %if %{without gallium_intel}
1087 %ifarch sparc sparcv9 sparc64
1092 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1094 gallium_drivers="svga swrast \
1095 %if %{with gallium_intel}
1098 %if %{with gallium_radeon}
1103 %if %{with gallium_nouveau}
1108 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1111 --disable-silent-rules \
1117 --enable-shared-glapi \
1118 %{?with_static_libs:--enable-static} \
1119 %{?with_texture_float:--enable-texture-float} \
1124 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1127 --enable-gallium-llvm \
1128 --enable-llvm-shared-libs \
1129 %{__enable egl gallium-egl} \
1130 %{__enable gbm gallium-gbm} \
1131 %{__enable ocl_icd opencl-icd} \
1132 %{?with_nine:--enable-nine} \
1133 %{__enable opencl} \
1135 %{?with_omx:--enable-omx} \
1136 %{?with_xa:--enable-xa} \
1138 --with-gallium-drivers=${gallium_drivers} \
1140 --without-gallium-drivers \
1142 --with-dri-drivers=${dri_drivers} \
1143 --with-dri-driverdir=%{_libdir}/xorg/modules/dri \
1144 --with-sha1=libnettle \
1145 --with-va-libdir=%{_libdir}/libva/dri
1149 %{?with_tests:%{__make} check}
1152 rm -rf $RPM_BUILD_ROOT
1155 DESTDIR=$RPM_BUILD_ROOT
1157 # strip out undesirable headers
1158 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/wglext.h
1159 # dlopened by soname
1160 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1161 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1162 # dlopened by soname or .so link
1163 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1164 # not used externally
1165 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1167 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1168 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1169 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1170 # not defined by standards; and not needed, there is pkg-config support
1171 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1172 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1174 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1175 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1176 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1179 rm -rf $RPM_BUILD_ROOT
1181 %post libEGL -p /sbin/ldconfig
1182 %postun libEGL -p /sbin/ldconfig
1184 %post libGL -p /sbin/ldconfig
1185 %postun libGL -p /sbin/ldconfig
1187 %post libGLES -p /sbin/ldconfig
1188 %postun libGLES -p /sbin/ldconfig
1190 %post libOSMesa -p /sbin/ldconfig
1191 %postun libOSMesa -p /sbin/ldconfig
1193 %post libOpenCL -p /sbin/ldconfig
1194 %postun libOpenCL -p /sbin/ldconfig
1196 %post libOpenVG -p /sbin/ldconfig
1197 %postun libOpenVG -p /sbin/ldconfig
1199 %post libXvMC-nouveau -p /sbin/ldconfig
1200 %postun libXvMC-nouveau -p /sbin/ldconfig
1201 %post libXvMC-r600 -p /sbin/ldconfig
1202 %postun libXvMC-r600 -p /sbin/ldconfig
1204 %post libgbm -p /sbin/ldconfig
1205 %postun libgbm -p /sbin/ldconfig
1207 %post libglapi -p /sbin/ldconfig
1208 %postun libglapi -p /sbin/ldconfig
1210 %post libwayland-egl -p /sbin/ldconfig
1211 %postun libwayland-egl -p /sbin/ldconfig
1213 %post libxatracker -p /sbin/ldconfig
1214 %postun libxatracker -p /sbin/ldconfig
1218 %defattr(644,root,root,755)
1219 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1220 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_libdir}/libEGL.so
1225 %dir %{_includedir}/EGL
1226 %{_includedir}/EGL/egl.h
1227 %{_includedir}/EGL/eglext.h
1228 %{_includedir}/EGL/eglextchromium.h
1229 %{_includedir}/EGL/eglmesaext.h
1230 %{_includedir}/EGL/eglplatform.h
1231 %{_pkgconfigdir}/egl.pc
1233 %if %{with static_libs}
1234 %files libEGL-static
1235 %defattr(644,root,root,755)
1241 %defattr(644,root,root,755)
1242 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1243 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1244 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1245 # symlink for binary apps which fail to conform Linux OpenGL ABI
1246 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1247 %attr(755,root,root) %{_libdir}/libGL.so
1248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1251 %defattr(644,root,root,755)
1253 %dir %{_includedir}/GL
1254 %{_includedir}/GL/gl.h
1255 %{_includedir}/GL/glcorearb.h
1256 %{_includedir}/GL/glext.h
1257 %{_includedir}/GL/gl_mangle.h
1258 %{_includedir}/GL/glx.h
1259 %{_includedir}/GL/glxext.h
1260 %{_includedir}/GL/glx_mangle.h
1261 %dir %{_includedir}/GL/internal
1262 %{_includedir}/GL/internal/dri_interface.h
1263 %{_pkgconfigdir}/dri.pc
1264 %{_pkgconfigdir}/gl.pc
1266 %if %{with static_libs}
1268 %defattr(644,root,root,755)
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1275 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1276 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1277 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1279 %files libGLES-devel
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1282 %attr(755,root,root) %{_libdir}/libGLESv2.so
1284 %{_includedir}/GLES2
1285 %{_includedir}/GLES3
1286 %{_pkgconfigdir}/glesv1_cm.pc
1287 %{_pkgconfigdir}/glesv2.pc
1290 %defattr(644,root,root,755)
1291 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1292 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1294 %files libOSMesa-devel
1295 %defattr(644,root,root,755)
1296 %attr(755,root,root) %{_libdir}/libOSMesa.so
1297 %{_includedir}/GL/osmesa.h
1298 %{_pkgconfigdir}/osmesa.pc
1300 %if %{with static_libs}
1301 %files libOSMesa-static
1302 %defattr(644,root,root,755)
1303 %{_libdir}/libOSMesa.a
1309 %defattr(644,root,root,755)
1310 /etc/OpenCL/vendors/mesa.icd
1311 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1312 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1313 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1318 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1320 %files libOpenCL-devel
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/libOpenCL.so
1327 %if %{with egl} && %{with openvg} && %{with gallium}
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1331 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1333 %files libOpenVG-devel
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/libOpenVG.so
1337 %{_pkgconfigdir}/vg.pc
1341 %if %{with gallium_nouveau}
1342 %files libXvMC-nouveau
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1345 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1348 %if %{with gallium_radeon}
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1352 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1356 %files -n libva-driver-gallium
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1366 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1368 %dir %{_libdir}/gallium-pipe
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libdir}/libgbm.so
1374 %{_includedir}/gbm.h
1375 %{_pkgconfigdir}/gbm.pc
1379 %if %{with gallium_intel}
1380 %files gbm-driver-i915
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1385 %if %{with gallium_nouveau}
1386 %files gbm-driver-nouveau
1387 %defattr(644,root,root,755)
1388 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1391 %if %{with gallium_radeon}
1392 %files gbm-driver-r300
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1396 %files gbm-driver-r600
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1400 %files gbm-driver-radeonsi
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1405 %files gbm-driver-swrast
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1409 %files gbm-driver-vmwgfx
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1417 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1418 # libglapi-devel? nothing seems to need it atm.
1419 #%attr(755,root,root) %{_libdir}/libglapi.so
1422 %files libwayland-egl
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1425 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1427 %files libwayland-egl-devel
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1430 %{_pkgconfigdir}/wayland-egl.pc
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1437 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1439 %files libxatracker-devel
1440 %defattr(644,root,root,755)
1441 %attr(755,root,root) %{_libdir}/libxatracker.so
1442 %{_includedir}/xa_composite.h
1443 %{_includedir}/xa_context.h
1444 %{_includedir}/xa_tracker.h
1445 %{_pkgconfigdir}/xatracker.pc
1449 %files khrplatform-devel
1450 %defattr(644,root,root,755)
1451 %dir %{_includedir}/KHR
1452 %{_includedir}/KHR/khrplatform.h
1455 %files dri-driver-ati-radeon-R100
1456 %defattr(644,root,root,755)
1457 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1459 %files dri-driver-ati-radeon-R200
1460 %defattr(644,root,root,755)
1461 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1464 %if %{with gallium_radeon}
1465 %files dri-driver-ati-radeon-R300
1466 %defattr(644,root,root,755)
1467 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1469 %files dri-driver-ati-radeon-R600
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1473 %files dri-driver-ati-radeon-SI
1474 %defattr(644,root,root,755)
1475 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1479 %files dri-driver-intel-i915
1480 %defattr(644,root,root,755)
1481 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1483 %files dri-driver-intel-i965
1484 %defattr(644,root,root,755)
1485 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1487 %files dri-driver-nouveau
1488 %defattr(644,root,root,755)
1489 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1490 %if %{with gallium_nouveau}
1491 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1494 %files dri-driver-swrast
1495 %defattr(644,root,root,755)
1497 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1499 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1502 %files dri-driver-vmwgfx
1503 %defattr(644,root,root,755)
1504 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1509 %defattr(644,root,root,755)
1511 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1514 %defattr(644,root,root,755)
1515 %{_includedir}/d3dadapter
1516 %{_pkgconfigdir}/d3d.pc
1520 # ldconfig is not used in vdpau tree, so package all symlinks
1521 %if %{with gallium_nouveau}
1522 %files -n libvdpau-driver-mesa-nouveau
1523 %defattr(644,root,root,755)
1524 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1525 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1526 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1529 %if %{with gallium_radeon}
1530 %files -n libvdpau-driver-mesa-r300
1531 %defattr(644,root,root,755)
1532 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1533 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1534 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1536 %files -n libvdpau-driver-mesa-r600
1537 %defattr(644,root,root,755)
1538 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1539 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1540 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1542 %files -n libvdpau-driver-mesa-radeonsi
1543 %defattr(644,root,root,755)
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1545 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1546 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1550 %if %{with gallium} && %{with omx}
1551 %files -n omxil-mesa
1552 %defattr(644,root,root,755)
1553 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so