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 %bcond_without gbm # Graphics Buffer Manager
15 %bcond_without opencl # OpenCL support
16 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
17 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
18 %bcond_without wayland # Wayland EGL
19 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
20 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
21 %bcond_with tests # tests
23 # glapi version (glapi tables in dri drivers and libglx must be in sync);
24 # set to current Mesa version on ABI break, when xserver tables get regenerated
25 # (until they start to be somehow versioned themselves)
26 %define glapi_ver 7.1.0
27 # minimal supported xserver version
28 %define xserver_ver 1.5.0
30 %define libdrm_ver 2.4.56
31 %define dri2proto_ver 2.6
32 %define dri3proto_ver 1.0
33 %define glproto_ver 1.4.14
34 %define presentproto_ver 1.0
36 Summary: Free OpenGL implementation
37 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
41 License: MIT (core) and others - see license.html file
43 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
44 # Source0-md5: c0a2a975899c4e7485124b388c16cd2f
45 URL: http://www.mesa3d.org/
46 BuildRequires: autoconf >= 2.60
47 BuildRequires: automake
48 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
49 BuildRequires: elfutils-devel
50 BuildRequires: expat-devel
51 BuildRequires: gcc >= 5:3.3
52 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
53 BuildRequires: libdrm-devel >= %{libdrm_ver}
54 BuildRequires: libselinux-devel
55 BuildRequires: libstdc++-devel >= 5:3.3.0
56 BuildRequires: libtalloc-devel >= 2:2.0.1
57 BuildRequires: libtool >= 2:2.2
58 BuildRequires: libvdpau-devel >= 0.4.1
59 BuildRequires: libxcb-devel >= 1.10
60 BuildRequires: llvm-devel >= 3.3
61 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
62 %{?with_opencl:BuildRequires: llvm-libclc}
63 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
64 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
65 BuildRequires: perl-base
66 BuildRequires: pixman-devel
67 BuildRequires: pkgconfig
68 BuildRequires: pkgconfig(talloc) >= 2.0.1
69 BuildRequires: pkgconfig(xcb-dri3)
70 BuildRequires: pkgconfig(xcb-present)
71 BuildRequires: python >= 2
72 BuildRequires: python-modules >= 2
73 BuildRequires: rpmbuild(macros) >= 1.470
74 BuildRequires: sed >= 4.0
75 %{?with_egl:BuildRequires: udev-devel >= 1:151}
76 # wayland-{client,server}
77 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
78 BuildRequires: xorg-lib-libXdamage-devel
79 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
80 BuildRequires: xorg-lib-libXfixes-devel
81 BuildRequires: xorg-lib-libXt-devel
82 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
83 BuildRequires: xorg-lib-libXxf86vm-devel
84 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
85 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
86 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
87 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
88 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
89 BuildRequires: xorg-util-makedepend
90 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
92 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
93 BuildRequires: xorg-xserver-server-devel >= 1.6.0
95 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
97 %if %{without gallium}
98 %undefine with_gallium_intel
99 %undefine with_gallium_nouveau
100 %undefine with_ocl_icd
101 %undefine with_opencl
107 %undefine with_wayland
110 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
111 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
112 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
113 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
116 %define filterout_ld -Wl,--as-needed
119 Mesa is a 3-D graphics library with an API which is very similar to
120 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
121 syntax or state machine, it is being used with authorization from
122 Silicon Graphics, Inc. However, the author does not possess an OpenGL
123 license from SGI, and makes no claim that Mesa is in any way a
124 compatible replacement for OpenGL or associated with SGI.
126 %description -l pl.UTF-8
127 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
128 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
129 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
130 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
131 OpenGL ani powiązana z SGI.
134 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
135 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
138 Requires: %{name}-libglapi = %{version}-%{release}
139 # glx driver in libEGL dlopens libGL.so
140 Requires: OpenGL >= 1.2
141 Requires: libdrm >= %{libdrm_ver}
142 Requires: libxcb >= 1.9
143 %{?with_wayland:Requires: wayland >= 1.2.0}
146 Requires: %{name}-libOpenVG = %{version}-%{release}
147 Requires: udev-libs >= 1:151
150 Requires: %{name}-libgbm = %{version}-%{release}
155 This package contains shared libEGL - Mesa implementation of EGL
156 Native Platform Graphics Interface as specified by Khronos Group:
157 <http://www.khronos.org/egl/>.
159 %description libEGL -l pl.UTF-8
160 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
161 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
162 graficznego platformy natywnej) wg specyfikacji Khronos Group:
163 <http://www.khronos.org/egl/>.
165 %package libEGL-devel
166 Summary: Header files for Mesa implementation of EGL library
167 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
169 Group: Development/Libraries
170 Requires: %{name}-khrplatform-devel = %{version}-%{release}
171 Requires: %{name}-libEGL = %{version}-%{release}
172 Requires: libdrm-devel >= %{libdrm_ver}
173 Requires: xorg-lib-libX11-devel
174 Requires: xorg-lib-libXdamage-devel
175 Requires: xorg-lib-libXext-devel >= 1.0.5
176 Requires: xorg-lib-libXfixes-devel
177 Requires: xorg-lib-libXxf86vm-devel
178 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
179 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
180 Provides: EGL-devel = 1.4
182 %description libEGL-devel
183 Header files for Mesa implementation of EGL library.
185 %description libEGL-devel -l pl.UTF-8
186 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
188 %package libEGL-static
189 Summary: Static Mesa EGL library
190 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
192 Group: Development/Libraries
193 Requires: %{name}-libEGL-devel = %{version}-%{release}
194 Provides: EGL-static = 1.4
196 %description libEGL-static
197 Static Mesa EGL library.
199 %description libEGL-static -l pl.UTF-8
200 Statyczna biblioteka Mesa EGL.
203 Summary: Free Mesa3D implementation of libGL OpenGL library
204 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
207 Requires: %{name}-libglapi = %{version}-%{release}
208 Requires: libdrm >= %{libdrm_ver}
209 Provides: OpenGL = 3.3
210 Provides: OpenGL-GLX = 1.4
213 Obsoletes: Mesa-dri-core < 10.0.0
214 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
215 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
218 Mesa is a 3-D graphics library with an API which is very similar to
219 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
220 syntax or state machine, it is being used with authorization from
221 Silicon Graphics, Inc. However, the author does not possess an OpenGL
222 license from SGI, and makes no claim that Mesa is in any way a
223 compatible replacement for OpenGL or associated with SGI.
225 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
226 specifications. It uses DRI for rendering.
228 %description libGL -l pl.UTF-8
229 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
230 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
231 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
232 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
233 OpenGL ani powiązana z SGI.
235 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
236 GLX 1.4. Używa DRI do renderowania.
239 Summary: Header files for Mesa3D libGL library
240 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
242 Group: X11/Development/Libraries
243 # loose dependency on libGL to use with other libGL binaries
244 Requires: OpenGL >= 1.5
245 Requires: libdrm-devel >= %{libdrm_ver}
246 Requires: xorg-lib-libX11-devel
247 Requires: xorg-lib-libXdamage-devel
248 Requires: xorg-lib-libXext-devel >= 1.0.5
249 Requires: xorg-lib-libXxf86vm-devel
250 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
251 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
252 Suggests: OpenGL-doc-man
253 Provides: OpenGL-GLX-devel = 1.4
254 Provides: OpenGL-devel = 3.3
255 Obsoletes: Mesa-devel
256 Obsoletes: X11-OpenGL-devel < 1:7.0.0
257 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
258 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
259 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
261 %description libGL-devel
262 Header files for Mesa3D libGL library.
264 %description libGL-devel -l pl.UTF-8
265 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
267 %package libGL-static
268 Summary: Static Mesa3D libGL library
269 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
271 Group: X11/Development/Libraries
272 Requires: %{name}-libGL-devel = %{version}-%{release}
273 Provides: OpenGL-static = 3.3
274 Obsoletes: Mesa-static
275 Obsoletes: X11-OpenGL-static < 1:7.0.0
276 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
278 %description libGL-static
279 Static Mesa3D libGL library. It uses software renderer.
281 %description libGL-static -l pl.UTF-8
282 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
286 Summary: Mesa implementation of GLES (OpenGL ES) libraries
287 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
289 Requires: %{name}-libglapi = %{version}-%{release}
291 Provides: OpenGLESv1 = 1.1
292 Provides: OpenGLESv2 = 2.0
295 This package contains shared libraries of Mesa implementation of GLES
296 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
297 on embedded systems. OpenGL ES specification can be found on Khronos
298 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
301 %description libGLES -l pl.UTF-8
302 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
303 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
304 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
305 OpenGL ES można znaleźć na stronie Khronos Group:
306 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
309 %package libGLES-devel
310 Summary: Header files for Mesa GLES libraries
311 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
312 Group: Development/Libraries
313 Requires: %{name}-khrplatform-devel = %{version}-%{release}
314 # <EGL/egl.h> for <GLES/egl.h>
315 Requires: %{name}-libEGL-devel = %{version}-%{release}
316 Requires: %{name}-libGLES = %{version}-%{release}
317 Provides: OpenGLES-devel
318 Provides: OpenGLESv1-devel = 1.1
319 Provides: OpenGLESv2-devel = 2.0
321 %description libGLES-devel
322 Header files for Mesa GLES libraries.
324 %description libGLES-devel -l pl.UTF-8
325 Pliki nagłówkowe bibliotek Mesa GLES.
328 Summary: OSMesa (off-screen renderer) library
329 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
333 %description libOSMesa
334 OSMesa (off-screen renderer) library.
336 %description libOSMesa -l pl.UTF-8
337 Biblioteka OSMesa (renderująca bitmapy w pamięci).
339 %package libOSMesa-devel
340 Summary: Header file for OSMesa (off-screen renderer) library
341 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
343 Group: Development/Libraries
344 Requires: %{name}-libOSMesa = %{version}-%{release}
346 Requires: OpenGL-devel
347 Requires: libselinux-devel
349 %description libOSMesa-devel
350 Header file for OSMesa (off-screen renderer) library.
352 %description libOSMesa-devel -l pl.UTF-8
353 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
355 %package libOSMesa-static
356 Summary: Static OSMesa (off-screen renderer) library
357 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
359 Group: Development/Libraries
360 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
361 # this static build of OSMesa needs static non-dri Mesa implementation
362 Requires: %{name}-libGL-static = %{version}-%{release}
364 %description libOSMesa-static
365 Static OSMesa (off-screen renderer) library.
367 %description libOSMesa-static -l pl.UTF-8
368 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
371 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
372 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
375 Requires: filesystem >= 4.0-29
376 Requires: libdrm >= %{libdrm_ver}
377 Requires: llvm-libclc
378 Requires: udev-libs >= 1:151
379 Provides: OpenCL = 1.1
381 %description OpenCL-icd
382 This package contains Mesa implementation of OpenCL - standard for
383 cross-platform, parallel programming of modern processors found in
384 personal computers, servers and handheld/embedded devices. OpenCL
385 specification can be found on Khronos Group site:
386 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
388 The implementation is provided as an installable client driver (ICD)
389 for use with the ocl-icd loader.
391 %description OpenCL-icd -l pl.UTF-8
392 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
393 wieloplatformowego, równoległego programowania nowoczesnych
394 procesorów, jakie znajdują się w komputerach osobistych, serwerach
395 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
396 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
397 Mesa zawiera implementację OpenCL w wersji 1.1.
399 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
400 (ICD), który może być użyty z loaderem ocl-icd.
403 Summary: Mesa implementation of OpenCL (Compuing Language) API
404 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
407 Requires: libdrm >= %{libdrm_ver}
408 Requires: llvm-libclc
409 Requires: udev-libs >= 1:151
410 Provides: OpenCL = 1.1
412 %description libOpenCL
413 This package contains Mesa implementation of OpenCL - standard for
414 cross-platform, parallel programming of modern processors found in
415 personal computers, servers and handheld/embedded devices. OpenCL
416 specification can be found on Khronos Group site:
417 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
419 %description libOpenCL -l pl.UTF-8
420 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
421 wieloplatformowego, równoległego programowania nowoczesnych
422 procesorów, jakie znajdują się w komputerach osobistych, serwerach
423 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
424 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
425 Mesa zawiera implementację OpenCL w wersji 1.1.
427 %package libOpenCL-devel
428 Summary: Header files for Mesa OpenCL library
429 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
431 Group: Development/Libraries
432 Requires: %{name}-libOpenCL = %{version}-%{release}
433 Provides: OpenCL-devel = 1.1
435 %description libOpenCL-devel
436 Header files for Mesa OpenCL library.
438 %description libOpenCL-devel -l pl.UTF-8
439 Pliki nagłówkowe biblioteki Mesa OpenCL.
442 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
443 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
446 Provides: OpenVG = 1.1
448 %description libOpenVG
449 This package contains Mesa implementation of OpenVG - cross-platform
450 API that provides a low-level hardware acceleration interface for
451 vector graphics libraries such as Flash and SVG. OpenVG specification
452 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
453 Mesa implements OpenVG 1.1.
455 %description libOpenVG -l pl.UTF-8
456 Ten pakiet zawiera implementację Mesa standardu OpenVG -
457 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
458 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
459 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
460 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
463 %package libOpenVG-devel
464 Summary: Header file for Mesa OpenVG library
465 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
467 Group: Development/Libraries
468 Requires: %{name}-khrplatform-devel = %{version}-%{release}
469 Requires: %{name}-libOpenVG = %{version}-%{release}
470 Provides: OpenVG-devel = 1.1
472 %description libOpenVG-devel
473 Header file for Mesa OpenVG library.
475 %description libOpenVG-devel -l pl.UTF-8
476 Plik nagłówkowy biblioteki Mesa OpenVG.
478 %package libXvMC-nouveau
479 Summary: Mesa implementation of XvMC API for NVidia adapters
480 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
483 Requires: libdrm >= %{libdrm_ver}
484 Requires: xorg-lib-libXvMC >= 1.0.6
485 Conflicts: Mesa-libXvMC
487 %description libXvMC-nouveau
488 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
490 %description libXvMC-nouveau -l pl.UTF-8
491 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
493 %package libXvMC-r600
494 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
495 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
498 Requires: libdrm >= %{libdrm_ver}
499 Requires: xorg-lib-libXvMC >= 1.0.6
500 Conflicts: Mesa-libXvMC
502 %description libXvMC-r600
503 Mesa implementation of XvMC API for ATI Radeon adapters based on
506 %description libXvMC-r600 -l pl.UTF-8
507 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
511 Summary: Mesa Graphics Buffer Manager library
512 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
514 Requires: %{name}-libglapi = %{version}-%{release}
515 Requires: udev-libs >= 1:151
516 Conflicts: Mesa-libEGL < 8.0.1-2
519 Mesa Graphics Buffer Manager library.
521 %description libgbm -l pl.UTF-8
522 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
524 %package libgbm-devel
525 Summary: Header file for Mesa Graphics Buffer Manager library
526 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
527 Group: Development/Libraries
528 Requires: %{name}-libgbm = %{version}-%{release}
529 Requires: udev-devel >= 1:151
531 %description libgbm-devel
532 Header file for Mesa Graphics Buffer Manager library.
534 %description libgbm-devel -l pl.UTF-8
535 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
538 %package gbm-driver-i915
539 Summary: i915 driver for Mesa GBM framework
540 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
542 Requires: %{name}-libgbm = %{version}-%{release}
543 Obsoletes: Mesa-opencl-driver-i915
545 %description gbm-driver-i915
546 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
547 915/945/G33/Q33/Q35/Pineview chips.
549 %description gbm-driver-i915 -l pl.UTF-8
550 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
551 bufora graficznego). Obsługuje układy Intela z serii
552 915/945/G33/Q33/Q35/Pineview.
554 %package gbm-driver-nouveau
555 Summary: nouveau driver for Mesa GBM framework
556 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
558 Requires: %{name}-libgbm = %{version}-%{release}
559 Obsoletes: Mesa-opencl-driver-nouveau
561 %description gbm-driver-nouveau
562 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
565 %description gbm-driver-nouveau -l pl.UTF-8
566 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
567 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
569 %package gbm-driver-r300
570 Summary: r300 driver for Mesa GBM framework
571 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
573 Requires: %{name}-libgbm = %{version}-%{release}
574 Obsoletes: Mesa-opencl-driver-r300
576 %description gbm-driver-r300
577 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
578 adapters based on R300/R400/RS690/R500 chips.
580 %description gbm-driver-r300 -l pl.UTF-8
581 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
582 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
583 układach R300/R400/RS690/R500.
585 %package gbm-driver-r600
586 Summary: r600 driver for Mesa GBM framework
587 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
589 Requires: %{name}-libgbm = %{version}-%{release}
590 Obsoletes: Mesa-libllvmradeon
591 Obsoletes: Mesa-opencl-driver-r600
593 %description gbm-driver-r600
594 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
595 adapters based on R600/R700 chips.
597 %description gbm-driver-r600 -l pl.UTF-8
598 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
599 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
602 %package gbm-driver-radeonsi
603 Summary: radeonsi driver for Mesa GBM framework
604 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
606 Requires: %{name}-libgbm = %{version}-%{release}
607 Obsoletes: Mesa-libllvmradeon
608 Obsoletes: Mesa-opencl-driver-radeonsi
610 %description gbm-driver-radeonsi
611 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
612 Radeon adapters based on Southern Islands chips.
614 %description gbm-driver-radeonsi -l pl.UTF-8
615 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
616 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
617 oparte na układach Southern Islands.
619 %package gbm-driver-swrast
620 Summary: Software (swrast) driver for Mesa GBM framework
621 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
623 Requires: %{name}-libgbm = %{version}-%{release}
624 Obsoletes: Mesa-opencl-driver-swrast
626 %description gbm-driver-swrast
627 Software (swrast) driver for Mesa Graphics Buffer Manager.
629 %description gbm-driver-swrast -l pl.UTF-8
630 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
631 Manager (zarządcy bufora graficznego).
633 %package gbm-driver-vmwgfx
634 Summary: vmwgfx driver for Mesa GBM framework
635 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
637 Requires: %{name}-libgbm = %{version}-%{release}
638 Obsoletes: Mesa-opencl-driver-vmwgfx
640 %description gbm-driver-vmwgfx
641 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
642 virtual video adapter.
644 %description gbm-driver-vmwgfx -l pl.UTF-8
645 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
646 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
649 Summary: Mesa GL API shared library
650 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
652 Conflicts: Mesa-libEGL < 8.0.1-2
654 %description libglapi
655 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
657 %description libglapi -l pl.UTF-8
658 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
661 %package libwayland-egl
662 Summary: Wayland EGL library
663 Summary(pl.UTF-8): Biblioteka Wayland EGL
665 Requires: libdrm >= %{libdrm_ver}
667 %description libwayland-egl
668 Wayland EGL platform library.
670 %description libwayland-egl -l pl.UTF-8
671 Biblioteka platformy EGL Wayland.
673 %package libwayland-egl-devel
674 Summary: Development files for Wayland EGL library
675 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
676 Group: Development/Libraries
677 Requires: %{name}-libwayland-egl = %{version}-%{release}
678 Requires: libdrm-devel >= %{libdrm_ver}
680 %description libwayland-egl-devel
681 Development files for Wayland EGL platform library.
683 %description libwayland-egl-devel -l pl.UTF-8
684 Pliki programistyczne biblioteki platformy EGL Wayland.
686 %package libxatracker
687 Summary: Xorg Gallium3D accelleration library
688 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
690 Requires: libdrm >= %{libdrm_ver}
692 %description libxatracker
693 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
695 %description libxatracker -l pl.UTF-8
696 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
699 %package libxatracker-devel
700 Summary: Header files for Xorg Gallium3D accelleration library
701 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
702 Group: X11/Development/Libraries
703 Requires: %{name}-libxatracker = %{version}-%{release}
704 Requires: libdrm-devel >= %{libdrm_ver}
706 %description libxatracker-devel
707 Header files for Xorg Gallium3D accelleration library.
709 %description libxatracker-devel -l pl.UTF-8
710 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
712 %package khrplatform-devel
713 Summary: Khronos platform header file
714 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
715 Group: Development/Libraries
716 Conflicts: Mesa-libEGL-devel < 8.0.1-2
718 %description khrplatform-devel
719 Khronos platform header file.
721 %description khrplatform-devel -l pl.UTF-8
722 Plik nagłówkowy platformy Khronos.
724 %package dri-driver-ati-radeon-R100
725 Summary: X.org DRI driver for ATI R100 card family
726 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
729 Requires: xorg-driver-video-ati
730 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
731 Requires: xorg-xserver-server >= %{xserver_ver}
732 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
734 %description dri-driver-ati-radeon-R100
735 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
737 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
738 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
740 %package dri-driver-ati-radeon-R200
741 Summary: X.org DRI driver for ATI R200 card family
742 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
745 Requires: xorg-driver-video-ati
746 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
747 Requires: xorg-xserver-server >= %{xserver_ver}
748 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
750 %description dri-driver-ati-radeon-R200
751 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
753 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
754 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
756 %package dri-driver-ati-radeon-R300
757 Summary: X.org DRI driver for ATI R300 card family
758 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
761 Requires: xorg-driver-video-ati
762 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
763 Requires: xorg-xserver-server >= %{xserver_ver}
764 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
766 %description dri-driver-ati-radeon-R300
767 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
769 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
770 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
772 %package dri-driver-ati-radeon-R600
773 Summary: X.org DRI driver for ATI R600 card family
774 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
777 Requires: radeon-ucode
778 Requires: xorg-driver-video-ati
779 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
780 Requires: xorg-xserver-server >= %{xserver_ver}
782 %description dri-driver-ati-radeon-R600
783 X.org DRI driver for ATI R600/R700 card family.
785 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
786 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
788 %package dri-driver-ati-radeon-SI
789 Summary: X.org DRI driver for ATI Southern Islands card family
790 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
793 Requires: radeon-ucode
794 Requires: xorg-driver-video-ati
795 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
796 Requires: xorg-xserver-server >= %{xserver_ver}
798 %description dri-driver-ati-radeon-SI
799 X.org DRI driver for ATI Southern Islands card family.
801 %description dri-driver-ati-radeon-SI -l pl.UTF-8
802 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
804 %package dri-driver-intel-i915
805 Summary: X.org DRI driver for Intel i915 card family
806 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
809 Requires: xorg-driver-video-intel
810 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
811 Requires: xorg-xserver-server >= %{xserver_ver}
812 Obsoletes: Mesa-dri-driver-intel-i830
813 Obsoletes: X11-driver-i810-dri < 1:7.0.0
815 %description dri-driver-intel-i915
816 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
819 %description dri-driver-intel-i915 -l pl.UTF-8
820 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
823 %package dri-driver-intel-i965
824 Summary: X.org DRI driver for Intel i965 card family
825 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
828 Requires: xorg-driver-video-intel
829 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
830 Requires: xorg-xserver-server >= %{xserver_ver}
831 Obsoletes: Mesa-dri-driver-intel-i830
832 Obsoletes: X11-driver-i810-dri < 1:7.0.0
834 %description dri-driver-intel-i965
835 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
836 965GME, GM45, G41, B43, Q45, G45);
838 %description dri-driver-intel-i965 -l pl.UTF-8
839 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
840 965GM, 965GME, GM45, G41, B43, Q45, G45).
842 %package dri-driver-nouveau
843 Summary: X.org DRI driver for NVIDIA card family
844 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
847 Requires: xorg-driver-video-nouveau
848 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
849 Requires: xorg-xserver-server >= %{xserver_ver}
851 %description dri-driver-nouveau
852 X.org DRI drivers for NVIDIA card family.
854 %description dri-driver-nouveau -l pl.UTF-8
855 Sterowniki X.org DRI dla rodziny kart NVIDIA.
857 %package dri-driver-swrast
858 Summary: X.org DRI software rasterizer driver
859 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
862 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
863 Requires: xorg-xserver-server >= %{xserver_ver}
865 %description dri-driver-swrast
866 X.org DRI software rasterizer driver.
868 %description dri-driver-swrast -l pl.UTF-8
869 Sterownik X.org DRI obsługujący rysowanie programowe.
871 %package dri-driver-vmwgfx
872 Summary: X.org DRI driver for VMware
873 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
876 Requires: xorg-driver-video-vmware
877 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
878 Requires: xorg-xserver-server >= %{xserver_ver}
880 %description dri-driver-vmwgfx
881 X.org DRI driver for VMWare.
883 %description dri-driver-vmwgfx -l pl.UTF-8
884 Sterownik X.org DRI dla VMware.
886 %package -n libvdpau-driver-mesa-nouveau
887 Summary: Mesa nouveau driver for the vdpau API
888 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
891 Requires: libdrm >= %{libdrm_ver}
892 Requires: libvdpau >= 0.4.1
893 Conflicts: libvdpau-driver-mesa
895 %description -n libvdpau-driver-mesa-nouveau
896 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
899 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
900 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
903 %package -n libvdpau-driver-mesa-r600
904 Summary: Mesa r600 driver for the vdpau API
905 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
908 Requires: libdrm >= %{libdrm_ver}
909 Requires: libvdpau >= 0.4.1
910 Conflicts: libvdpau-driver-mesa
912 %description -n libvdpau-driver-mesa-r600
913 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
914 based on R600/R700 chips.
916 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
917 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
918 na układach R600/R700.
920 %package -n libvdpau-driver-mesa-radeonsi
921 Summary: Mesa radeonsi driver for the vdpau API
922 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
925 Requires: libdrm >= %{libdrm_ver}
926 Requires: libvdpau >= 0.4.1
927 Conflicts: libvdpau-driver-mesa
928 Obsoletes: Mesa-libllvmradeon
930 %description -n libvdpau-driver-mesa-radeonsi
931 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
932 adapters based on Southern Islands chips.
934 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
935 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
936 oparte na układach Southern Islands.
938 %package -n omxil-mesa
939 Summary: Mesa driver for Bellagio OpenMAX IL API
940 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
943 Requires: libdrm >= %{libdrm_ver}
944 Requires: libxcb >= 1.8
945 Requires: libomxil-bellagio
946 Obsoletes: omxil-mesa-nouveau
947 Obsoletes: omxil-mesa-r600
948 Obsoletes: omxil-mesa-radeonsi
950 %description -n omxil-mesa
951 Mesa driver for Bellagio OpenMAX IL API.
953 %description -n omxil-mesa -l pl.UTF-8
954 Sterownik Mesa dla API Bellagio OpenMAX IL.
956 %package -n omxil-mesa-nouveau
957 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
958 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
961 Requires: libdrm >= %{libdrm_ver}
962 Requires: libxcb >= 1.8
963 Requires: libomxil-bellagio
965 %description -n omxil-mesa-nouveau
966 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
967 adapters (NV40-NV96, NVa0).
969 %description -n omxil-mesa-nouveau -l pl.UTF-8
970 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
971 NVidia (NV40-NV96, NVa0).
973 %package -n omxil-mesa-r600
974 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
975 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
978 Requires: libdrm >= %{libdrm_ver}
979 Requires: libxcb >= 1.8
980 Requires: libomxil-bellagio
982 %description -n omxil-mesa-r600
983 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
984 adapters based on R600/R700 chips.
986 %description -n omxil-mesa-r600 -l pl.UTF-8
987 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
988 Radeon oparte na układach R600/R700.
990 %package -n omxil-mesa-radeonsi
991 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
992 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
995 Requires: libdrm >= %{libdrm_ver}
996 Requires: libxcb >= 1.8
997 Requires: libomxil-bellagio
999 %description -n omxil-mesa-radeonsi
1000 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1001 Radeon adapters based on Southern Islands chips.
1003 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1004 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1005 ATI Radeon oparte na układach Southern Islands.
1016 dri_drivers="r200 radeon \
1017 %if %{without gallium_intel}
1022 %ifarch sparc sparcv9 sparc64
1027 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1029 gallium_drivers="svga swrast \
1030 %if %{with gallium_intel}
1033 %if %{with gallium_radeon}
1038 %if %{with gallium_nouveau}
1043 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1046 --disable-silent-rules \
1050 %{?with_static_libs:--enable-static} \
1053 --enable-shared-glapi \
1058 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1061 --enable-gallium-llvm \
1062 --enable-llvm-shared-libs \
1063 %{__enable egl gallium-egl} \
1064 %{__enable gbm gallium-gbm} \
1065 %{__enable ocl_icd opencl-icd} \
1066 %{__enable opencl opencl} \
1067 %{?with_egl:--enable-openvg} \
1069 %{?with_omx:--enable-omx} \
1070 %{?with_xa:--enable-xa} \
1072 --with-gallium-drivers=${gallium_drivers} \
1074 --without-gallium-drivers \
1076 --with-dri-drivers=${dri_drivers} \
1077 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1081 %{?with_tests:%{__make} check}
1084 rm -rf $RPM_BUILD_ROOT
1087 DESTDIR=$RPM_BUILD_ROOT
1089 # strip out undesirable headers
1090 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1091 # dlopened by soname
1092 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1093 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0
1094 # dlopened by soname or .so link
1095 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0
1096 # not used externally
1097 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1099 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1100 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1101 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1102 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1103 # not defined by standards; and not needed, there is pkg-config support
1104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1106 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1107 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1108 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1111 rm -rf $RPM_BUILD_ROOT
1113 %post libEGL -p /sbin/ldconfig
1114 %postun libEGL -p /sbin/ldconfig
1116 %post libGL -p /sbin/ldconfig
1117 %postun libGL -p /sbin/ldconfig
1119 %post libGLES -p /sbin/ldconfig
1120 %postun libGLES -p /sbin/ldconfig
1122 %post libOSMesa -p /sbin/ldconfig
1123 %postun libOSMesa -p /sbin/ldconfig
1125 %post libOpenCL -p /sbin/ldconfig
1126 %postun libOpenCL -p /sbin/ldconfig
1128 %post libOpenVG -p /sbin/ldconfig
1129 %postun libOpenVG -p /sbin/ldconfig
1131 %post libXvMC-nouveau -p /sbin/ldconfig
1132 %postun libXvMC-nouveau -p /sbin/ldconfig
1133 %post libXvMC-r600 -p /sbin/ldconfig
1134 %postun libXvMC-r600 -p /sbin/ldconfig
1136 %post libgbm -p /sbin/ldconfig
1137 %postun libgbm -p /sbin/ldconfig
1139 %post libglapi -p /sbin/ldconfig
1140 %postun libglapi -p /sbin/ldconfig
1142 %post libwayland-egl -p /sbin/ldconfig
1143 %postun libwayland-egl -p /sbin/ldconfig
1145 %post libxatracker -p /sbin/ldconfig
1146 %postun libxatracker -p /sbin/ldconfig
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1152 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1155 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_libdir}/libEGL.so
1161 %dir %{_includedir}/EGL
1162 %{_includedir}/EGL/egl.h
1163 %{_includedir}/EGL/eglext.h
1164 %{_includedir}/EGL/eglextchromium.h
1165 %{_includedir}/EGL/eglmesaext.h
1166 %{_includedir}/EGL/eglplatform.h
1167 %{_pkgconfigdir}/egl.pc
1169 %if %{with static_libs}
1170 %files libEGL-static
1171 %defattr(644,root,root,755)
1177 %defattr(644,root,root,755)
1178 %doc docs/{*.html,README.UVD,relnotes/*.html}
1179 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1180 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1181 # symlink for binary apps which fail to conform Linux OpenGL ABI
1182 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1183 %attr(755,root,root) %{_libdir}/libGL.so
1184 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1187 %defattr(644,root,root,755)
1189 %dir %{_includedir}/GL
1190 %{_includedir}/GL/gl.h
1191 %{_includedir}/GL/glcorearb.h
1192 %{_includedir}/GL/glext.h
1193 %{_includedir}/GL/gl_mangle.h
1194 %{_includedir}/GL/glx.h
1195 %{_includedir}/GL/glxext.h
1196 %{_includedir}/GL/glx_mangle.h
1197 %dir %{_includedir}/GL/internal
1198 %{_includedir}/GL/internal/dri_interface.h
1199 %{_pkgconfigdir}/dri.pc
1200 %{_pkgconfigdir}/gl.pc
1202 %if %{with static_libs}
1204 %defattr(644,root,root,755)
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1211 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1212 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1213 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1215 %files libGLES-devel
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1218 %attr(755,root,root) %{_libdir}/libGLESv2.so
1220 %{_includedir}/GLES2
1221 %{_includedir}/GLES3
1222 %{_pkgconfigdir}/glesv1_cm.pc
1223 %{_pkgconfigdir}/glesv2.pc
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1228 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1230 %files libOSMesa-devel
1231 %defattr(644,root,root,755)
1232 %attr(755,root,root) %{_libdir}/libOSMesa.so
1233 %{_includedir}/GL/osmesa.h
1234 %{_pkgconfigdir}/osmesa.pc
1236 %if %{with static_libs}
1237 %files libOSMesa-static
1238 %defattr(644,root,root,755)
1239 %{_libdir}/libOSMesa.a
1245 %defattr(644,root,root,755)
1246 /etc/OpenCL/vendors/mesa.icd
1247 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1248 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1249 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1254 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1256 %files libOpenCL-devel
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_libdir}/libOpenCL.so
1263 %if %{with egl} && %{with gallium}
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1267 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1269 %files libOpenVG-devel
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_libdir}/libOpenVG.so
1273 %{_pkgconfigdir}/vg.pc
1277 %if %{with gallium_nouveau}
1278 %files libXvMC-nouveau
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1281 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1284 %if %{with gallium_radeon}
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1288 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1296 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1299 %dir %{_libdir}/gallium-pipe
1300 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/libgbm.so
1306 %{_includedir}/gbm.h
1307 %{_pkgconfigdir}/gbm.pc
1311 %if %{with gallium_intel}
1312 %files gbm-driver-i915
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1317 %if %{with gallium_nouveau}
1318 %files gbm-driver-nouveau
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1323 %if %{with gallium_radeon}
1324 %files gbm-driver-r300
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1328 %files gbm-driver-r600
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1332 %files gbm-driver-radeonsi
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1337 %files gbm-driver-swrast
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1341 %files gbm-driver-vmwgfx
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1349 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1350 # libglapi-devel? nothing seems to need it atm.
1351 #%attr(755,root,root) %{_libdir}/libglapi.so
1354 %files libwayland-egl
1355 %defattr(644,root,root,755)
1356 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1357 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1359 %files libwayland-egl-devel
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1362 %{_pkgconfigdir}/wayland-egl.pc
1367 %defattr(644,root,root,755)
1368 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1369 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1371 %files libxatracker-devel
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libdir}/libxatracker.so
1374 %{_includedir}/xa_composite.h
1375 %{_includedir}/xa_context.h
1376 %{_includedir}/xa_tracker.h
1377 %{_pkgconfigdir}/xatracker.pc
1381 %files khrplatform-devel
1382 %defattr(644,root,root,755)
1383 %dir %{_includedir}/KHR
1384 %{_includedir}/KHR/khrplatform.h
1387 %files dri-driver-ati-radeon-R100
1388 %defattr(644,root,root,755)
1389 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1391 %files dri-driver-ati-radeon-R200
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1396 %if %{with gallium_radeon}
1397 %files dri-driver-ati-radeon-R300
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1401 %files dri-driver-ati-radeon-R600
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1405 %files dri-driver-ati-radeon-SI
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1411 %files dri-driver-intel-i915
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1415 %files dri-driver-intel-i965
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1419 %files dri-driver-nouveau
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1422 %if %{with gallium_nouveau}
1423 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1426 %files dri-driver-swrast
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1429 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1432 %files dri-driver-vmwgfx
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1438 # ldconfig is not used in vdpau tree, so package all symlinks
1439 %if %{with gallium_nouveau}
1440 %files -n libvdpau-driver-mesa-nouveau
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1443 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1444 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1447 %if %{with gallium_radeon}
1448 %files -n libvdpau-driver-mesa-r600
1449 %defattr(644,root,root,755)
1450 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1451 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1452 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1454 %files -n libvdpau-driver-mesa-radeonsi
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1457 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1458 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1462 %if %{with gallium} && %{with omx}
1463 %files -n omxil-mesa
1464 %defattr(644,root,root,755)
1465 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so