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: be86c4ee226f8ca28b7d4c728c350b01
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
398 %description OpenCL-icd
399 This package contains Mesa implementation of OpenCL - standard for
400 cross-platform, parallel programming of modern processors found in
401 personal computers, servers and handheld/embedded devices. OpenCL
402 specification can be found on Khronos Group site:
403 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
405 The implementation is provided as an installable client driver (ICD)
406 for use with the ocl-icd loader.
408 %description OpenCL-icd -l pl.UTF-8
409 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
410 wieloplatformowego, równoległego programowania nowoczesnych
411 procesorów, jakie znajdują się w komputerach osobistych, serwerach
412 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
413 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
414 Mesa zawiera implementację OpenCL w wersji 1.1.
416 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
417 (ICD), który może być użyty z loaderem ocl-icd.
420 Summary: Mesa implementation of OpenCL (Compuing Language) API
421 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
424 Requires: libdrm >= %{libdrm_ver}
425 Requires: llvm-libclc
426 Requires: udev-libs >= 1:151
427 Provides: OpenCL = 1.1
429 %description libOpenCL
430 This package contains Mesa implementation of OpenCL - standard for
431 cross-platform, parallel programming of modern processors found in
432 personal computers, servers and handheld/embedded devices. OpenCL
433 specification can be found on Khronos Group site:
434 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
436 %description libOpenCL -l pl.UTF-8
437 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
438 wieloplatformowego, równoległego programowania nowoczesnych
439 procesorów, jakie znajdują się w komputerach osobistych, serwerach
440 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
441 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
442 Mesa zawiera implementację OpenCL w wersji 1.1.
444 %package libOpenCL-devel
445 Summary: Header files for Mesa OpenCL library
446 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
448 Group: Development/Libraries
449 Requires: %{name}-libOpenCL = %{version}-%{release}
450 Provides: OpenCL-devel = 1.1
452 %description libOpenCL-devel
453 Header files for Mesa OpenCL library.
455 %description libOpenCL-devel -l pl.UTF-8
456 Pliki nagłówkowe biblioteki Mesa OpenCL.
459 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
460 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
463 Provides: OpenVG = 1.1
465 %description libOpenVG
466 This package contains Mesa implementation of OpenVG - cross-platform
467 API that provides a low-level hardware acceleration interface for
468 vector graphics libraries such as Flash and SVG. OpenVG specification
469 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
470 Mesa implements OpenVG 1.1.
472 %description libOpenVG -l pl.UTF-8
473 Ten pakiet zawiera implementację Mesa standardu OpenVG -
474 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
475 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
476 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
477 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
480 %package libOpenVG-devel
481 Summary: Header file for Mesa OpenVG library
482 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
484 Group: Development/Libraries
485 Requires: %{name}-khrplatform-devel = %{version}-%{release}
486 Requires: %{name}-libOpenVG = %{version}-%{release}
487 Provides: OpenVG-devel = 1.1
489 %description libOpenVG-devel
490 Header file for Mesa OpenVG library.
492 %description libOpenVG-devel -l pl.UTF-8
493 Plik nagłówkowy biblioteki Mesa OpenVG.
495 %package libXvMC-nouveau
496 Summary: Mesa implementation of XvMC API for NVidia adapters
497 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
500 Requires: libdrm >= %{libdrm_ver}
501 Requires: xorg-lib-libXvMC >= 1.0.6
502 Conflicts: Mesa-libXvMC
504 %description libXvMC-nouveau
505 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
507 %description libXvMC-nouveau -l pl.UTF-8
508 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
510 %package libXvMC-r600
511 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
512 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
515 Requires: libdrm >= %{libdrm_ver}
516 Requires: xorg-lib-libXvMC >= 1.0.6
517 Conflicts: Mesa-libXvMC
519 %description libXvMC-r600
520 Mesa implementation of XvMC API for ATI Radeon adapters based on
523 %description libXvMC-r600 -l pl.UTF-8
524 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
527 %package -n libva-driver-gallium
528 Summary: VA driver for Gallium State Tracker
529 Summary(pl.UTF-8): Sterownik VA do Gallium
531 Requires: libva >= 1.3.0
533 %description -n libva-driver-gallium
534 VA driver for Gallium State Tracker.
536 %description -n libva-driver-gallium -l pl.UTF-8
537 Sterownik VA do Gallium.
540 Summary: Mesa Graphics Buffer Manager library
541 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
543 Requires: %{name}-libglapi = %{version}-%{release}
544 Requires: udev-libs >= 1:151
545 Conflicts: Mesa-libEGL < 8.0.1-2
548 Mesa Graphics Buffer Manager library.
550 %description libgbm -l pl.UTF-8
551 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
553 %package libgbm-devel
554 Summary: Header file for Mesa Graphics Buffer Manager library
555 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
556 Group: Development/Libraries
557 Requires: %{name}-libgbm = %{version}-%{release}
558 Requires: udev-devel >= 1:151
560 %description libgbm-devel
561 Header file for Mesa Graphics Buffer Manager library.
563 %description libgbm-devel -l pl.UTF-8
564 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
567 %package gbm-driver-i915
568 Summary: i915 driver for Mesa GBM framework
569 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
571 Requires: %{name}-libgbm = %{version}-%{release}
572 Obsoletes: Mesa-opencl-driver-i915
574 %description gbm-driver-i915
575 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
576 915/945/G33/Q33/Q35/Pineview chips.
578 %description gbm-driver-i915 -l pl.UTF-8
579 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
580 bufora graficznego). Obsługuje układy Intela z serii
581 915/945/G33/Q33/Q35/Pineview.
583 %package gbm-driver-nouveau
584 Summary: nouveau driver for Mesa GBM framework
585 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
587 Requires: %{name}-libgbm = %{version}-%{release}
588 Obsoletes: Mesa-opencl-driver-nouveau
590 %description gbm-driver-nouveau
591 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
594 %description gbm-driver-nouveau -l pl.UTF-8
595 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
596 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
598 %package gbm-driver-r300
599 Summary: r300 driver for Mesa GBM framework
600 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
602 Requires: %{name}-libgbm = %{version}-%{release}
603 Obsoletes: Mesa-opencl-driver-r300
605 %description gbm-driver-r300
606 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
607 adapters based on R300/R400/RS690/R500 chips.
609 %description gbm-driver-r300 -l pl.UTF-8
610 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
611 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
612 układach R300/R400/RS690/R500.
614 %package gbm-driver-r600
615 Summary: r600 driver for Mesa GBM framework
616 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
618 Requires: %{name}-libgbm = %{version}-%{release}
619 Obsoletes: Mesa-libllvmradeon
620 Obsoletes: Mesa-opencl-driver-r600
622 %description gbm-driver-r600
623 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
624 adapters based on R600/R700 chips.
626 %description gbm-driver-r600 -l pl.UTF-8
627 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
628 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
631 %package gbm-driver-radeonsi
632 Summary: radeonsi driver for Mesa GBM framework
633 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
635 Requires: %{name}-libgbm = %{version}-%{release}
636 Obsoletes: Mesa-libllvmradeon
637 Obsoletes: Mesa-opencl-driver-radeonsi
639 %description gbm-driver-radeonsi
640 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
641 Radeon adapters based on Southern Islands chips.
643 %description gbm-driver-radeonsi -l pl.UTF-8
644 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
645 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
646 oparte na układach Southern Islands.
648 %package gbm-driver-swrast
649 Summary: Software (swrast) driver for Mesa GBM framework
650 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
652 Requires: %{name}-libgbm = %{version}-%{release}
653 Obsoletes: Mesa-opencl-driver-swrast
655 %description gbm-driver-swrast
656 Software (swrast) driver for Mesa Graphics Buffer Manager.
658 %description gbm-driver-swrast -l pl.UTF-8
659 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
660 Manager (zarządcy bufora graficznego).
662 %package gbm-driver-vmwgfx
663 Summary: vmwgfx driver for Mesa GBM framework
664 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
666 Requires: %{name}-libgbm = %{version}-%{release}
667 Obsoletes: Mesa-opencl-driver-vmwgfx
669 %description gbm-driver-vmwgfx
670 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
671 virtual video adapter.
673 %description gbm-driver-vmwgfx -l pl.UTF-8
674 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
675 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
678 Summary: Mesa GL API shared library
679 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
681 Conflicts: Mesa-libEGL < 8.0.1-2
683 %description libglapi
684 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
686 %description libglapi -l pl.UTF-8
687 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
690 %package libwayland-egl
691 Summary: Wayland EGL library
692 Summary(pl.UTF-8): Biblioteka Wayland EGL
694 Requires: libdrm >= %{libdrm_ver}
696 %description libwayland-egl
697 Wayland EGL platform library.
699 %description libwayland-egl -l pl.UTF-8
700 Biblioteka platformy EGL Wayland.
702 %package libwayland-egl-devel
703 Summary: Development files for Wayland EGL library
704 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
705 Group: Development/Libraries
706 Requires: %{name}-libwayland-egl = %{version}-%{release}
707 Requires: libdrm-devel >= %{libdrm_ver}
709 %description libwayland-egl-devel
710 Development files for Wayland EGL platform library.
712 %description libwayland-egl-devel -l pl.UTF-8
713 Pliki programistyczne biblioteki platformy EGL Wayland.
715 %package libxatracker
716 Summary: Xorg Gallium3D accelleration library
717 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
719 Requires: libdrm >= %{libdrm_ver}
721 %description libxatracker
722 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
724 %description libxatracker -l pl.UTF-8
725 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
728 %package libxatracker-devel
729 Summary: Header files for Xorg Gallium3D accelleration library
730 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
731 Group: X11/Development/Libraries
732 Requires: %{name}-libxatracker = %{version}-%{release}
733 Requires: libdrm-devel >= %{libdrm_ver}
735 %description libxatracker-devel
736 Header files for Xorg Gallium3D accelleration library.
738 %description libxatracker-devel -l pl.UTF-8
739 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
741 %package khrplatform-devel
742 Summary: Khronos platform header file
743 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
744 Group: Development/Libraries
745 Conflicts: Mesa-libEGL-devel < 8.0.1-2
747 %description khrplatform-devel
748 Khronos platform header file.
750 %description khrplatform-devel -l pl.UTF-8
751 Plik nagłówkowy platformy Khronos.
753 %package dri-driver-ati-radeon-R100
754 Summary: X.org DRI driver for ATI R100 card family
755 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
758 Requires: xorg-driver-video-ati
759 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
760 Requires: xorg-xserver-server >= %{xserver_ver}
761 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
763 %description dri-driver-ati-radeon-R100
764 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
766 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
767 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
769 %package dri-driver-ati-radeon-R200
770 Summary: X.org DRI driver for ATI R200 card family
771 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
774 Requires: xorg-driver-video-ati
775 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
776 Requires: xorg-xserver-server >= %{xserver_ver}
777 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
779 %description dri-driver-ati-radeon-R200
780 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
782 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
783 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
785 %package dri-driver-ati-radeon-R300
786 Summary: X.org DRI driver for ATI R300 card family
787 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
790 Requires: xorg-driver-video-ati
791 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
792 Requires: xorg-xserver-server >= %{xserver_ver}
793 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
795 %description dri-driver-ati-radeon-R300
796 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
798 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
799 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
801 %package dri-driver-ati-radeon-R600
802 Summary: X.org DRI driver for ATI R600 card family
803 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
806 Requires: radeon-ucode
807 Requires: xorg-driver-video-ati
808 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
809 Requires: xorg-xserver-server >= %{xserver_ver}
811 %description dri-driver-ati-radeon-R600
812 X.org DRI driver for ATI R600/R700 card family.
814 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
815 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
817 %package dri-driver-ati-radeon-SI
818 Summary: X.org DRI driver for ATI Southern Islands card family
819 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
822 Requires: radeon-ucode
823 Requires: xorg-driver-video-ati
824 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
825 Requires: xorg-xserver-server >= %{xserver_ver}
827 %description dri-driver-ati-radeon-SI
828 X.org DRI driver for ATI Southern Islands card family.
830 %description dri-driver-ati-radeon-SI -l pl.UTF-8
831 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
833 %package dri-driver-intel-i915
834 Summary: X.org DRI driver for Intel i915 card family
835 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
838 Requires: xorg-driver-video-intel
839 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
840 Requires: xorg-xserver-server >= %{xserver_ver}
841 Obsoletes: Mesa-dri-driver-intel-i830
842 Obsoletes: X11-driver-i810-dri < 1:7.0.0
844 %description dri-driver-intel-i915
845 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
848 %description dri-driver-intel-i915 -l pl.UTF-8
849 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
852 %package dri-driver-intel-i965
853 Summary: X.org DRI driver for Intel i965 card family
854 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
857 Requires: xorg-driver-video-intel
858 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
859 Requires: xorg-xserver-server >= %{xserver_ver}
860 Obsoletes: Mesa-dri-driver-intel-i830
861 Obsoletes: X11-driver-i810-dri < 1:7.0.0
863 %description dri-driver-intel-i965
864 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
865 965GME, GM45, G41, B43, Q45, G45);
867 %description dri-driver-intel-i965 -l pl.UTF-8
868 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
869 965GM, 965GME, GM45, G41, B43, Q45, G45).
871 %package dri-driver-nouveau
872 Summary: X.org DRI driver for NVIDIA card family
873 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
876 Requires: xorg-driver-video-nouveau
877 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
878 Requires: xorg-xserver-server >= %{xserver_ver}
880 %description dri-driver-nouveau
881 X.org DRI drivers for NVIDIA card family.
883 %description dri-driver-nouveau -l pl.UTF-8
884 Sterowniki X.org DRI dla rodziny kart NVIDIA.
886 %package dri-driver-swrast
887 Summary: X.org DRI software rasterizer driver
888 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
891 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
892 Requires: xorg-xserver-server >= %{xserver_ver}
894 %description dri-driver-swrast
895 X.org DRI software rasterizer driver.
897 %description dri-driver-swrast -l pl.UTF-8
898 Sterownik X.org DRI obsługujący rysowanie programowe.
900 %package dri-driver-vmwgfx
901 Summary: X.org DRI driver for VMware
902 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
905 Requires: xorg-driver-video-vmware
906 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
907 Requires: xorg-xserver-server >= %{xserver_ver}
909 %description dri-driver-vmwgfx
910 X.org DRI driver for VMWare.
912 %description dri-driver-vmwgfx -l pl.UTF-8
913 Sterownik X.org DRI dla VMware.
916 Summary: Nine Direct3D9 driver (for Wine)
917 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
919 Requires: libdrm >= %{libdrm_ver}
922 Nine Direct3D9 driver (for Wine).
924 %description d3d -l pl.UTF-8
925 Sterownik Direct3D9 Nine (dla Wine).
928 Summary: Nine Direct3D9 driver API
929 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
930 Group: Development/Libraries
931 Requires: libdrm-devel >= %{libdrm_ver}
933 %description d3d-devel
934 Nine Direct3D9 driver API.
936 %description d3d-devel -l pl.UTF-8
937 API sterownika Direct3D9 Nine.
939 %package -n libvdpau-driver-mesa-nouveau
940 Summary: Mesa nouveau driver for the vdpau API
941 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
944 Requires: libdrm >= %{libdrm_ver}
945 Requires: libvdpau >= 0.4.1
946 Conflicts: libvdpau-driver-mesa
948 %description -n libvdpau-driver-mesa-nouveau
949 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
952 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
953 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
956 %package -n libvdpau-driver-mesa-r300
957 Summary: Mesa r300 driver for the vdpau API
958 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
961 Requires: libdrm >= %{libdrm_ver}
962 Requires: libvdpau >= 0.4.1
963 Conflicts: libvdpau-driver-mesa
965 %description -n libvdpau-driver-mesa-r300
966 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
969 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
970 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
973 %package -n libvdpau-driver-mesa-r600
974 Summary: Mesa r600 driver for the vdpau API
975 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
978 Requires: libdrm >= %{libdrm_ver}
979 Requires: libvdpau >= 0.4.1
980 Conflicts: libvdpau-driver-mesa
982 %description -n libvdpau-driver-mesa-r600
983 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
984 based on R600/R700 chips.
986 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
987 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
988 na układach R600/R700.
990 %package -n libvdpau-driver-mesa-radeonsi
991 Summary: Mesa radeonsi driver for the vdpau API
992 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
995 Requires: libdrm >= %{libdrm_ver}
996 Requires: libvdpau >= 0.4.1
997 Conflicts: libvdpau-driver-mesa
998 Obsoletes: Mesa-libllvmradeon
1000 %description -n libvdpau-driver-mesa-radeonsi
1001 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1002 adapters based on Southern Islands chips.
1004 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1005 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1006 oparte na układach Southern Islands.
1008 %package -n omxil-mesa
1009 Summary: Mesa driver for Bellagio OpenMAX IL API
1010 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1012 Group: X11/Libraries
1013 Requires: libdrm >= %{libdrm_ver}
1014 Requires: libxcb >= 1.8
1015 Requires: libomxil-bellagio
1016 Obsoletes: omxil-mesa-nouveau
1017 Obsoletes: omxil-mesa-r600
1018 Obsoletes: omxil-mesa-radeonsi
1020 %description -n omxil-mesa
1021 Mesa driver for Bellagio OpenMAX IL API.
1023 %description -n omxil-mesa -l pl.UTF-8
1024 Sterownik Mesa dla API Bellagio OpenMAX IL.
1026 %package -n omxil-mesa-nouveau
1027 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1028 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1030 Group: X11/Libraries
1031 Requires: libdrm >= %{libdrm_ver}
1032 Requires: libxcb >= 1.8
1033 Requires: libomxil-bellagio
1035 %description -n omxil-mesa-nouveau
1036 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1037 adapters (NV40-NV96, NVa0).
1039 %description -n omxil-mesa-nouveau -l pl.UTF-8
1040 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1041 NVidia (NV40-NV96, NVa0).
1043 %package -n omxil-mesa-r600
1044 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1045 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1047 Group: X11/Libraries
1048 Requires: libdrm >= %{libdrm_ver}
1049 Requires: libxcb >= 1.8
1050 Requires: libomxil-bellagio
1052 %description -n omxil-mesa-r600
1053 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1054 adapters based on R600/R700 chips.
1056 %description -n omxil-mesa-r600 -l pl.UTF-8
1057 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1058 Radeon oparte na układach R600/R700.
1060 %package -n omxil-mesa-radeonsi
1061 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1062 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1064 Group: X11/Libraries
1065 Requires: libdrm >= %{libdrm_ver}
1066 Requires: libxcb >= 1.8
1067 Requires: libomxil-bellagio
1069 %description -n omxil-mesa-radeonsi
1070 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1071 Radeon adapters based on Southern Islands chips.
1073 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1074 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1075 ATI Radeon oparte na układach Southern Islands.
1087 dri_drivers="r200 radeon \
1088 %if %{without gallium_intel}
1093 %ifarch sparc sparcv9 sparc64
1098 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1100 gallium_drivers="svga swrast \
1101 %if %{with gallium_intel}
1104 %if %{with gallium_radeon}
1109 %if %{with gallium_nouveau}
1114 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1117 --disable-silent-rules \
1123 --enable-shared-glapi \
1124 %{?with_static_libs:--enable-static} \
1125 %{?with_texture_float:--enable-texture-float} \
1130 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1133 --enable-gallium-llvm \
1134 --enable-llvm-shared-libs \
1135 %{__enable egl gallium-egl} \
1136 %{__enable gbm gallium-gbm} \
1137 %{__enable ocl_icd opencl-icd} \
1138 %{?with_nine:--enable-nine} \
1139 %{__enable opencl} \
1140 %{?with_egl:%{?with_openvg:--enable-openvg}} \
1142 %{?with_omx:--enable-omx} \
1143 %{?with_xa:--enable-xa} \
1145 --with-gallium-drivers=${gallium_drivers} \
1147 --without-gallium-drivers \
1149 --with-va-libdir=%{_libdir}/libva/dri \
1150 --with-dri-drivers=${dri_drivers} \
1151 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1155 %{?with_tests:%{__make} check}
1158 rm -rf $RPM_BUILD_ROOT
1161 DESTDIR=$RPM_BUILD_ROOT
1163 # strip out undesirable headers
1164 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1165 # dlopened by soname
1166 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1167 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1168 # dlopened by soname or .so link
1169 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1170 # not used externally
1171 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1173 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1174 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1175 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1176 # not defined by standards; and not needed, there is pkg-config support
1177 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1178 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1180 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1181 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1182 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1185 rm -rf $RPM_BUILD_ROOT
1187 %post libEGL -p /sbin/ldconfig
1188 %postun libEGL -p /sbin/ldconfig
1190 %post libGL -p /sbin/ldconfig
1191 %postun libGL -p /sbin/ldconfig
1193 %post libGLES -p /sbin/ldconfig
1194 %postun libGLES -p /sbin/ldconfig
1196 %post libOSMesa -p /sbin/ldconfig
1197 %postun libOSMesa -p /sbin/ldconfig
1199 %post libOpenCL -p /sbin/ldconfig
1200 %postun libOpenCL -p /sbin/ldconfig
1202 %post libOpenVG -p /sbin/ldconfig
1203 %postun libOpenVG -p /sbin/ldconfig
1205 %post libXvMC-nouveau -p /sbin/ldconfig
1206 %postun libXvMC-nouveau -p /sbin/ldconfig
1207 %post libXvMC-r600 -p /sbin/ldconfig
1208 %postun libXvMC-r600 -p /sbin/ldconfig
1210 %post libgbm -p /sbin/ldconfig
1211 %postun libgbm -p /sbin/ldconfig
1213 %post libglapi -p /sbin/ldconfig
1214 %postun libglapi -p /sbin/ldconfig
1216 %post libwayland-egl -p /sbin/ldconfig
1217 %postun libwayland-egl -p /sbin/ldconfig
1219 %post libxatracker -p /sbin/ldconfig
1220 %postun libxatracker -p /sbin/ldconfig
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1226 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) %{_libdir}/libEGL.so
1231 %dir %{_includedir}/EGL
1232 %{_includedir}/EGL/egl.h
1233 %{_includedir}/EGL/eglext.h
1234 %{_includedir}/EGL/eglextchromium.h
1235 %{_includedir}/EGL/eglmesaext.h
1236 %{_includedir}/EGL/eglplatform.h
1237 %{_pkgconfigdir}/egl.pc
1239 %if %{with static_libs}
1240 %files libEGL-static
1241 %defattr(644,root,root,755)
1247 %defattr(644,root,root,755)
1248 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1249 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1250 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1251 # symlink for binary apps which fail to conform Linux OpenGL ABI
1252 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1253 %attr(755,root,root) %{_libdir}/libGL.so
1254 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1257 %defattr(644,root,root,755)
1259 %dir %{_includedir}/GL
1260 %{_includedir}/GL/gl.h
1261 %{_includedir}/GL/glcorearb.h
1262 %{_includedir}/GL/glext.h
1263 %{_includedir}/GL/gl_mangle.h
1264 %{_includedir}/GL/glx.h
1265 %{_includedir}/GL/glxext.h
1266 %{_includedir}/GL/glx_mangle.h
1267 %dir %{_includedir}/GL/internal
1268 %{_includedir}/GL/internal/dri_interface.h
1269 %{_pkgconfigdir}/dri.pc
1270 %{_pkgconfigdir}/gl.pc
1272 %if %{with static_libs}
1274 %defattr(644,root,root,755)
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1281 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1282 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1283 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1285 %files libGLES-devel
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1288 %attr(755,root,root) %{_libdir}/libGLESv2.so
1290 %{_includedir}/GLES2
1291 %{_includedir}/GLES3
1292 %{_pkgconfigdir}/glesv1_cm.pc
1293 %{_pkgconfigdir}/glesv2.pc
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1298 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1300 %files libOSMesa-devel
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/libOSMesa.so
1303 %{_includedir}/GL/osmesa.h
1304 %{_pkgconfigdir}/osmesa.pc
1306 %if %{with static_libs}
1307 %files libOSMesa-static
1308 %defattr(644,root,root,755)
1309 %{_libdir}/libOSMesa.a
1315 %defattr(644,root,root,755)
1316 /etc/OpenCL/vendors/mesa.icd
1317 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1318 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1319 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1324 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1326 %files libOpenCL-devel
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_libdir}/libOpenCL.so
1333 %if %{with egl} && %{with openvg} && %{with gallium}
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1337 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1339 %files libOpenVG-devel
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_libdir}/libOpenVG.so
1343 %{_pkgconfigdir}/vg.pc
1347 %if %{with gallium_nouveau}
1348 %files libXvMC-nouveau
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1351 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1354 %if %{with gallium_radeon}
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1358 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1362 %files -n libva-driver-gallium
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1372 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1374 %dir %{_libdir}/gallium-pipe
1377 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_libdir}/libgbm.so
1384 %{_includedir}/gbm.h
1385 %{_pkgconfigdir}/gbm.pc
1389 %if %{with gallium_intel}
1390 %files gbm-driver-i915
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1395 %if %{with gallium_nouveau}
1396 %files gbm-driver-nouveau
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1401 %if %{with gallium_radeon}
1402 %files gbm-driver-r300
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1406 %files gbm-driver-r600
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1410 %files gbm-driver-radeonsi
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1415 %files gbm-driver-swrast
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1419 %files gbm-driver-vmwgfx
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1427 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1428 # libglapi-devel? nothing seems to need it atm.
1429 #%attr(755,root,root) %{_libdir}/libglapi.so
1432 %files libwayland-egl
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1435 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1437 %files libwayland-egl-devel
1438 %defattr(644,root,root,755)
1439 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1440 %{_pkgconfigdir}/wayland-egl.pc
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1447 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1449 %files libxatracker-devel
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_libdir}/libxatracker.so
1452 %{_includedir}/xa_composite.h
1453 %{_includedir}/xa_context.h
1454 %{_includedir}/xa_tracker.h
1455 %{_pkgconfigdir}/xatracker.pc
1459 %files khrplatform-devel
1460 %defattr(644,root,root,755)
1461 %dir %{_includedir}/KHR
1462 %{_includedir}/KHR/khrplatform.h
1465 %files dri-driver-ati-radeon-R100
1466 %defattr(644,root,root,755)
1467 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1469 %files dri-driver-ati-radeon-R200
1470 %defattr(644,root,root,755)
1471 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1474 %if %{with gallium_radeon}
1475 %files dri-driver-ati-radeon-R300
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1479 %files dri-driver-ati-radeon-R600
1480 %defattr(644,root,root,755)
1481 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1483 %files dri-driver-ati-radeon-SI
1484 %defattr(644,root,root,755)
1485 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1489 %files dri-driver-intel-i915
1490 %defattr(644,root,root,755)
1491 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1493 %files dri-driver-intel-i965
1494 %defattr(644,root,root,755)
1495 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1497 %files dri-driver-nouveau
1498 %defattr(644,root,root,755)
1499 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1500 %if %{with gallium_nouveau}
1501 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1504 %files dri-driver-swrast
1505 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1509 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1512 %files dri-driver-vmwgfx
1513 %defattr(644,root,root,755)
1514 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1519 %defattr(644,root,root,755)
1521 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1524 %defattr(644,root,root,755)
1525 %{_includedir}/d3dadapter
1526 %{_pkgconfigdir}/d3d.pc
1530 # ldconfig is not used in vdpau tree, so package all symlinks
1531 %if %{with gallium_nouveau}
1532 %files -n libvdpau-driver-mesa-nouveau
1533 %defattr(644,root,root,755)
1534 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1535 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1539 %if %{with gallium_radeon}
1540 %files -n libvdpau-driver-mesa-r300
1541 %defattr(644,root,root,755)
1542 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1543 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1546 %files -n libvdpau-driver-mesa-r600
1547 %defattr(644,root,root,755)
1548 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1549 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1550 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1552 %files -n libvdpau-driver-mesa-radeonsi
1553 %defattr(644,root,root,755)
1554 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1555 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1556 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1560 %if %{with gallium} && %{with omx}
1561 %files -n omxil-mesa
1562 %defattr(644,root,root,755)
1563 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so