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: fa0558a3d02c2bb8c208c030ccdc992e
45 Patch0: missing-type.patch
46 URL: http://www.mesa3d.org/
47 BuildRequires: autoconf >= 2.60
48 BuildRequires: automake
49 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
50 BuildRequires: elfutils-devel
51 BuildRequires: expat-devel
52 BuildRequires: gcc >= 5:3.3
53 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
54 BuildRequires: libdrm-devel >= %{libdrm_ver}
55 BuildRequires: libselinux-devel
56 BuildRequires: libstdc++-devel >= 5:3.3.0
57 BuildRequires: libtalloc-devel >= 2:2.0.1
58 BuildRequires: libtool >= 2:2.2
59 BuildRequires: libvdpau-devel >= 0.4.1
60 BuildRequires: libxcb-devel >= 1.10
61 BuildRequires: llvm-devel >= 3.3
62 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
63 %{?with_opencl:BuildRequires: llvm-libclc}
64 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
65 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
66 BuildRequires: perl-base
67 BuildRequires: pixman-devel
68 BuildRequires: pkgconfig
69 BuildRequires: pkgconfig(talloc) >= 2.0.1
70 BuildRequires: pkgconfig(xcb-dri3)
71 BuildRequires: pkgconfig(xcb-present)
72 BuildRequires: python >= 2
73 BuildRequires: python-modules >= 2
74 BuildRequires: rpmbuild(macros) >= 1.470
75 BuildRequires: sed >= 4.0
76 %{?with_egl:BuildRequires: udev-devel >= 1:151}
77 # wayland-{client,server}
78 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
79 BuildRequires: xorg-lib-libXdamage-devel
80 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
81 BuildRequires: xorg-lib-libXfixes-devel
82 BuildRequires: xorg-lib-libXt-devel
83 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
84 BuildRequires: xorg-lib-libXxf86vm-devel
85 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
86 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
87 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
88 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
89 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
90 BuildRequires: xorg-util-makedepend
91 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
93 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
94 BuildRequires: xorg-xserver-server-devel >= 1.6.0
96 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
98 %if %{without gallium}
99 %undefine with_gallium_intel
100 %undefine with_gallium_nouveau
101 %undefine with_ocl_icd
102 %undefine with_opencl
108 %undefine with_wayland
111 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
112 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
113 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
114 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
117 %define filterout_ld -Wl,--as-needed
120 Mesa is a 3-D graphics library with an API which is very similar to
121 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
122 syntax or state machine, it is being used with authorization from
123 Silicon Graphics, Inc. However, the author does not possess an OpenGL
124 license from SGI, and makes no claim that Mesa is in any way a
125 compatible replacement for OpenGL or associated with SGI.
127 %description -l pl.UTF-8
128 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
129 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
130 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
131 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
132 OpenGL ani powiązana z SGI.
135 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
136 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
139 Requires: %{name}-libglapi = %{version}-%{release}
140 # glx driver in libEGL dlopens libGL.so
141 Requires: OpenGL >= 1.2
142 Requires: libdrm >= %{libdrm_ver}
143 Requires: libxcb >= 1.9
144 %{?with_wayland:Requires: wayland >= 1.2.0}
147 Requires: %{name}-libOpenVG = %{version}-%{release}
148 Requires: udev-libs >= 1:151
151 Requires: %{name}-libgbm = %{version}-%{release}
156 This package contains shared libEGL - Mesa implementation of EGL
157 Native Platform Graphics Interface as specified by Khronos Group:
158 <http://www.khronos.org/egl/>.
160 %description libEGL -l pl.UTF-8
161 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
162 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
163 graficznego platformy natywnej) wg specyfikacji Khronos Group:
164 <http://www.khronos.org/egl/>.
166 %package libEGL-devel
167 Summary: Header files for Mesa implementation of EGL library
168 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
170 Group: Development/Libraries
171 Requires: %{name}-khrplatform-devel = %{version}-%{release}
172 Requires: %{name}-libEGL = %{version}-%{release}
173 Requires: libdrm-devel >= %{libdrm_ver}
174 Requires: xorg-lib-libX11-devel
175 Requires: xorg-lib-libXdamage-devel
176 Requires: xorg-lib-libXext-devel >= 1.0.5
177 Requires: xorg-lib-libXfixes-devel
178 Requires: xorg-lib-libXxf86vm-devel
179 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
180 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
181 Provides: EGL-devel = 1.4
183 %description libEGL-devel
184 Header files for Mesa implementation of EGL library.
186 %description libEGL-devel -l pl.UTF-8
187 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
189 %package libEGL-static
190 Summary: Static Mesa EGL library
191 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
193 Group: Development/Libraries
194 Requires: %{name}-libEGL-devel = %{version}-%{release}
195 Provides: EGL-static = 1.4
197 %description libEGL-static
198 Static Mesa EGL library.
200 %description libEGL-static -l pl.UTF-8
201 Statyczna biblioteka Mesa EGL.
204 Summary: Free Mesa3D implementation of libGL OpenGL library
205 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
208 Requires: %{name}-libglapi = %{version}-%{release}
209 Requires: libdrm >= %{libdrm_ver}
210 Provides: OpenGL = 3.3
211 Provides: OpenGL-GLX = 1.4
214 Obsoletes: Mesa-dri-core < 10.0.0
215 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
216 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
219 Mesa is a 3-D graphics library with an API which is very similar to
220 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
221 syntax or state machine, it is being used with authorization from
222 Silicon Graphics, Inc. However, the author does not possess an OpenGL
223 license from SGI, and makes no claim that Mesa is in any way a
224 compatible replacement for OpenGL or associated with SGI.
226 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
227 specifications. It uses DRI for rendering.
229 %description libGL -l pl.UTF-8
230 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
231 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
232 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
233 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
234 OpenGL ani powiązana z SGI.
236 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
237 GLX 1.4. Używa DRI do renderowania.
240 Summary: Header files for Mesa3D libGL library
241 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
243 Group: X11/Development/Libraries
244 # loose dependency on libGL to use with other libGL binaries
245 Requires: OpenGL >= 1.5
246 Requires: libdrm-devel >= %{libdrm_ver}
247 Requires: xorg-lib-libX11-devel
248 Requires: xorg-lib-libXdamage-devel
249 Requires: xorg-lib-libXext-devel >= 1.0.5
250 Requires: xorg-lib-libXxf86vm-devel
251 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
252 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
253 Suggests: OpenGL-doc-man
254 Provides: OpenGL-GLX-devel = 1.4
255 Provides: OpenGL-devel = 3.3
256 Obsoletes: Mesa-devel
257 Obsoletes: X11-OpenGL-devel < 1:7.0.0
258 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
259 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
260 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
262 %description libGL-devel
263 Header files for Mesa3D libGL library.
265 %description libGL-devel -l pl.UTF-8
266 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
268 %package libGL-static
269 Summary: Static Mesa3D libGL library
270 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
272 Group: X11/Development/Libraries
273 Requires: %{name}-libGL-devel = %{version}-%{release}
274 Provides: OpenGL-static = 3.3
275 Obsoletes: Mesa-static
276 Obsoletes: X11-OpenGL-static < 1:7.0.0
277 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
279 %description libGL-static
280 Static Mesa3D libGL library. It uses software renderer.
282 %description libGL-static -l pl.UTF-8
283 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
287 Summary: Mesa implementation of GLES (OpenGL ES) libraries
288 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
290 Requires: %{name}-libglapi = %{version}-%{release}
292 Provides: OpenGLESv1 = 1.1
293 Provides: OpenGLESv2 = 2.0
296 This package contains shared libraries of Mesa implementation of GLES
297 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
298 on embedded systems. OpenGL ES specification can be found on Khronos
299 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
302 %description libGLES -l pl.UTF-8
303 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
304 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
305 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
306 OpenGL ES można znaleźć na stronie Khronos Group:
307 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
310 %package libGLES-devel
311 Summary: Header files for Mesa GLES libraries
312 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
313 Group: Development/Libraries
314 Requires: %{name}-khrplatform-devel = %{version}-%{release}
315 # <EGL/egl.h> for <GLES/egl.h>
316 Requires: %{name}-libEGL-devel = %{version}-%{release}
317 Requires: %{name}-libGLES = %{version}-%{release}
318 Provides: OpenGLES-devel
319 Provides: OpenGLESv1-devel = 1.1
320 Provides: OpenGLESv2-devel = 2.0
322 %description libGLES-devel
323 Header files for Mesa GLES libraries.
325 %description libGLES-devel -l pl.UTF-8
326 Pliki nagłówkowe bibliotek Mesa GLES.
329 Summary: OSMesa (off-screen renderer) library
330 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
334 %description libOSMesa
335 OSMesa (off-screen renderer) library.
337 %description libOSMesa -l pl.UTF-8
338 Biblioteka OSMesa (renderująca bitmapy w pamięci).
340 %package libOSMesa-devel
341 Summary: Header file for OSMesa (off-screen renderer) library
342 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
344 Group: Development/Libraries
345 Requires: %{name}-libOSMesa = %{version}-%{release}
347 Requires: OpenGL-devel
348 Requires: libselinux-devel
350 %description libOSMesa-devel
351 Header file for OSMesa (off-screen renderer) library.
353 %description libOSMesa-devel -l pl.UTF-8
354 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
356 %package libOSMesa-static
357 Summary: Static OSMesa (off-screen renderer) library
358 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
360 Group: Development/Libraries
361 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
362 # this static build of OSMesa needs static non-dri Mesa implementation
363 Requires: %{name}-libGL-static = %{version}-%{release}
365 %description libOSMesa-static
366 Static OSMesa (off-screen renderer) library.
368 %description libOSMesa-static -l pl.UTF-8
369 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
372 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
373 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
376 Requires: filesystem >= 4.0-29
377 Requires: libdrm >= %{libdrm_ver}
378 Requires: llvm-libclc
379 Requires: udev-libs >= 1:151
380 Provides: OpenCL = 1.1
382 %description OpenCL-icd
383 This package contains Mesa implementation of OpenCL - standard for
384 cross-platform, parallel programming of modern processors found in
385 personal computers, servers and handheld/embedded devices. OpenCL
386 specification can be found on Khronos Group site:
387 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
389 The implementation is provided as an installable client driver (ICD)
390 for use with the ocl-icd loader.
392 %description OpenCL-icd -l pl.UTF-8
393 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
394 wieloplatformowego, równoległego programowania nowoczesnych
395 procesorów, jakie znajdują się w komputerach osobistych, serwerach
396 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
397 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
398 Mesa zawiera implementację OpenCL w wersji 1.1.
400 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
401 (ICD), który może być użyty z loaderem ocl-icd.
404 Summary: Mesa implementation of OpenCL (Compuing Language) API
405 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
408 Requires: libdrm >= %{libdrm_ver}
409 Requires: llvm-libclc
410 Requires: udev-libs >= 1:151
411 Provides: OpenCL = 1.1
413 %description libOpenCL
414 This package contains Mesa implementation of OpenCL - standard for
415 cross-platform, parallel programming of modern processors found in
416 personal computers, servers and handheld/embedded devices. OpenCL
417 specification can be found on Khronos Group site:
418 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
420 %description libOpenCL -l pl.UTF-8
421 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
422 wieloplatformowego, równoległego programowania nowoczesnych
423 procesorów, jakie znajdują się w komputerach osobistych, serwerach
424 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
425 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
426 Mesa zawiera implementację OpenCL w wersji 1.1.
428 %package libOpenCL-devel
429 Summary: Header files for Mesa OpenCL library
430 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
432 Group: Development/Libraries
433 Requires: %{name}-libOpenCL = %{version}-%{release}
434 Provides: OpenCL-devel = 1.1
436 %description libOpenCL-devel
437 Header files for Mesa OpenCL library.
439 %description libOpenCL-devel -l pl.UTF-8
440 Pliki nagłówkowe biblioteki Mesa OpenCL.
443 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
444 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
447 Provides: OpenVG = 1.1
449 %description libOpenVG
450 This package contains Mesa implementation of OpenVG - cross-platform
451 API that provides a low-level hardware acceleration interface for
452 vector graphics libraries such as Flash and SVG. OpenVG specification
453 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
454 Mesa implements OpenVG 1.1.
456 %description libOpenVG -l pl.UTF-8
457 Ten pakiet zawiera implementację Mesa standardu OpenVG -
458 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
459 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
460 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
461 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
464 %package libOpenVG-devel
465 Summary: Header file for Mesa OpenVG library
466 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
468 Group: Development/Libraries
469 Requires: %{name}-khrplatform-devel = %{version}-%{release}
470 Requires: %{name}-libOpenVG = %{version}-%{release}
471 Provides: OpenVG-devel = 1.1
473 %description libOpenVG-devel
474 Header file for Mesa OpenVG library.
476 %description libOpenVG-devel -l pl.UTF-8
477 Plik nagłówkowy biblioteki Mesa OpenVG.
479 %package libXvMC-nouveau
480 Summary: Mesa implementation of XvMC API for NVidia adapters
481 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
484 Requires: libdrm >= %{libdrm_ver}
485 Requires: xorg-lib-libXvMC >= 1.0.6
486 Conflicts: Mesa-libXvMC
488 %description libXvMC-nouveau
489 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
491 %description libXvMC-nouveau -l pl.UTF-8
492 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
494 %package libXvMC-r600
495 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
496 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
499 Requires: libdrm >= %{libdrm_ver}
500 Requires: xorg-lib-libXvMC >= 1.0.6
501 Conflicts: Mesa-libXvMC
503 %description libXvMC-r600
504 Mesa implementation of XvMC API for ATI Radeon adapters based on
507 %description libXvMC-r600 -l pl.UTF-8
508 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
512 Summary: Mesa Graphics Buffer Manager library
513 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
515 Requires: %{name}-libglapi = %{version}-%{release}
516 Requires: udev-libs >= 1:151
517 Conflicts: Mesa-libEGL < 8.0.1-2
520 Mesa Graphics Buffer Manager library.
522 %description libgbm -l pl.UTF-8
523 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
525 %package libgbm-devel
526 Summary: Header file for Mesa Graphics Buffer Manager library
527 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
528 Group: Development/Libraries
529 Requires: %{name}-libgbm = %{version}-%{release}
530 Requires: udev-devel >= 1:151
532 %description libgbm-devel
533 Header file for Mesa Graphics Buffer Manager library.
535 %description libgbm-devel -l pl.UTF-8
536 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
539 %package gbm-driver-i915
540 Summary: i915 driver for Mesa GBM framework
541 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
543 Requires: %{name}-libgbm = %{version}-%{release}
544 Obsoletes: Mesa-opencl-driver-i915
546 %description gbm-driver-i915
547 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
548 915/945/G33/Q33/Q35/Pineview chips.
550 %description gbm-driver-i915 -l pl.UTF-8
551 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
552 bufora graficznego). Obsługuje układy Intela z serii
553 915/945/G33/Q33/Q35/Pineview.
555 %package gbm-driver-nouveau
556 Summary: nouveau driver for Mesa GBM framework
557 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
559 Requires: %{name}-libgbm = %{version}-%{release}
560 Obsoletes: Mesa-opencl-driver-nouveau
562 %description gbm-driver-nouveau
563 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
566 %description gbm-driver-nouveau -l pl.UTF-8
567 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
568 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
570 %package gbm-driver-r300
571 Summary: r300 driver for Mesa GBM framework
572 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
574 Requires: %{name}-libgbm = %{version}-%{release}
575 Obsoletes: Mesa-opencl-driver-r300
577 %description gbm-driver-r300
578 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
579 adapters based on R300/R400/RS690/R500 chips.
581 %description gbm-driver-r300 -l pl.UTF-8
582 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
583 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
584 układach R300/R400/RS690/R500.
586 %package gbm-driver-r600
587 Summary: r600 driver for Mesa GBM framework
588 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
590 Requires: %{name}-libgbm = %{version}-%{release}
591 Obsoletes: Mesa-libllvmradeon
592 Obsoletes: Mesa-opencl-driver-r600
594 %description gbm-driver-r600
595 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
596 adapters based on R600/R700 chips.
598 %description gbm-driver-r600 -l pl.UTF-8
599 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
600 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
603 %package gbm-driver-radeonsi
604 Summary: radeonsi driver for Mesa GBM framework
605 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
607 Requires: %{name}-libgbm = %{version}-%{release}
608 Obsoletes: Mesa-libllvmradeon
609 Obsoletes: Mesa-opencl-driver-radeonsi
611 %description gbm-driver-radeonsi
612 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
613 Radeon adapters based on Southern Islands chips.
615 %description gbm-driver-radeonsi -l pl.UTF-8
616 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
617 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
618 oparte na układach Southern Islands.
620 %package gbm-driver-swrast
621 Summary: Software (swrast) driver for Mesa GBM framework
622 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
624 Requires: %{name}-libgbm = %{version}-%{release}
625 Obsoletes: Mesa-opencl-driver-swrast
627 %description gbm-driver-swrast
628 Software (swrast) driver for Mesa Graphics Buffer Manager.
630 %description gbm-driver-swrast -l pl.UTF-8
631 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
632 Manager (zarządcy bufora graficznego).
634 %package gbm-driver-vmwgfx
635 Summary: vmwgfx driver for Mesa GBM framework
636 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
638 Requires: %{name}-libgbm = %{version}-%{release}
639 Obsoletes: Mesa-opencl-driver-vmwgfx
641 %description gbm-driver-vmwgfx
642 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
643 virtual video adapter.
645 %description gbm-driver-vmwgfx -l pl.UTF-8
646 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
647 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
650 Summary: Mesa GL API shared library
651 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
653 Conflicts: Mesa-libEGL < 8.0.1-2
655 %description libglapi
656 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
658 %description libglapi -l pl.UTF-8
659 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
662 %package libwayland-egl
663 Summary: Wayland EGL library
664 Summary(pl.UTF-8): Biblioteka Wayland EGL
666 Requires: libdrm >= %{libdrm_ver}
668 %description libwayland-egl
669 Wayland EGL platform library.
671 %description libwayland-egl -l pl.UTF-8
672 Biblioteka platformy EGL Wayland.
674 %package libwayland-egl-devel
675 Summary: Development files for Wayland EGL library
676 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
677 Group: Development/Libraries
678 Requires: %{name}-libwayland-egl = %{version}-%{release}
679 Requires: libdrm-devel >= %{libdrm_ver}
681 %description libwayland-egl-devel
682 Development files for Wayland EGL platform library.
684 %description libwayland-egl-devel -l pl.UTF-8
685 Pliki programistyczne biblioteki platformy EGL Wayland.
687 %package libxatracker
688 Summary: Xorg Gallium3D accelleration library
689 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
691 Requires: libdrm >= %{libdrm_ver}
693 %description libxatracker
694 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
696 %description libxatracker -l pl.UTF-8
697 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
700 %package libxatracker-devel
701 Summary: Header files for Xorg Gallium3D accelleration library
702 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
703 Group: X11/Development/Libraries
704 Requires: %{name}-libxatracker = %{version}-%{release}
705 Requires: libdrm-devel >= %{libdrm_ver}
707 %description libxatracker-devel
708 Header files for Xorg Gallium3D accelleration library.
710 %description libxatracker-devel -l pl.UTF-8
711 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
713 %package khrplatform-devel
714 Summary: Khronos platform header file
715 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
716 Group: Development/Libraries
717 Conflicts: Mesa-libEGL-devel < 8.0.1-2
719 %description khrplatform-devel
720 Khronos platform header file.
722 %description khrplatform-devel -l pl.UTF-8
723 Plik nagłówkowy platformy Khronos.
725 %package dri-driver-ati-radeon-R100
726 Summary: X.org DRI driver for ATI R100 card family
727 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
730 Requires: xorg-driver-video-ati
731 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
732 Requires: xorg-xserver-server >= %{xserver_ver}
733 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
735 %description dri-driver-ati-radeon-R100
736 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
738 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
739 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
741 %package dri-driver-ati-radeon-R200
742 Summary: X.org DRI driver for ATI R200 card family
743 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
746 Requires: xorg-driver-video-ati
747 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
748 Requires: xorg-xserver-server >= %{xserver_ver}
749 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
751 %description dri-driver-ati-radeon-R200
752 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
754 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
755 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
757 %package dri-driver-ati-radeon-R300
758 Summary: X.org DRI driver for ATI R300 card family
759 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
762 Requires: xorg-driver-video-ati
763 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
764 Requires: xorg-xserver-server >= %{xserver_ver}
765 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
767 %description dri-driver-ati-radeon-R300
768 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
770 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
771 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
773 %package dri-driver-ati-radeon-R600
774 Summary: X.org DRI driver for ATI R600 card family
775 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
778 Requires: radeon-ucode
779 Requires: xorg-driver-video-ati
780 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
781 Requires: xorg-xserver-server >= %{xserver_ver}
783 %description dri-driver-ati-radeon-R600
784 X.org DRI driver for ATI R600/R700 card family.
786 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
787 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
789 %package dri-driver-ati-radeon-SI
790 Summary: X.org DRI driver for ATI Southern Islands card family
791 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
794 Requires: radeon-ucode
795 Requires: xorg-driver-video-ati
796 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
797 Requires: xorg-xserver-server >= %{xserver_ver}
799 %description dri-driver-ati-radeon-SI
800 X.org DRI driver for ATI Southern Islands card family.
802 %description dri-driver-ati-radeon-SI -l pl.UTF-8
803 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
805 %package dri-driver-intel-i915
806 Summary: X.org DRI driver for Intel i915 card family
807 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
810 Requires: xorg-driver-video-intel
811 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
812 Requires: xorg-xserver-server >= %{xserver_ver}
813 Obsoletes: Mesa-dri-driver-intel-i830
814 Obsoletes: X11-driver-i810-dri < 1:7.0.0
816 %description dri-driver-intel-i915
817 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
820 %description dri-driver-intel-i915 -l pl.UTF-8
821 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
824 %package dri-driver-intel-i965
825 Summary: X.org DRI driver for Intel i965 card family
826 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
829 Requires: xorg-driver-video-intel
830 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
831 Requires: xorg-xserver-server >= %{xserver_ver}
832 Obsoletes: Mesa-dri-driver-intel-i830
833 Obsoletes: X11-driver-i810-dri < 1:7.0.0
835 %description dri-driver-intel-i965
836 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
837 965GME, GM45, G41, B43, Q45, G45);
839 %description dri-driver-intel-i965 -l pl.UTF-8
840 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
841 965GM, 965GME, GM45, G41, B43, Q45, G45).
843 %package dri-driver-nouveau
844 Summary: X.org DRI driver for NVIDIA card family
845 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
848 Requires: xorg-driver-video-nouveau
849 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
850 Requires: xorg-xserver-server >= %{xserver_ver}
852 %description dri-driver-nouveau
853 X.org DRI drivers for NVIDIA card family.
855 %description dri-driver-nouveau -l pl.UTF-8
856 Sterowniki X.org DRI dla rodziny kart NVIDIA.
858 %package dri-driver-swrast
859 Summary: X.org DRI software rasterizer driver
860 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
863 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
864 Requires: xorg-xserver-server >= %{xserver_ver}
866 %description dri-driver-swrast
867 X.org DRI software rasterizer driver.
869 %description dri-driver-swrast -l pl.UTF-8
870 Sterownik X.org DRI obsługujący rysowanie programowe.
872 %package dri-driver-vmwgfx
873 Summary: X.org DRI driver for VMware
874 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
877 Requires: xorg-driver-video-vmware
878 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
879 Requires: xorg-xserver-server >= %{xserver_ver}
881 %description dri-driver-vmwgfx
882 X.org DRI driver for VMWare.
884 %description dri-driver-vmwgfx -l pl.UTF-8
885 Sterownik X.org DRI dla VMware.
887 %package -n libvdpau-driver-mesa-nouveau
888 Summary: Mesa nouveau driver for the vdpau API
889 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
892 Requires: libdrm >= %{libdrm_ver}
893 Requires: libvdpau >= 0.4.1
894 Conflicts: libvdpau-driver-mesa
896 %description -n libvdpau-driver-mesa-nouveau
897 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
900 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
901 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
904 %package -n libvdpau-driver-mesa-r600
905 Summary: Mesa r600 driver for the vdpau API
906 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
909 Requires: libdrm >= %{libdrm_ver}
910 Requires: libvdpau >= 0.4.1
911 Conflicts: libvdpau-driver-mesa
913 %description -n libvdpau-driver-mesa-r600
914 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
915 based on R600/R700 chips.
917 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
918 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
919 na układach R600/R700.
921 %package -n libvdpau-driver-mesa-radeonsi
922 Summary: Mesa radeonsi driver for the vdpau API
923 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
926 Requires: libdrm >= %{libdrm_ver}
927 Requires: libvdpau >= 0.4.1
928 Conflicts: libvdpau-driver-mesa
929 Obsoletes: Mesa-libllvmradeon
931 %description -n libvdpau-driver-mesa-radeonsi
932 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
933 adapters based on Southern Islands chips.
935 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
936 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
937 oparte na układach Southern Islands.
939 %package -n omxil-mesa
940 Summary: Mesa driver for Bellagio OpenMAX IL API
941 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
944 Requires: libdrm >= %{libdrm_ver}
945 Requires: libxcb >= 1.8
946 Requires: libomxil-bellagio
947 Obsoletes: omxil-mesa-nouveau
948 Obsoletes: omxil-mesa-r600
949 Obsoletes: omxil-mesa-radeonsi
951 %description -n omxil-mesa
952 Mesa driver for Bellagio OpenMAX IL API.
954 %description -n omxil-mesa -l pl.UTF-8
955 Sterownik Mesa dla API Bellagio OpenMAX IL.
957 %package -n omxil-mesa-nouveau
958 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
959 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
962 Requires: libdrm >= %{libdrm_ver}
963 Requires: libxcb >= 1.8
964 Requires: libomxil-bellagio
966 %description -n omxil-mesa-nouveau
967 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
968 adapters (NV40-NV96, NVa0).
970 %description -n omxil-mesa-nouveau -l pl.UTF-8
971 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
972 NVidia (NV40-NV96, NVa0).
974 %package -n omxil-mesa-r600
975 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
976 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
979 Requires: libdrm >= %{libdrm_ver}
980 Requires: libxcb >= 1.8
981 Requires: libomxil-bellagio
983 %description -n omxil-mesa-r600
984 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
985 adapters based on R600/R700 chips.
987 %description -n omxil-mesa-r600 -l pl.UTF-8
988 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
989 Radeon oparte na układach R600/R700.
991 %package -n omxil-mesa-radeonsi
992 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
993 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
996 Requires: libdrm >= %{libdrm_ver}
997 Requires: libxcb >= 1.8
998 Requires: libomxil-bellagio
1000 %description -n omxil-mesa-radeonsi
1001 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1002 Radeon adapters based on Southern Islands chips.
1004 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1005 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1006 ATI Radeon oparte na układach Southern Islands.
1018 dri_drivers="r200 radeon \
1019 %if %{without gallium_intel}
1024 %ifarch sparc sparcv9 sparc64
1029 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1031 gallium_drivers="svga swrast \
1032 %if %{with gallium_intel}
1035 %if %{with gallium_radeon}
1040 %if %{with gallium_nouveau}
1045 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1048 --disable-silent-rules \
1052 %{?with_static_libs:--enable-static} \
1055 --enable-shared-glapi \
1060 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1063 --enable-gallium-llvm \
1064 --enable-llvm-shared-libs \
1065 %{__enable egl gallium-egl} \
1066 %{__enable gbm gallium-gbm} \
1067 %{__enable ocl_icd opencl-icd} \
1068 %{__enable opencl opencl} \
1069 %{?with_egl:--enable-openvg} \
1071 %{?with_omx:--enable-omx} \
1072 %{?with_xa:--enable-xa} \
1074 --with-gallium-drivers=${gallium_drivers} \
1076 --without-gallium-drivers \
1078 --with-dri-drivers=${dri_drivers} \
1079 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1083 %{?with_tests:%{__make} check}
1086 rm -rf $RPM_BUILD_ROOT
1089 DESTDIR=$RPM_BUILD_ROOT
1091 # strip out undesirable headers
1092 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1093 # dlopened by soname
1094 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1095 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0
1096 # dlopened by soname or .so link
1097 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0
1098 # not used externally
1099 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1101 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1102 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1103 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1105 # not defined by standards; and not needed, there is pkg-config support
1106 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1108 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1109 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1110 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1113 rm -rf $RPM_BUILD_ROOT
1115 %post libEGL -p /sbin/ldconfig
1116 %postun libEGL -p /sbin/ldconfig
1118 %post libGL -p /sbin/ldconfig
1119 %postun libGL -p /sbin/ldconfig
1121 %post libGLES -p /sbin/ldconfig
1122 %postun libGLES -p /sbin/ldconfig
1124 %post libOSMesa -p /sbin/ldconfig
1125 %postun libOSMesa -p /sbin/ldconfig
1127 %post libOpenCL -p /sbin/ldconfig
1128 %postun libOpenCL -p /sbin/ldconfig
1130 %post libOpenVG -p /sbin/ldconfig
1131 %postun libOpenVG -p /sbin/ldconfig
1133 %post libXvMC-nouveau -p /sbin/ldconfig
1134 %postun libXvMC-nouveau -p /sbin/ldconfig
1135 %post libXvMC-r600 -p /sbin/ldconfig
1136 %postun libXvMC-r600 -p /sbin/ldconfig
1138 %post libgbm -p /sbin/ldconfig
1139 %postun libgbm -p /sbin/ldconfig
1141 %post libglapi -p /sbin/ldconfig
1142 %postun libglapi -p /sbin/ldconfig
1144 %post libwayland-egl -p /sbin/ldconfig
1145 %postun libwayland-egl -p /sbin/ldconfig
1147 %post libxatracker -p /sbin/ldconfig
1148 %postun libxatracker -p /sbin/ldconfig
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1154 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1157 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_libdir}/libEGL.so
1163 %dir %{_includedir}/EGL
1164 %{_includedir}/EGL/egl.h
1165 %{_includedir}/EGL/eglext.h
1166 %{_includedir}/EGL/eglextchromium.h
1167 %{_includedir}/EGL/eglmesaext.h
1168 %{_includedir}/EGL/eglplatform.h
1169 %{_pkgconfigdir}/egl.pc
1171 %if %{with static_libs}
1172 %files libEGL-static
1173 %defattr(644,root,root,755)
1179 %defattr(644,root,root,755)
1180 %doc docs/{*.html,README.UVD,relnotes/*.html}
1181 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1182 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1183 # symlink for binary apps which fail to conform Linux OpenGL ABI
1184 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1185 %attr(755,root,root) %{_libdir}/libGL.so
1186 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1189 %defattr(644,root,root,755)
1191 %dir %{_includedir}/GL
1192 %{_includedir}/GL/gl.h
1193 %{_includedir}/GL/glcorearb.h
1194 %{_includedir}/GL/glext.h
1195 %{_includedir}/GL/gl_mangle.h
1196 %{_includedir}/GL/glx.h
1197 %{_includedir}/GL/glxext.h
1198 %{_includedir}/GL/glx_mangle.h
1199 %dir %{_includedir}/GL/internal
1200 %{_includedir}/GL/internal/dri_interface.h
1201 %{_pkgconfigdir}/dri.pc
1202 %{_pkgconfigdir}/gl.pc
1204 %if %{with static_libs}
1206 %defattr(644,root,root,755)
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1213 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1214 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1215 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1217 %files libGLES-devel
1218 %defattr(644,root,root,755)
1219 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1220 %attr(755,root,root) %{_libdir}/libGLESv2.so
1222 %{_includedir}/GLES2
1223 %{_includedir}/GLES3
1224 %{_pkgconfigdir}/glesv1_cm.pc
1225 %{_pkgconfigdir}/glesv2.pc
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1230 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1232 %files libOSMesa-devel
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_libdir}/libOSMesa.so
1235 %{_includedir}/GL/osmesa.h
1236 %{_pkgconfigdir}/osmesa.pc
1238 %if %{with static_libs}
1239 %files libOSMesa-static
1240 %defattr(644,root,root,755)
1241 %{_libdir}/libOSMesa.a
1247 %defattr(644,root,root,755)
1248 /etc/OpenCL/vendors/mesa.icd
1249 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1250 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1251 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1256 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1258 %files libOpenCL-devel
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_libdir}/libOpenCL.so
1265 %if %{with egl} && %{with gallium}
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1269 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1271 %files libOpenVG-devel
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_libdir}/libOpenVG.so
1275 %{_pkgconfigdir}/vg.pc
1279 %if %{with gallium_nouveau}
1280 %files libXvMC-nouveau
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1283 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1286 %if %{with gallium_radeon}
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1290 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1298 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1301 %dir %{_libdir}/gallium-pipe
1302 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libdir}/libgbm.so
1308 %{_includedir}/gbm.h
1309 %{_pkgconfigdir}/gbm.pc
1313 %if %{with gallium_intel}
1314 %files gbm-driver-i915
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1319 %if %{with gallium_nouveau}
1320 %files gbm-driver-nouveau
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1325 %if %{with gallium_radeon}
1326 %files gbm-driver-r300
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1330 %files gbm-driver-r600
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1334 %files gbm-driver-radeonsi
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1339 %files gbm-driver-swrast
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1343 %files gbm-driver-vmwgfx
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1351 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1352 # libglapi-devel? nothing seems to need it atm.
1353 #%attr(755,root,root) %{_libdir}/libglapi.so
1356 %files libwayland-egl
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1359 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1361 %files libwayland-egl-devel
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1364 %{_pkgconfigdir}/wayland-egl.pc
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1371 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1373 %files libxatracker-devel
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_libdir}/libxatracker.so
1376 %{_includedir}/xa_composite.h
1377 %{_includedir}/xa_context.h
1378 %{_includedir}/xa_tracker.h
1379 %{_pkgconfigdir}/xatracker.pc
1383 %files khrplatform-devel
1384 %defattr(644,root,root,755)
1385 %dir %{_includedir}/KHR
1386 %{_includedir}/KHR/khrplatform.h
1389 %files dri-driver-ati-radeon-R100
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1393 %files dri-driver-ati-radeon-R200
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1398 %if %{with gallium_radeon}
1399 %files dri-driver-ati-radeon-R300
1400 %defattr(644,root,root,755)
1401 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1403 %files dri-driver-ati-radeon-R600
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1407 %files dri-driver-ati-radeon-SI
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1413 %files dri-driver-intel-i915
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1417 %files dri-driver-intel-i965
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1421 %files dri-driver-nouveau
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1424 %if %{with gallium_nouveau}
1425 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1428 %files dri-driver-swrast
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1431 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1434 %files dri-driver-vmwgfx
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1440 # ldconfig is not used in vdpau tree, so package all symlinks
1441 %if %{with gallium_nouveau}
1442 %files -n libvdpau-driver-mesa-nouveau
1443 %defattr(644,root,root,755)
1444 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1445 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1446 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1449 %if %{with gallium_radeon}
1450 %files -n libvdpau-driver-mesa-r600
1451 %defattr(644,root,root,755)
1452 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1453 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1454 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1456 %files -n libvdpau-driver-mesa-radeonsi
1457 %defattr(644,root,root,755)
1458 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1459 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1460 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1464 %if %{with gallium} && %{with omx}
1465 %files -n omxil-mesa
1466 %defattr(644,root,root,755)
1467 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so