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
11 %bcond_without egl # EGL libraries
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.39
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-md5: 60e557ce407be3732711da484ab3db6c
39 Patch0: %{name}-link.patch
40 URL: http://www.mesa3d.org/
41 BuildRequires: autoconf >= 2.60
42 BuildRequires: automake
43 BuildRequires: expat-devel
44 BuildRequires: gcc >= 5:3.3
45 BuildRequires: libdrm-devel >= %{libdrm_ver}
46 BuildRequires: libselinux-devel
47 BuildRequires: libstdc++-devel >= 5:3.3.0
48 BuildRequires: libtalloc-devel >= 2:2.0.1
49 BuildRequires: libtool >= 2:2.2
50 BuildRequires: libvdpau-devel >= 0.4.1
51 BuildRequires: libxcb-devel >= 1.8.1
52 BuildRequires: llvm-devel >= 2.9
53 BuildRequires: perl-base
54 BuildRequires: pixman-devel
55 BuildRequires: pkgconfig
56 BuildRequires: pkgconfig(talloc) >= 2.0.1
57 BuildRequires: python >= 2
58 BuildRequires: python-libxml2
59 BuildRequires: python-modules >= 2
60 BuildRequires: rpmbuild(macros) >= 1.470
61 BuildRequires: sed >= 4.0
62 %{?with_egl:BuildRequires: udev-devel >= 1:150}
63 # wayland-{client,server}
64 %{?with_wayland:BuildRequires: wayland-devel}
65 BuildRequires: xorg-lib-libXdamage-devel
66 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
67 BuildRequires: xorg-lib-libXfixes-devel
68 BuildRequires: xorg-lib-libXt-devel
69 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
70 BuildRequires: xorg-lib-libXxf86vm-devel
71 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
72 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
73 BuildRequires: xorg-util-makedepend
74 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
76 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
77 BuildRequires: xorg-xserver-server-devel >= 1.6.0
79 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
81 %if %{without gallium}
82 %undefine with_gallium_intel
83 %undefine with_gallium_nouveau
89 %undefine with_wayland
92 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
93 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libXvMCnouveau.so.* libdricore.*.so.* libOSMesa.so.* libdricore.*so.*
96 %define filterout_ld -Wl,--as-needed
99 Mesa is a 3-D graphics library with an API which is very similar to
100 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
101 syntax or state machine, it is being used with authorization from
102 Silicon Graphics, Inc. However, the author does not possess an OpenGL
103 license from SGI, and makes no claim that Mesa is in any way a
104 compatible replacement for OpenGL or associated with SGI.
106 %description -l pl.UTF-8
107 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
108 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
109 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
110 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
111 OpenGL ani powiązana z SGI.
114 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
115 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
118 Requires: %{name}-libglapi = %{version}-%{release}
119 # glx driver in libEGL dlopens libGL.so
120 Requires: OpenGL >= 1.2
121 Requires: libdrm >= %{libdrm_ver}
124 Requires: %{name}-libOpenVG = %{version}-%{release}
125 Requires: udev-libs >= 1:150
128 Requires: %{name}-libgbm = %{version}-%{release}
133 This package contains shared libEGL - Mesa implementation of EGL
134 Native Platform Graphics Interface as specified by Khronos Group:
135 <http://www.khronos.org/egl/>.
137 %description libEGL -l pl.UTF-8
138 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
139 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
140 graficznego platformy natywnej) wg specyfikacji Khronos Group:
141 <http://www.khronos.org/egl/>.
143 %package libEGL-devel
144 Summary: Header files for Mesa implementation of EGL library
145 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
147 Group: Development/Libraries
148 Requires: %{name}-khrplatform-devel = %{version}-%{release}
149 Requires: %{name}-libEGL = %{version}-%{release}
150 Requires: libdrm-devel >= %{libdrm_ver}
151 Requires: xorg-lib-libX11-devel
152 Requires: xorg-lib-libXdamage-devel
153 Requires: xorg-lib-libXext-devel
154 Requires: xorg-lib-libXfixes-devel
155 Requires: xorg-lib-libXxf86vm-devel
156 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
157 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
158 Provides: EGL-devel = 1.4
160 %description libEGL-devel
161 Header files for Mesa implementation of EGL library.
163 %description libEGL-devel -l pl.UTF-8
164 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
166 %package libEGL-static
167 Summary: Static Mesa EGL library
168 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
170 Group: Development/Libraries
171 Requires: %{name}-libEGL-devel = %{version}-%{release}
172 Provides: EGL-static = 1.4
174 %description libEGL-static
175 Static Mesa EGL library.
177 %description libEGL-static -l pl.UTF-8
178 Statyczna biblioteka Mesa EGL.
181 Summary: Free Mesa3D implementation of libGL OpenGL library
182 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
185 Requires: %{name}-libglapi = %{version}-%{release}
186 Requires: libdrm >= %{libdrm_ver}
187 Provides: OpenGL = 3.1
188 Provides: OpenGL-GLX = 1.4
191 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
192 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
195 Mesa is a 3-D graphics library with an API which is very similar to
196 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
197 syntax or state machine, it is being used with authorization from
198 Silicon Graphics, Inc. However, the author does not possess an OpenGL
199 license from SGI, and makes no claim that Mesa is in any way a
200 compatible replacement for OpenGL or associated with SGI.
202 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
203 specifications. It uses DRI for rendering.
205 %description libGL -l pl.UTF-8
206 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
207 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
208 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
209 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
210 OpenGL ani powiązana z SGI.
212 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
213 GLX 1.4. Używa DRI do renderowania.
216 Summary: Header files for Mesa3D libGL library
217 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
219 Group: X11/Development/Libraries
220 # loose dependency on libGL to use with other libGL binaries
221 Requires: OpenGL >= 1.5
222 Requires: libdrm-devel >= %{libdrm_ver}
223 Requires: xorg-lib-libX11-devel
224 Requires: xorg-lib-libXdamage-devel
225 Requires: xorg-lib-libXext-devel
226 Requires: xorg-lib-libXxf86vm-devel
227 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
228 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
229 Suggests: OpenGL-doc-man
230 Provides: OpenGL-GLX-devel = 1.4
231 Provides: OpenGL-devel = 3.1
232 Obsoletes: Mesa-devel
233 Obsoletes: X11-OpenGL-devel < 1:7.0.0
234 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
235 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
236 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
238 %description libGL-devel
239 Header files for Mesa3D libGL library.
241 %description libGL-devel -l pl.UTF-8
242 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
244 %package libGL-static
245 Summary: Static Mesa3D libGL library
246 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
248 Group: X11/Development/Libraries
249 Requires: %{name}-libGL-devel = %{version}-%{release}
250 Provides: OpenGL-static = 3.1
251 Obsoletes: Mesa-static
252 Obsoletes: X11-OpenGL-static < 1:7.0.0
253 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
255 %description libGL-static
256 Static Mesa3D libGL library. It uses software renderer.
258 %description libGL-static -l pl.UTF-8
259 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
263 Summary: Mesa implementation of GLES (OpenGL ES) libraries
264 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
266 Requires: %{name}-libglapi = %{version}-%{release}
268 Provides: OpenGLESv1 = 1.1
269 Provides: OpenGLESv2 = 2.0
272 This package contains shared libraries of Mesa implementation of GLES
273 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
274 on embedded systems. OpenGL ES specification can be found on Khronos
275 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
278 %description libGLES -l pl.UTF-8
279 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
280 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
281 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
282 OpenGL ES można znaleźć na stronie Khronos Group:
283 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
286 %package libGLES-devel
287 Summary: Header files for Mesa GLES libraries
288 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
289 Group: Development/Libraries
290 Requires: %{name}-khrplatform-devel = %{version}-%{release}
291 # <EGL/egl.h> for <GLES/egl.h>
292 Requires: %{name}-libEGL-devel = %{version}-%{release}
293 Requires: %{name}-libGLES = %{version}-%{release}
294 Provides: OpenGLES-devel
295 Provides: OpenGLESv1-devel = 1.1
296 Provides: OpenGLESv2-devel = 2.0
298 %description libGLES-devel
299 Header files for Mesa GLES libraries.
301 %description libGLES-devel -l pl.UTF-8
302 Pliki nagłówkowe bibliotek Mesa GLES.
305 Summary: OSMesa (off-screen renderer) library
306 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
310 %description libOSMesa
311 OSMesa (off-screen renderer) library.
313 %description libOSMesa -l pl.UTF-8
314 Biblioteka OSMesa (renderująca bitmapy w pamięci).
316 %package libOSMesa-devel
317 Summary: Header file for OSMesa (off-screen renderer) library
318 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
320 Group: Development/Libraries
321 Requires: %{name}-libOSMesa = %{version}-%{release}
323 Requires: OpenGL-devel
324 Requires: libselinux-devel
326 %description libOSMesa-devel
327 Header file for OSMesa (off-screen renderer) library.
329 %description libOSMesa-devel -l pl.UTF-8
330 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
332 %package libOSMesa-static
333 Summary: Static OSMesa (off-screen renderer) library
334 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
336 Group: Development/Libraries
337 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
338 # this static build of OSMesa needs static non-dri Mesa implementation
339 Requires: %{name}-libGL-static = %{version}-%{release}
341 %description libOSMesa-static
342 Static OSMesa (off-screen renderer) library.
344 %description libOSMesa-static -l pl.UTF-8
345 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
348 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
349 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
352 Provides: OpenVG = 1.1
354 %description libOpenVG
355 This package contains Mesa implementation of OpenVG - cross-platform
356 API that provides a low-level hardware acceleration interface for
357 vector graphics libraries such as Flash and SVG. OpenVG specification
358 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
359 Mesa implements OpenVG 1.1.
361 %description libOpenVG -l pl.UTF-8
362 Ten pakiet zawiera implementację Mesa standardu OpenVG -
363 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
364 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
365 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
366 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
369 %package libOpenVG-devel
370 Summary: Header file for Mesa OpenVG library
371 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
373 Group: Development/Libraries
374 Requires: %{name}-khrplatform-devel = %{version}-%{release}
375 Requires: %{name}-libOpenVG = %{version}-%{release}
376 Provides: OpenVG-devel = 1.1
378 %description libOpenVG-devel
379 Header file for Mesa OpenVG library.
381 %description libOpenVG-devel -l pl.UTF-8
382 Plik nagłówkowy biblioteki Mesa OpenVG.
384 %package libXvMC-nouveau
385 Summary: Mesa implementation of XvMC API for NVidia adapters
386 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
389 Requires: libdrm >= %{libdrm_ver}
390 Requires: xorg-lib-libXvMC >= 1.0.6
391 Conflicts: Mesa-libXvMC
393 %description libXvMC-nouveau
394 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
396 %description libXvMC-nouveau -l pl.UTF-8
397 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
399 %package libXvMC-r300
400 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
401 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
404 Requires: libdrm >= %{libdrm_ver}
405 Requires: xorg-lib-libXvMC >= 1.0.6
406 Conflicts: Mesa-libXvMC
408 %description libXvMC-r300
409 Mesa implementation of XvMC API for ATI Radeon adapters based on
410 R300/R400/RS690/R500 chips.
412 %description libXvMC-r300 -l pl.UTF-8
413 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
414 R300/R400/RS690/R500.
416 %package libXvMC-r600
417 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
418 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
421 Requires: libdrm >= %{libdrm_ver}
422 Requires: xorg-lib-libXvMC >= 1.0.6
423 Conflicts: Mesa-libXvMC
425 %description libXvMC-r600
426 Mesa implementation of XvMC API for ATI Radeon adapters based on
429 %description libXvMC-r600 -l pl.UTF-8
430 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
433 %package libXvMC-softpipe
434 Summary: Mesa softpipe implementation of XvMC API
435 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
438 Requires: libdrm >= %{libdrm_ver}
439 Requires: xorg-lib-libXvMC >= 1.0.6
440 Conflicts: Mesa-libXvMC
442 %description libXvMC-softpipe
443 Mesa softpipe implementation of XvMC API.
445 %description libXvMC-softpipe -l pl.UTF-8
446 Implementacja Mesa softpipe API XvMC.
449 Summary: Mesa Graphics Buffer Manager library
450 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
452 Requires: udev-libs >= 1:150
453 Conflicts: Mesa-libEGL < 8.0.1-2
456 Mesa Graphics Buffer Manager library.
458 %description libgbm -l pl.UTF-8
459 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
461 %package libgbm-devel
462 Summary: Header file for Mesa Graphics Buffer Manager library
463 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
464 Group: Development/Libraries
465 Requires: %{name}-libgbm = %{version}-%{release}
466 Requires: udev-devel >= 1:150
468 %description libgbm-devel
469 Header file for Mesa Graphics Buffer Manager library.
471 %description libgbm-devel -l pl.UTF-8
472 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
475 %package gbm-driver-swrast
476 Summary: Software (swrast) driver for Mesa GBM framework
477 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
479 Requires: %{name}-libgbm = %{version}-%{release}
481 %description gbm-driver-swrast
482 Software (swrast) driver for Mesa Graphics Buffer Manager.
484 %description gbm-driver-swrast -l pl.UTF-8
485 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
486 Manager (zarządcy bufora graficznego).
488 %package gbm-driver-i915
489 Summary: i915 driver for Mesa GBM framework
490 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
492 Requires: %{name}-libgbm = %{version}-%{release}
494 %description gbm-driver-i915
495 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
496 915/945/G33/Q33/Q35/Pineview chips.
498 %description gbm-driver-i915 -l pl.UTF-8
499 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
500 bufora graficznego). Obsługuje układy Intela z serii
501 915/945/G33/Q33/Q35/Pineview.
503 %package gbm-driver-nouveau
504 Summary: nouveau driver for Mesa GBM framework
505 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
507 Requires: %{name}-libgbm = %{version}-%{release}
509 %description gbm-driver-nouveau
510 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
513 %description gbm-driver-nouveau -l pl.UTF-8
514 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
515 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
517 %package gbm-driver-r300
518 Summary: r300 driver for Mesa GBM framework
519 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
521 Requires: %{name}-libgbm = %{version}-%{release}
523 %description gbm-driver-r300
524 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
525 adapters based on R300/R400/RS690/R500 chips.
527 %description gbm-driver-r300 -l pl.UTF-8
528 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
529 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
530 układach R300/R400/RS690/R500.
532 %package gbm-driver-r600
533 Summary: r600 driver for Mesa GBM framework
534 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
536 Requires: %{name}-libgbm = %{version}-%{release}
538 %description gbm-driver-r600
539 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
540 adapters based on R600/R700 chips.
542 %description gbm-driver-r600 -l pl.UTF-8
543 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
544 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
547 %package gbm-driver-radeonsi
548 Summary: radeonsi driver for Mesa GBM framework
549 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
551 Requires: %{name}-libgbm = %{version}-%{release}
553 %description gbm-driver-radeonsi
554 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
555 Radeon adapters based on Southern Islands chips.
557 %description gbm-driver-radeonsi -l pl.UTF-8
558 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
559 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
560 oparte na układach Southern Islands.
562 %package gbm-driver-vmwgfx
563 Summary: vmwgfx driver for Mesa GBM framework
564 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
566 Requires: %{name}-libgbm = %{version}-%{release}
568 %description gbm-driver-vmwgfx
569 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
570 virtual video adapter.
572 %description gbm-driver-vmwgfx -l pl.UTF-8
573 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
574 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
577 Summary: Mesa GL API shared library
578 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
580 Conflicts: Mesa-libEGL < 8.0.1-2
582 %description libglapi
583 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
585 %description libglapi -l pl.UTF-8
586 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
589 %package libwayland-egl
590 Summary: Wayland EGL library
591 Summary(pl.UTF-8): Biblioteka Wayland EGL
593 Requires: libdrm >= %{libdrm_ver}
595 %description libwayland-egl
596 Wayland EGL platform library.
598 %description libwayland-egl -l pl.UTF-8
599 Biblioteka platformy EGL Wayland.
601 %package libwayland-egl-devel
602 Summary: Development files for Wayland EGL library
603 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
604 Group: Development/Libraries
605 Requires: %{name}-libwayland-egl = %{version}-%{release}
606 Requires: libdrm-devel >= %{libdrm_ver}
607 Requires: wayland-devel
609 %description libwayland-egl-devel
610 Development files for Wayland EGL platform library.
612 %description libwayland-egl-devel -l pl.UTF-8
613 Pliki programistyczne biblioteki platformy EGL Wayland.
615 %package libxatracker
616 Summary: Xorg Gallium3D accelleration library
617 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
619 Requires: libdrm >= %{libdrm_ver}
621 %description libxatracker
622 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
624 %description libxatracker -l pl.UTF-8
625 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
628 %package libxatracker-devel
629 Summary: Header files for Xorg Gallium3D accelleration library
630 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
631 Group: X11/Development/Libraries
632 Requires: %{name}-libxatracker = %{version}-%{release}
633 Requires: libdrm-devel >= %{libdrm_ver}
635 %description libxatracker-devel
636 Header files for Xorg Gallium3D accelleration library.
638 %description libxatracker-devel -l pl.UTF-8
639 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
641 %package khrplatform-devel
642 Summary: Khronos platform header file
643 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
644 Group: Development/Libraries
645 Conflicts: Mesa-libEGL-devel < 8.0.1-2
647 %description khrplatform-devel
648 Khronos platform header file.
650 %description khrplatform-devel -l pl.UTF-8
651 Plik nagłówkowy platformy Khronos.
654 Summary: X.org DRI core library
655 Summary(pl.UTF-8): Biblioteka X.org DRI core
658 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
659 Requires: xorg-xserver-server >= %{xserver_ver}
661 %description dri-core
662 X.org DRI core library.
664 %description dri-core -l pl.UTF-8
665 Biblioteka X.org DRI core.
667 %package dri-driver-ati-radeon-R100
668 Summary: X.org DRI driver for ATI R100 card family
669 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
672 Requires: %{name}-dri-core = %{version}-%{release}
673 Requires: xorg-driver-video-ati
674 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
675 Requires: xorg-xserver-server >= %{xserver_ver}
676 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
678 %description dri-driver-ati-radeon-R100
679 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
681 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
682 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
684 %package dri-driver-ati-radeon-R200
685 Summary: X.org DRI driver for ATI R200 card family
686 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
689 Requires: %{name}-dri-core = %{version}-%{release}
690 Requires: xorg-driver-video-ati
691 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
692 Requires: xorg-xserver-server >= %{xserver_ver}
693 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
695 %description dri-driver-ati-radeon-R200
696 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
698 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
699 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
701 %package dri-driver-ati-radeon-R300
702 Summary: X.org DRI driver for ATI R300 card family
703 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
706 Requires: xorg-driver-video-ati
707 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
708 Requires: xorg-xserver-server >= %{xserver_ver}
709 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
711 %description dri-driver-ati-radeon-R300
712 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
714 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
715 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
717 %package dri-driver-ati-radeon-R600
718 Summary: X.org DRI driver for ATI R600 card family
719 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
722 Requires: radeon-ucode
723 Requires: xorg-driver-video-ati
724 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
725 Requires: xorg-xserver-server >= %{xserver_ver}
727 %description dri-driver-ati-radeon-R600
728 X.org DRI driver for ATI R600/R700 card family.
730 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
731 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
733 %package dri-driver-ati-radeon-SI
734 Summary: X.org DRI driver for ATI Southern Islands card family
735 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
738 Requires: radeon-ucode
739 Requires: xorg-driver-video-ati
740 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
741 Requires: xorg-xserver-server >= %{xserver_ver}
743 %description dri-driver-ati-radeon-SI
744 X.org DRI driver for ATI Southern Islands card family.
746 %description dri-driver-ati-radeon-SI -l pl.UTF-8
747 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
749 %package dri-driver-intel-i915
750 Summary: X.org DRI driver for Intel i915 card family
751 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
754 %if %{without gallium_intel}
755 Requires: %{name}-dri-core = %{version}-%{release}
757 Requires: xorg-driver-video-intel
758 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
759 Requires: xorg-xserver-server >= %{xserver_ver}
760 Obsoletes: Mesa-dri-driver-intel-i830
761 Obsoletes: X11-driver-i810-dri < 1:7.0.0
763 %description dri-driver-intel-i915
764 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
767 %description dri-driver-intel-i915 -l pl.UTF-8
768 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
771 %package dri-driver-intel-i965
772 Summary: X.org DRI driver for Intel i965 card family
773 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
776 Requires: %{name}-dri-core = %{version}-%{release}
777 Requires: xorg-driver-video-intel
778 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
779 Requires: xorg-xserver-server >= %{xserver_ver}
780 Obsoletes: Mesa-dri-driver-intel-i830
781 Obsoletes: X11-driver-i810-dri < 1:7.0.0
783 %description dri-driver-intel-i965
784 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
785 965GME, GM45, G41, B43, Q45, G45);
787 %description dri-driver-intel-i965 -l pl.UTF-8
788 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
789 965GM, 965GME, GM45, G41, B43, Q45, G45).
791 %package dri-driver-nouveau
792 Summary: X.org DRI driver for NVIDIA card family
793 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
796 Requires: %{name}-dri-core = %{version}-%{release}
797 Requires: xorg-driver-video-nouveau
798 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
799 Requires: xorg-xserver-server >= %{xserver_ver}
801 %description dri-driver-nouveau
802 X.org DRI drivers for NVIDIA card family.
804 %description dri-driver-nouveau -l pl.UTF-8
805 Sterowniki X.org DRI dla rodziny kart NVIDIA.
807 %package dri-driver-swrast
808 Summary: X.org DRI software rasterizer driver
809 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
812 Requires: %{name}-dri-core = %{version}-%{release}
813 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
814 Requires: xorg-xserver-server >= %{xserver_ver}
816 %description dri-driver-swrast
817 X.org DRI software rasterizer driver.
819 %description dri-driver-swrast -l pl.UTF-8
820 Sterownik X.org DRI obsługujący rysowanie programowe.
822 %package dri-driver-vmwgfx
823 Summary: X.org DRI driver for VMware
824 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
827 Requires: xorg-driver-video-vmware
828 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
829 Requires: xorg-xserver-server >= %{xserver_ver}
831 %description dri-driver-vmwgfx
832 X.org DRI driver for VMWare.
834 %description dri-driver-vmwgfx -l pl.UTF-8
835 Sterownik X.org DRI dla VMware.
837 %package -n libvdpau-driver-mesa-nouveau
838 Summary: Mesa nouveau driver for the vdpau API
839 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
842 Requires: libdrm >= %{libdrm_ver}
843 Requires: libvdpau >= 0.4.1
844 Conflicts: libvdpau-driver-mesa
846 %description -n libvdpau-driver-mesa-nouveau
847 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
850 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
851 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
854 %package -n libvdpau-driver-mesa-r300
855 Summary: Mesa r300 driver for the vdpau API
856 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
859 Requires: libdrm >= %{libdrm_ver}
860 Requires: libvdpau >= 0.4.1
861 Conflicts: libvdpau-driver-mesa
863 %description -n libvdpau-driver-mesa-r300
864 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
865 based on R300/R400/RS690/R500 chips.
867 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
868 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
869 na układach R300/R400/RS690/R500.
871 %package -n libvdpau-driver-mesa-r600
872 Summary: Mesa r600 driver for the vdpau API
873 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
876 Requires: libdrm >= %{libdrm_ver}
877 Requires: libvdpau >= 0.4.1
878 Conflicts: libvdpau-driver-mesa
880 %description -n libvdpau-driver-mesa-r600
881 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
882 based on R600/R700 chips.
884 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
885 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
886 na układach R600/R700.
888 %package -n libvdpau-driver-mesa-radeonsi
889 Summary: Mesa radeonsi driver for the vdpau API
890 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
893 Requires: libdrm >= %{libdrm_ver}
894 Requires: libvdpau >= 0.4.1
895 Conflicts: libvdpau-driver-mesa
897 %description -n libvdpau-driver-mesa-radeonsi
898 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
899 adapters based on Southern Islands chips.
901 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
902 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
903 oparte na układach Southern Islands.
905 %package -n libvdpau-driver-mesa-softpipe
906 Summary: Mesa softpipe driver for the vdpau API
907 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
910 Requires: libdrm >= %{libdrm_ver}
911 Requires: libvdpau >= 0.4.1
912 Conflicts: libvdpau-driver-mesa
914 %description -n libvdpau-driver-mesa-softpipe
915 Mesa softpipe driver for the vdpau API.
917 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
918 Sterownik Mesa softpipe dla API vdpau.
930 dri_drivers="r200 radeon \
931 %if %{without gallium_intel}
936 %ifarch sparc sparcv9 sparc64
941 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
943 gallium_drivers="svga swrast \
944 %if %{with gallium_intel}
950 %if %{with gallium_nouveau}
955 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
958 --disable-silent-rules \
963 %{?with_static_libs:--enable-static} \
966 --enable-shared-glapi \
971 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
974 --enable-gallium-llvm \
975 --with-llvm-shared-libs \ \
976 %{__enable egl gallium-egl} \
977 %{__enable gbm gallium-gbm} \
978 %{?with_egl:--enable-openvg} \
980 %{?with_xa:--enable-xa} \
982 --with-gallium-drivers=${gallium_drivers} \
984 --without-gallium-drivers \
986 --with-dri-drivers=${dri_drivers} \
987 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
992 rm -rf $RPM_BUILD_ROOT
995 DESTDIR=$RPM_BUILD_ROOT
997 # strip out undesirable headers
998 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1000 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1001 # not used externally
1002 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore9.0.0,glapi}.so
1004 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1005 # not defined by standards; and not needed, there is pkg-config support
1006 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1008 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1009 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1010 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1013 rm -rf $RPM_BUILD_ROOT
1015 %post libEGL -p /sbin/ldconfig
1016 %postun libEGL -p /sbin/ldconfig
1018 %post libGL -p /sbin/ldconfig
1019 %postun libGL -p /sbin/ldconfig
1021 %post libGLES -p /sbin/ldconfig
1022 %postun libGLES -p /sbin/ldconfig
1024 %post libOSMesa -p /sbin/ldconfig
1025 %postun libOSMesa -p /sbin/ldconfig
1027 %post libOpenVG -p /sbin/ldconfig
1028 %postun libOpenVG -p /sbin/ldconfig
1030 %post libXvMC-nouveau -p /sbin/ldconfig
1031 %postun libXvMC-nouveau -p /sbin/ldconfig
1032 %post libXvMC-r300 -p /sbin/ldconfig
1033 %postun libXvMC-r300 -p /sbin/ldconfig
1034 %post libXvMC-r600 -p /sbin/ldconfig
1035 %postun libXvMC-r600 -p /sbin/ldconfig
1036 %post libXvMC-softpipe -p /sbin/ldconfig
1037 %postun libXvMC-softpipe -p /sbin/ldconfig
1039 %post libgbm -p /sbin/ldconfig
1040 %postun libgbm -p /sbin/ldconfig
1042 %post libglapi -p /sbin/ldconfig
1043 %postun libglapi -p /sbin/ldconfig
1045 %post libwayland-egl -p /sbin/ldconfig
1046 %postun libwayland-egl -p /sbin/ldconfig
1048 %post libxatracker -p /sbin/ldconfig
1049 %postun libxatracker -p /sbin/ldconfig
1051 %post dri-core -p /sbin/ldconfig
1052 %postun dri-core -p /sbin/ldconfig
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1058 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1061 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1065 %defattr(644,root,root,755)
1066 %attr(755,root,root) %{_libdir}/libEGL.so
1067 %dir %{_includedir}/EGL
1068 %{_includedir}/EGL/egl.h
1069 %{_includedir}/EGL/eglext.h
1070 %{_includedir}/EGL/eglmesaext.h
1071 %{_includedir}/EGL/eglplatform.h
1072 %{_pkgconfigdir}/egl.pc
1074 %if %{with static_libs}
1075 %files libEGL-static
1076 %defattr(644,root,root,755)
1082 %defattr(644,root,root,755)
1083 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1084 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1085 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1086 # symlink for binary apps which fail to conform Linux OpenGL ABI
1087 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1088 %attr(755,root,root) %{_libdir}/libGL.so
1091 %defattr(644,root,root,755)
1093 %dir %{_includedir}/GL
1094 %{_includedir}/GL/gl.h
1095 %{_includedir}/GL/glext.h
1096 %{_includedir}/GL/gl_mangle.h
1097 %{_includedir}/GL/glx.h
1098 %{_includedir}/GL/glxext.h
1099 %{_includedir}/GL/glx_mangle.h
1100 %dir %{_includedir}/GL/internal
1101 %{_includedir}/GL/internal/dri_interface.h
1102 %{_pkgconfigdir}/dri.pc
1103 %{_pkgconfigdir}/gl.pc
1105 %if %{with static_libs}
1107 %defattr(644,root,root,755)
1112 %defattr(644,root,root,755)
1113 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1114 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1115 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1116 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1118 %files libGLES-devel
1119 %defattr(644,root,root,755)
1120 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1121 %attr(755,root,root) %{_libdir}/libGLESv2.so
1123 %{_includedir}/GLES2
1124 %{_pkgconfigdir}/glesv1_cm.pc
1125 %{_pkgconfigdir}/glesv2.pc
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1130 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1132 %files libOSMesa-devel
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_libdir}/libOSMesa.so
1135 %{_includedir}/GL/osmesa.h
1136 %{_pkgconfigdir}/osmesa.pc
1138 %if %{with static_libs}
1139 %files libOSMesa-static
1140 %defattr(644,root,root,755)
1141 %{_libdir}/libOSMesa.a
1144 %if %{with egl} && %{with gallium}
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1148 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1150 %files libOpenVG-devel
1151 %defattr(644,root,root,755)
1152 %attr(755,root,root) %{_libdir}/libOpenVG.so
1154 %{_pkgconfigdir}/vg.pc
1158 %if %{with gallium_nouveau}
1159 %files libXvMC-nouveau
1160 %defattr(644,root,root,755)
1161 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1162 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1168 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1171 %defattr(644,root,root,755)
1172 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1173 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1175 %files libXvMC-softpipe
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1178 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1183 %defattr(644,root,root,755)
1184 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1185 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1188 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1192 %defattr(644,root,root,755)
1193 %attr(755,root,root) %{_libdir}/libgbm.so
1194 %{_includedir}/gbm.h
1195 %{_pkgconfigdir}/gbm.pc
1199 %files gbm-driver-swrast
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1203 %if %{with gallium_intel}
1204 %files gbm-driver-i915
1205 %defattr(644,root,root,755)
1206 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1209 %if %{with gallium_nouveau}
1210 %files gbm-driver-nouveau
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1215 %files gbm-driver-r300
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1219 %files gbm-driver-r600
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1223 %files gbm-driver-radeonsi
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.so
1227 %files gbm-driver-vmwgfx
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1235 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1236 # libglapi-devel? nothing seems to need it atm.
1237 #%attr(755,root,root) %{_libdir}/libglapi.so
1240 %files libwayland-egl
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1243 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1245 %files libwayland-egl-devel
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1248 %{_pkgconfigdir}/wayland-egl.pc
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1255 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1257 %files libxatracker-devel
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/libxatracker.so
1260 %{_includedir}/xa_composite.h
1261 %{_includedir}/xa_context.h
1262 %{_includedir}/xa_tracker.h
1263 %{_pkgconfigdir}/xatracker.pc
1267 %files khrplatform-devel
1268 %defattr(644,root,root,755)
1269 %dir %{_includedir}/KHR
1270 %{_includedir}/KHR/khrplatform.h
1274 %defattr(644,root,root,755)
1275 %attr(755,root,root) %{_libdir}/libdricore9.0.0.so.*.*
1276 %attr(755,root,root) %ghost %{_libdir}/libdricore9.0.0.so.1
1277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1279 %files dri-driver-ati-radeon-R100
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1283 %files dri-driver-ati-radeon-R200
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1288 %files dri-driver-ati-radeon-R300
1289 %defattr(644,root,root,755)
1290 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1292 %files dri-driver-ati-radeon-R600
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1297 %files dri-driver-ati-radeon-SI
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1301 %files dri-driver-intel-i915
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1305 %files dri-driver-intel-i965
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1309 %files dri-driver-nouveau
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1312 %if %{with gallium_nouveau}
1313 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1316 %files dri-driver-swrast
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1321 %files dri-driver-vmwgfx
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1327 # ldconfig is not used in vdpau tree, so package all symlinks
1328 %if %{with gallium_nouveau}
1329 %files -n libvdpau-driver-mesa-nouveau
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1332 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1333 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1336 %files -n libvdpau-driver-mesa-r300
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1339 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1340 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1342 %files -n libvdpau-driver-mesa-r600
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1345 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1346 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1348 %files -n libvdpau-driver-mesa-radeonsi
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1351 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1352 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1354 %files -n libvdpau-driver-mesa-softpipe
1355 %defattr(644,root,root,755)
1356 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1357 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1358 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so