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
42 # X32 does not support ms_abi attribute
46 %if %{without gallium}
47 %undefine with_gallium_intel
48 %undefine with_gallium_nouveau
49 %undefine with_gallium_radeon
51 %undefine with_ocl_icd
59 %undefine with_wayland
62 Summary: Free OpenGL implementation
63 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
67 License: MIT (core) and others - see license.html file
69 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/mesa-%{version}.tar.xz
70 # Source0-md5: bf9118bf0fbf360715cfe60baf7a1db5
71 Patch0: missing-type.patch
72 URL: http://www.mesa3d.org/
73 BuildRequires: autoconf >= 2.60
74 BuildRequires: automake
75 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
76 BuildRequires: elfutils-devel
77 BuildRequires: expat-devel
78 BuildRequires: gcc >= 6:4.2.0
79 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
80 BuildRequires: libdrm-devel >= %{libdrm_ver}
81 BuildRequires: libselinux-devel
82 BuildRequires: libstdc++-devel >= 6:4.2.0
83 BuildRequires: libtalloc-devel >= 2:2.0.1
84 BuildRequires: libtool >= 2:2.2
85 %{?with_va:BuildRequires: libva-devel >= 1.3.0}
86 %{?with_va:BuildRequires: pkgconfig(libva) >= 0.35.0}
87 BuildRequires: libvdpau-devel >= 0.4.1
88 BuildRequires: libxcb-devel >= 1.10
89 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
90 %{?with_opencl:BuildRequires: llvm-libclc}
91 # for SHA1 (could use also libmd/libsha1/libgcrypt/openssl instead)
92 BuildRequires: nettle-devel
93 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
94 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
95 BuildRequires: perl-base
96 BuildRequires: pixman-devel
97 BuildRequires: pkgconfig
98 BuildRequires: pkgconfig(talloc) >= 2.0.1
99 BuildRequires: pkgconfig(xcb-dri3)
100 BuildRequires: pkgconfig(xcb-present)
101 BuildRequires: python >= 2
102 BuildRequires: python-Mako >= 0.3.4
103 BuildRequires: python-modules >= 2
104 BuildRequires: rpmbuild(macros) >= 1.470
105 BuildRequires: sed >= 4.0
106 %{?with_egl:BuildRequires: udev-devel >= 1:151}
107 # wayland-{client,server}
108 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
109 BuildRequires: xorg-lib-libXdamage-devel
110 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
111 BuildRequires: xorg-lib-libXfixes-devel
112 BuildRequires: xorg-lib-libXt-devel
113 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
114 BuildRequires: xorg-lib-libXxf86vm-devel
115 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
116 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
117 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
118 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
119 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
120 BuildRequires: xorg-util-makedepend
122 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
123 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
125 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
127 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
128 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
129 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
130 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
133 %define filterout_ld -Wl,--as-needed
136 Mesa is a 3-D graphics library with an API which is very similar to
137 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
138 syntax or state machine, it is being used with authorization from
139 Silicon Graphics, Inc. However, the author does not possess an OpenGL
140 license from SGI, and makes no claim that Mesa is in any way a
141 compatible replacement for OpenGL or associated with SGI.
143 %description -l pl.UTF-8
144 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
145 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
146 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
147 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
148 OpenGL ani powiązana z SGI.
151 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
152 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
155 Requires: %{name}-libglapi = %{version}-%{release}
156 # glx driver in libEGL dlopens libGL.so
157 Requires: OpenGL >= 1.2
158 Requires: libdrm >= %{libdrm_ver}
159 Requires: libxcb >= 1.9
160 %{?with_wayland:Requires: wayland >= 1.2.0}
162 Requires: udev-libs >= 1:151
165 Requires: %{name}-libgbm = %{version}-%{release}
170 This package contains shared libEGL - Mesa implementation of EGL
171 Native Platform Graphics Interface as specified by Khronos Group:
172 <http://www.khronos.org/egl/>.
174 %description libEGL -l pl.UTF-8
175 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
176 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
177 graficznego platformy natywnej) wg specyfikacji Khronos Group:
178 <http://www.khronos.org/egl/>.
180 %package libEGL-devel
181 Summary: Header files for Mesa implementation of EGL library
182 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
184 Group: Development/Libraries
185 Requires: %{name}-khrplatform-devel = %{version}-%{release}
186 Requires: %{name}-libEGL = %{version}-%{release}
187 Requires: libdrm-devel >= %{libdrm_ver}
188 Requires: xorg-lib-libX11-devel
189 Requires: xorg-lib-libXdamage-devel
190 Requires: xorg-lib-libXext-devel >= 1.0.5
191 Requires: xorg-lib-libXfixes-devel
192 Requires: xorg-lib-libXxf86vm-devel
193 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
194 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
195 Provides: EGL-devel = 1.4
197 %description libEGL-devel
198 Header files for Mesa implementation of EGL library.
200 %description libEGL-devel -l pl.UTF-8
201 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
203 %package libEGL-static
204 Summary: Static Mesa EGL library
205 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
207 Group: Development/Libraries
208 Requires: %{name}-libEGL-devel = %{version}-%{release}
209 Provides: EGL-static = 1.4
211 %description libEGL-static
212 Static Mesa EGL library.
214 %description libEGL-static -l pl.UTF-8
215 Statyczna biblioteka Mesa EGL.
218 Summary: Free Mesa3D implementation of libGL OpenGL library
219 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
222 Requires: %{name}-libglapi = %{version}-%{release}
223 Requires: libdrm >= %{libdrm_ver}
224 Provides: OpenGL = 3.3
225 Provides: OpenGL-GLX = 1.4
228 Obsoletes: Mesa-dri-core < 10.0.0
229 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
230 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
233 Mesa is a 3-D graphics library with an API which is very similar to
234 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
235 syntax or state machine, it is being used with authorization from
236 Silicon Graphics, Inc. However, the author does not possess an OpenGL
237 license from SGI, and makes no claim that Mesa is in any way a
238 compatible replacement for OpenGL or associated with SGI.
240 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
241 specifications. It uses DRI for rendering.
243 %description libGL -l pl.UTF-8
244 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
245 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
246 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
247 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
248 OpenGL ani powiązana z SGI.
250 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
251 GLX 1.4. Używa DRI do renderowania.
254 Summary: Header files for Mesa3D libGL library
255 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
257 Group: X11/Development/Libraries
258 # loose dependency on libGL to use with other libGL binaries
259 Requires: OpenGL >= 1.5
260 Requires: libdrm-devel >= %{libdrm_ver}
261 Requires: xorg-lib-libX11-devel
262 Requires: xorg-lib-libXdamage-devel
263 Requires: xorg-lib-libXext-devel >= 1.0.5
264 Requires: xorg-lib-libXxf86vm-devel
265 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
266 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
267 Suggests: OpenGL-doc-man
268 Provides: OpenGL-GLX-devel = 1.4
269 Provides: OpenGL-devel = 3.3
270 Obsoletes: Mesa-devel
271 Obsoletes: X11-OpenGL-devel < 1:7.0.0
272 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
273 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
274 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
276 %description libGL-devel
277 Header files for Mesa3D libGL library.
279 %description libGL-devel -l pl.UTF-8
280 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
282 %package libGL-static
283 Summary: Static Mesa3D libGL library
284 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
286 Group: X11/Development/Libraries
287 Requires: %{name}-libGL-devel = %{version}-%{release}
288 Provides: OpenGL-static = 3.3
289 Obsoletes: Mesa-static
290 Obsoletes: X11-OpenGL-static < 1:7.0.0
291 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
293 %description libGL-static
294 Static Mesa3D libGL library. It uses software renderer.
296 %description libGL-static -l pl.UTF-8
297 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
301 Summary: Mesa implementation of GLES (OpenGL ES) libraries
302 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
304 Requires: %{name}-libglapi = %{version}-%{release}
306 Provides: OpenGLESv1 = 1.1
307 Provides: OpenGLESv2 = 2.0
310 This package contains shared libraries of Mesa implementation of GLES
311 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
312 on embedded systems. OpenGL ES specification can be found on Khronos
313 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
316 %description libGLES -l pl.UTF-8
317 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
318 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
319 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
320 OpenGL ES można znaleźć na stronie Khronos Group:
321 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
324 %package libGLES-devel
325 Summary: Header files for Mesa GLES libraries
326 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
327 Group: Development/Libraries
328 Requires: %{name}-khrplatform-devel = %{version}-%{release}
329 # <EGL/egl.h> for <GLES/egl.h>
330 Requires: %{name}-libEGL-devel = %{version}-%{release}
331 Requires: %{name}-libGLES = %{version}-%{release}
332 Provides: OpenGLES-devel
333 Provides: OpenGLESv1-devel = 1.1
334 Provides: OpenGLESv2-devel = 2.0
336 %description libGLES-devel
337 Header files for Mesa GLES libraries.
339 %description libGLES-devel -l pl.UTF-8
340 Pliki nagłówkowe bibliotek Mesa GLES.
343 Summary: OSMesa (off-screen renderer) library
344 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
348 %description libOSMesa
349 OSMesa (off-screen renderer) library.
351 %description libOSMesa -l pl.UTF-8
352 Biblioteka OSMesa (renderująca bitmapy w pamięci).
354 %package libOSMesa-devel
355 Summary: Header file for OSMesa (off-screen renderer) library
356 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
358 Group: Development/Libraries
359 Requires: %{name}-libOSMesa = %{version}-%{release}
361 Requires: OpenGL-devel
362 Requires: libselinux-devel
364 %description libOSMesa-devel
365 Header file for OSMesa (off-screen renderer) library.
367 %description libOSMesa-devel -l pl.UTF-8
368 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
370 %package libOSMesa-static
371 Summary: Static OSMesa (off-screen renderer) library
372 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
374 Group: Development/Libraries
375 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
376 # this static build of OSMesa needs static non-dri Mesa implementation
377 Requires: %{name}-libGL-static = %{version}-%{release}
379 %description libOSMesa-static
380 Static OSMesa (off-screen renderer) library.
382 %description libOSMesa-static -l pl.UTF-8
383 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
386 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
387 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
390 Requires: filesystem >= 4.0-29
391 Requires: libdrm >= %{libdrm_ver}
392 Requires: llvm-libclc
393 Requires: udev-libs >= 1:151
394 Provides: OpenCL = 1.1
395 Provides: ocl-icd-driver
397 %description OpenCL-icd
398 This package contains Mesa implementation of OpenCL - standard for
399 cross-platform, parallel programming of modern processors found in
400 personal computers, servers and handheld/embedded devices. OpenCL
401 specification can be found on Khronos Group site:
402 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
404 The implementation is provided as an installable client driver (ICD)
405 for use with the ocl-icd loader.
407 %description OpenCL-icd -l pl.UTF-8
408 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
409 wieloplatformowego, równoległego programowania nowoczesnych
410 procesorów, jakie znajdują się w komputerach osobistych, serwerach
411 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
412 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
413 Mesa zawiera implementację OpenCL w wersji 1.1.
415 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
416 (ICD), który może być użyty z loaderem ocl-icd.
419 Summary: Mesa implementation of OpenCL (Compuing Language) API
420 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
423 Requires: libdrm >= %{libdrm_ver}
424 Requires: llvm-libclc
425 Requires: udev-libs >= 1:151
426 Provides: OpenCL = 1.1
428 %description libOpenCL
429 This package contains Mesa implementation of OpenCL - standard for
430 cross-platform, parallel programming of modern processors found in
431 personal computers, servers and handheld/embedded devices. OpenCL
432 specification can be found on Khronos Group site:
433 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
435 %description libOpenCL -l pl.UTF-8
436 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
437 wieloplatformowego, równoległego programowania nowoczesnych
438 procesorów, jakie znajdują się w komputerach osobistych, serwerach
439 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
440 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
441 Mesa zawiera implementację OpenCL w wersji 1.1.
443 %package libOpenCL-devel
444 Summary: Header files for Mesa OpenCL library
445 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
447 Group: Development/Libraries
448 Requires: %{name}-libOpenCL = %{version}-%{release}
449 Provides: OpenCL-devel = 1.1
451 %description libOpenCL-devel
452 Header files for Mesa OpenCL library.
454 %description libOpenCL-devel -l pl.UTF-8
455 Pliki nagłówkowe biblioteki Mesa OpenCL.
458 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
459 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
462 Provides: OpenVG = 1.1
464 %description libOpenVG
465 This package contains Mesa implementation of OpenVG - cross-platform
466 API that provides a low-level hardware acceleration interface for
467 vector graphics libraries such as Flash and SVG. OpenVG specification
468 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
469 Mesa implements OpenVG 1.1.
471 %description libOpenVG -l pl.UTF-8
472 Ten pakiet zawiera implementację Mesa standardu OpenVG -
473 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
474 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
475 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
476 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
479 %package libOpenVG-devel
480 Summary: Header file for Mesa OpenVG library
481 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
483 Group: Development/Libraries
484 Requires: %{name}-khrplatform-devel = %{version}-%{release}
485 Requires: %{name}-libOpenVG = %{version}-%{release}
486 Provides: OpenVG-devel = 1.1
488 %description libOpenVG-devel
489 Header file for Mesa OpenVG library.
491 %description libOpenVG-devel -l pl.UTF-8
492 Plik nagłówkowy biblioteki Mesa OpenVG.
494 %package libXvMC-nouveau
495 Summary: Mesa implementation of XvMC API for NVidia adapters
496 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
499 Requires: libdrm >= %{libdrm_ver}
500 Requires: xorg-lib-libXvMC >= 1.0.6
501 Conflicts: Mesa-libXvMC
503 %description libXvMC-nouveau
504 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
506 %description libXvMC-nouveau -l pl.UTF-8
507 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
509 %package libXvMC-r600
510 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
511 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
514 Requires: libdrm >= %{libdrm_ver}
515 Requires: xorg-lib-libXvMC >= 1.0.6
516 Conflicts: Mesa-libXvMC
518 %description libXvMC-r600
519 Mesa implementation of XvMC API for ATI Radeon adapters based on
522 %description libXvMC-r600 -l pl.UTF-8
523 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
526 %package -n libva-driver-gallium
527 Summary: VA driver for Gallium State Tracker
528 Summary(pl.UTF-8): Sterownik VA do Gallium
530 Requires: libva >= 1.3.0
532 %description -n libva-driver-gallium
533 VA driver for Gallium State Tracker.
535 %description -n libva-driver-gallium -l pl.UTF-8
536 Sterownik VA do Gallium.
539 Summary: Mesa Graphics Buffer Manager library
540 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
542 Requires: %{name}-libglapi = %{version}-%{release}
543 Requires: udev-libs >= 1:151
544 Conflicts: Mesa-libEGL < 8.0.1-2
547 Mesa Graphics Buffer Manager library.
549 %description libgbm -l pl.UTF-8
550 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
552 %package libgbm-devel
553 Summary: Header file for Mesa Graphics Buffer Manager library
554 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
555 Group: Development/Libraries
556 Requires: %{name}-libgbm = %{version}-%{release}
557 Requires: udev-devel >= 1:151
559 %description libgbm-devel
560 Header file for Mesa Graphics Buffer Manager library.
562 %description libgbm-devel -l pl.UTF-8
563 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
566 %package gbm-driver-i915
567 Summary: i915 driver for Mesa GBM framework
568 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
570 Requires: %{name}-libgbm = %{version}-%{release}
571 Obsoletes: Mesa-opencl-driver-i915
573 %description gbm-driver-i915
574 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
575 915/945/G33/Q33/Q35/Pineview chips.
577 %description gbm-driver-i915 -l pl.UTF-8
578 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
579 bufora graficznego). Obsługuje układy Intela z serii
580 915/945/G33/Q33/Q35/Pineview.
582 %package gbm-driver-nouveau
583 Summary: nouveau driver for Mesa GBM framework
584 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
586 Requires: %{name}-libgbm = %{version}-%{release}
587 Obsoletes: Mesa-opencl-driver-nouveau
589 %description gbm-driver-nouveau
590 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
593 %description gbm-driver-nouveau -l pl.UTF-8
594 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
595 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
597 %package gbm-driver-r300
598 Summary: r300 driver for Mesa GBM framework
599 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
601 Requires: %{name}-libgbm = %{version}-%{release}
602 Obsoletes: Mesa-opencl-driver-r300
604 %description gbm-driver-r300
605 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
606 adapters based on R300/R400/RS690/R500 chips.
608 %description gbm-driver-r300 -l pl.UTF-8
609 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
610 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
611 układach R300/R400/RS690/R500.
613 %package gbm-driver-r600
614 Summary: r600 driver for Mesa GBM framework
615 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
617 Requires: %{name}-libgbm = %{version}-%{release}
618 Obsoletes: Mesa-libllvmradeon
619 Obsoletes: Mesa-opencl-driver-r600
621 %description gbm-driver-r600
622 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
623 adapters based on R600/R700 chips.
625 %description gbm-driver-r600 -l pl.UTF-8
626 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
627 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
630 %package gbm-driver-radeonsi
631 Summary: radeonsi driver for Mesa GBM framework
632 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
634 Requires: %{name}-libgbm = %{version}-%{release}
635 Obsoletes: Mesa-libllvmradeon
636 Obsoletes: Mesa-opencl-driver-radeonsi
638 %description gbm-driver-radeonsi
639 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
640 Radeon adapters based on Southern Islands chips.
642 %description gbm-driver-radeonsi -l pl.UTF-8
643 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
644 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
645 oparte na układach Southern Islands.
647 %package gbm-driver-swrast
648 Summary: Software (swrast) driver for Mesa GBM framework
649 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
651 Requires: %{name}-libgbm = %{version}-%{release}
652 Obsoletes: Mesa-opencl-driver-swrast
654 %description gbm-driver-swrast
655 Software (swrast) driver for Mesa Graphics Buffer Manager.
657 %description gbm-driver-swrast -l pl.UTF-8
658 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
659 Manager (zarządcy bufora graficznego).
661 %package gbm-driver-vmwgfx
662 Summary: vmwgfx driver for Mesa GBM framework
663 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
665 Requires: %{name}-libgbm = %{version}-%{release}
666 Obsoletes: Mesa-opencl-driver-vmwgfx
668 %description gbm-driver-vmwgfx
669 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
670 virtual video adapter.
672 %description gbm-driver-vmwgfx -l pl.UTF-8
673 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
674 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
677 Summary: Mesa GL API shared library
678 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
680 Conflicts: Mesa-libEGL < 8.0.1-2
682 %description libglapi
683 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
685 %description libglapi -l pl.UTF-8
686 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
689 %package libwayland-egl
690 Summary: Wayland EGL library
691 Summary(pl.UTF-8): Biblioteka Wayland EGL
693 Requires: libdrm >= %{libdrm_ver}
695 %description libwayland-egl
696 Wayland EGL platform library.
698 %description libwayland-egl -l pl.UTF-8
699 Biblioteka platformy EGL Wayland.
701 %package libwayland-egl-devel
702 Summary: Development files for Wayland EGL library
703 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
704 Group: Development/Libraries
705 Requires: %{name}-libwayland-egl = %{version}-%{release}
706 Requires: libdrm-devel >= %{libdrm_ver}
708 %description libwayland-egl-devel
709 Development files for Wayland EGL platform library.
711 %description libwayland-egl-devel -l pl.UTF-8
712 Pliki programistyczne biblioteki platformy EGL Wayland.
714 %package libxatracker
715 Summary: Xorg Gallium3D accelleration library
716 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
718 Requires: libdrm >= %{libdrm_ver}
720 %description libxatracker
721 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
723 %description libxatracker -l pl.UTF-8
724 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
727 %package libxatracker-devel
728 Summary: Header files for Xorg Gallium3D accelleration library
729 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
730 Group: X11/Development/Libraries
731 Requires: %{name}-libxatracker = %{version}-%{release}
732 Requires: libdrm-devel >= %{libdrm_ver}
734 %description libxatracker-devel
735 Header files for Xorg Gallium3D accelleration library.
737 %description libxatracker-devel -l pl.UTF-8
738 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
740 %package khrplatform-devel
741 Summary: Khronos platform header file
742 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
743 Group: Development/Libraries
744 Conflicts: Mesa-libEGL-devel < 8.0.1-2
746 %description khrplatform-devel
747 Khronos platform header file.
749 %description khrplatform-devel -l pl.UTF-8
750 Plik nagłówkowy platformy Khronos.
752 %package dri-driver-ati-radeon-R100
753 Summary: X.org DRI driver for ATI R100 card family
754 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
757 Requires: xorg-driver-video-ati
758 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
759 Requires: xorg-xserver-server >= %{xserver_ver}
760 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
762 %description dri-driver-ati-radeon-R100
763 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
765 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
766 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
768 %package dri-driver-ati-radeon-R200
769 Summary: X.org DRI driver for ATI R200 card family
770 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
773 Requires: xorg-driver-video-ati
774 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
775 Requires: xorg-xserver-server >= %{xserver_ver}
776 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
778 %description dri-driver-ati-radeon-R200
779 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
781 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
782 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
784 %package dri-driver-ati-radeon-R300
785 Summary: X.org DRI driver for ATI R300 card family
786 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
789 Requires: xorg-driver-video-ati
790 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
791 Requires: xorg-xserver-server >= %{xserver_ver}
792 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
794 %description dri-driver-ati-radeon-R300
795 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
797 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
798 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
800 %package dri-driver-ati-radeon-R600
801 Summary: X.org DRI driver for ATI R600 card family
802 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
805 Requires: radeon-ucode
806 Requires: xorg-driver-video-ati
807 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
808 Requires: xorg-xserver-server >= %{xserver_ver}
810 %description dri-driver-ati-radeon-R600
811 X.org DRI driver for ATI R600/R700 card family.
813 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
814 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
816 %package dri-driver-ati-radeon-SI
817 Summary: X.org DRI driver for ATI Southern Islands card family
818 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
821 Requires: radeon-ucode
822 Requires: xorg-driver-video-ati
823 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
824 Requires: xorg-xserver-server >= %{xserver_ver}
826 %description dri-driver-ati-radeon-SI
827 X.org DRI driver for ATI Southern Islands card family.
829 %description dri-driver-ati-radeon-SI -l pl.UTF-8
830 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
832 %package dri-driver-intel-i915
833 Summary: X.org DRI driver for Intel i915 card family
834 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
837 Requires: xorg-driver-video-intel
838 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
839 Requires: xorg-xserver-server >= %{xserver_ver}
840 Obsoletes: Mesa-dri-driver-intel-i830
841 Obsoletes: X11-driver-i810-dri < 1:7.0.0
843 %description dri-driver-intel-i915
844 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
847 %description dri-driver-intel-i915 -l pl.UTF-8
848 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
851 %package dri-driver-intel-i965
852 Summary: X.org DRI driver for Intel i965 card family
853 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
856 Requires: xorg-driver-video-intel
857 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
858 Requires: xorg-xserver-server >= %{xserver_ver}
859 Obsoletes: Mesa-dri-driver-intel-i830
860 Obsoletes: X11-driver-i810-dri < 1:7.0.0
862 %description dri-driver-intel-i965
863 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
864 965GME, GM45, G41, B43, Q45, G45);
866 %description dri-driver-intel-i965 -l pl.UTF-8
867 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
868 965GM, 965GME, GM45, G41, B43, Q45, G45).
870 %package dri-driver-nouveau
871 Summary: X.org DRI driver for NVIDIA card family
872 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
875 Requires: xorg-driver-video-nouveau
876 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
877 Requires: xorg-xserver-server >= %{xserver_ver}
879 %description dri-driver-nouveau
880 X.org DRI drivers for NVIDIA card family.
882 %description dri-driver-nouveau -l pl.UTF-8
883 Sterowniki X.org DRI dla rodziny kart NVIDIA.
885 %package dri-driver-swrast
886 Summary: X.org DRI software rasterizer driver
887 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
890 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
891 Requires: xorg-xserver-server >= %{xserver_ver}
893 %description dri-driver-swrast
894 X.org DRI software rasterizer driver.
896 %description dri-driver-swrast -l pl.UTF-8
897 Sterownik X.org DRI obsługujący rysowanie programowe.
899 %package dri-driver-vmwgfx
900 Summary: X.org DRI driver for VMware
901 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
904 Requires: xorg-driver-video-vmware
905 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
906 Requires: xorg-xserver-server >= %{xserver_ver}
908 %description dri-driver-vmwgfx
909 X.org DRI driver for VMWare.
911 %description dri-driver-vmwgfx -l pl.UTF-8
912 Sterownik X.org DRI dla VMware.
915 Summary: Nine Direct3D9 driver (for Wine)
916 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
918 Requires: libdrm >= %{libdrm_ver}
921 Nine Direct3D9 driver (for Wine).
923 %description d3d -l pl.UTF-8
924 Sterownik Direct3D9 Nine (dla Wine).
927 Summary: Nine Direct3D9 driver API
928 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
929 Group: Development/Libraries
930 Requires: libdrm-devel >= %{libdrm_ver}
932 %description d3d-devel
933 Nine Direct3D9 driver API.
935 %description d3d-devel -l pl.UTF-8
936 API sterownika Direct3D9 Nine.
938 %package -n libvdpau-driver-mesa-nouveau
939 Summary: Mesa nouveau driver for the vdpau API
940 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
943 Requires: libdrm >= %{libdrm_ver}
944 Requires: libvdpau >= 0.4.1
945 Conflicts: libvdpau-driver-mesa
947 %description -n libvdpau-driver-mesa-nouveau
948 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
951 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
952 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
955 %package -n libvdpau-driver-mesa-r300
956 Summary: Mesa r300 driver for the vdpau API
957 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
960 Requires: libdrm >= %{libdrm_ver}
961 Requires: libvdpau >= 0.4.1
962 Conflicts: libvdpau-driver-mesa
964 %description -n libvdpau-driver-mesa-r300
965 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
968 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
969 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
972 %package -n libvdpau-driver-mesa-r600
973 Summary: Mesa r600 driver for the vdpau API
974 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
977 Requires: libdrm >= %{libdrm_ver}
978 Requires: libvdpau >= 0.4.1
979 Conflicts: libvdpau-driver-mesa
981 %description -n libvdpau-driver-mesa-r600
982 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
983 based on R600/R700 chips.
985 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
986 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
987 na układach R600/R700.
989 %package -n libvdpau-driver-mesa-radeonsi
990 Summary: Mesa radeonsi driver for the vdpau API
991 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
994 Requires: libdrm >= %{libdrm_ver}
995 Requires: libvdpau >= 0.4.1
996 Conflicts: libvdpau-driver-mesa
997 Obsoletes: Mesa-libllvmradeon
999 %description -n libvdpau-driver-mesa-radeonsi
1000 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1001 adapters based on Southern Islands chips.
1003 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1004 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1005 oparte na układach Southern Islands.
1007 %package -n omxil-mesa
1008 Summary: Mesa driver for Bellagio OpenMAX IL API
1009 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1011 Group: X11/Libraries
1012 Requires: libdrm >= %{libdrm_ver}
1013 Requires: libxcb >= 1.8
1014 Requires: libomxil-bellagio
1015 Obsoletes: omxil-mesa-nouveau
1016 Obsoletes: omxil-mesa-r600
1017 Obsoletes: omxil-mesa-radeonsi
1019 %description -n omxil-mesa
1020 Mesa driver for Bellagio OpenMAX IL API.
1022 %description -n omxil-mesa -l pl.UTF-8
1023 Sterownik Mesa dla API Bellagio OpenMAX IL.
1025 %package -n omxil-mesa-nouveau
1026 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1027 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1029 Group: X11/Libraries
1030 Requires: libdrm >= %{libdrm_ver}
1031 Requires: libxcb >= 1.8
1032 Requires: libomxil-bellagio
1034 %description -n omxil-mesa-nouveau
1035 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1036 adapters (NV40-NV96, NVa0).
1038 %description -n omxil-mesa-nouveau -l pl.UTF-8
1039 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1040 NVidia (NV40-NV96, NVa0).
1042 %package -n omxil-mesa-r600
1043 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1044 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1046 Group: X11/Libraries
1047 Requires: libdrm >= %{libdrm_ver}
1048 Requires: libxcb >= 1.8
1049 Requires: libomxil-bellagio
1051 %description -n omxil-mesa-r600
1052 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1053 adapters based on R600/R700 chips.
1055 %description -n omxil-mesa-r600 -l pl.UTF-8
1056 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1057 Radeon oparte na układach R600/R700.
1059 %package -n omxil-mesa-radeonsi
1060 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1061 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1063 Group: X11/Libraries
1064 Requires: libdrm >= %{libdrm_ver}
1065 Requires: libxcb >= 1.8
1066 Requires: libomxil-bellagio
1068 %description -n omxil-mesa-radeonsi
1069 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1070 Radeon adapters based on Southern Islands chips.
1072 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1073 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1074 ATI Radeon oparte na układach Southern Islands.
1077 %setup -q -n mesa-%{version}
1086 dri_drivers="r200 radeon \
1087 %if %{without gallium_intel}
1092 %ifarch sparc sparcv9 sparc64
1097 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1099 gallium_drivers="svga swrast \
1100 %if %{with gallium_intel}
1103 %if %{with gallium_radeon}
1108 %if %{with gallium_nouveau}
1113 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1116 --disable-silent-rules \
1122 --enable-shared-glapi \
1123 %{?with_static_libs:--enable-static} \
1124 %{?with_texture_float:--enable-texture-float} \
1129 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1132 --enable-gallium-llvm \
1133 --enable-llvm-shared-libs \
1134 %{__enable egl gallium-egl} \
1135 %{__enable gbm gallium-gbm} \
1136 %{__enable ocl_icd opencl-icd} \
1137 %{?with_nine:--enable-nine} \
1138 %{__enable opencl} \
1140 %{?with_omx:--enable-omx} \
1141 %{?with_xa:--enable-xa} \
1143 --with-gallium-drivers=${gallium_drivers} \
1145 --without-gallium-drivers \
1147 --with-dri-drivers=${dri_drivers} \
1148 --with-dri-driverdir=%{_libdir}/xorg/modules/dri \
1149 --with-sha1=libnettle \
1150 --with-va-libdir=%{_libdir}/libva/dri
1154 %{?with_tests:%{__make} check}
1157 rm -rf $RPM_BUILD_ROOT
1160 DESTDIR=$RPM_BUILD_ROOT
1162 # strip out undesirable headers
1163 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/wglext.h
1164 # dlopened by soname
1165 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1166 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1167 # dlopened by soname or .so link
1168 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1169 # not used externally
1170 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1172 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1173 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1174 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1175 # not defined by standards; and not needed, there is pkg-config support
1176 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1177 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1179 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1180 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1181 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1184 rm -rf $RPM_BUILD_ROOT
1186 %post libEGL -p /sbin/ldconfig
1187 %postun libEGL -p /sbin/ldconfig
1189 %post libGL -p /sbin/ldconfig
1190 %postun libGL -p /sbin/ldconfig
1192 %post libGLES -p /sbin/ldconfig
1193 %postun libGLES -p /sbin/ldconfig
1195 %post libOSMesa -p /sbin/ldconfig
1196 %postun libOSMesa -p /sbin/ldconfig
1198 %post libOpenCL -p /sbin/ldconfig
1199 %postun libOpenCL -p /sbin/ldconfig
1201 %post libOpenVG -p /sbin/ldconfig
1202 %postun libOpenVG -p /sbin/ldconfig
1204 %post libXvMC-nouveau -p /sbin/ldconfig
1205 %postun libXvMC-nouveau -p /sbin/ldconfig
1206 %post libXvMC-r600 -p /sbin/ldconfig
1207 %postun libXvMC-r600 -p /sbin/ldconfig
1209 %post libgbm -p /sbin/ldconfig
1210 %postun libgbm -p /sbin/ldconfig
1212 %post libglapi -p /sbin/ldconfig
1213 %postun libglapi -p /sbin/ldconfig
1215 %post libwayland-egl -p /sbin/ldconfig
1216 %postun libwayland-egl -p /sbin/ldconfig
1218 %post libxatracker -p /sbin/ldconfig
1219 %postun libxatracker -p /sbin/ldconfig
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1225 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_libdir}/libEGL.so
1230 %dir %{_includedir}/EGL
1231 %{_includedir}/EGL/egl.h
1232 %{_includedir}/EGL/eglext.h
1233 %{_includedir}/EGL/eglextchromium.h
1234 %{_includedir}/EGL/eglmesaext.h
1235 %{_includedir}/EGL/eglplatform.h
1236 %{_pkgconfigdir}/egl.pc
1238 %if %{with static_libs}
1239 %files libEGL-static
1240 %defattr(644,root,root,755)
1246 %defattr(644,root,root,755)
1247 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1248 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1249 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1250 # symlink for binary apps which fail to conform Linux OpenGL ABI
1251 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1252 %attr(755,root,root) %{_libdir}/libGL.so
1253 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1256 %defattr(644,root,root,755)
1258 %dir %{_includedir}/GL
1259 %{_includedir}/GL/gl.h
1260 %{_includedir}/GL/glcorearb.h
1261 %{_includedir}/GL/glext.h
1262 %{_includedir}/GL/gl_mangle.h
1263 %{_includedir}/GL/glx.h
1264 %{_includedir}/GL/glxext.h
1265 %{_includedir}/GL/glx_mangle.h
1266 %dir %{_includedir}/GL/internal
1267 %{_includedir}/GL/internal/dri_interface.h
1268 %{_pkgconfigdir}/dri.pc
1269 %{_pkgconfigdir}/gl.pc
1271 %if %{with static_libs}
1273 %defattr(644,root,root,755)
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1280 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1281 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1282 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1284 %files libGLES-devel
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1287 %attr(755,root,root) %{_libdir}/libGLESv2.so
1289 %{_includedir}/GLES2
1290 %{_includedir}/GLES3
1291 %{_pkgconfigdir}/glesv1_cm.pc
1292 %{_pkgconfigdir}/glesv2.pc
1295 %defattr(644,root,root,755)
1296 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1297 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1299 %files libOSMesa-devel
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_libdir}/libOSMesa.so
1302 %{_includedir}/GL/osmesa.h
1303 %{_pkgconfigdir}/osmesa.pc
1305 %if %{with static_libs}
1306 %files libOSMesa-static
1307 %defattr(644,root,root,755)
1308 %{_libdir}/libOSMesa.a
1314 %defattr(644,root,root,755)
1315 /etc/OpenCL/vendors/mesa.icd
1316 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1317 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1318 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1323 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1325 %files libOpenCL-devel
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/libOpenCL.so
1332 %if %{with egl} && %{with openvg} && %{with gallium}
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1336 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1338 %files libOpenVG-devel
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_libdir}/libOpenVG.so
1342 %{_pkgconfigdir}/vg.pc
1346 %if %{with gallium_nouveau}
1347 %files libXvMC-nouveau
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1350 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1353 %if %{with gallium_radeon}
1355 %defattr(644,root,root,755)
1356 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1357 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1361 %files -n libva-driver-gallium
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1371 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1373 %dir %{_libdir}/gallium-pipe
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_libdir}/libgbm.so
1379 %{_includedir}/gbm.h
1380 %{_pkgconfigdir}/gbm.pc
1384 %if %{with gallium_intel}
1385 %files gbm-driver-i915
1386 %defattr(644,root,root,755)
1387 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1390 %if %{with gallium_nouveau}
1391 %files gbm-driver-nouveau
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1396 %if %{with gallium_radeon}
1397 %files gbm-driver-r300
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1401 %files gbm-driver-r600
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1405 %files gbm-driver-radeonsi
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1410 %files gbm-driver-swrast
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1414 %files gbm-driver-vmwgfx
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1422 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1423 # libglapi-devel? nothing seems to need it atm.
1424 #%attr(755,root,root) %{_libdir}/libglapi.so
1427 %files libwayland-egl
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1430 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1432 %files libwayland-egl-devel
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1435 %{_pkgconfigdir}/wayland-egl.pc
1440 %defattr(644,root,root,755)
1441 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1442 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1444 %files libxatracker-devel
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{_libdir}/libxatracker.so
1447 %{_includedir}/xa_composite.h
1448 %{_includedir}/xa_context.h
1449 %{_includedir}/xa_tracker.h
1450 %{_pkgconfigdir}/xatracker.pc
1454 %files khrplatform-devel
1455 %defattr(644,root,root,755)
1456 %dir %{_includedir}/KHR
1457 %{_includedir}/KHR/khrplatform.h
1460 %files dri-driver-ati-radeon-R100
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1464 %files dri-driver-ati-radeon-R200
1465 %defattr(644,root,root,755)
1466 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1469 %if %{with gallium_radeon}
1470 %files dri-driver-ati-radeon-R300
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1474 %files dri-driver-ati-radeon-R600
1475 %defattr(644,root,root,755)
1476 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1478 %files dri-driver-ati-radeon-SI
1479 %defattr(644,root,root,755)
1480 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1484 %files dri-driver-intel-i915
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1488 %files dri-driver-intel-i965
1489 %defattr(644,root,root,755)
1490 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1492 %files dri-driver-nouveau
1493 %defattr(644,root,root,755)
1494 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1495 %if %{with gallium_nouveau}
1496 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1499 %files dri-driver-swrast
1500 %defattr(644,root,root,755)
1502 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1504 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1507 %files dri-driver-vmwgfx
1508 %defattr(644,root,root,755)
1509 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1514 %defattr(644,root,root,755)
1516 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1519 %defattr(644,root,root,755)
1520 %{_includedir}/d3dadapter
1521 %{_pkgconfigdir}/d3d.pc
1525 # ldconfig is not used in vdpau tree, so package all symlinks
1526 %if %{with gallium_nouveau}
1527 %files -n libvdpau-driver-mesa-nouveau
1528 %defattr(644,root,root,755)
1529 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1530 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1531 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1534 %if %{with gallium_radeon}
1535 %files -n libvdpau-driver-mesa-r300
1536 %defattr(644,root,root,755)
1537 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1538 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1539 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1541 %files -n libvdpau-driver-mesa-r600
1542 %defattr(644,root,root,755)
1543 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1545 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1547 %files -n libvdpau-driver-mesa-radeonsi
1548 %defattr(644,root,root,755)
1549 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1550 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1551 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1555 %if %{with gallium} && %{with omx}
1556 %files -n omxil-mesa
1557 %defattr(644,root,root,755)
1558 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so