4 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
5 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
8 %bcond_without gallium # gallium drivers
9 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
10 %bcond_without gallium_nouveau # gallium nouveau driver (instead of plain dri)
11 %bcond_with dri_nouveau # nouveau DRI driver (any kind; doesn't build with current libdrm)
12 %bcond_without egl # EGL libraries
13 %bcond_without gbm # Graphics Buffer Manager
14 %bcond_without wayland # Wayland EGL
15 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
16 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
18 # minimal supported xserver version
19 %define xserver_ver 1.5.0
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
25 %define libdrm_ver 2.4.34
26 %define dri2proto_ver 2.6
27 %define glproto_ver 1.4.14
31 Summary: Free OpenGL implementation
32 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
36 License: MIT (core) and others - see license.html file
38 #Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
39 Source0: %{name}Lib-%{snap}.tar.bz2
40 # Source0-md5: 6a81ca41f8f131d98e95371ea0b6717e
41 Patch0: %{name}-realclean.patch
42 Patch1: %{name}-link.patch
43 Patch2: %{name}-wayland.patch
44 URL: http://www.mesa3d.org/
45 BuildRequires: autoconf >= 2.60
46 BuildRequires: automake
47 BuildRequires: expat-devel
48 BuildRequires: gcc >= 5:3.3
49 BuildRequires: libdrm-devel >= %{libdrm_ver}
50 BuildRequires: libselinux-devel
51 BuildRequires: libstdc++-devel >= 5:3.3.0
52 BuildRequires: libtalloc-devel >= 2:2.0.1
53 BuildRequires: libtool >= 2:1.4d
54 BuildRequires: libvdpau-devel >= 0.4.1
55 BuildRequires: llvm-devel >= 2.9
56 BuildRequires: pixman-devel
57 BuildRequires: pkgconfig
58 BuildRequires: pkgconfig(talloc) >= 2.0.1
60 BuildRequires: python-libxml2
61 BuildRequires: python-modules
62 BuildRequires: rpmbuild(macros) >= 1.470
63 BuildRequires: sed >= 4.0
64 # wayland-{client,server}
65 %{?with_wayland:BuildRequires: wayland-devel}
66 BuildRequires: xorg-lib-libXdamage-devel
67 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
68 BuildRequires: xorg-lib-libXfixes-devel
69 BuildRequires: xorg-lib-libXt-devel
70 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
71 BuildRequires: xorg-lib-libXxf86vm-devel
72 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
73 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
74 BuildRequires: xorg-util-makedepend
75 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
77 BuildRequires: libxcb-devel
78 BuildRequires: udev-devel >= 1:150
81 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
82 BuildRequires: xorg-xserver-server-devel >= 1.6.0
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 %if %{without gallium}
87 %undefine with_gallium_intel
88 %undefine with_gallium_nouveau
92 %if %{without dri_nouveau}
93 %undefine with_gallium_nouveau
98 %undefine with_wayland
101 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
102 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libXvMCnouveau.so.* libdricore.*.so.* libOSMesa.so.* libdricore.*so.*
105 %define filterout_ld -Wl,--as-needed
108 Mesa is a 3-D graphics library with an API which is very similar to
109 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
110 syntax or state machine, it is being used with authorization from
111 Silicon Graphics, Inc. However, the author does not possess an OpenGL
112 license from SGI, and makes no claim that Mesa is in any way a
113 compatible replacement for OpenGL or associated with SGI.
115 %description -l pl.UTF-8
116 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
117 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
118 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
119 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
120 OpenGL ani powiązana z SGI.
123 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
124 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
127 Requires: %{name}-libglapi = %{version}-%{release}
128 # glx driver in libEGL dlopens libGL.so
129 Requires: OpenGL >= 1.2
130 Requires: libdrm >= %{libdrm_ver}
133 Requires: %{name}-libOpenVG = %{version}-%{release}
134 Requires: udev-libs >= 1:150
137 Requires: %{name}-libgbm = %{version}-%{release}
142 This package contains shared libEGL - Mesa implementation of EGL
143 Native Platform Graphics Interface as specified by Khronos Group:
144 <http://www.khronos.org/egl/>.
146 %description libEGL -l pl.UTF-8
147 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
148 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
149 graficznego platformy natywnej) wg specyfikacji Khronos Group:
150 <http://www.khronos.org/egl/>.
152 %package libEGL-devel
153 Summary: Header files for Mesa implementation of EGL library
154 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
156 Group: Development/Libraries
157 Requires: %{name}-khrplatform-devel = %{version}-%{release}
158 Requires: %{name}-libEGL = %{version}-%{release}
159 Requires: libdrm-devel >= %{libdrm_ver}
160 Requires: xorg-lib-libX11-devel
161 Requires: xorg-lib-libXdamage-devel
162 Requires: xorg-lib-libXext-devel
163 Requires: xorg-lib-libXfixes-devel
164 Requires: xorg-lib-libXxf86vm-devel
165 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
166 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
167 Provides: EGL-devel = 1.4
169 %description libEGL-devel
170 Header files for Mesa implementation of EGL library.
172 %description libEGL-devel -l pl.UTF-8
173 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
175 %package libEGL-static
176 Summary: Static Mesa EGL library
177 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
179 Group: Development/Libraries
180 Requires: %{name}-libEGL-devel = %{version}-%{release}
181 Provides: EGL-static = 1.4
183 %description libEGL-static
184 Static Mesa EGL library.
186 %description libEGL-static -l pl.UTF-8
187 Statyczna biblioteka Mesa EGL.
190 Summary: Free Mesa3D implementation of libGL OpenGL library
191 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
194 Requires: %{name}-libglapi = %{version}-%{release}
195 Requires: libdrm >= %{libdrm_ver}
196 Provides: OpenGL = 2.1
197 Provides: OpenGL-GLX = 1.4
200 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
201 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
204 Mesa is a 3-D graphics library with an API which is very similar to
205 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
206 syntax or state machine, it is being used with authorization from
207 Silicon Graphics, Inc. However, the author does not possess an OpenGL
208 license from SGI, and makes no claim that Mesa is in any way a
209 compatible replacement for OpenGL or associated with SGI.
211 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
212 specifications. It uses DRI for rendering.
214 %description libGL -l pl.UTF-8
215 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
216 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
217 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
218 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
219 OpenGL ani powiązana z SGI.
221 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
222 GLX 1.4. Używa DRI do renderowania.
225 Summary: Header files for Mesa3D libGL library
226 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
228 Group: X11/Development/Libraries
229 # loose dependency on libGL to use with other libGL binaries
230 Requires: OpenGL >= 1.5
231 Requires: libdrm-devel >= %{libdrm_ver}
232 Requires: xorg-lib-libX11-devel
233 Requires: xorg-lib-libXdamage-devel
234 Requires: xorg-lib-libXext-devel
235 Requires: xorg-lib-libXxf86vm-devel
236 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
237 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
238 Suggests: OpenGL-doc-man
239 Provides: OpenGL-GLX-devel = 1.4
240 Provides: OpenGL-devel = 2.1
241 Obsoletes: Mesa-devel
242 Obsoletes: X11-OpenGL-devel < 1:7.0.0
243 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
244 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
245 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
247 %description libGL-devel
248 Header files for Mesa3D libGL library.
250 %description libGL-devel -l pl.UTF-8
251 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
253 %package libGL-static
254 Summary: Static Mesa3D libGL library
255 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
257 Group: X11/Development/Libraries
258 Requires: %{name}-libGL-devel = %{version}-%{release}
259 Provides: OpenGL-static = 2.1
260 Obsoletes: Mesa-static
261 Obsoletes: X11-OpenGL-static < 1:7.0.0
262 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
264 %description libGL-static
265 Static Mesa3D libGL library. It uses software renderer.
267 %description libGL-static -l pl.UTF-8
268 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
272 Summary: Mesa implementation of GLES (OpenGL ES) libraries
273 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
275 Requires: %{name}-libglapi = %{version}-%{release}
277 Provides: OpenGLESv1 = 1.1
278 Provides: OpenGLESv2 = 2.0
281 This package contains shared libraries of Mesa implementation of GLES
282 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
283 on embedded systems. OpenGL ES specification can be found on Khronos
284 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
287 %description libGLES -l pl.UTF-8
288 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
289 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
290 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
291 OpenGL ES można znaleźć na stronie Khronos Group:
292 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
295 %package libGLES-devel
296 Summary: Header files for Mesa GLES libraries
297 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
298 Group: Development/Libraries
299 Requires: %{name}-khrplatform-devel = %{version}-%{release}
300 # <EGL/egl.h> for <GLES/egl.h>
301 Requires: %{name}-libEGL-devel = %{version}-%{release}
302 Requires: %{name}-libGLES = %{version}-%{release}
303 Provides: OpenGLES-devel
304 Provides: OpenGLESv1-devel = 1.1
305 Provides: OpenGLESv2-devel = 2.0
307 %description libGLES-devel
308 Header files for Mesa GLES libraries.
310 %description libGLES-devel -l pl.UTF-8
311 Pliki nagłówkowe bibliotek Mesa GLES.
314 Summary: OSMesa (off-screen renderer) library
315 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
319 %description libOSMesa
320 OSMesa (off-screen renderer) library.
322 %description libOSMesa -l pl.UTF-8
323 Biblioteka OSMesa (renderująca bitmapy w pamięci).
325 %package libOSMesa-devel
326 Summary: Header file for OSMesa (off-screen renderer) library
327 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
329 Group: Development/Libraries
330 Requires: %{name}-libOSMesa = %{version}-%{release}
332 Requires: OpenGL-devel
333 Requires: libselinux-devel
335 %description libOSMesa-devel
336 Header file for OSMesa (off-screen renderer) library.
338 %description libOSMesa-devel -l pl.UTF-8
339 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
341 %package libOSMesa-static
342 Summary: Static OSMesa (off-screen renderer) library
343 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
345 Group: Development/Libraries
346 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
347 # this static build of OSMesa needs static non-dri Mesa implementation
348 Requires: %{name}-libGL-static = %{version}-%{release}
350 %description libOSMesa-static
351 Static OSMesa (off-screen renderer) library.
353 %description libOSMesa-static -l pl.UTF-8
354 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
357 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
358 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
361 Provides: OpenVG = 1.1
363 %description libOpenVG
364 This package contains Mesa implementation of OpenVG - cross-platform
365 API that provides a low-level hardware acceleration interface for
366 vector graphics libraries such as Flash and SVG. OpenVG specification
367 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
368 Mesa implements OpenVG 1.1.
370 %description libOpenVG -l pl.UTF-8
371 Ten pakiet zawiera implementację Mesa standardu OpenVG -
372 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
373 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
374 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
375 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
378 %package libOpenVG-devel
379 Summary: Header file for Mesa OpenVG library
380 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
382 Group: Development/Libraries
383 Requires: %{name}-khrplatform-devel = %{version}-%{release}
384 Requires: %{name}-libOpenVG = %{version}-%{release}
385 Provides: OpenVG-devel = 1.1
387 %description libOpenVG-devel
388 Header file for Mesa OpenVG library.
390 %description libOpenVG-devel -l pl.UTF-8
391 Plik nagłówkowy biblioteki Mesa OpenVG.
393 %package libXvMC-nouveau
394 Summary: Mesa implementation of XvMC API for NVidia adapters
395 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
398 Requires: libdrm >= %{libdrm_ver}
399 Requires: xorg-lib-libXvMC >= 1.0.6
400 Conflicts: Mesa-libXvMC
402 %description libXvMC-nouveau
403 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
405 %description libXvMC-nouveau -l pl.UTF-8
406 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
408 %package libXvMC-r300
409 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
410 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
413 Requires: libdrm >= %{libdrm_ver}
414 Requires: xorg-lib-libXvMC >= 1.0.6
415 Conflicts: Mesa-libXvMC
417 %description libXvMC-r300
418 Mesa implementation of XvMC API for ATI Radeon adapters based on
419 R300/R400/RS690/R500 chips.
421 %description libXvMC-r300 -l pl.UTF-8
422 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
423 R300/R400/RS690/R500.
425 %package libXvMC-r600
426 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
427 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
430 Requires: libdrm >= %{libdrm_ver}
431 Requires: xorg-lib-libXvMC >= 1.0.6
432 Conflicts: Mesa-libXvMC
434 %description libXvMC-r600
435 Mesa implementation of XvMC API for ATI Radeon adapters based on
438 %description libXvMC-r600 -l pl.UTF-8
439 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
442 %package libXvMC-softpipe
443 Summary: Mesa softpipe implementation of XvMC API
444 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
447 Requires: libdrm >= %{libdrm_ver}
448 Requires: xorg-lib-libXvMC >= 1.0.6
449 Conflicts: Mesa-libXvMC
451 %description libXvMC-softpipe
452 Mesa softpipe implementation of XvMC API.
454 %description libXvMC-softpipe -l pl.UTF-8
455 Implementacja Mesa softpipe API XvMC.
458 Summary: Mesa Graphics Buffer Manager library
459 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
461 Requires: udev-libs >= 1:150
462 Conflicts: Mesa-libEGL < 8.0.1-2
465 Mesa Graphics Buffer Manager library.
467 %description libgbm -l pl.UTF-8
468 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
470 %package libgbm-devel
471 Summary: Header file for Mesa Graphics Buffer Manager library
472 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
473 Group: Development/Libraries
474 Requires: %{name}-libgbm = %{version}-%{release}
475 Requires: udev-devel >= 1:150
477 %description libgbm-devel
478 Header file for Mesa Graphics Buffer Manager library.
480 %description libgbm-devel -l pl.UTF-8
481 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
484 %package gbm-driver-swrast
485 Summary: Software (swrast) driver for Mesa GBM framework
486 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
488 Requires: %{name}-libgbm = %{version}-%{release}
490 %description gbm-driver-swrast
491 Software (swrast) driver for Mesa Graphics Buffer Manager.
493 %description gbm-driver-swrast -l pl.UTF-8
494 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
495 Manager (zarządcy bufora graficznego).
497 %package gbm-driver-i915
498 Summary: i915 driver for Mesa GBM framework
499 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
501 Requires: %{name}-libgbm = %{version}-%{release}
503 %description gbm-driver-i915
504 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
505 915/945/G33/Q33/Q35/Pineview chips.
507 %description gbm-driver-i915 -l pl.UTF-8
508 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
509 bufora graficznego). Obsługuje układy Intela z serii
510 915/945/G33/Q33/Q35/Pineview.
512 %package gbm-driver-nouveau
513 Summary: nouveau driver for Mesa GBM framework
514 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
516 Requires: %{name}-libgbm = %{version}-%{release}
518 %description gbm-driver-nouveau
519 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
522 %description gbm-driver-nouveau -l pl.UTF-8
523 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
524 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
526 %package gbm-driver-r300
527 Summary: r300 driver for Mesa GBM framework
528 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
530 Requires: %{name}-libgbm = %{version}-%{release}
532 %description gbm-driver-r300
533 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
534 adapters based on R300/R400/RS690/R500 chips.
536 %description gbm-driver-r300 -l pl.UTF-8
537 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
538 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
539 układach R300/R400/RS690/R500.
541 %package gbm-driver-r600
542 Summary: r600 driver for Mesa GBM framework
543 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
545 Requires: %{name}-libgbm = %{version}-%{release}
547 %description gbm-driver-r600
548 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
549 adapters based on R600/R700 chips.
551 %description gbm-driver-r600 -l pl.UTF-8
552 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
553 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
556 %package gbm-driver-radeonsi
557 Summary: radeonsi driver for Mesa GBM framework
558 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
560 Requires: %{name}-libgbm = %{version}-%{release}
562 %description gbm-driver-radeonsi
563 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
564 Radeon adapters based on Southern Islands chips.
566 %description gbm-driver-radeonsi -l pl.UTF-8
567 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
568 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
569 oparte na układach Southern Islands.
571 %package gbm-driver-vmwgfx
572 Summary: vmwgfx driver for Mesa GBM framework
573 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
575 Requires: %{name}-libgbm = %{version}-%{release}
577 %description gbm-driver-vmwgfx
578 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
579 virtual video adapter.
581 %description gbm-driver-vmwgfx -l pl.UTF-8
582 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
583 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
586 Summary: Mesa GL API shared library
587 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
589 Conflicts: Mesa-libEGL < 8.0.1-2
591 %description libglapi
592 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
594 %description libglapi -l pl.UTF-8
595 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
598 %package libwayland-egl
599 Summary: Wayland EGL library
600 Summary(pl.UTF-8): Biblioteka Wayland EGL
602 Requires: libdrm >= %{libdrm_ver}
604 %description libwayland-egl
605 Wayland EGL platform library.
607 %description libwayland-egl -l pl.UTF-8
608 Biblioteka platformy EGL Wayland.
610 %package libwayland-egl-devel
611 Summary: Development files for Wayland EGL library
612 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
613 Group: Development/Libraries
614 Requires: %{name}-libwayland-egl = %{version}-%{release}
615 Requires: libdrm-devel >= %{libdrm_ver}
616 Requires: wayland-devel
618 %description libwayland-egl-devel
619 Development files for Wayland EGL platform library.
621 %description libwayland-egl-devel -l pl.UTF-8
622 Pliki programistyczne biblioteki platformy EGL Wayland.
624 %package libxatracker
625 Summary: Xorg Gallium3D accelleration library
626 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
628 Requires: libdrm >= %{libdrm_ver}
630 %description libxatracker
631 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
633 %description libxatracker -l pl.UTF-8
634 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
637 %package libxatracker-devel
638 Summary: Header files for Xorg Gallium3D accelleration library
639 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
640 Group: X11/Development/Libraries
641 Requires: %{name}-libxatracker = %{version}-%{release}
642 Requires: libdrm-devel >= %{libdrm_ver}
644 %description libxatracker-devel
645 Header files for Xorg Gallium3D accelleration library.
647 %description libxatracker-devel -l pl.UTF-8
648 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
650 %package khrplatform-devel
651 Summary: Khronos platform header file
652 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
653 Group: Development/Libraries
654 Conflicts: Mesa-libEGL-devel < 8.0.1-2
656 %description khrplatform-devel
657 Khronos platform header file.
659 %description khrplatform-devel -l pl.UTF-8
660 Plik nagłówkowy platformy Khronos.
663 Summary: X.org DRI core library
664 Summary(pl.UTF-8): Biblioteka X.org DRI core
667 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
668 Requires: xorg-xserver-server >= %{xserver_ver}
670 %description dri-core
671 X.org DRI core library.
673 %description dri-core -l pl.UTF-8
674 Biblioteka X.org DRI core.
676 %package dri-driver-ati-radeon-R100
677 Summary: X.org DRI driver for ATI R100 card family
678 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
681 Requires: xorg-driver-video-ati
682 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
683 Requires: xorg-xserver-server >= %{xserver_ver}
684 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
686 %description dri-driver-ati-radeon-R100
687 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
689 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
690 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
692 %package dri-driver-ati-radeon-R200
693 Summary: X.org DRI driver for ATI R200 card family
694 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
697 Requires: xorg-driver-video-ati
698 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
699 Requires: xorg-xserver-server >= %{xserver_ver}
700 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
702 %description dri-driver-ati-radeon-R200
703 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
705 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
706 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
708 %package dri-driver-ati-radeon-R300
709 Summary: X.org DRI driver for ATI R300 card family
710 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
713 Requires: xorg-driver-video-ati
714 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
715 Requires: xorg-xserver-server >= %{xserver_ver}
716 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
718 %description dri-driver-ati-radeon-R300
719 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
721 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
722 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
724 %package dri-driver-ati-radeon-R600
725 Summary: X.org DRI driver for ATI R600 card family
726 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
729 Requires: radeon-ucode
730 Requires: xorg-driver-video-ati
731 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
732 Requires: xorg-xserver-server >= %{xserver_ver}
734 %description dri-driver-ati-radeon-R600
735 X.org DRI driver for ATI R600/R700 card family.
737 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
738 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
740 %package dri-driver-ati-radeon-SI
741 Summary: X.org DRI driver for ATI Southern Islands card family
742 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
745 Requires: radeon-ucode
746 Requires: xorg-driver-video-ati
747 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
748 Requires: xorg-xserver-server >= %{xserver_ver}
750 %description dri-driver-ati-radeon-SI
751 X.org DRI driver for ATI Southern Islands card family.
753 %description dri-driver-ati-radeon-SI -l pl.UTF-8
754 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
756 %package dri-driver-intel-i915
757 Summary: X.org DRI driver for Intel i915 card family
758 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
761 Requires: xorg-driver-video-intel
762 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
763 Requires: xorg-xserver-server >= %{xserver_ver}
764 Obsoletes: Mesa-dri-driver-intel-i830
765 Obsoletes: X11-driver-i810-dri < 1:7.0.0
767 %description dri-driver-intel-i915
768 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
771 %description dri-driver-intel-i915 -l pl.UTF-8
772 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
775 %package dri-driver-intel-i965
776 Summary: X.org DRI driver for Intel i965 card family
777 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
780 Requires: xorg-driver-video-intel
781 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
782 Requires: xorg-xserver-server >= %{xserver_ver}
783 Obsoletes: Mesa-dri-driver-intel-i830
784 Obsoletes: X11-driver-i810-dri < 1:7.0.0
786 %description dri-driver-intel-i965
787 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
788 965GME, GM45, G41, B43, Q45, G45);
790 %description dri-driver-intel-i965 -l pl.UTF-8
791 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
792 965GM, 965GME, GM45, G41, B43, Q45, G45).
794 %package dri-driver-nouveau
795 Summary: X.org DRI driver for NVIDIA card family
796 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
799 Requires: xorg-driver-video-nouveau
800 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
801 Requires: xorg-xserver-server >= %{xserver_ver}
803 %description dri-driver-nouveau
804 X.org DRI drivers for NVIDIA card family.
806 %description dri-driver-nouveau -l pl.UTF-8
807 Sterowniki X.org DRI dla rodziny kart NVIDIA.
809 %package dri-driver-swrast
810 Summary: X.org DRI software rasterizer driver
811 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
814 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
815 Requires: xorg-xserver-server >= %{xserver_ver}
817 %description dri-driver-swrast
818 X.org DRI software rasterizer driver.
820 %description dri-driver-swrast -l pl.UTF-8
821 Sterownik X.org DRI obsługujący rysowanie programowe.
823 %package dri-driver-vmwgfx
824 Summary: X.org DRI driver for VMware
825 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
828 Requires: xorg-driver-video-vmware
829 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
830 Requires: xorg-xserver-server >= %{xserver_ver}
832 %description dri-driver-vmwgfx
833 X.org DRI driver for VMWare.
835 %description dri-driver-vmwgfx -l pl.UTF-8
836 Sterownik X.org DRI dla VMware.
838 %package -n libvdpau-driver-mesa-nouveau
839 Summary: Mesa nouveau driver for the vdpau API
840 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
843 Requires: libdrm >= %{libdrm_ver}
844 Requires: libvdpau >= 0.4.1
845 Conflicts: libvdpau-driver-mesa
847 %description -n libvdpau-driver-mesa-nouveau
848 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
851 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
852 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
855 %package -n libvdpau-driver-mesa-r300
856 Summary: Mesa r300 driver for the vdpau API
857 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
860 Requires: libdrm >= %{libdrm_ver}
861 Requires: libvdpau >= 0.4.1
862 Conflicts: libvdpau-driver-mesa
864 %description -n libvdpau-driver-mesa-r300
865 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
866 based on R300/R400/RS690/R500 chips.
868 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
869 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
870 na układach R300/R400/RS690/R500.
872 %package -n libvdpau-driver-mesa-r600
873 Summary: Mesa r600 driver for the vdpau API
874 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
877 Requires: libdrm >= %{libdrm_ver}
878 Requires: libvdpau >= 0.4.1
879 Conflicts: libvdpau-driver-mesa
881 %description -n libvdpau-driver-mesa-r600
882 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
883 based on R600/R700 chips.
885 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
886 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
887 na układach R600/R700.
889 %package -n libvdpau-driver-mesa-radeonsi
890 Summary: Mesa radeonsi driver for the vdpau API
891 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
894 Requires: libdrm >= %{libdrm_ver}
895 Requires: libvdpau >= 0.4.1
896 Conflicts: libvdpau-driver-mesa
898 %description -n libvdpau-driver-mesa-radeonsi
899 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
900 adapters based on Southern Islands chips.
902 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
903 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
904 oparte na układach Southern Islands.
906 %package -n libvdpau-driver-mesa-softpipe
907 Summary: Mesa softpipe driver for the vdpau API
908 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
911 Requires: libdrm >= %{libdrm_ver}
912 Requires: libvdpau >= 0.4.1
913 Conflicts: libvdpau-driver-mesa
915 %description -n libvdpau-driver-mesa-softpipe
916 Mesa softpipe driver for the vdpau API.
918 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
919 Sterownik Mesa softpipe dla API vdpau.
929 if [ -x autogen.sh ]; then
936 dri_drivers="r200 radeon \
937 %if %{without gallium_intel}
941 %if %{with dri_nouveau} && %{without gallium_nouveau}
944 %ifarch sparc sparcv9 sparc64
949 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
951 gallium_drivers="svga swrast \
952 %if %{with gallium_intel}
958 %if %{with gallium_nouveau}
963 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
966 --disable-silent-rules \
971 %{?with_static_libs:--enable-static} \
974 --enable-shared-glapi \
979 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
982 --enable-gallium-llvm \
983 --with-llvm-shared-libs \ \
984 %{__enable egl gallium-egl} \
985 %{__enable gbm gallium-gbm} \
986 %{?with_egl:--enable-openvg} \
988 %{?with_xa:--enable-xa} \
990 --with-gallium-drivers=${gallium_drivers} \
992 --without-gallium-drivers \
994 --with-dri-drivers=${dri_drivers} \
995 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1000 rm -rf $RPM_BUILD_ROOT
1003 DESTDIR=$RPM_BUILD_ROOT
1005 # strip out undesirable headers
1006 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1007 # dlopened by soname
1008 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1009 # not used externally
1010 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1012 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1013 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1014 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1017 rm -rf $RPM_BUILD_ROOT
1019 %post libEGL -p /sbin/ldconfig
1020 %postun libEGL -p /sbin/ldconfig
1022 %post libGL -p /sbin/ldconfig
1023 %postun libGL -p /sbin/ldconfig
1025 %post libGLES -p /sbin/ldconfig
1026 %postun libGLES -p /sbin/ldconfig
1028 %post libOSMesa -p /sbin/ldconfig
1029 %postun libOSMesa -p /sbin/ldconfig
1031 %post libOpenVG -p /sbin/ldconfig
1032 %postun libOpenVG -p /sbin/ldconfig
1034 %post libXvMC-nouveau -p /sbin/ldconfig
1035 %postun libXvMC-nouveau -p /sbin/ldconfig
1036 %post libXvMC-r300 -p /sbin/ldconfig
1037 %postun libXvMC-r300 -p /sbin/ldconfig
1038 %post libXvMC-r600 -p /sbin/ldconfig
1039 %postun libXvMC-r600 -p /sbin/ldconfig
1040 %post libXvMC-softpipe -p /sbin/ldconfig
1041 %postun libXvMC-softpipe -p /sbin/ldconfig
1043 %post libgbm -p /sbin/ldconfig
1044 %postun libgbm -p /sbin/ldconfig
1046 %post libglapi -p /sbin/ldconfig
1047 %postun libglapi -p /sbin/ldconfig
1049 %post libwayland-egl -p /sbin/ldconfig
1050 %postun libwayland-egl -p /sbin/ldconfig
1052 %post libxatracker -p /sbin/ldconfig
1053 %postun libxatracker -p /sbin/ldconfig
1055 %post dri-core -p /sbin/ldconfig
1056 %postun dri-core -p /sbin/ldconfig
1060 %defattr(644,root,root,755)
1061 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1062 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1065 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1069 %defattr(644,root,root,755)
1070 %attr(755,root,root) %{_libdir}/libEGL.so
1071 %dir %{_includedir}/EGL
1072 %{_includedir}/EGL/egl.h
1073 %{_includedir}/EGL/eglext.h
1074 %{_includedir}/EGL/eglmesaext.h
1075 %{_includedir}/EGL/eglplatform.h
1076 %{_pkgconfigdir}/egl.pc
1078 %if %{with static_libs}
1079 %files libEGL-static
1080 %defattr(644,root,root,755)
1086 %defattr(644,root,root,755)
1087 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1088 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1089 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1090 # symlink for binary apps which fail to conform Linux OpenGL ABI
1091 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1092 %attr(755,root,root) %{_libdir}/libGL.so
1095 %defattr(644,root,root,755)
1097 %dir %{_includedir}/GL
1098 %{_includedir}/GL/gl.h
1099 %{_includedir}/GL/glext.h
1100 %{_includedir}/GL/gl_mangle.h
1101 %{_includedir}/GL/glx.h
1102 %{_includedir}/GL/glxext.h
1103 %{_includedir}/GL/glx_mangle.h
1104 %dir %{_includedir}/GL/internal
1105 %{_includedir}/GL/internal/dri_interface.h
1106 %{_pkgconfigdir}/dri.pc
1107 %{_pkgconfigdir}/gl.pc
1109 %if %{with static_libs}
1111 %defattr(644,root,root,755)
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1118 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1119 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1120 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1122 %files libGLES-devel
1123 %defattr(644,root,root,755)
1124 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1125 %attr(755,root,root) %{_libdir}/libGLESv2.so
1127 %{_includedir}/GLES2
1128 %{_pkgconfigdir}/glesv1_cm.pc
1129 %{_pkgconfigdir}/glesv2.pc
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1134 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1136 %files libOSMesa-devel
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_libdir}/libOSMesa.so
1139 %{_includedir}/GL/osmesa.h
1140 %{_pkgconfigdir}/osmesa.pc
1142 %if %{with static_libs}
1143 %files libOSMesa-static
1144 %defattr(644,root,root,755)
1145 %{_libdir}/libOSMesa.a
1148 %if %{with egl} && %{with gallium}
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1152 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1154 %files libOpenVG-devel
1155 %defattr(644,root,root,755)
1156 %attr(755,root,root) %{_libdir}/libOpenVG.so
1158 %{_pkgconfigdir}/vg.pc
1162 %if %{with gallium_nouveau}
1163 %files libXvMC-nouveau
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1166 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1172 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1177 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1179 %files libXvMC-softpipe
1180 %defattr(644,root,root,755)
1181 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1182 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1187 %defattr(644,root,root,755)
1188 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1189 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1192 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1196 %defattr(644,root,root,755)
1197 %attr(755,root,root) %{_libdir}/libgbm.so
1198 %{_includedir}/gbm.h
1199 %{_pkgconfigdir}/gbm.pc
1203 %files gbm-driver-swrast
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1207 %if %{with gallium_intel}
1208 %files gbm-driver-i915
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1213 %if %{with gallium_nouveau}
1214 %files gbm-driver-nouveau
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1219 %files gbm-driver-r300
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1223 %files gbm-driver-r600
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1227 %files gbm-driver-radeonsi
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1231 %files gbm-driver-vmwgfx
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1239 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1240 # libglapi-devel? nothing seems to need it atm.
1241 #%attr(755,root,root) %{_libdir}/libglapi.so
1244 %files libwayland-egl
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1247 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1249 %files libwayland-egl-devel
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1252 %{_pkgconfigdir}/wayland-egl.pc
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1259 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1261 %files libxatracker-devel
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/libxatracker.so
1264 %{_includedir}/xa_composite.h
1265 %{_includedir}/xa_context.h
1266 %{_includedir}/xa_tracker.h
1267 %{_pkgconfigdir}/xatracker.pc
1271 %files khrplatform-devel
1272 %defattr(644,root,root,755)
1273 %dir %{_includedir}/KHR
1274 %{_includedir}/KHR/khrplatform.h
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_libdir}/libdricore%{version}.so.*.*
1280 %attr(755,root,root) %ghost %{_libdir}/libdricore%{version}.so.1
1282 %files dri-driver-ati-radeon-R100
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1286 %files dri-driver-ati-radeon-R200
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1291 %files dri-driver-ati-radeon-R300
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1295 %files dri-driver-ati-radeon-R600
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1300 %files dri-driver-ati-radeon-SI
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1304 %files dri-driver-intel-i915
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1308 %files dri-driver-intel-i965
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1312 %if %{with dri_nouveau}
1313 %files dri-driver-nouveau
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1318 %files dri-driver-swrast
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1323 %files dri-driver-vmwgfx
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1329 # ldconfig is not used in vdpau tree, so package all symlinks
1330 %if %{with gallium_nouveau}
1331 %files -n libvdpau-driver-mesa-nouveau
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1334 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1335 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1338 %files -n libvdpau-driver-mesa-r300
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1341 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1342 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1344 %files -n libvdpau-driver-mesa-r600
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1347 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1348 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1350 %files -n libvdpau-driver-mesa-radeonsi
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1353 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1354 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1356 %files -n libvdpau-driver-mesa-softpipe
1357 %defattr(644,root,root,755)
1358 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1359 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1360 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so