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 egl # EGL libraries
9 %bcond_without gallium # gallium drivers
10 %bcond_with gallium_intel # gallium i915 driver (but doesn't work with AIGLX)
11 %bcond_without gallium_nouveau # gallium nouveau driver
12 %bcond_without gbm # Graphics Buffer Manager
13 %bcond_without wayland # Wayland EGL
14 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
15 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
17 # minimal supported xserver version
18 %define xserver_ver 1.5.0
19 # glapi version (glapi tables in dri drivers and libglx must be in sync);
20 # set to current Mesa version on ABI break, when xserver tables get regenerated
21 # (until they start to be somehow versioned themselves)
22 %define glapi_ver 7.1.0
24 %define libdrm_ver 2.4.34
25 %define dri2proto_ver 2.6
26 %define glproto_ver 1.4.14
30 Summary: Free OpenGL implementation
31 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
35 License: MIT (core) and others - see license.html file
37 #Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
38 Source0: %{name}Lib-%{snap}.tar.bz2
39 # Source0-md5: 6a81ca41f8f131d98e95371ea0b6717e
40 #Patch100: %{name}-git.patch
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
94 %undefine with_wayland
97 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
98 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libXvMCnouveau.so.* libdricore.*.so.* libOSMesa.so.* libdricore.*so.*
101 %define filterout_ld -Wl,--as-needed
104 Mesa is a 3-D graphics library with an API which is very similar to
105 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
106 syntax or state machine, it is being used with authorization from
107 Silicon Graphics, Inc. However, the author does not possess an OpenGL
108 license from SGI, and makes no claim that Mesa is in any way a
109 compatible replacement for OpenGL or associated with SGI.
111 %description -l pl.UTF-8
112 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
113 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
114 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
115 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
116 OpenGL ani powiązana z SGI.
119 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
120 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
123 Requires: %{name}-libglapi = %{version}-%{release}
124 # glx driver in libEGL dlopens libGL.so
125 Requires: OpenGL >= 1.2
126 Requires: libdrm >= %{libdrm_ver}
129 Requires: %{name}-libOpenVG = %{version}-%{release}
130 Requires: udev-libs >= 1:150
133 Requires: %{name}-libgbm = %{version}-%{release}
138 This package contains shared libEGL - Mesa implementation of EGL
139 Native Platform Graphics Interface as specified by Khronos Group:
140 <http://www.khronos.org/egl/>.
142 %description libEGL -l pl.UTF-8
143 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
144 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
145 graficznego platformy natywnej) wg specyfikacji Khronos Group:
146 <http://www.khronos.org/egl/>.
148 %package libEGL-devel
149 Summary: Header files for Mesa implementation of EGL library
150 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
152 Group: Development/Libraries
153 Requires: %{name}-khrplatform-devel = %{version}-%{release}
154 Requires: %{name}-libEGL = %{version}-%{release}
155 Requires: libdrm-devel >= %{libdrm_ver}
156 Requires: xorg-lib-libX11-devel
157 Requires: xorg-lib-libXdamage-devel
158 Requires: xorg-lib-libXext-devel
159 Requires: xorg-lib-libXfixes-devel
160 Requires: xorg-lib-libXxf86vm-devel
161 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
162 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
163 Provides: EGL-devel = 1.4
165 %description libEGL-devel
166 Header files for Mesa implementation of EGL library.
168 %description libEGL-devel -l pl.UTF-8
169 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
171 %package libEGL-static
172 Summary: Static Mesa EGL library
173 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
175 Group: Development/Libraries
176 Requires: %{name}-libEGL-devel = %{version}-%{release}
177 Provides: EGL-static = 1.4
179 %description libEGL-static
180 Static Mesa EGL library.
182 %description libEGL-static -l pl.UTF-8
183 Statyczna biblioteka Mesa EGL.
186 Summary: Free Mesa3D implementation of libGL OpenGL library
187 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
190 Requires: %{name}-libglapi = %{version}-%{release}
191 Requires: libdrm >= %{libdrm_ver}
192 Provides: OpenGL = 2.1
193 Provides: OpenGL-GLX = 1.4
196 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
197 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
200 Mesa is a 3-D graphics library with an API which is very similar to
201 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
202 syntax or state machine, it is being used with authorization from
203 Silicon Graphics, Inc. However, the author does not possess an OpenGL
204 license from SGI, and makes no claim that Mesa is in any way a
205 compatible replacement for OpenGL or associated with SGI.
207 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
208 specifications. It uses DRI for rendering.
210 %description libGL -l pl.UTF-8
211 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
212 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
213 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
214 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
215 OpenGL ani powiązana z SGI.
217 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
218 GLX 1.4. Używa DRI do renderowania.
221 Summary: Header files for Mesa3D libGL library
222 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
224 Group: X11/Development/Libraries
225 # loose dependency on libGL to use with other libGL binaries
226 Requires: OpenGL >= 1.5
227 Requires: libdrm-devel >= %{libdrm_ver}
228 Requires: xorg-lib-libX11-devel
229 Requires: xorg-lib-libXdamage-devel
230 Requires: xorg-lib-libXext-devel
231 Requires: xorg-lib-libXxf86vm-devel
232 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
233 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
234 Suggests: OpenGL-doc-man
235 Provides: OpenGL-GLX-devel = 1.4
236 Provides: OpenGL-devel = 2.1
237 Obsoletes: Mesa-devel
238 Obsoletes: X11-OpenGL-devel < 1:7.0.0
239 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
240 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
241 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
243 %description libGL-devel
244 Header files for Mesa3D libGL library.
246 %description libGL-devel -l pl.UTF-8
247 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
249 %package libGL-static
250 Summary: Static Mesa3D libGL library
251 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
253 Group: X11/Development/Libraries
254 Requires: %{name}-libGL-devel = %{version}-%{release}
255 Provides: OpenGL-static = 2.1
256 Obsoletes: Mesa-static
257 Obsoletes: X11-OpenGL-static < 1:7.0.0
258 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
260 %description libGL-static
261 Static Mesa3D libGL library. It uses software renderer.
263 %description libGL-static -l pl.UTF-8
264 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
268 Summary: Mesa implementation of GLES (OpenGL ES) libraries
269 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
271 Requires: %{name}-libglapi = %{version}-%{release}
274 This package contains shared libraries of Mesa implementation of GLES
275 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
276 on embedded systems. OpenGL ES specification can be found on Khronos
277 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
280 %description libGLES -l pl.UTF-8
281 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
282 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
283 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
284 OpenGL ES można znaleźć na stronie Khronos Group:
285 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
288 %package libGLES-devel
289 Summary: Header files for Mesa GLES libraries
290 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
291 Group: Development/Libraries
292 Requires: %{name}-khrplatform-devel = %{version}-%{release}
293 # <EGL/egl.h> for <GLES/egl.h>
294 Requires: %{name}-libEGL-devel = %{version}-%{release}
295 Requires: %{name}-libGLES = %{version}-%{release}
297 %description libGLES-devel
298 Header files for Mesa GLES libraries.
300 %description libGLES-devel -l pl.UTF-8
301 Pliki nagłówkowe bibliotek Mesa GLES.
304 Summary: OSMesa (off-screen renderer) library
305 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
309 %description libOSMesa
310 OSMesa (off-screen renderer) library.
312 %description libOSMesa -l pl.UTF-8
313 Biblioteka OSMesa (renderująca bitmapy w pamięci).
315 %package libOSMesa-devel
316 Summary: Header file for OSMesa (off-screen renderer) library
317 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
319 Group: Development/Libraries
320 Requires: %{name}-libOSMesa = %{version}-%{release}
322 Requires: OpenGL-devel
323 Requires: libselinux-devel
325 %description libOSMesa-devel
326 Header file for OSMesa (off-screen renderer) library.
328 %description libOSMesa-devel -l pl.UTF-8
329 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
331 %package libOSMesa-static
332 Summary: Static OSMesa (off-screen renderer) library
333 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
335 Group: Development/Libraries
336 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
337 # this static build of OSMesa needs static non-dri Mesa implementation
338 Requires: %{name}-libGL-static = %{version}-%{release}
340 %description libOSMesa-static
341 Static OSMesa (off-screen renderer) library.
343 %description libOSMesa-static -l pl.UTF-8
344 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
347 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
348 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
352 %description libOpenVG
353 This package contains Mesa implementation of OpenVG - cross-platform
354 API that provides a low-level hardware acceleration interface for
355 vector graphics libraries such as Flash and SVG. OpenVG specification
356 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
357 Mesa implements OpenVG 1.1.
359 %description libOpenVG -l pl.UTF-8
360 Ten pakiet zawiera implementację Mesa standardu OpenVG -
361 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
362 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
363 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
364 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
367 %package libOpenVG-devel
368 Summary: Header file for Mesa OpenVG library
369 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
371 Group: Development/Libraries
372 Requires: %{name}-khrplatform-devel = %{version}-%{release}
373 Requires: %{name}-libOpenVG = %{version}-%{release}
375 %description libOpenVG-devel
376 Header file for Mesa OpenVG library.
378 %description libOpenVG-devel -l pl.UTF-8
379 Plik nagłówkowy biblioteki Mesa OpenVG.
381 %package libXvMC-nouveau
382 Summary: Mesa implementation of XvMC API for NVidia adapters
383 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
386 Requires: libdrm >= %{libdrm_ver}
387 Requires: xorg-lib-libXvMC >= 1.0.6
388 Conflicts: Mesa-libXvMC
390 %description libXvMC-nouveau
391 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
393 %description libXvMC-nouveau -l pl.UTF-8
394 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
396 %package libXvMC-r300
397 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
398 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
401 Requires: libdrm >= %{libdrm_ver}
402 Requires: xorg-lib-libXvMC >= 1.0.6
403 Conflicts: Mesa-libXvMC
405 %description libXvMC-r300
406 Mesa implementation of XvMC API for ATI Radeon adapters based on
407 R300/R400/RS690/R500 chips.
409 %description libXvMC-r300 -l pl.UTF-8
410 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
411 R300/R400/RS690/R500.
413 %package libXvMC-r600
414 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
415 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
418 Requires: libdrm >= %{libdrm_ver}
419 Requires: xorg-lib-libXvMC >= 1.0.6
420 Conflicts: Mesa-libXvMC
422 %description libXvMC-r600
423 Mesa implementation of XvMC API for ATI Radeon adapters based on
426 %description libXvMC-r600 -l pl.UTF-8
427 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
430 %package libXvMC-softpipe
431 Summary: Mesa softpipe implementation of XvMC API
432 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
435 Requires: libdrm >= %{libdrm_ver}
436 Requires: xorg-lib-libXvMC >= 1.0.6
437 Conflicts: Mesa-libXvMC
439 %description libXvMC-softpipe
440 Mesa softpipe implementation of XvMC API.
442 %description libXvMC-softpipe -l pl.UTF-8
443 Implementacja Mesa softpipe API XvMC.
446 Summary: Mesa Graphics Buffer Manager library
447 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
449 Requires: udev-libs >= 1:150
450 Conflicts: Mesa-libEGL < 8.0.1-2
453 Mesa Graphics Buffer Manager library.
455 %description libgbm -l pl.UTF-8
456 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
458 %package libgbm-devel
459 Summary: Header file for Mesa Graphics Buffer Manager library
460 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
461 Group: Development/Libraries
462 Requires: %{name}-libgbm = %{version}-%{release}
463 Requires: udev-devel >= 1:150
465 %description libgbm-devel
466 Header file for Mesa Graphics Buffer Manager library.
468 %description libgbm-devel -l pl.UTF-8
469 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
472 %package gbm-driver-swrast
473 Summary: Software (swrast) driver for Mesa GBM framework
474 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
476 Requires: %{name}-libgbm = %{version}-%{release}
478 %description gbm-driver-swrast
479 Software (swrast) driver for Mesa Graphics Buffer Manager.
481 %description gbm-driver-swrast -l pl.UTF-8
482 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
483 Manager (zarządcy bufora graficznego).
485 %package gbm-driver-i915
486 Summary: i915 driver for Mesa GBM framework
487 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
489 Requires: %{name}-libgbm = %{version}-%{release}
491 %description gbm-driver-i915
492 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
493 915/945/G33/Q33/Q35/Pineview chips.
495 %description gbm-driver-i915 -l pl.UTF-8
496 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
497 bufora graficznego). Obsługuje układy Intela z serii
498 915/945/G33/Q33/Q35/Pineview.
500 %package gbm-driver-nouveau
501 Summary: nouveau driver for Mesa GBM framework
502 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
504 Requires: %{name}-libgbm = %{version}-%{release}
506 %description gbm-driver-nouveau
507 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
510 %description gbm-driver-nouveau -l pl.UTF-8
511 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
512 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
514 %package gbm-driver-r300
515 Summary: r300 driver for Mesa GBM framework
516 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
518 Requires: %{name}-libgbm = %{version}-%{release}
520 %description gbm-driver-r300
521 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
522 adapters based on R300/R400/RS690/R500 chips.
524 %description gbm-driver-r300 -l pl.UTF-8
525 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
526 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
527 układach R300/R400/RS690/R500.
529 %package gbm-driver-r600
530 Summary: r600 driver for Mesa GBM framework
531 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
533 Requires: %{name}-libgbm = %{version}-%{release}
535 %description gbm-driver-r600
536 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
537 adapters based on R600/R700 chips.
539 %description gbm-driver-r600 -l pl.UTF-8
540 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
541 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
544 %package gbm-driver-radeonsi
545 Summary: radeonsi driver for Mesa GBM framework
546 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
548 Requires: %{name}-libgbm = %{version}-%{release}
550 %description gbm-driver-radeonsi
551 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
552 adapters based on Southern Islands chips.
554 %description gbm-driver-radeonsi -l pl.UTF-8
555 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager (zarządcy
556 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
557 układach Southern Islands.
559 %package gbm-driver-vmwgfx
560 Summary: vmwgfx driver for Mesa GBM framework
561 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
563 Requires: %{name}-libgbm = %{version}-%{release}
565 %description gbm-driver-vmwgfx
566 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
567 virtual video adapter.
569 %description gbm-driver-vmwgfx -l pl.UTF-8
570 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
571 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
574 Summary: Mesa GL API shared library
575 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
577 Conflicts: Mesa-libEGL < 8.0.1-2
579 %description libglapi
580 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
582 %description libglapi -l pl.UTF-8
583 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
586 %package libwayland-egl
587 Summary: Wayland EGL library
588 Summary(pl.UTF-8): Biblioteka Wayland EGL
590 Requires: libdrm >= %{libdrm_ver}
592 %description libwayland-egl
593 Wayland EGL platform library.
595 %description libwayland-egl -l pl.UTF-8
596 Biblioteka platformy EGL Wayland.
598 %package libwayland-egl-devel
599 Summary: Development files for Wayland EGL library
600 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
601 Group: Development/Libraries
602 Requires: %{name}-libwayland-egl = %{version}-%{release}
603 Requires: libdrm-devel >= %{libdrm_ver}
604 Requires: wayland-devel
606 %description libwayland-egl-devel
607 Development files for Wayland EGL platform library.
609 %description libwayland-egl-devel -l pl.UTF-8
610 Pliki programistyczne biblioteki platformy EGL Wayland.
612 %package libxatracker
613 Summary: Xorg Gallium3D accelleration library
614 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
616 Requires: libdrm >= %{libdrm_ver}
618 %description libxatracker
619 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
621 %description libxatracker -l pl.UTF-8
622 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
625 %package libxatracker-devel
626 Summary: Header files for Xorg Gallium3D accelleration library
627 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
628 Group: X11/Development/Libraries
629 Requires: %{name}-libxatracker = %{version}-%{release}
630 Requires: libdrm-devel >= %{libdrm_ver}
632 %description libxatracker-devel
633 Header files for Xorg Gallium3D accelleration library.
635 %description libxatracker-devel -l pl.UTF-8
636 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
638 %package khrplatform-devel
639 Summary: Khronos platform header file
640 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
641 Group: Development/Libraries
642 Conflicts: Mesa-libEGL-devel < 8.0.1-2
644 %description khrplatform-devel
645 Khronos platform header file.
647 %description khrplatform-devel -l pl.UTF-8
648 Plik nagłówkowy platformy Khronos.
651 Summary: X.org DRI core library
652 Summary(pl.UTF-8): Biblioteka X.org DRI core
655 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
656 Requires: xorg-xserver-server >= %{xserver_ver}
658 %description dri-core
659 X.org DRI core library.
661 %description dri-core -l pl.UTF-8
662 Biblioteka X.org DRI core.
664 %package dri-driver-ati-radeon-R100
665 Summary: X.org DRI driver for ATI R100 card family
666 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
669 Requires: xorg-driver-video-ati
670 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
671 Requires: xorg-xserver-server >= %{xserver_ver}
672 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
674 %description dri-driver-ati-radeon-R100
675 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
677 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
678 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
680 %package dri-driver-ati-radeon-R200
681 Summary: X.org DRI driver for ATI R200 card family
682 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
685 Requires: xorg-driver-video-ati
686 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
687 Requires: xorg-xserver-server >= %{xserver_ver}
688 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
690 %description dri-driver-ati-radeon-R200
691 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
693 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
694 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
696 %package dri-driver-ati-radeon-R300
697 Summary: X.org DRI driver for ATI R300 card family
698 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
701 Requires: xorg-driver-video-ati
702 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
703 Requires: xorg-xserver-server >= %{xserver_ver}
704 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
706 %description dri-driver-ati-radeon-R300
707 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
709 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
710 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
712 %package dri-driver-ati-radeon-R600
713 Summary: X.org DRI driver for ATI R600 card family
714 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
717 Requires: radeon-ucode
718 Requires: xorg-driver-video-ati
719 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
720 Requires: xorg-xserver-server >= %{xserver_ver}
722 %description dri-driver-ati-radeon-R600
723 X.org DRI driver for ATI R600/R700 card family.
725 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
726 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
728 %package dri-driver-ati-radeon-SI
729 Summary: X.org DRI driver for ATI Southern Islands card family
730 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
733 Requires: radeon-ucode
734 Requires: xorg-driver-video-ati
735 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
736 Requires: xorg-xserver-server >= %{xserver_ver}
738 %description dri-driver-ati-radeon-SI
739 X.org DRI driver for ATI Southern Islands card family.
741 %description dri-driver-ati-radeon-SI -l pl.UTF-8
742 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
744 %package dri-driver-intel-i915
745 Summary: X.org DRI driver for Intel i915 card family
746 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
749 Requires: xorg-driver-video-intel
750 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
751 Requires: xorg-xserver-server >= %{xserver_ver}
752 Obsoletes: Mesa-dri-driver-intel-i830
753 Obsoletes: X11-driver-i810-dri < 1:7.0.0
755 %description dri-driver-intel-i915
756 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
759 %description dri-driver-intel-i915 -l pl.UTF-8
760 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
763 %package dri-driver-intel-i965
764 Summary: X.org DRI driver for Intel i965 card family
765 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
768 Requires: xorg-driver-video-intel
769 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
770 Requires: xorg-xserver-server >= %{xserver_ver}
771 Obsoletes: Mesa-dri-driver-intel-i830
772 Obsoletes: X11-driver-i810-dri < 1:7.0.0
774 %description dri-driver-intel-i965
775 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
776 965GME, GM45, G41, B43, Q45, G45);
778 %description dri-driver-intel-i965 -l pl.UTF-8
779 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
780 965GM, 965GME, GM45, G41, B43, Q45, G45).
782 %package dri-driver-nouveau
783 Summary: X.org DRI driver for NVIDIA card family
784 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
787 Requires: xorg-driver-video-nouveau
788 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
789 Requires: xorg-xserver-server >= %{xserver_ver}
791 %description dri-driver-nouveau
792 X.org DRI drivers for NVIDIA card family.
794 %description dri-driver-nouveau -l pl.UTF-8
795 Sterowniki X.org DRI dla rodziny kart NVIDIA.
797 %package dri-driver-swrast
798 Summary: X.org DRI software rasterizer driver
799 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
802 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
803 Requires: xorg-xserver-server >= %{xserver_ver}
805 %description dri-driver-swrast
806 X.org DRI software rasterizer driver.
808 %description dri-driver-swrast -l pl.UTF-8
809 Sterownik X.org DRI obsługujący rysowanie programowe.
811 %package dri-driver-vmwgfx
812 Summary: X.org DRI driver for VMware
813 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
816 Requires: xorg-driver-video-vmware
817 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
818 Requires: xorg-xserver-server >= %{xserver_ver}
820 %description dri-driver-vmwgfx
821 X.org DRI driver for VMWare.
823 %description dri-driver-vmwgfx -l pl.UTF-8
824 Sterownik X.org DRI dla VMware.
826 %package -n libvdpau-driver-mesa-nouveau
827 Summary: Mesa nouveau driver for the vdpau API
828 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
831 Requires: libdrm >= %{libdrm_ver}
832 Requires: libvdpau >= 0.4.1
833 Conflicts: libvdpau-driver-mesa
835 %description -n libvdpau-driver-mesa-nouveau
836 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
839 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
840 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
843 %package -n libvdpau-driver-mesa-r300
844 Summary: Mesa r300 driver for the vdpau API
845 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
848 Requires: libdrm >= %{libdrm_ver}
849 Requires: libvdpau >= 0.4.1
850 Conflicts: libvdpau-driver-mesa
852 %description -n libvdpau-driver-mesa-r300
853 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
854 based on R300/R400/RS690/R500 chips.
856 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
857 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
858 na układach R300/R400/RS690/R500.
860 %package -n libvdpau-driver-mesa-r600
861 Summary: Mesa r600 driver for the vdpau API
862 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
865 Requires: libdrm >= %{libdrm_ver}
866 Requires: libvdpau >= 0.4.1
867 Conflicts: libvdpau-driver-mesa
869 %description -n libvdpau-driver-mesa-r600
870 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
871 based on R600/R700 chips.
873 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
874 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
875 na układach R600/R700.
877 %package -n libvdpau-driver-mesa-radeonsi
878 Summary: Mesa radeonsi driver for the vdpau API
879 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
882 Requires: libdrm >= %{libdrm_ver}
883 Requires: libvdpau >= 0.4.1
884 Conflicts: libvdpau-driver-mesa
886 %description -n libvdpau-driver-mesa-radeonsi
887 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon adapters
888 based on Southern Islands chips.
890 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
891 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon oparte
892 na układach Southern Islands.
894 %package -n libvdpau-driver-mesa-softpipe
895 Summary: Mesa softpipe driver for the vdpau API
896 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
899 Requires: libdrm >= %{libdrm_ver}
900 Requires: libvdpau >= 0.4.1
901 Conflicts: libvdpau-driver-mesa
903 %description -n libvdpau-driver-mesa-softpipe
904 Mesa softpipe driver for the vdpau API.
906 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
907 Sterownik Mesa softpipe dla API vdpau.
917 if [ -x autogen.sh ]; then
924 dri_drivers="r200 radeon \
925 %if %{without gallium_intel}
929 %ifarch sparc sparcv9 sparc64
934 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
936 gallium_drivers="svga swrast \
937 %if %{with gallium_intel}
943 %if %{with gallium_nouveau}
948 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
951 --disable-silent-rules \
956 %{?with_static_libs:--enable-static} \
959 --enable-shared-glapi \
964 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
967 --enable-gallium-llvm \
968 --with-llvm-shared-libs \ \
969 %{__enable egl gallium-egl} \
970 %{__enable gbm gallium-gbm} \
971 %{?with_egl:--enable-openvg} \
973 %{?with_xa:--enable-xa} \
975 --with-gallium-drivers=${gallium_drivers} \
977 --without-gallium-drivers \
979 --with-dri-drivers=${dri_drivers} \
980 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
985 rm -rf $RPM_BUILD_ROOT
988 DESTDIR=$RPM_BUILD_ROOT
990 # strip out undesirable headers
991 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
993 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
994 # not used externally
995 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
997 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
998 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
999 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1002 rm -rf $RPM_BUILD_ROOT
1004 %post libEGL -p /sbin/ldconfig
1005 %postun libEGL -p /sbin/ldconfig
1007 %post libGL -p /sbin/ldconfig
1008 %postun libGL -p /sbin/ldconfig
1010 %post libGLES -p /sbin/ldconfig
1011 %postun libGLES -p /sbin/ldconfig
1013 %post libOSMesa -p /sbin/ldconfig
1014 %postun libOSMesa -p /sbin/ldconfig
1016 %post libOpenVG -p /sbin/ldconfig
1017 %postun libOpenVG -p /sbin/ldconfig
1019 %post libXvMC-nouveau -p /sbin/ldconfig
1020 %postun libXvMC-nouveau -p /sbin/ldconfig
1021 %post libXvMC-r300 -p /sbin/ldconfig
1022 %postun libXvMC-r300 -p /sbin/ldconfig
1023 %post libXvMC-r600 -p /sbin/ldconfig
1024 %postun libXvMC-r600 -p /sbin/ldconfig
1025 %post libXvMC-softpipe -p /sbin/ldconfig
1026 %postun libXvMC-softpipe -p /sbin/ldconfig
1028 %post libgbm -p /sbin/ldconfig
1029 %postun libgbm -p /sbin/ldconfig
1031 %post libglapi -p /sbin/ldconfig
1032 %postun libglapi -p /sbin/ldconfig
1034 %post libwayland-egl -p /sbin/ldconfig
1035 %postun libwayland-egl -p /sbin/ldconfig
1037 %post libxatracker -p /sbin/ldconfig
1038 %postun libxatracker -p /sbin/ldconfig
1040 %post dri-core -p /sbin/ldconfig
1041 %postun dri-core -p /sbin/ldconfig
1045 %defattr(644,root,root,755)
1046 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1047 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1050 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_libdir}/libEGL.so
1056 %dir %{_includedir}/EGL
1057 %{_includedir}/EGL/egl.h
1058 %{_includedir}/EGL/eglext.h
1059 %{_includedir}/EGL/eglmesaext.h
1060 %{_includedir}/EGL/eglplatform.h
1061 %{_pkgconfigdir}/egl.pc
1063 %if %{with static_libs}
1064 %files libEGL-static
1065 %defattr(644,root,root,755)
1071 %defattr(644,root,root,755)
1072 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1073 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1074 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1075 # symlink for binary apps which fail to conform Linux OpenGL ABI
1076 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1077 %attr(755,root,root) %{_libdir}/libGL.so
1080 %defattr(644,root,root,755)
1082 %dir %{_includedir}/GL
1083 %{_includedir}/GL/gl.h
1084 %{_includedir}/GL/glext.h
1085 %{_includedir}/GL/gl_mangle.h
1086 %{_includedir}/GL/glx.h
1087 %{_includedir}/GL/glxext.h
1088 %{_includedir}/GL/glx_mangle.h
1089 %dir %{_includedir}/GL/internal
1090 %{_includedir}/GL/internal/dri_interface.h
1091 %{_pkgconfigdir}/dri.pc
1092 %{_pkgconfigdir}/gl.pc
1094 %if %{with static_libs}
1096 %defattr(644,root,root,755)
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1103 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1104 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1105 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1107 %files libGLES-devel
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1110 %attr(755,root,root) %{_libdir}/libGLESv2.so
1112 %{_includedir}/GLES2
1113 %{_pkgconfigdir}/glesv1_cm.pc
1114 %{_pkgconfigdir}/glesv2.pc
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1119 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1121 %files libOSMesa-devel
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/libOSMesa.so
1124 %{_includedir}/GL/osmesa.h
1125 %{_pkgconfigdir}/osmesa.pc
1127 %if %{with static_libs}
1128 %files libOSMesa-static
1129 %defattr(644,root,root,755)
1130 %{_libdir}/libOSMesa.a
1133 %if %{with egl} && %{with gallium}
1135 %defattr(644,root,root,755)
1136 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1137 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1139 %files libOpenVG-devel
1140 %defattr(644,root,root,755)
1141 %attr(755,root,root) %{_libdir}/libOpenVG.so
1143 %{_pkgconfigdir}/vg.pc
1147 %if %{with gallium_nouveau}
1148 %files libXvMC-nouveau
1149 %defattr(644,root,root,755)
1150 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1151 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1155 %defattr(644,root,root,755)
1156 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1157 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1160 %defattr(644,root,root,755)
1161 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1162 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1164 %files libXvMC-softpipe
1165 %defattr(644,root,root,755)
1166 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1167 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1172 %defattr(644,root,root,755)
1173 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1174 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1177 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_libdir}/libgbm.so
1183 %{_includedir}/gbm.h
1184 %{_pkgconfigdir}/gbm.pc
1188 %files gbm-driver-swrast
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1192 %if %{with gallium_intel}
1193 %files gbm-driver-i915
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1198 %if %{with gallium_nouveau}
1199 %files gbm-driver-nouveau
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1204 %files gbm-driver-r300
1205 %defattr(644,root,root,755)
1206 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1208 %files gbm-driver-r600
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1212 %files gbm-driver-radeonsi
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1216 %files gbm-driver-vmwgfx
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1224 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1225 # libglapi-devel? nothing seems to need it atm.
1226 #%attr(755,root,root) %{_libdir}/libglapi.so
1229 %files libwayland-egl
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1232 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1234 %files libwayland-egl-devel
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1237 %{_pkgconfigdir}/wayland-egl.pc
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1244 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1246 %files libxatracker-devel
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_libdir}/libxatracker.so
1249 %{_includedir}/xa_composite.h
1250 %{_includedir}/xa_context.h
1251 %{_includedir}/xa_tracker.h
1252 %{_pkgconfigdir}/xatracker.pc
1256 %files khrplatform-devel
1257 %defattr(644,root,root,755)
1258 %dir %{_includedir}/KHR
1259 %{_includedir}/KHR/khrplatform.h
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_libdir}/libdricore%{version}.so.*.*
1265 %attr(755,root,root) %ghost %{_libdir}/libdricore%{version}.so.1
1267 %files dri-driver-ati-radeon-R100
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1271 %files dri-driver-ati-radeon-R200
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1276 %files dri-driver-ati-radeon-R300
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1280 %files dri-driver-ati-radeon-R600
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1284 %files dri-driver-ati-radeon-SI
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1288 %files dri-driver-intel-i915
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1292 %files dri-driver-intel-i965
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1296 %if %{with gallium_nouveau}
1297 %files dri-driver-nouveau
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1303 %files dri-driver-swrast
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1308 %files dri-driver-vmwgfx
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1314 # ldconfig is not used in vdpau tree, so package all symlinks
1315 %if %{with gallium_nouveau}
1316 %files -n libvdpau-driver-mesa-nouveau
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1319 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1320 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1323 %files -n libvdpau-driver-mesa-r300
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1326 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1327 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1329 %files -n libvdpau-driver-mesa-r600
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1332 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1333 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1335 %files -n libvdpau-driver-mesa-radeonsi
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1338 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1339 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1341 %files -n libvdpau-driver-mesa-softpipe
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1344 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1345 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so