3 # - check if gallium_intel note is still valid, switch the bcond if not
5 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
6 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
9 %bcond_without gallium # gallium drivers
10 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
11 %bcond_without gallium_nouveau # gallium nouveau driver
12 %bcond_without gallium_radeon # gallium radeon drivers
13 %bcond_without egl # EGL libraries
14 # "Cannot enable OpenVG, because egl_gallium has been removed and
15 # OpenVG hasn't been integrated into standard libEGL yet"
16 %bcond_with openvg # OpenVG
17 %bcond_without gbm # Graphics Buffer Manager
18 %bcond_without nine # Nine Direct3D 9+ state tracker (for Wine)
19 %bcond_without opencl # OpenCL support
20 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
21 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
22 %bcond_without va # VA library
23 %bcond_without wayland # Wayland EGL
24 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
25 %bcond_with texture_float # floating-point textures and renderbuffers (SGI patent in US)
26 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
27 %bcond_with tests # tests
29 # glapi version (glapi tables in dri drivers and libglx must be in sync);
30 # set to current Mesa version on ABI break, when xserver tables get regenerated
31 # (until they start to be somehow versioned themselves)
32 %define glapi_ver 7.1.0
33 # minimal supported xserver version
34 %define xserver_ver 1.5.0
36 %define libdrm_ver 2.4.56
37 %define dri2proto_ver 2.6
38 %define dri3proto_ver 1.0
39 %define glproto_ver 1.4.14
40 %define presentproto_ver 1.0
42 # no clang/llvm on x32 yet
44 %undefine with_gallium
47 %if %{without gallium}
48 %undefine with_gallium_intel
49 %undefine with_gallium_nouveau
50 %undefine with_gallium_radeon
52 %undefine with_ocl_icd
60 %undefine with_wayland
63 Summary: Free OpenGL implementation
64 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
68 License: MIT (core) and others - see license.html file
70 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
71 # Source0-md5: fd44bf89d48d1744591d9dbe0ce1d54e
72 Patch0: missing-type.patch
73 URL: http://www.mesa3d.org/
74 BuildRequires: autoconf >= 2.60
75 BuildRequires: automake
76 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
77 BuildRequires: elfutils-devel
78 BuildRequires: expat-devel
79 BuildRequires: gcc >= 5:3.3
80 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
81 BuildRequires: libdrm-devel >= %{libdrm_ver}
82 BuildRequires: libselinux-devel
83 BuildRequires: libstdc++-devel >= 5:3.3.0
84 BuildRequires: libtalloc-devel >= 2:2.0.1
85 BuildRequires: libtool >= 2:2.2
86 %{?with_va:BuildRequires: libva-devel >= 1.3.0}
87 %{?with_va:BuildRequires: pkgconfig(libva) >= 0.35.0}
88 BuildRequires: libvdpau-devel >= 0.4.1
89 BuildRequires: libxcb-devel >= 1.10
90 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
91 %{?with_opencl:BuildRequires: llvm-libclc}
92 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
93 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
94 BuildRequires: perl-base
95 BuildRequires: pixman-devel
96 BuildRequires: pkgconfig
97 BuildRequires: pkgconfig(talloc) >= 2.0.1
98 BuildRequires: pkgconfig(xcb-dri3)
99 BuildRequires: pkgconfig(xcb-present)
100 BuildRequires: python >= 2
101 BuildRequires: python-modules >= 2
102 BuildRequires: rpmbuild(macros) >= 1.470
103 BuildRequires: sed >= 4.0
104 %{?with_egl:BuildRequires: udev-devel >= 1:151}
105 # wayland-{client,server}
106 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
107 BuildRequires: xorg-lib-libXdamage-devel
108 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
109 BuildRequires: xorg-lib-libXfixes-devel
110 BuildRequires: xorg-lib-libXt-devel
111 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
112 BuildRequires: xorg-lib-libXxf86vm-devel
113 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
114 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
115 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
116 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
117 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
118 BuildRequires: xorg-util-makedepend
120 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
121 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
123 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
125 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
126 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
127 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
128 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
131 %define filterout_ld -Wl,--as-needed
134 Mesa is a 3-D graphics library with an API which is very similar to
135 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
136 syntax or state machine, it is being used with authorization from
137 Silicon Graphics, Inc. However, the author does not possess an OpenGL
138 license from SGI, and makes no claim that Mesa is in any way a
139 compatible replacement for OpenGL or associated with SGI.
141 %description -l pl.UTF-8
142 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
143 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
144 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
145 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
146 OpenGL ani powiązana z SGI.
149 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
150 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
153 Requires: %{name}-libglapi = %{version}-%{release}
154 # glx driver in libEGL dlopens libGL.so
155 Requires: OpenGL >= 1.2
156 Requires: libdrm >= %{libdrm_ver}
157 Requires: libxcb >= 1.9
158 %{?with_wayland:Requires: wayland >= 1.2.0}
162 Requires: %{name}-libOpenVG = %{version}-%{release}
164 Requires: udev-libs >= 1:151
167 Requires: %{name}-libgbm = %{version}-%{release}
172 This package contains shared libEGL - Mesa implementation of EGL
173 Native Platform Graphics Interface as specified by Khronos Group:
174 <http://www.khronos.org/egl/>.
176 %description libEGL -l pl.UTF-8
177 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
178 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
179 graficznego platformy natywnej) wg specyfikacji Khronos Group:
180 <http://www.khronos.org/egl/>.
182 %package libEGL-devel
183 Summary: Header files for Mesa implementation of EGL library
184 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
186 Group: Development/Libraries
187 Requires: %{name}-khrplatform-devel = %{version}-%{release}
188 Requires: %{name}-libEGL = %{version}-%{release}
189 Requires: libdrm-devel >= %{libdrm_ver}
190 Requires: xorg-lib-libX11-devel
191 Requires: xorg-lib-libXdamage-devel
192 Requires: xorg-lib-libXext-devel >= 1.0.5
193 Requires: xorg-lib-libXfixes-devel
194 Requires: xorg-lib-libXxf86vm-devel
195 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
196 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
197 Provides: EGL-devel = 1.4
199 %description libEGL-devel
200 Header files for Mesa implementation of EGL library.
202 %description libEGL-devel -l pl.UTF-8
203 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
205 %package libEGL-static
206 Summary: Static Mesa EGL library
207 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
209 Group: Development/Libraries
210 Requires: %{name}-libEGL-devel = %{version}-%{release}
211 Provides: EGL-static = 1.4
213 %description libEGL-static
214 Static Mesa EGL library.
216 %description libEGL-static -l pl.UTF-8
217 Statyczna biblioteka Mesa EGL.
220 Summary: Free Mesa3D implementation of libGL OpenGL library
221 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
224 Requires: %{name}-libglapi = %{version}-%{release}
225 Requires: libdrm >= %{libdrm_ver}
226 Provides: OpenGL = 3.3
227 Provides: OpenGL-GLX = 1.4
230 Obsoletes: Mesa-dri-core < 10.0.0
231 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
232 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
235 Mesa is a 3-D graphics library with an API which is very similar to
236 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
237 syntax or state machine, it is being used with authorization from
238 Silicon Graphics, Inc. However, the author does not possess an OpenGL
239 license from SGI, and makes no claim that Mesa is in any way a
240 compatible replacement for OpenGL or associated with SGI.
242 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
243 specifications. It uses DRI for rendering.
245 %description libGL -l pl.UTF-8
246 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
247 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
248 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
249 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
250 OpenGL ani powiązana z SGI.
252 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
253 GLX 1.4. Używa DRI do renderowania.
256 Summary: Header files for Mesa3D libGL library
257 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
259 Group: X11/Development/Libraries
260 # loose dependency on libGL to use with other libGL binaries
261 Requires: OpenGL >= 1.5
262 Requires: libdrm-devel >= %{libdrm_ver}
263 Requires: xorg-lib-libX11-devel
264 Requires: xorg-lib-libXdamage-devel
265 Requires: xorg-lib-libXext-devel >= 1.0.5
266 Requires: xorg-lib-libXxf86vm-devel
267 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
268 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
269 Suggests: OpenGL-doc-man
270 Provides: OpenGL-GLX-devel = 1.4
271 Provides: OpenGL-devel = 3.3
272 Obsoletes: Mesa-devel
273 Obsoletes: X11-OpenGL-devel < 1:7.0.0
274 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
275 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
276 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
278 %description libGL-devel
279 Header files for Mesa3D libGL library.
281 %description libGL-devel -l pl.UTF-8
282 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
284 %package libGL-static
285 Summary: Static Mesa3D libGL library
286 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
288 Group: X11/Development/Libraries
289 Requires: %{name}-libGL-devel = %{version}-%{release}
290 Provides: OpenGL-static = 3.3
291 Obsoletes: Mesa-static
292 Obsoletes: X11-OpenGL-static < 1:7.0.0
293 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
295 %description libGL-static
296 Static Mesa3D libGL library. It uses software renderer.
298 %description libGL-static -l pl.UTF-8
299 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
303 Summary: Mesa implementation of GLES (OpenGL ES) libraries
304 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
306 Requires: %{name}-libglapi = %{version}-%{release}
308 Provides: OpenGLESv1 = 1.1
309 Provides: OpenGLESv2 = 2.0
312 This package contains shared libraries of Mesa implementation of GLES
313 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
314 on embedded systems. OpenGL ES specification can be found on Khronos
315 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
318 %description libGLES -l pl.UTF-8
319 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
320 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
321 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
322 OpenGL ES można znaleźć na stronie Khronos Group:
323 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
326 %package libGLES-devel
327 Summary: Header files for Mesa GLES libraries
328 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
329 Group: Development/Libraries
330 Requires: %{name}-khrplatform-devel = %{version}-%{release}
331 # <EGL/egl.h> for <GLES/egl.h>
332 Requires: %{name}-libEGL-devel = %{version}-%{release}
333 Requires: %{name}-libGLES = %{version}-%{release}
334 Provides: OpenGLES-devel
335 Provides: OpenGLESv1-devel = 1.1
336 Provides: OpenGLESv2-devel = 2.0
338 %description libGLES-devel
339 Header files for Mesa GLES libraries.
341 %description libGLES-devel -l pl.UTF-8
342 Pliki nagłówkowe bibliotek Mesa GLES.
345 Summary: OSMesa (off-screen renderer) library
346 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
350 %description libOSMesa
351 OSMesa (off-screen renderer) library.
353 %description libOSMesa -l pl.UTF-8
354 Biblioteka OSMesa (renderująca bitmapy w pamięci).
356 %package libOSMesa-devel
357 Summary: Header file for OSMesa (off-screen renderer) library
358 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
360 Group: Development/Libraries
361 Requires: %{name}-libOSMesa = %{version}-%{release}
363 Requires: OpenGL-devel
364 Requires: libselinux-devel
366 %description libOSMesa-devel
367 Header file for OSMesa (off-screen renderer) library.
369 %description libOSMesa-devel -l pl.UTF-8
370 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
372 %package libOSMesa-static
373 Summary: Static OSMesa (off-screen renderer) library
374 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
376 Group: Development/Libraries
377 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
378 # this static build of OSMesa needs static non-dri Mesa implementation
379 Requires: %{name}-libGL-static = %{version}-%{release}
381 %description libOSMesa-static
382 Static OSMesa (off-screen renderer) library.
384 %description libOSMesa-static -l pl.UTF-8
385 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
388 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
389 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
392 Requires: filesystem >= 4.0-29
393 Requires: libdrm >= %{libdrm_ver}
394 Requires: llvm-libclc
395 Requires: udev-libs >= 1:151
396 Provides: OpenCL = 1.1
397 Provides: ocl-icd-driver
399 %description OpenCL-icd
400 This package contains Mesa implementation of OpenCL - standard for
401 cross-platform, parallel programming of modern processors found in
402 personal computers, servers and handheld/embedded devices. OpenCL
403 specification can be found on Khronos Group site:
404 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
406 The implementation is provided as an installable client driver (ICD)
407 for use with the ocl-icd loader.
409 %description OpenCL-icd -l pl.UTF-8
410 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
411 wieloplatformowego, równoległego programowania nowoczesnych
412 procesorów, jakie znajdują się w komputerach osobistych, serwerach
413 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
414 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
415 Mesa zawiera implementację OpenCL w wersji 1.1.
417 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
418 (ICD), który może być użyty z loaderem ocl-icd.
421 Summary: Mesa implementation of OpenCL (Compuing Language) API
422 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
425 Requires: libdrm >= %{libdrm_ver}
426 Requires: llvm-libclc
427 Requires: udev-libs >= 1:151
428 Provides: OpenCL = 1.1
430 %description libOpenCL
431 This package contains Mesa implementation of OpenCL - standard for
432 cross-platform, parallel programming of modern processors found in
433 personal computers, servers and handheld/embedded devices. OpenCL
434 specification can be found on Khronos Group site:
435 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
437 %description libOpenCL -l pl.UTF-8
438 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
439 wieloplatformowego, równoległego programowania nowoczesnych
440 procesorów, jakie znajdują się w komputerach osobistych, serwerach
441 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
442 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
443 Mesa zawiera implementację OpenCL w wersji 1.1.
445 %package libOpenCL-devel
446 Summary: Header files for Mesa OpenCL library
447 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
449 Group: Development/Libraries
450 Requires: %{name}-libOpenCL = %{version}-%{release}
451 Provides: OpenCL-devel = 1.1
453 %description libOpenCL-devel
454 Header files for Mesa OpenCL library.
456 %description libOpenCL-devel -l pl.UTF-8
457 Pliki nagłówkowe biblioteki Mesa OpenCL.
460 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
461 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
464 Provides: OpenVG = 1.1
466 %description libOpenVG
467 This package contains Mesa implementation of OpenVG - cross-platform
468 API that provides a low-level hardware acceleration interface for
469 vector graphics libraries such as Flash and SVG. OpenVG specification
470 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
471 Mesa implements OpenVG 1.1.
473 %description libOpenVG -l pl.UTF-8
474 Ten pakiet zawiera implementację Mesa standardu OpenVG -
475 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
476 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
477 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
478 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
481 %package libOpenVG-devel
482 Summary: Header file for Mesa OpenVG library
483 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
485 Group: Development/Libraries
486 Requires: %{name}-khrplatform-devel = %{version}-%{release}
487 Requires: %{name}-libOpenVG = %{version}-%{release}
488 Provides: OpenVG-devel = 1.1
490 %description libOpenVG-devel
491 Header file for Mesa OpenVG library.
493 %description libOpenVG-devel -l pl.UTF-8
494 Plik nagłówkowy biblioteki Mesa OpenVG.
496 %package libXvMC-nouveau
497 Summary: Mesa implementation of XvMC API for NVidia adapters
498 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
501 Requires: libdrm >= %{libdrm_ver}
502 Requires: xorg-lib-libXvMC >= 1.0.6
503 Conflicts: Mesa-libXvMC
505 %description libXvMC-nouveau
506 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
508 %description libXvMC-nouveau -l pl.UTF-8
509 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
511 %package libXvMC-r600
512 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
513 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
516 Requires: libdrm >= %{libdrm_ver}
517 Requires: xorg-lib-libXvMC >= 1.0.6
518 Conflicts: Mesa-libXvMC
520 %description libXvMC-r600
521 Mesa implementation of XvMC API for ATI Radeon adapters based on
524 %description libXvMC-r600 -l pl.UTF-8
525 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
528 %package -n libva-driver-gallium
529 Summary: VA driver for Gallium State Tracker
530 Summary(pl.UTF-8): Sterownik VA do Gallium
532 Requires: libva >= 1.3.0
534 %description -n libva-driver-gallium
535 VA driver for Gallium State Tracker.
537 %description -n libva-driver-gallium -l pl.UTF-8
538 Sterownik VA do Gallium.
541 Summary: Mesa Graphics Buffer Manager library
542 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
544 Requires: %{name}-libglapi = %{version}-%{release}
545 Requires: udev-libs >= 1:151
546 Conflicts: Mesa-libEGL < 8.0.1-2
549 Mesa Graphics Buffer Manager library.
551 %description libgbm -l pl.UTF-8
552 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
554 %package libgbm-devel
555 Summary: Header file for Mesa Graphics Buffer Manager library
556 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
557 Group: Development/Libraries
558 Requires: %{name}-libgbm = %{version}-%{release}
559 Requires: udev-devel >= 1:151
561 %description libgbm-devel
562 Header file for Mesa Graphics Buffer Manager library.
564 %description libgbm-devel -l pl.UTF-8
565 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
568 %package gbm-driver-i915
569 Summary: i915 driver for Mesa GBM framework
570 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
572 Requires: %{name}-libgbm = %{version}-%{release}
573 Obsoletes: Mesa-opencl-driver-i915
575 %description gbm-driver-i915
576 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
577 915/945/G33/Q33/Q35/Pineview chips.
579 %description gbm-driver-i915 -l pl.UTF-8
580 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
581 bufora graficznego). Obsługuje układy Intela z serii
582 915/945/G33/Q33/Q35/Pineview.
584 %package gbm-driver-nouveau
585 Summary: nouveau driver for Mesa GBM framework
586 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
588 Requires: %{name}-libgbm = %{version}-%{release}
589 Obsoletes: Mesa-opencl-driver-nouveau
591 %description gbm-driver-nouveau
592 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
595 %description gbm-driver-nouveau -l pl.UTF-8
596 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
597 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
599 %package gbm-driver-r300
600 Summary: r300 driver for Mesa GBM framework
601 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
603 Requires: %{name}-libgbm = %{version}-%{release}
604 Obsoletes: Mesa-opencl-driver-r300
606 %description gbm-driver-r300
607 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
608 adapters based on R300/R400/RS690/R500 chips.
610 %description gbm-driver-r300 -l pl.UTF-8
611 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
612 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
613 układach R300/R400/RS690/R500.
615 %package gbm-driver-r600
616 Summary: r600 driver for Mesa GBM framework
617 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
619 Requires: %{name}-libgbm = %{version}-%{release}
620 Obsoletes: Mesa-libllvmradeon
621 Obsoletes: Mesa-opencl-driver-r600
623 %description gbm-driver-r600
624 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
625 adapters based on R600/R700 chips.
627 %description gbm-driver-r600 -l pl.UTF-8
628 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
629 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
632 %package gbm-driver-radeonsi
633 Summary: radeonsi driver for Mesa GBM framework
634 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
636 Requires: %{name}-libgbm = %{version}-%{release}
637 Obsoletes: Mesa-libllvmradeon
638 Obsoletes: Mesa-opencl-driver-radeonsi
640 %description gbm-driver-radeonsi
641 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
642 Radeon adapters based on Southern Islands chips.
644 %description gbm-driver-radeonsi -l pl.UTF-8
645 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
646 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
647 oparte na układach Southern Islands.
649 %package gbm-driver-swrast
650 Summary: Software (swrast) driver for Mesa GBM framework
651 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
653 Requires: %{name}-libgbm = %{version}-%{release}
654 Obsoletes: Mesa-opencl-driver-swrast
656 %description gbm-driver-swrast
657 Software (swrast) driver for Mesa Graphics Buffer Manager.
659 %description gbm-driver-swrast -l pl.UTF-8
660 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
661 Manager (zarządcy bufora graficznego).
663 %package gbm-driver-vmwgfx
664 Summary: vmwgfx driver for Mesa GBM framework
665 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
667 Requires: %{name}-libgbm = %{version}-%{release}
668 Obsoletes: Mesa-opencl-driver-vmwgfx
670 %description gbm-driver-vmwgfx
671 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
672 virtual video adapter.
674 %description gbm-driver-vmwgfx -l pl.UTF-8
675 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
676 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
679 Summary: Mesa GL API shared library
680 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
682 Conflicts: Mesa-libEGL < 8.0.1-2
684 %description libglapi
685 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
687 %description libglapi -l pl.UTF-8
688 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
691 %package libwayland-egl
692 Summary: Wayland EGL library
693 Summary(pl.UTF-8): Biblioteka Wayland EGL
695 Requires: libdrm >= %{libdrm_ver}
697 %description libwayland-egl
698 Wayland EGL platform library.
700 %description libwayland-egl -l pl.UTF-8
701 Biblioteka platformy EGL Wayland.
703 %package libwayland-egl-devel
704 Summary: Development files for Wayland EGL library
705 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
706 Group: Development/Libraries
707 Requires: %{name}-libwayland-egl = %{version}-%{release}
708 Requires: libdrm-devel >= %{libdrm_ver}
710 %description libwayland-egl-devel
711 Development files for Wayland EGL platform library.
713 %description libwayland-egl-devel -l pl.UTF-8
714 Pliki programistyczne biblioteki platformy EGL Wayland.
716 %package libxatracker
717 Summary: Xorg Gallium3D accelleration library
718 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
720 Requires: libdrm >= %{libdrm_ver}
722 %description libxatracker
723 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
725 %description libxatracker -l pl.UTF-8
726 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
729 %package libxatracker-devel
730 Summary: Header files for Xorg Gallium3D accelleration library
731 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
732 Group: X11/Development/Libraries
733 Requires: %{name}-libxatracker = %{version}-%{release}
734 Requires: libdrm-devel >= %{libdrm_ver}
736 %description libxatracker-devel
737 Header files for Xorg Gallium3D accelleration library.
739 %description libxatracker-devel -l pl.UTF-8
740 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
742 %package khrplatform-devel
743 Summary: Khronos platform header file
744 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
745 Group: Development/Libraries
746 Conflicts: Mesa-libEGL-devel < 8.0.1-2
748 %description khrplatform-devel
749 Khronos platform header file.
751 %description khrplatform-devel -l pl.UTF-8
752 Plik nagłówkowy platformy Khronos.
754 %package dri-driver-ati-radeon-R100
755 Summary: X.org DRI driver for ATI R100 card family
756 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
759 Requires: xorg-driver-video-ati
760 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
761 Requires: xorg-xserver-server >= %{xserver_ver}
762 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
764 %description dri-driver-ati-radeon-R100
765 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
767 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
768 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
770 %package dri-driver-ati-radeon-R200
771 Summary: X.org DRI driver for ATI R200 card family
772 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
775 Requires: xorg-driver-video-ati
776 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
777 Requires: xorg-xserver-server >= %{xserver_ver}
778 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
780 %description dri-driver-ati-radeon-R200
781 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
783 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
784 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
786 %package dri-driver-ati-radeon-R300
787 Summary: X.org DRI driver for ATI R300 card family
788 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
791 Requires: xorg-driver-video-ati
792 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
793 Requires: xorg-xserver-server >= %{xserver_ver}
794 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
796 %description dri-driver-ati-radeon-R300
797 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
799 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
800 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
802 %package dri-driver-ati-radeon-R600
803 Summary: X.org DRI driver for ATI R600 card family
804 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
807 Requires: radeon-ucode
808 Requires: xorg-driver-video-ati
809 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
810 Requires: xorg-xserver-server >= %{xserver_ver}
812 %description dri-driver-ati-radeon-R600
813 X.org DRI driver for ATI R600/R700 card family.
815 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
816 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
818 %package dri-driver-ati-radeon-SI
819 Summary: X.org DRI driver for ATI Southern Islands card family
820 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
823 Requires: radeon-ucode
824 Requires: xorg-driver-video-ati
825 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
826 Requires: xorg-xserver-server >= %{xserver_ver}
828 %description dri-driver-ati-radeon-SI
829 X.org DRI driver for ATI Southern Islands card family.
831 %description dri-driver-ati-radeon-SI -l pl.UTF-8
832 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
834 %package dri-driver-intel-i915
835 Summary: X.org DRI driver for Intel i915 card family
836 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
839 Requires: xorg-driver-video-intel
840 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
841 Requires: xorg-xserver-server >= %{xserver_ver}
842 Obsoletes: Mesa-dri-driver-intel-i830
843 Obsoletes: X11-driver-i810-dri < 1:7.0.0
845 %description dri-driver-intel-i915
846 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
849 %description dri-driver-intel-i915 -l pl.UTF-8
850 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
853 %package dri-driver-intel-i965
854 Summary: X.org DRI driver for Intel i965 card family
855 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
858 Requires: xorg-driver-video-intel
859 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
860 Requires: xorg-xserver-server >= %{xserver_ver}
861 Obsoletes: Mesa-dri-driver-intel-i830
862 Obsoletes: X11-driver-i810-dri < 1:7.0.0
864 %description dri-driver-intel-i965
865 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
866 965GME, GM45, G41, B43, Q45, G45);
868 %description dri-driver-intel-i965 -l pl.UTF-8
869 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
870 965GM, 965GME, GM45, G41, B43, Q45, G45).
872 %package dri-driver-nouveau
873 Summary: X.org DRI driver for NVIDIA card family
874 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
877 Requires: xorg-driver-video-nouveau
878 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
879 Requires: xorg-xserver-server >= %{xserver_ver}
881 %description dri-driver-nouveau
882 X.org DRI drivers for NVIDIA card family.
884 %description dri-driver-nouveau -l pl.UTF-8
885 Sterowniki X.org DRI dla rodziny kart NVIDIA.
887 %package dri-driver-swrast
888 Summary: X.org DRI software rasterizer driver
889 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
892 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
893 Requires: xorg-xserver-server >= %{xserver_ver}
895 %description dri-driver-swrast
896 X.org DRI software rasterizer driver.
898 %description dri-driver-swrast -l pl.UTF-8
899 Sterownik X.org DRI obsługujący rysowanie programowe.
901 %package dri-driver-vmwgfx
902 Summary: X.org DRI driver for VMware
903 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
906 Requires: xorg-driver-video-vmware
907 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
908 Requires: xorg-xserver-server >= %{xserver_ver}
910 %description dri-driver-vmwgfx
911 X.org DRI driver for VMWare.
913 %description dri-driver-vmwgfx -l pl.UTF-8
914 Sterownik X.org DRI dla VMware.
917 Summary: Nine Direct3D9 driver (for Wine)
918 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
920 Requires: libdrm >= %{libdrm_ver}
923 Nine Direct3D9 driver (for Wine).
925 %description d3d -l pl.UTF-8
926 Sterownik Direct3D9 Nine (dla Wine).
929 Summary: Nine Direct3D9 driver API
930 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
931 Group: Development/Libraries
932 Requires: libdrm-devel >= %{libdrm_ver}
934 %description d3d-devel
935 Nine Direct3D9 driver API.
937 %description d3d-devel -l pl.UTF-8
938 API sterownika Direct3D9 Nine.
940 %package -n libvdpau-driver-mesa-nouveau
941 Summary: Mesa nouveau driver for the vdpau API
942 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
945 Requires: libdrm >= %{libdrm_ver}
946 Requires: libvdpau >= 0.4.1
947 Conflicts: libvdpau-driver-mesa
949 %description -n libvdpau-driver-mesa-nouveau
950 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
953 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
954 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
957 %package -n libvdpau-driver-mesa-r300
958 Summary: Mesa r300 driver for the vdpau API
959 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
962 Requires: libdrm >= %{libdrm_ver}
963 Requires: libvdpau >= 0.4.1
964 Conflicts: libvdpau-driver-mesa
966 %description -n libvdpau-driver-mesa-r300
967 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
970 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
971 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
974 %package -n libvdpau-driver-mesa-r600
975 Summary: Mesa r600 driver for the vdpau API
976 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
979 Requires: libdrm >= %{libdrm_ver}
980 Requires: libvdpau >= 0.4.1
981 Conflicts: libvdpau-driver-mesa
983 %description -n libvdpau-driver-mesa-r600
984 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
985 based on R600/R700 chips.
987 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
988 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
989 na układach R600/R700.
991 %package -n libvdpau-driver-mesa-radeonsi
992 Summary: Mesa radeonsi driver for the vdpau API
993 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
996 Requires: libdrm >= %{libdrm_ver}
997 Requires: libvdpau >= 0.4.1
998 Conflicts: libvdpau-driver-mesa
999 Obsoletes: Mesa-libllvmradeon
1001 %description -n libvdpau-driver-mesa-radeonsi
1002 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1003 adapters based on Southern Islands chips.
1005 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1006 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1007 oparte na układach Southern Islands.
1009 %package -n omxil-mesa
1010 Summary: Mesa driver for Bellagio OpenMAX IL API
1011 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1013 Group: X11/Libraries
1014 Requires: libdrm >= %{libdrm_ver}
1015 Requires: libxcb >= 1.8
1016 Requires: libomxil-bellagio
1017 Obsoletes: omxil-mesa-nouveau
1018 Obsoletes: omxil-mesa-r600
1019 Obsoletes: omxil-mesa-radeonsi
1021 %description -n omxil-mesa
1022 Mesa driver for Bellagio OpenMAX IL API.
1024 %description -n omxil-mesa -l pl.UTF-8
1025 Sterownik Mesa dla API Bellagio OpenMAX IL.
1027 %package -n omxil-mesa-nouveau
1028 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1029 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1031 Group: X11/Libraries
1032 Requires: libdrm >= %{libdrm_ver}
1033 Requires: libxcb >= 1.8
1034 Requires: libomxil-bellagio
1036 %description -n omxil-mesa-nouveau
1037 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1038 adapters (NV40-NV96, NVa0).
1040 %description -n omxil-mesa-nouveau -l pl.UTF-8
1041 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1042 NVidia (NV40-NV96, NVa0).
1044 %package -n omxil-mesa-r600
1045 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1046 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1048 Group: X11/Libraries
1049 Requires: libdrm >= %{libdrm_ver}
1050 Requires: libxcb >= 1.8
1051 Requires: libomxil-bellagio
1053 %description -n omxil-mesa-r600
1054 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1055 adapters based on R600/R700 chips.
1057 %description -n omxil-mesa-r600 -l pl.UTF-8
1058 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1059 Radeon oparte na układach R600/R700.
1061 %package -n omxil-mesa-radeonsi
1062 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1063 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1065 Group: X11/Libraries
1066 Requires: libdrm >= %{libdrm_ver}
1067 Requires: libxcb >= 1.8
1068 Requires: libomxil-bellagio
1070 %description -n omxil-mesa-radeonsi
1071 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1072 Radeon adapters based on Southern Islands chips.
1074 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1075 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1076 ATI Radeon oparte na układach Southern Islands.
1088 dri_drivers="r200 radeon \
1089 %if %{without gallium_intel}
1094 %ifarch sparc sparcv9 sparc64
1099 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1101 gallium_drivers="svga swrast \
1102 %if %{with gallium_intel}
1105 %if %{with gallium_radeon}
1110 %if %{with gallium_nouveau}
1115 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1118 --disable-silent-rules \
1124 --enable-shared-glapi \
1125 %{?with_static_libs:--enable-static} \
1126 %{?with_texture_float:--enable-texture-float} \
1131 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1134 --enable-gallium-llvm \
1135 --enable-llvm-shared-libs \
1136 %{__enable egl gallium-egl} \
1137 %{__enable gbm gallium-gbm} \
1138 %{__enable ocl_icd opencl-icd} \
1139 %{?with_nine:--enable-nine} \
1140 %{__enable opencl} \
1141 %{?with_egl:%{?with_openvg:--enable-openvg}} \
1143 %{?with_omx:--enable-omx} \
1144 %{?with_xa:--enable-xa} \
1146 --with-gallium-drivers=${gallium_drivers} \
1148 --without-gallium-drivers \
1150 --with-va-libdir=%{_libdir}/libva/dri \
1151 --with-dri-drivers=${dri_drivers} \
1152 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1156 %{?with_tests:%{__make} check}
1159 rm -rf $RPM_BUILD_ROOT
1162 DESTDIR=$RPM_BUILD_ROOT
1164 # strip out undesirable headers
1165 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1166 # dlopened by soname
1167 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1168 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1169 # dlopened by soname or .so link
1170 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1171 # not used externally
1172 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1174 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1175 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1176 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1177 # not defined by standards; and not needed, there is pkg-config support
1178 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1179 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1181 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1182 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1183 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1186 rm -rf $RPM_BUILD_ROOT
1188 %post libEGL -p /sbin/ldconfig
1189 %postun libEGL -p /sbin/ldconfig
1191 %post libGL -p /sbin/ldconfig
1192 %postun libGL -p /sbin/ldconfig
1194 %post libGLES -p /sbin/ldconfig
1195 %postun libGLES -p /sbin/ldconfig
1197 %post libOSMesa -p /sbin/ldconfig
1198 %postun libOSMesa -p /sbin/ldconfig
1200 %post libOpenCL -p /sbin/ldconfig
1201 %postun libOpenCL -p /sbin/ldconfig
1203 %post libOpenVG -p /sbin/ldconfig
1204 %postun libOpenVG -p /sbin/ldconfig
1206 %post libXvMC-nouveau -p /sbin/ldconfig
1207 %postun libXvMC-nouveau -p /sbin/ldconfig
1208 %post libXvMC-r600 -p /sbin/ldconfig
1209 %postun libXvMC-r600 -p /sbin/ldconfig
1211 %post libgbm -p /sbin/ldconfig
1212 %postun libgbm -p /sbin/ldconfig
1214 %post libglapi -p /sbin/ldconfig
1215 %postun libglapi -p /sbin/ldconfig
1217 %post libwayland-egl -p /sbin/ldconfig
1218 %postun libwayland-egl -p /sbin/ldconfig
1220 %post libxatracker -p /sbin/ldconfig
1221 %postun libxatracker -p /sbin/ldconfig
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1227 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/libEGL.so
1232 %dir %{_includedir}/EGL
1233 %{_includedir}/EGL/egl.h
1234 %{_includedir}/EGL/eglext.h
1235 %{_includedir}/EGL/eglextchromium.h
1236 %{_includedir}/EGL/eglmesaext.h
1237 %{_includedir}/EGL/eglplatform.h
1238 %{_pkgconfigdir}/egl.pc
1240 %if %{with static_libs}
1241 %files libEGL-static
1242 %defattr(644,root,root,755)
1248 %defattr(644,root,root,755)
1249 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1250 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1251 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1252 # symlink for binary apps which fail to conform Linux OpenGL ABI
1253 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1254 %attr(755,root,root) %{_libdir}/libGL.so
1255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1258 %defattr(644,root,root,755)
1260 %dir %{_includedir}/GL
1261 %{_includedir}/GL/gl.h
1262 %{_includedir}/GL/glcorearb.h
1263 %{_includedir}/GL/glext.h
1264 %{_includedir}/GL/gl_mangle.h
1265 %{_includedir}/GL/glx.h
1266 %{_includedir}/GL/glxext.h
1267 %{_includedir}/GL/glx_mangle.h
1268 %dir %{_includedir}/GL/internal
1269 %{_includedir}/GL/internal/dri_interface.h
1270 %{_pkgconfigdir}/dri.pc
1271 %{_pkgconfigdir}/gl.pc
1273 %if %{with static_libs}
1275 %defattr(644,root,root,755)
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1282 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1283 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1284 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1286 %files libGLES-devel
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1289 %attr(755,root,root) %{_libdir}/libGLESv2.so
1291 %{_includedir}/GLES2
1292 %{_includedir}/GLES3
1293 %{_pkgconfigdir}/glesv1_cm.pc
1294 %{_pkgconfigdir}/glesv2.pc
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1299 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1301 %files libOSMesa-devel
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_libdir}/libOSMesa.so
1304 %{_includedir}/GL/osmesa.h
1305 %{_pkgconfigdir}/osmesa.pc
1307 %if %{with static_libs}
1308 %files libOSMesa-static
1309 %defattr(644,root,root,755)
1310 %{_libdir}/libOSMesa.a
1316 %defattr(644,root,root,755)
1317 /etc/OpenCL/vendors/mesa.icd
1318 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1319 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1320 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1325 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1327 %files libOpenCL-devel
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_libdir}/libOpenCL.so
1334 %if %{with egl} && %{with openvg} && %{with gallium}
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1338 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1340 %files libOpenVG-devel
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_libdir}/libOpenVG.so
1344 %{_pkgconfigdir}/vg.pc
1348 %if %{with gallium_nouveau}
1349 %files libXvMC-nouveau
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1352 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1355 %if %{with gallium_radeon}
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1359 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1363 %files -n libva-driver-gallium
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1373 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1375 %dir %{_libdir}/gallium-pipe
1378 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_libdir}/libgbm.so
1385 %{_includedir}/gbm.h
1386 %{_pkgconfigdir}/gbm.pc
1390 %if %{with gallium_intel}
1391 %files gbm-driver-i915
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1396 %if %{with gallium_nouveau}
1397 %files gbm-driver-nouveau
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1402 %if %{with gallium_radeon}
1403 %files gbm-driver-r300
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1407 %files gbm-driver-r600
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1411 %files gbm-driver-radeonsi
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1416 %files gbm-driver-swrast
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1420 %files gbm-driver-vmwgfx
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1428 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1429 # libglapi-devel? nothing seems to need it atm.
1430 #%attr(755,root,root) %{_libdir}/libglapi.so
1433 %files libwayland-egl
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1436 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1438 %files libwayland-egl-devel
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1441 %{_pkgconfigdir}/wayland-egl.pc
1446 %defattr(644,root,root,755)
1447 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1448 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1450 %files libxatracker-devel
1451 %defattr(644,root,root,755)
1452 %attr(755,root,root) %{_libdir}/libxatracker.so
1453 %{_includedir}/xa_composite.h
1454 %{_includedir}/xa_context.h
1455 %{_includedir}/xa_tracker.h
1456 %{_pkgconfigdir}/xatracker.pc
1460 %files khrplatform-devel
1461 %defattr(644,root,root,755)
1462 %dir %{_includedir}/KHR
1463 %{_includedir}/KHR/khrplatform.h
1466 %files dri-driver-ati-radeon-R100
1467 %defattr(644,root,root,755)
1468 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1470 %files dri-driver-ati-radeon-R200
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1475 %if %{with gallium_radeon}
1476 %files dri-driver-ati-radeon-R300
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1480 %files dri-driver-ati-radeon-R600
1481 %defattr(644,root,root,755)
1482 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1484 %files dri-driver-ati-radeon-SI
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1490 %files dri-driver-intel-i915
1491 %defattr(644,root,root,755)
1492 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1494 %files dri-driver-intel-i965
1495 %defattr(644,root,root,755)
1496 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1498 %files dri-driver-nouveau
1499 %defattr(644,root,root,755)
1500 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1501 %if %{with gallium_nouveau}
1502 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1505 %files dri-driver-swrast
1506 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1510 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1513 %files dri-driver-vmwgfx
1514 %defattr(644,root,root,755)
1515 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1520 %defattr(644,root,root,755)
1522 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1525 %defattr(644,root,root,755)
1526 %{_includedir}/d3dadapter
1527 %{_pkgconfigdir}/d3d.pc
1531 # ldconfig is not used in vdpau tree, so package all symlinks
1532 %if %{with gallium_nouveau}
1533 %files -n libvdpau-driver-mesa-nouveau
1534 %defattr(644,root,root,755)
1535 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1537 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1540 %if %{with gallium_radeon}
1541 %files -n libvdpau-driver-mesa-r300
1542 %defattr(644,root,root,755)
1543 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1545 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1547 %files -n libvdpau-driver-mesa-r600
1548 %defattr(644,root,root,755)
1549 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1550 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1551 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1553 %files -n libvdpau-driver-mesa-radeonsi
1554 %defattr(644,root,root,755)
1555 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1556 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1557 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1561 %if %{with gallium} && %{with omx}
1562 %files -n omxil-mesa
1563 %defattr(644,root,root,755)
1564 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so