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 egl # EGL libraries
13 %bcond_without gbm # Graphics Buffer Manager
14 %bcond_without opencl # OpenCL library
15 %bcond_without wayland # Wayland EGL
16 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
17 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
18 %bcond_with tests # tests
20 # glapi version (glapi tables in dri drivers and libglx must be in sync);
21 # set to current Mesa version on ABI break, when xserver tables get regenerated
22 # (until they start to be somehow versioned themselves)
23 %define glapi_ver 7.1.0
24 # internal API version (libdricore); a.b.c for Mesa-a.b.c, a.b.0 for Mesa-a.b
25 %define int_sover 9.2.1
26 # minimal supported xserver version
27 %define xserver_ver 1.5.0
29 %define libdrm_ver 2.4.46
30 %define dri2proto_ver 2.6
31 %define glproto_ver 1.4.14
33 Summary: Free OpenGL implementation
34 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
38 License: MIT (core) and others - see license.html file
40 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
41 # Source0-md5: dd4c82667d9c19c28a553b12eba3f8a0
42 Patch0: %{name}-link.patch
43 Patch1: 0001-gallium-egl-Simplify-native_wayland_drm_bufmgr_helpe.patch
44 Patch2: 0002-gallium-egl-Don-t-add-a-listener-for-wl_drm-twice-in.patch
45 Patch3: 0003-egl-Update-to-Wayland-1.2-server-API.patch
46 Patch4: 0004-gallium-egl-Commit-the-rest-of-the-native_wayland_dr.patch
47 URL: http://www.mesa3d.org/
48 BuildRequires: autoconf >= 2.60
49 BuildRequires: automake
50 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
51 BuildRequires: expat-devel
52 BuildRequires: gcc >= 5:3.3
53 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
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.9
61 BuildRequires: llvm-devel >= 3.3
62 %{?with_opencl:BuildRequires: llvm-libclc}
63 BuildRequires: perl-base
64 BuildRequires: pixman-devel
65 BuildRequires: pkgconfig
66 BuildRequires: pkgconfig(talloc) >= 2.0.1
67 BuildRequires: python >= 2
68 BuildRequires: python-libxml2
69 BuildRequires: python-modules >= 2
70 BuildRequires: rpmbuild(macros) >= 1.470
71 BuildRequires: sed >= 4.0
72 %{?with_egl:BuildRequires: udev-devel >= 1:151}
73 # wayland-{client,server}
74 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.2}
75 BuildRequires: xorg-lib-libXdamage-devel
76 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
77 BuildRequires: xorg-lib-libXfixes-devel
78 BuildRequires: xorg-lib-libXt-devel
79 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
80 BuildRequires: xorg-lib-libXxf86vm-devel
81 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
82 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
83 BuildRequires: xorg-util-makedepend
84 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
86 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
87 BuildRequires: xorg-xserver-server-devel >= 1.6.0
89 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91 %if %{without gallium}
92 %undefine with_gallium_intel
93 %undefine with_gallium_nouveau
100 %undefine with_wayland
103 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
104 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
105 # libdricore: internal library, not linked with libglapi
106 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
107 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.*
110 %define filterout_ld -Wl,--as-needed
113 Mesa is a 3-D graphics library with an API which is very similar to
114 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
115 syntax or state machine, it is being used with authorization from
116 Silicon Graphics, Inc. However, the author does not possess an OpenGL
117 license from SGI, and makes no claim that Mesa is in any way a
118 compatible replacement for OpenGL or associated with SGI.
120 %description -l pl.UTF-8
121 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
122 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
123 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
124 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
125 OpenGL ani powiązana z SGI.
128 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
129 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
132 Requires: %{name}-libglapi = %{version}-%{release}
133 # glx driver in libEGL dlopens libGL.so
134 Requires: OpenGL >= 1.2
135 Requires: libdrm >= %{libdrm_ver}
136 Requires: libxcb >= 1.9
137 %{?with_wayland:Requires: wayland >= 1.0.2}
140 Requires: %{name}-libOpenVG = %{version}-%{release}
141 Requires: udev-libs >= 1:151
144 Requires: %{name}-libgbm = %{version}-%{release}
149 This package contains shared libEGL - Mesa implementation of EGL
150 Native Platform Graphics Interface as specified by Khronos Group:
151 <http://www.khronos.org/egl/>.
153 %description libEGL -l pl.UTF-8
154 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
155 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
156 graficznego platformy natywnej) wg specyfikacji Khronos Group:
157 <http://www.khronos.org/egl/>.
159 %package libEGL-devel
160 Summary: Header files for Mesa implementation of EGL library
161 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
163 Group: Development/Libraries
164 Requires: %{name}-khrplatform-devel = %{version}-%{release}
165 Requires: %{name}-libEGL = %{version}-%{release}
166 Requires: libdrm-devel >= %{libdrm_ver}
167 Requires: xorg-lib-libX11-devel
168 Requires: xorg-lib-libXdamage-devel
169 Requires: xorg-lib-libXext-devel
170 Requires: xorg-lib-libXfixes-devel
171 Requires: xorg-lib-libXxf86vm-devel
172 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
173 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
174 Provides: EGL-devel = 1.4
176 %description libEGL-devel
177 Header files for Mesa implementation of EGL library.
179 %description libEGL-devel -l pl.UTF-8
180 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
182 %package libEGL-static
183 Summary: Static Mesa EGL library
184 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
186 Group: Development/Libraries
187 Requires: %{name}-libEGL-devel = %{version}-%{release}
188 Provides: EGL-static = 1.4
190 %description libEGL-static
191 Static Mesa EGL library.
193 %description libEGL-static -l pl.UTF-8
194 Statyczna biblioteka Mesa EGL.
197 Summary: Free Mesa3D implementation of libGL OpenGL library
198 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
201 Requires: %{name}-libglapi = %{version}-%{release}
202 Requires: libdrm >= %{libdrm_ver}
203 Provides: OpenGL = 3.1
204 Provides: OpenGL-GLX = 1.4
207 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
208 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
211 Mesa is a 3-D graphics library with an API which is very similar to
212 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
213 syntax or state machine, it is being used with authorization from
214 Silicon Graphics, Inc. However, the author does not possess an OpenGL
215 license from SGI, and makes no claim that Mesa is in any way a
216 compatible replacement for OpenGL or associated with SGI.
218 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
219 specifications. It uses DRI for rendering.
221 %description libGL -l pl.UTF-8
222 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
223 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
224 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
225 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
226 OpenGL ani powiązana z SGI.
228 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
229 GLX 1.4. Używa DRI do renderowania.
232 Summary: Header files for Mesa3D libGL library
233 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
235 Group: X11/Development/Libraries
236 # loose dependency on libGL to use with other libGL binaries
237 Requires: OpenGL >= 1.5
238 Requires: libdrm-devel >= %{libdrm_ver}
239 Requires: xorg-lib-libX11-devel
240 Requires: xorg-lib-libXdamage-devel
241 Requires: xorg-lib-libXext-devel
242 Requires: xorg-lib-libXxf86vm-devel
243 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
244 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
245 Suggests: OpenGL-doc-man
246 Provides: OpenGL-GLX-devel = 1.4
247 Provides: OpenGL-devel = 3.1
248 Obsoletes: Mesa-devel
249 Obsoletes: X11-OpenGL-devel < 1:7.0.0
250 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
251 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
252 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
254 %description libGL-devel
255 Header files for Mesa3D libGL library.
257 %description libGL-devel -l pl.UTF-8
258 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
260 %package libGL-static
261 Summary: Static Mesa3D libGL library
262 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
264 Group: X11/Development/Libraries
265 Requires: %{name}-libGL-devel = %{version}-%{release}
266 Provides: OpenGL-static = 3.1
267 Obsoletes: Mesa-static
268 Obsoletes: X11-OpenGL-static < 1:7.0.0
269 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
271 %description libGL-static
272 Static Mesa3D libGL library. It uses software renderer.
274 %description libGL-static -l pl.UTF-8
275 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
279 Summary: Mesa implementation of GLES (OpenGL ES) libraries
280 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
282 Requires: %{name}-libglapi = %{version}-%{release}
284 Provides: OpenGLESv1 = 1.1
285 Provides: OpenGLESv2 = 2.0
288 This package contains shared libraries of Mesa implementation of GLES
289 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
290 on embedded systems. OpenGL ES specification can be found on Khronos
291 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
294 %description libGLES -l pl.UTF-8
295 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
296 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
297 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
298 OpenGL ES można znaleźć na stronie Khronos Group:
299 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
302 %package libGLES-devel
303 Summary: Header files for Mesa GLES libraries
304 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
305 Group: Development/Libraries
306 Requires: %{name}-khrplatform-devel = %{version}-%{release}
307 # <EGL/egl.h> for <GLES/egl.h>
308 Requires: %{name}-libEGL-devel = %{version}-%{release}
309 Requires: %{name}-libGLES = %{version}-%{release}
310 Provides: OpenGLES-devel
311 Provides: OpenGLESv1-devel = 1.1
312 Provides: OpenGLESv2-devel = 2.0
314 %description libGLES-devel
315 Header files for Mesa GLES libraries.
317 %description libGLES-devel -l pl.UTF-8
318 Pliki nagłówkowe bibliotek Mesa GLES.
321 Summary: OSMesa (off-screen renderer) library
322 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
326 %description libOSMesa
327 OSMesa (off-screen renderer) library.
329 %description libOSMesa -l pl.UTF-8
330 Biblioteka OSMesa (renderująca bitmapy w pamięci).
332 %package libOSMesa-devel
333 Summary: Header file for OSMesa (off-screen renderer) library
334 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
336 Group: Development/Libraries
337 Requires: %{name}-libOSMesa = %{version}-%{release}
339 Requires: OpenGL-devel
340 Requires: libselinux-devel
342 %description libOSMesa-devel
343 Header file for OSMesa (off-screen renderer) library.
345 %description libOSMesa-devel -l pl.UTF-8
346 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
348 %package libOSMesa-static
349 Summary: Static OSMesa (off-screen renderer) library
350 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
352 Group: Development/Libraries
353 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
354 # this static build of OSMesa needs static non-dri Mesa implementation
355 Requires: %{name}-libGL-static = %{version}-%{release}
357 %description libOSMesa-static
358 Static OSMesa (off-screen renderer) library.
360 %description libOSMesa-static -l pl.UTF-8
361 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
364 Summary: Mesa implementation of OpenCL (Compuing Language) API
365 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
368 Requires: libdrm >= %{libdrm_ver}
369 Requires: llvm-libclc
370 Requires: udev-libs >= 1:151
371 Provides: OpenCL = 1.1
373 %description libOpenCL
374 This package contains Mesa implementation of OpenCL - standard for
375 cross-platform, parallel programming of modern processors found in
376 personal computers, servers and handheld/embedded devices. OpenCL
377 specification can be found on Khronos Group site:
378 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
380 %description libOpenCL -l pl.UTF-8
381 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
382 wieloplatformowego, równoległego programowania nowoczesnych
383 procesorów, jakie znajdują się w komputerach osobistych, serwerach
384 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
385 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
386 Mesa zawiera implementację OpenCL w wersji 1.1.
388 %package libOpenCL-devel
389 Summary: Header files for Mesa OpenCL library
390 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
392 Group: Development/Libraries
393 Requires: %{name}-libOpenCL = %{version}-%{release}
394 Provides: OpenCL-devel = 1.1
396 %description libOpenCL-devel
397 Header files for Mesa OpenCL library.
399 %description libOpenCL-devel -l pl.UTF-8
400 Pliki nagłówkowe biblioteki Mesa OpenCL.
403 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
404 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
407 Provides: OpenVG = 1.1
409 %description libOpenVG
410 This package contains Mesa implementation of OpenVG - cross-platform
411 API that provides a low-level hardware acceleration interface for
412 vector graphics libraries such as Flash and SVG. OpenVG specification
413 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
414 Mesa implements OpenVG 1.1.
416 %description libOpenVG -l pl.UTF-8
417 Ten pakiet zawiera implementację Mesa standardu OpenVG -
418 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
419 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
420 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
421 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
424 %package libOpenVG-devel
425 Summary: Header file for Mesa OpenVG library
426 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
428 Group: Development/Libraries
429 Requires: %{name}-khrplatform-devel = %{version}-%{release}
430 Requires: %{name}-libOpenVG = %{version}-%{release}
431 Provides: OpenVG-devel = 1.1
433 %description libOpenVG-devel
434 Header file for Mesa OpenVG library.
436 %description libOpenVG-devel -l pl.UTF-8
437 Plik nagłówkowy biblioteki Mesa OpenVG.
439 %package libXvMC-nouveau
440 Summary: Mesa implementation of XvMC API for NVidia adapters
441 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
444 Requires: libdrm >= %{libdrm_ver}
445 Requires: xorg-lib-libXvMC >= 1.0.6
446 Conflicts: Mesa-libXvMC
448 %description libXvMC-nouveau
449 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
451 %description libXvMC-nouveau -l pl.UTF-8
452 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
454 %package libXvMC-r300
455 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
456 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
459 Requires: libdrm >= %{libdrm_ver}
460 Requires: xorg-lib-libXvMC >= 1.0.6
461 Conflicts: Mesa-libXvMC
463 %description libXvMC-r300
464 Mesa implementation of XvMC API for ATI Radeon adapters based on
465 R300/R400/RS690/R500 chips.
467 %description libXvMC-r300 -l pl.UTF-8
468 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
469 R300/R400/RS690/R500.
471 %package libXvMC-r600
472 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
473 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
476 Requires: libdrm >= %{libdrm_ver}
477 Requires: xorg-lib-libXvMC >= 1.0.6
478 Conflicts: Mesa-libXvMC
480 %description libXvMC-r600
481 Mesa implementation of XvMC API for ATI Radeon adapters based on
484 %description libXvMC-r600 -l pl.UTF-8
485 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
488 %package libXvMC-softpipe
489 Summary: Mesa softpipe implementation of XvMC API
490 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
493 Requires: libdrm >= %{libdrm_ver}
494 Requires: xorg-lib-libXvMC >= 1.0.6
495 Conflicts: Mesa-libXvMC
497 %description libXvMC-softpipe
498 Mesa softpipe implementation of XvMC API.
500 %description libXvMC-softpipe -l pl.UTF-8
501 Implementacja Mesa softpipe API XvMC.
504 Summary: Mesa Graphics Buffer Manager library
505 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
507 Requires: %{name}-libglapi = %{version}-%{release}
508 Requires: udev-libs >= 1:151
509 Conflicts: Mesa-libEGL < 8.0.1-2
512 Mesa Graphics Buffer Manager library.
514 %description libgbm -l pl.UTF-8
515 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
517 %package libgbm-devel
518 Summary: Header file for Mesa Graphics Buffer Manager library
519 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
520 Group: Development/Libraries
521 Requires: %{name}-libgbm = %{version}-%{release}
522 Requires: udev-devel >= 1:151
524 %description libgbm-devel
525 Header file for Mesa Graphics Buffer Manager library.
527 %description libgbm-devel -l pl.UTF-8
528 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
531 %package gbm-driver-i915
532 Summary: i915 driver for Mesa GBM framework
533 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
535 Requires: %{name}-libgbm = %{version}-%{release}
536 Obsoletes: Mesa-opencl-driver-i915
538 %description gbm-driver-i915
539 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
540 915/945/G33/Q33/Q35/Pineview chips.
542 %description gbm-driver-i915 -l pl.UTF-8
543 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
544 bufora graficznego). Obsługuje układy Intela z serii
545 915/945/G33/Q33/Q35/Pineview.
547 %package gbm-driver-nouveau
548 Summary: nouveau driver for Mesa GBM framework
549 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
551 Requires: %{name}-libgbm = %{version}-%{release}
552 Obsoletes: Mesa-opencl-driver-nouveau
554 %description gbm-driver-nouveau
555 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
558 %description gbm-driver-nouveau -l pl.UTF-8
559 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
560 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
562 %package gbm-driver-r300
563 Summary: r300 driver for Mesa GBM framework
564 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
566 Requires: %{name}-libgbm = %{version}-%{release}
567 Obsoletes: Mesa-opencl-driver-r300
569 %description gbm-driver-r300
570 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
571 adapters based on R300/R400/RS690/R500 chips.
573 %description gbm-driver-r300 -l pl.UTF-8
574 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
575 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
576 układach R300/R400/RS690/R500.
578 %package gbm-driver-r600
579 Summary: r600 driver for Mesa GBM framework
580 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
582 Requires: %{name}-libgbm = %{version}-%{release}
583 Obsoletes: Mesa-libllvmradeon
584 Obsoletes: Mesa-opencl-driver-r600
586 %description gbm-driver-r600
587 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
588 adapters based on R600/R700 chips.
590 %description gbm-driver-r600 -l pl.UTF-8
591 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
592 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
595 %package gbm-driver-radeonsi
596 Summary: radeonsi driver for Mesa GBM framework
597 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
599 Requires: %{name}-libgbm = %{version}-%{release}
600 Obsoletes: Mesa-libllvmradeon
601 Obsoletes: Mesa-opencl-driver-radeonsi
603 %description gbm-driver-radeonsi
604 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
605 Radeon adapters based on Southern Islands chips.
607 %description gbm-driver-radeonsi -l pl.UTF-8
608 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
609 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
610 oparte na układach Southern Islands.
612 %package gbm-driver-swrast
613 Summary: Software (swrast) driver for Mesa GBM framework
614 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
616 Requires: %{name}-libgbm = %{version}-%{release}
617 Obsoletes: Mesa-opencl-driver-swrast
619 %description gbm-driver-swrast
620 Software (swrast) driver for Mesa Graphics Buffer Manager.
622 %description gbm-driver-swrast -l pl.UTF-8
623 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
624 Manager (zarządcy bufora graficznego).
626 %package gbm-driver-vmwgfx
627 Summary: vmwgfx driver for Mesa GBM framework
628 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
630 Requires: %{name}-libgbm = %{version}-%{release}
631 Obsoletes: Mesa-opencl-driver-vmwgfx
633 %description gbm-driver-vmwgfx
634 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
635 virtual video adapter.
637 %description gbm-driver-vmwgfx -l pl.UTF-8
638 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
639 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
642 Summary: Mesa GL API shared library
643 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
645 Conflicts: Mesa-libEGL < 8.0.1-2
647 %description libglapi
648 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
650 %description libglapi -l pl.UTF-8
651 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
654 %package libwayland-egl
655 Summary: Wayland EGL library
656 Summary(pl.UTF-8): Biblioteka Wayland EGL
658 Requires: libdrm >= %{libdrm_ver}
660 %description libwayland-egl
661 Wayland EGL platform library.
663 %description libwayland-egl -l pl.UTF-8
664 Biblioteka platformy EGL Wayland.
666 %package libwayland-egl-devel
667 Summary: Development files for Wayland EGL library
668 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
669 Group: Development/Libraries
670 Requires: %{name}-libwayland-egl = %{version}-%{release}
671 Requires: libdrm-devel >= %{libdrm_ver}
673 %description libwayland-egl-devel
674 Development files for Wayland EGL platform library.
676 %description libwayland-egl-devel -l pl.UTF-8
677 Pliki programistyczne biblioteki platformy EGL Wayland.
679 %package libxatracker
680 Summary: Xorg Gallium3D accelleration library
681 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
683 Requires: libdrm >= %{libdrm_ver}
685 %description libxatracker
686 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
688 %description libxatracker -l pl.UTF-8
689 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
692 %package libxatracker-devel
693 Summary: Header files for Xorg Gallium3D accelleration library
694 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
695 Group: X11/Development/Libraries
696 Requires: %{name}-libxatracker = %{version}-%{release}
697 Requires: libdrm-devel >= %{libdrm_ver}
699 %description libxatracker-devel
700 Header files for Xorg Gallium3D accelleration library.
702 %description libxatracker-devel -l pl.UTF-8
703 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
705 %package khrplatform-devel
706 Summary: Khronos platform header file
707 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
708 Group: Development/Libraries
709 Conflicts: Mesa-libEGL-devel < 8.0.1-2
711 %description khrplatform-devel
712 Khronos platform header file.
714 %description khrplatform-devel -l pl.UTF-8
715 Plik nagłówkowy platformy Khronos.
718 Summary: X.org DRI core library
719 Summary(pl.UTF-8): Biblioteka X.org DRI core
722 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
723 Requires: xorg-xserver-server >= %{xserver_ver}
725 %description dri-core
726 X.org DRI core library.
728 %description dri-core -l pl.UTF-8
729 Biblioteka X.org DRI core.
731 %package dri-driver-ati-radeon-R100
732 Summary: X.org DRI driver for ATI R100 card family
733 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
736 Requires: %{name}-dri-core = %{version}-%{release}
737 Requires: xorg-driver-video-ati
738 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
739 Requires: xorg-xserver-server >= %{xserver_ver}
740 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
742 %description dri-driver-ati-radeon-R100
743 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
745 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
746 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
748 %package dri-driver-ati-radeon-R200
749 Summary: X.org DRI driver for ATI R200 card family
750 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
753 Requires: %{name}-dri-core = %{version}-%{release}
754 Requires: xorg-driver-video-ati
755 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
756 Requires: xorg-xserver-server >= %{xserver_ver}
757 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
759 %description dri-driver-ati-radeon-R200
760 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
762 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
763 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
765 %package dri-driver-ati-radeon-R300
766 Summary: X.org DRI driver for ATI R300 card family
767 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
770 Requires: xorg-driver-video-ati
771 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
772 Requires: xorg-xserver-server >= %{xserver_ver}
773 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
775 %description dri-driver-ati-radeon-R300
776 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
778 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
779 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
781 %package dri-driver-ati-radeon-R600
782 Summary: X.org DRI driver for ATI R600 card family
783 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
786 Requires: radeon-ucode
787 Requires: xorg-driver-video-ati
788 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
789 Requires: xorg-xserver-server >= %{xserver_ver}
791 %description dri-driver-ati-radeon-R600
792 X.org DRI driver for ATI R600/R700 card family.
794 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
795 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
797 %package dri-driver-ati-radeon-SI
798 Summary: X.org DRI driver for ATI Southern Islands card family
799 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
802 Requires: radeon-ucode
803 Requires: xorg-driver-video-ati
804 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
805 Requires: xorg-xserver-server >= %{xserver_ver}
807 %description dri-driver-ati-radeon-SI
808 X.org DRI driver for ATI Southern Islands card family.
810 %description dri-driver-ati-radeon-SI -l pl.UTF-8
811 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
813 %package dri-driver-intel-i915
814 Summary: X.org DRI driver for Intel i915 card family
815 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
818 %if %{without gallium_intel}
819 Requires: %{name}-dri-core = %{version}-%{release}
821 Requires: xorg-driver-video-intel
822 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
823 Requires: xorg-xserver-server >= %{xserver_ver}
824 Obsoletes: Mesa-dri-driver-intel-i830
825 Obsoletes: X11-driver-i810-dri < 1:7.0.0
827 %description dri-driver-intel-i915
828 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
831 %description dri-driver-intel-i915 -l pl.UTF-8
832 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
835 %package dri-driver-intel-i965
836 Summary: X.org DRI driver for Intel i965 card family
837 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
840 Requires: %{name}-dri-core = %{version}-%{release}
841 Requires: xorg-driver-video-intel
842 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
843 Requires: xorg-xserver-server >= %{xserver_ver}
844 Obsoletes: Mesa-dri-driver-intel-i830
845 Obsoletes: X11-driver-i810-dri < 1:7.0.0
847 %description dri-driver-intel-i965
848 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
849 965GME, GM45, G41, B43, Q45, G45);
851 %description dri-driver-intel-i965 -l pl.UTF-8
852 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
853 965GM, 965GME, GM45, G41, B43, Q45, G45).
855 %package dri-driver-nouveau
856 Summary: X.org DRI driver for NVIDIA card family
857 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
860 Requires: %{name}-dri-core = %{version}-%{release}
861 Requires: xorg-driver-video-nouveau
862 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
863 Requires: xorg-xserver-server >= %{xserver_ver}
865 %description dri-driver-nouveau
866 X.org DRI drivers for NVIDIA card family.
868 %description dri-driver-nouveau -l pl.UTF-8
869 Sterowniki X.org DRI dla rodziny kart NVIDIA.
871 %package dri-driver-swrast
872 Summary: X.org DRI software rasterizer driver
873 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
876 Requires: %{name}-dri-core = %{version}-%{release}
877 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
878 Requires: xorg-xserver-server >= %{xserver_ver}
880 %description dri-driver-swrast
881 X.org DRI software rasterizer driver.
883 %description dri-driver-swrast -l pl.UTF-8
884 Sterownik X.org DRI obsługujący rysowanie programowe.
886 %package dri-driver-vmwgfx
887 Summary: X.org DRI driver for VMware
888 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
891 Requires: xorg-driver-video-vmware
892 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
893 Requires: xorg-xserver-server >= %{xserver_ver}
895 %description dri-driver-vmwgfx
896 X.org DRI driver for VMWare.
898 %description dri-driver-vmwgfx -l pl.UTF-8
899 Sterownik X.org DRI dla VMware.
901 %package -n libvdpau-driver-mesa-nouveau
902 Summary: Mesa nouveau driver for the vdpau API
903 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
906 Requires: libdrm >= %{libdrm_ver}
907 Requires: libvdpau >= 0.4.1
908 Conflicts: libvdpau-driver-mesa
910 %description -n libvdpau-driver-mesa-nouveau
911 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
914 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
915 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
918 %package -n libvdpau-driver-mesa-r300
919 Summary: Mesa r300 driver for the vdpau API
920 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
923 Requires: libdrm >= %{libdrm_ver}
924 Requires: libvdpau >= 0.4.1
925 Conflicts: libvdpau-driver-mesa
927 %description -n libvdpau-driver-mesa-r300
928 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
929 based on R300/R400/RS690/R500 chips.
931 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
932 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
933 na układach R300/R400/RS690/R500.
935 %package -n libvdpau-driver-mesa-r600
936 Summary: Mesa r600 driver for the vdpau API
937 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
940 Requires: libdrm >= %{libdrm_ver}
941 Requires: libvdpau >= 0.4.1
942 Conflicts: libvdpau-driver-mesa
944 %description -n libvdpau-driver-mesa-r600
945 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
946 based on R600/R700 chips.
948 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
949 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
950 na układach R600/R700.
952 %package -n libvdpau-driver-mesa-radeonsi
953 Summary: Mesa radeonsi driver for the vdpau API
954 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
957 Requires: libdrm >= %{libdrm_ver}
958 Requires: libvdpau >= 0.4.1
959 Conflicts: libvdpau-driver-mesa
960 Obsoletes: Mesa-libllvmradeon
962 %description -n libvdpau-driver-mesa-radeonsi
963 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
964 adapters based on Southern Islands chips.
966 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
967 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
968 oparte na układach Southern Islands.
970 %package -n libvdpau-driver-mesa-softpipe
971 Summary: Mesa softpipe driver for the vdpau API
972 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
975 Requires: libdrm >= %{libdrm_ver}
976 Requires: libvdpau >= 0.4.1
977 Conflicts: libvdpau-driver-mesa
979 %description -n libvdpau-driver-mesa-softpipe
980 Mesa softpipe driver for the vdpau API.
982 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
983 Sterownik Mesa softpipe dla API vdpau.
999 dri_drivers="r200 radeon \
1000 %if %{without gallium_intel}
1005 %ifarch sparc sparcv9 sparc64
1010 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1012 gallium_drivers="svga swrast \
1013 %if %{with gallium_intel}
1019 %if %{with gallium_nouveau}
1024 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1027 --disable-silent-rules \
1031 %{?with_static_libs:--enable-static} \
1034 --enable-shared-glapi \
1039 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1042 --enable-gallium-llvm \
1043 --with-llvm-shared-libs \
1044 %{__enable egl gallium-egl} \
1045 %{__enable gbm gallium-gbm} \
1046 %{?with_opencl:--enable-opencl} \
1047 %{?with_egl:--enable-openvg} \
1049 %{?with_xa:--enable-xa} \
1051 --with-gallium-drivers=${gallium_drivers} \
1053 --without-gallium-drivers \
1055 --with-dri-drivers=${dri_drivers} \
1056 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1060 %{?with_tests:%{__make} check}
1063 rm -rf $RPM_BUILD_ROOT
1066 DESTDIR=$RPM_BUILD_ROOT
1068 # strip out undesirable headers
1069 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1070 # dlopened by soname
1071 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1072 # not used externally
1073 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{int_sover},glapi}.so
1075 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1076 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1077 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1078 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.la
1079 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1080 # not defined by standards; and not needed, there is pkg-config support
1081 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1083 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1084 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1085 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1088 rm -rf $RPM_BUILD_ROOT
1090 %post libEGL -p /sbin/ldconfig
1091 %postun libEGL -p /sbin/ldconfig
1093 %post libGL -p /sbin/ldconfig
1094 %postun libGL -p /sbin/ldconfig
1096 %post libGLES -p /sbin/ldconfig
1097 %postun libGLES -p /sbin/ldconfig
1099 %post libOSMesa -p /sbin/ldconfig
1100 %postun libOSMesa -p /sbin/ldconfig
1102 %post libOpenCL -p /sbin/ldconfig
1103 %postun libOpenCL -p /sbin/ldconfig
1105 %post libOpenVG -p /sbin/ldconfig
1106 %postun libOpenVG -p /sbin/ldconfig
1108 %post libXvMC-nouveau -p /sbin/ldconfig
1109 %postun libXvMC-nouveau -p /sbin/ldconfig
1110 %post libXvMC-r300 -p /sbin/ldconfig
1111 %postun libXvMC-r300 -p /sbin/ldconfig
1112 %post libXvMC-r600 -p /sbin/ldconfig
1113 %postun libXvMC-r600 -p /sbin/ldconfig
1114 %post libXvMC-softpipe -p /sbin/ldconfig
1115 %postun libXvMC-softpipe -p /sbin/ldconfig
1117 %post libgbm -p /sbin/ldconfig
1118 %postun libgbm -p /sbin/ldconfig
1120 %post libglapi -p /sbin/ldconfig
1121 %postun libglapi -p /sbin/ldconfig
1123 %post libwayland-egl -p /sbin/ldconfig
1124 %postun libwayland-egl -p /sbin/ldconfig
1126 %post libxatracker -p /sbin/ldconfig
1127 %postun libxatracker -p /sbin/ldconfig
1129 %post dri-core -p /sbin/ldconfig
1130 %postun dri-core -p /sbin/ldconfig
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1136 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1139 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) %{_libdir}/libEGL.so
1145 %dir %{_includedir}/EGL
1146 %{_includedir}/EGL/egl.h
1147 %{_includedir}/EGL/eglext.h
1148 %{_includedir}/EGL/eglmesaext.h
1149 %{_includedir}/EGL/eglplatform.h
1150 %{_pkgconfigdir}/egl.pc
1152 %if %{with static_libs}
1153 %files libEGL-static
1154 %defattr(644,root,root,755)
1160 %defattr(644,root,root,755)
1161 %doc docs/{*.html,README.{MITS,QUAKE,THREADS,UVD},relnotes/*.html}
1162 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1163 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1164 # symlink for binary apps which fail to conform Linux OpenGL ABI
1165 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1166 %attr(755,root,root) %{_libdir}/libGL.so
1169 %defattr(644,root,root,755)
1171 %dir %{_includedir}/GL
1172 %{_includedir}/GL/gl.h
1173 %{_includedir}/GL/glext.h
1174 %{_includedir}/GL/gl_mangle.h
1175 %{_includedir}/GL/glx.h
1176 %{_includedir}/GL/glxext.h
1177 %{_includedir}/GL/glx_mangle.h
1178 %dir %{_includedir}/GL/internal
1179 %{_includedir}/GL/internal/dri_interface.h
1180 %{_pkgconfigdir}/dri.pc
1181 %{_pkgconfigdir}/gl.pc
1183 %if %{with static_libs}
1185 %defattr(644,root,root,755)
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1192 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1193 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1194 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1196 %files libGLES-devel
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1199 %attr(755,root,root) %{_libdir}/libGLESv2.so
1201 %{_includedir}/GLES2
1202 %{_includedir}/GLES3
1203 %{_pkgconfigdir}/glesv1_cm.pc
1204 %{_pkgconfigdir}/glesv2.pc
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1209 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1211 %files libOSMesa-devel
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_libdir}/libOSMesa.so
1214 %{_includedir}/GL/osmesa.h
1215 %{_pkgconfigdir}/osmesa.pc
1217 %if %{with static_libs}
1218 %files libOSMesa-static
1219 %defattr(644,root,root,755)
1220 %{_libdir}/libOSMesa.a
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1227 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1229 %files libOpenCL-devel
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/libOpenCL.so
1235 %if %{with egl} && %{with gallium}
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1239 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1241 %files libOpenVG-devel
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_libdir}/libOpenVG.so
1245 %{_pkgconfigdir}/vg.pc
1249 %if %{with gallium_nouveau}
1250 %files libXvMC-nouveau
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1253 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0.0
1259 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1264 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1266 %files libXvMC-softpipe
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0.0
1269 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1274 %defattr(644,root,root,755)
1275 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1276 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1279 %dir %{_libdir}/gallium-pipe
1280 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_libdir}/libgbm.so
1286 %{_includedir}/gbm.h
1287 %{_pkgconfigdir}/gbm.pc
1291 %if %{with gallium_intel}
1292 %files gbm-driver-i915
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1297 %if %{with gallium_nouveau}
1298 %files gbm-driver-nouveau
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1303 %files gbm-driver-r300
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1307 %files gbm-driver-r600
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1311 %files gbm-driver-radeonsi
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1315 %files gbm-driver-swrast
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1319 %files gbm-driver-vmwgfx
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1327 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1328 # libglapi-devel? nothing seems to need it atm.
1329 #%attr(755,root,root) %{_libdir}/libglapi.so
1332 %files libwayland-egl
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1335 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1337 %files libwayland-egl-devel
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1340 %{_pkgconfigdir}/wayland-egl.pc
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1347 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1349 %files libxatracker-devel
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/libxatracker.so
1352 %{_includedir}/xa_composite.h
1353 %{_includedir}/xa_context.h
1354 %{_includedir}/xa_tracker.h
1355 %{_pkgconfigdir}/xatracker.pc
1359 %files khrplatform-devel
1360 %defattr(644,root,root,755)
1361 %dir %{_includedir}/KHR
1362 %{_includedir}/KHR/khrplatform.h
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_libdir}/libdricore%{int_sover}.so.*.*
1368 %attr(755,root,root) %ghost %{_libdir}/libdricore%{int_sover}.so.1
1369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1371 %files dri-driver-ati-radeon-R100
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1375 %files dri-driver-ati-radeon-R200
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1380 %files dri-driver-ati-radeon-R300
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1384 %files dri-driver-ati-radeon-R600
1385 %defattr(644,root,root,755)
1386 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1389 %files dri-driver-ati-radeon-SI
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1393 %files dri-driver-intel-i915
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1397 %files dri-driver-intel-i965
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1401 %files dri-driver-nouveau
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1404 %if %{with gallium_nouveau}
1405 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1408 %files dri-driver-swrast
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1413 %files dri-driver-vmwgfx
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1419 # ldconfig is not used in vdpau tree, so package all symlinks
1420 %if %{with gallium_nouveau}
1421 %files -n libvdpau-driver-mesa-nouveau
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1424 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1425 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1428 %files -n libvdpau-driver-mesa-r300
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1431 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1432 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1434 %files -n libvdpau-driver-mesa-r600
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1437 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1438 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1440 %files -n libvdpau-driver-mesa-radeonsi
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1443 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1444 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1446 %files -n libvdpau-driver-mesa-softpipe
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0.0
1449 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1450 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so