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 osmesa # OSMesa 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), SGI (GLU) 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: 8c004dda883dcb4449cf8f33e0d768d0
41 #Patch100: %{name}-git.patch
42 Patch0: %{name}-realclean.patch
43 Patch1: %{name}-link.patch
44 Patch2: %{name}-wayland.patch
45 URL: http://www.mesa3d.org/
46 BuildRequires: autoconf >= 2.60
47 BuildRequires: automake
48 BuildRequires: expat-devel
49 BuildRequires: gcc >= 5:3.3
50 BuildRequires: libdrm-devel >= %{libdrm_ver}
51 BuildRequires: libselinux-devel
52 BuildRequires: libstdc++-devel >= 5:3.3.0
53 BuildRequires: libtalloc-devel >= 2:2.0.1
54 BuildRequires: libtool >= 2:1.4d
55 BuildRequires: libvdpau-devel >= 0.4.1
56 BuildRequires: llvm-devel >= 2.9
57 BuildRequires: pixman-devel
58 BuildRequires: pkgconfig
59 BuildRequires: pkgconfig(talloc) >= 2.0.1
61 BuildRequires: python-libxml2
62 BuildRequires: python-modules
63 BuildRequires: rpmbuild(macros) >= 1.470
64 BuildRequires: sed >= 4.0
65 # wayland-{client,server}
66 %{?with_wayland:BuildRequires: wayland-devel}
67 BuildRequires: xorg-lib-libXdamage-devel
68 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
69 BuildRequires: xorg-lib-libXfixes-devel
70 BuildRequires: xorg-lib-libXt-devel
71 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
72 BuildRequires: xorg-lib-libXxf86vm-devel
73 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
74 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
75 BuildRequires: xorg-util-makedepend
76 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
78 BuildRequires: libxcb-devel
79 BuildRequires: udev-devel >= 1:150
82 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
83 BuildRequires: xorg-xserver-server-devel >= 1.6.0
85 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87 %if %{without gallium}
88 %undefine with_gallium_intel
89 %undefine with_gallium_nouveau
95 %undefine with_wayland
98 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
99 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libXvMCnouveau.so.*
102 %define filterout_ld -Wl,--as-needed
105 Mesa is a 3-D graphics library with an API which is very similar to
106 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
107 syntax or state machine, it is being used with authorization from
108 Silicon Graphics, Inc. However, the author does not possess an OpenGL
109 license from SGI, and makes no claim that Mesa is in any way a
110 compatible replacement for OpenGL or associated with SGI.
112 %description -l pl.UTF-8
113 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
114 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
115 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
116 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
117 OpenGL ani powiązana z SGI.
120 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
121 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
124 Requires: %{name}-libglapi = %{version}-%{release}
125 # glx driver in libEGL dlopens libGL.so
126 Requires: OpenGL >= 1.2
127 Requires: libdrm >= %{libdrm_ver}
130 Requires: %{name}-libOpenVG = %{version}-%{release}
131 Requires: udev-libs >= 1:150
134 Requires: %{name}-libgbm = %{version}-%{release}
139 This package contains shared libEGL - Mesa implementation of EGL
140 Native Platform Graphics Interface as specified by Khronos Group:
141 <http://www.khronos.org/egl/>.
143 %description libEGL -l pl.UTF-8
144 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
145 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
146 graficznego platformy natywnej) wg specyfikacji Khronos Group:
147 <http://www.khronos.org/egl/>.
149 %package libEGL-devel
150 Summary: Header files for Mesa implementation of EGL library
151 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
153 Group: Development/Libraries
154 Requires: %{name}-khrplatform-devel = %{version}-%{release}
155 Requires: %{name}-libEGL = %{version}-%{release}
156 Requires: libdrm-devel >= %{libdrm_ver}
157 Requires: xorg-lib-libX11-devel
158 Requires: xorg-lib-libXdamage-devel
159 Requires: xorg-lib-libXext-devel
160 Requires: xorg-lib-libXfixes-devel
161 Requires: xorg-lib-libXxf86vm-devel
162 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
163 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
164 Provides: EGL-devel = 1.4
166 %description libEGL-devel
167 Header files for Mesa implementation of EGL library.
169 %description libEGL-devel -l pl.UTF-8
170 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
172 %package libEGL-static
173 Summary: Static Mesa EGL library
174 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
176 Group: Development/Libraries
177 Requires: %{name}-libEGL-devel = %{version}-%{release}
178 Provides: EGL-static = 1.4
180 %description libEGL-static
181 Static Mesa EGL library.
183 %description libEGL-static -l pl.UTF-8
184 Statyczna biblioteka Mesa EGL.
187 Summary: Free Mesa3D implementation of libGL OpenGL library
188 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
191 Requires: %{name}-libglapi = %{version}-%{release}
192 Requires: libdrm >= %{libdrm_ver}
193 Provides: OpenGL = 2.1
194 Provides: OpenGL-GLX = 1.4
197 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
198 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
201 Mesa is a 3-D graphics library with an API which is very similar to
202 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
203 syntax or state machine, it is being used with authorization from
204 Silicon Graphics, Inc. However, the author does not possess an OpenGL
205 license from SGI, and makes no claim that Mesa is in any way a
206 compatible replacement for OpenGL or associated with SGI.
208 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
209 specifications. It uses DRI for rendering.
211 %description libGL -l pl.UTF-8
212 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
213 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
214 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
215 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
216 OpenGL ani powiązana z SGI.
218 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
219 GLX 1.4. Używa DRI do renderowania.
222 Summary: Header files for Mesa3D libGL library
223 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
225 Group: X11/Development/Libraries
226 # loose dependency on libGL to use with other libGL binaries
227 Requires: OpenGL >= 1.5
228 Requires: libdrm-devel >= %{libdrm_ver}
229 Requires: xorg-lib-libX11-devel
230 Requires: xorg-lib-libXdamage-devel
231 Requires: xorg-lib-libXext-devel
232 Requires: xorg-lib-libXxf86vm-devel
233 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
234 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
235 Suggests: OpenGL-doc-man
236 Provides: OpenGL-GLX-devel = 1.4
237 Provides: OpenGL-devel = 2.1
238 Obsoletes: Mesa-devel
239 Obsoletes: X11-OpenGL-devel < 1:7.0.0
240 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
241 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
242 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
244 %description libGL-devel
245 Header files for Mesa3D libGL library.
247 %description libGL-devel -l pl.UTF-8
248 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
250 %package libGL-static
251 Summary: Static Mesa3D libGL library
252 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
254 Group: X11/Development/Libraries
255 Requires: %{name}-libGL-devel = %{version}-%{release}
256 Provides: OpenGL-static = 2.1
257 Obsoletes: Mesa-static
258 Obsoletes: X11-OpenGL-static < 1:7.0.0
259 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
261 %description libGL-static
262 Static Mesa3D libGL library. It uses software renderer.
264 %description libGL-static -l pl.UTF-8
265 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
269 Summary: Mesa implementation of GLES (OpenGL ES) libraries
270 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
272 Requires: %{name}-libglapi = %{version}-%{release}
275 This package contains shared libraries of Mesa implementation of GLES
276 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
277 on embedded systems. OpenGL ES specification can be found on Khronos
278 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
281 %description libGLES -l pl.UTF-8
282 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
283 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
284 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
285 OpenGL ES można znaleźć na stronie Khronos Group:
286 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
289 %package libGLES-devel
290 Summary: Header files for Mesa GLES libraries
291 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
292 Group: Development/Libraries
293 Requires: %{name}-khrplatform-devel = %{version}-%{release}
294 # <EGL/egl.h> for <GLES/egl.h>
295 Requires: %{name}-libEGL-devel = %{version}-%{release}
296 Requires: %{name}-libGLES = %{version}-%{release}
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: SGI implementation of libGLU OpenGL library
306 Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
307 License: SGI Free Software License B v2.0 (MIT-like)
309 # loose dependency on libGL.so.1 to use with other libGL binaries
310 Requires: OpenGL >= 1.2
311 Provides: OpenGL-GLU = 1.3
312 Obsoletes: Mesa-devel
313 Obsoletes: X11-OpenGL-libs < 1:7.0.0
314 Obsoletes: XFree86-OpenGL-libs < 1:7.0.0
317 SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
320 %description libGLU -l pl.UTF-8
321 Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
322 specyfikację OpenGL GLU 1.3.
324 %package libGLU-devel
325 Summary: Header files for SGI libGLU library
326 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
327 License: SGI Free Software License B v2.0 (MIT-like)
328 Group: Development/Libraries
329 Requires: %{name}-libGLU = %{version}-%{release}
330 Requires: OpenGL-devel >= 1.2
331 Requires: libstdc++-devel
332 Provides: OpenGL-GLU-devel = 1.3
334 %description libGLU-devel
335 Header files for SGI libGLU library.
337 %description libGLU-devel -l pl.UTF-8
338 Pliki nagłówkowe biblioteki SGI libGLU.
340 %package libGLU-static
341 Summary: Static SGI libGLU library
342 Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
343 License: SGI Free Software License B v2.0 (MIT-like)
344 Group: Development/Libraries
345 Requires: %{name}-libGLU-devel = %{version}-%{release}
346 Provides: OpenGL-GLU-static = 1.3
348 %description libGLU-static
349 Static SGI libGLU library.
351 %description libGLU-static -l pl.UTF-8
352 Statyczna biblioteka SGI libGLU.
355 Summary: OSMesa (off-screen renderer) library
356 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
360 %description libOSMesa
361 OSMesa (off-screen renderer) library.
363 %description libOSMesa -l pl.UTF-8
364 Biblioteka OSMesa (renderująca bitmapy w pamięci).
366 %package libOSMesa-devel
367 Summary: Header file for OSMesa (off-screen renderer) library
368 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
370 Group: Development/Libraries
371 Requires: %{name}-libOSMesa = %{version}-%{release}
373 Requires: OpenGL-devel
374 Requires: libselinux-devel
376 %description libOSMesa-devel
377 Header file for OSMesa (off-screen renderer) library.
379 %description libOSMesa-devel -l pl.UTF-8
380 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
382 %package libOSMesa-static
383 Summary: Static OSMesa (off-screen renderer) library
384 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
386 Group: Development/Libraries
387 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
388 # this static build of OSMesa needs static non-dri Mesa implementation
389 Requires: %{name}-libGL-static = %{version}-%{release}
391 %description libOSMesa-static
392 Static OSMesa (off-screen renderer) library.
394 %description libOSMesa-static -l pl.UTF-8
395 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
398 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
399 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
403 %description libOpenVG
404 This package contains Mesa implementation of OpenVG - cross-platform
405 API that provides a low-level hardware acceleration interface for
406 vector graphics libraries such as Flash and SVG. OpenVG specification
407 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
408 Mesa implements OpenVG 1.1.
410 %description libOpenVG -l pl.UTF-8
411 Ten pakiet zawiera implementację Mesa standardu OpenVG -
412 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
413 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
414 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
415 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
418 %package libOpenVG-devel
419 Summary: Header file for Mesa OpenVG library
420 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
422 Group: Development/Libraries
423 Requires: %{name}-khrplatform-devel = %{version}-%{release}
424 Requires: %{name}-libOpenVG = %{version}-%{release}
426 %description libOpenVG-devel
427 Header file for Mesa OpenVG library.
429 %description libOpenVG-devel -l pl.UTF-8
430 Plik nagłówkowy biblioteki Mesa OpenVG.
432 %package libXvMC-nouveau
433 Summary: Mesa implementation of XvMC API for NVidia adapters
434 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
437 Requires: libdrm >= %{libdrm_ver}
438 Requires: xorg-lib-libXvMC >= 1.0.6
439 Conflicts: Mesa-libXvMC
441 %description libXvMC-nouveau
442 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
444 %description libXvMC-nouveau -l pl.UTF-8
445 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
447 %package libXvMC-r300
448 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
449 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
452 Requires: libdrm >= %{libdrm_ver}
453 Requires: xorg-lib-libXvMC >= 1.0.6
454 Conflicts: Mesa-libXvMC
456 %description libXvMC-r300
457 Mesa implementation of XvMC API for ATI Radeon adapters based on
458 R300/R400/RS690/R500 chips.
460 %description libXvMC-r300 -l pl.UTF-8
461 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
462 R300/R400/RS690/R500.
464 %package libXvMC-r600
465 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
466 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
469 Requires: libdrm >= %{libdrm_ver}
470 Requires: xorg-lib-libXvMC >= 1.0.6
471 Conflicts: Mesa-libXvMC
473 %description libXvMC-r600
474 Mesa implementation of XvMC API for ATI Radeon adapters based on
477 %description libXvMC-r600 -l pl.UTF-8
478 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
481 %package libXvMC-softpipe
482 Summary: Mesa softpipe implementation of XvMC API
483 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
486 Requires: libdrm >= %{libdrm_ver}
487 Requires: xorg-lib-libXvMC >= 1.0.6
488 Conflicts: Mesa-libXvMC
490 %description libXvMC-softpipe
491 Mesa softpipe implementation of XvMC API.
493 %description libXvMC-softpipe -l pl.UTF-8
494 Implementacja Mesa softpipe API XvMC.
497 Summary: Mesa Graphics Buffer Manager library
498 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
500 Requires: udev-libs >= 1:150
501 Conflicts: Mesa-libEGL < 8.0.1-2
504 Mesa Graphics Buffer Manager library.
506 %description libgbm -l pl.UTF-8
507 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
509 %package libgbm-devel
510 Summary: Header file for Mesa Graphics Buffer Manager library
511 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
512 Group: Development/Libraries
513 Requires: %{name}-libgbm = %{version}-%{release}
514 Requires: udev-devel >= 1:150
516 %description libgbm-devel
517 Header file for Mesa Graphics Buffer Manager library.
519 %description libgbm-devel -l pl.UTF-8
520 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
523 %package gbm-driver-i915
524 Summary: i915 driver for Mesa GBM framework
525 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
527 Requires: %{name}-libgbm = %{version}-%{release}
529 %description gbm-driver-i915
530 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
531 915/945/G33/Q33/Q35/Pineview chips.
533 %description gbm-driver-i915 -l pl.UTF-8
534 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
535 bufora graficznego). Obsługuje układy Intela z serii
536 915/945/G33/Q33/Q35/Pineview.
538 %package gbm-driver-nouveau
539 Summary: nouveau driver for Mesa GBM framework
540 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
542 Requires: %{name}-libgbm = %{version}-%{release}
544 %description gbm-driver-nouveau
545 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
548 %description gbm-driver-nouveau -l pl.UTF-8
549 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
550 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
552 %package gbm-driver-r300
553 Summary: r300 driver for Mesa GBM framework
554 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
556 Requires: %{name}-libgbm = %{version}-%{release}
558 %description gbm-driver-r300
559 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
560 adapters based on R300/R400/RS690/R500 chips.
562 %description gbm-driver-r300 -l pl.UTF-8
563 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
564 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
565 układach R300/R400/RS690/R500.
567 %package gbm-driver-r600
568 Summary: r600 driver for Mesa GBM framework
569 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
571 Requires: %{name}-libgbm = %{version}-%{release}
573 %description gbm-driver-r600
574 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
575 adapters based on R600/R700 chips.
577 %description gbm-driver-r600 -l pl.UTF-8
578 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
579 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
582 %package gbm-driver-vmwgfx
583 Summary: vmwgfx driver for Mesa GBM framework
584 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
586 Requires: %{name}-libgbm = %{version}-%{release}
588 %description gbm-driver-vmwgfx
589 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
590 virtual video adapter.
592 %description gbm-driver-vmwgfx -l pl.UTF-8
593 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
594 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
597 Summary: Mesa GL API shared library
598 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
600 Conflicts: Mesa-libEGL < 8.0.1-2
602 %description libglapi
603 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
605 %description libglapi -l pl.UTF-8
606 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
609 %package libwayland-egl
610 Summary: Wayland EGL library
611 Summary(pl.UTF-8): Biblioteka Wayland EGL
613 Requires: libdrm >= %{libdrm_ver}
615 %description libwayland-egl
616 Wayland EGL platform library.
618 %description libwayland-egl -l pl.UTF-8
619 Biblioteka platformy EGL Wayland.
621 %package libwayland-egl-devel
622 Summary: Development files for Wayland EGL library
623 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
624 Group: Development/Libraries
625 Requires: %{name}-libwayland-egl = %{version}-%{release}
626 Requires: libdrm-devel >= %{libdrm_ver}
627 Requires: wayland-devel
629 %description libwayland-egl-devel
630 Development files for Wayland EGL platform library.
632 %description libwayland-egl-devel -l pl.UTF-8
633 Pliki programistyczne biblioteki platformy EGL Wayland.
635 %package libxatracker
636 Summary: Xorg Gallium3D accelleration library
637 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
639 Requires: libdrm >= %{libdrm_ver}
641 %description libxatracker
642 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
644 %description libxatracker -l pl.UTF-8
645 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
648 %package libxatracker-devel
649 Summary: Header files for Xorg Gallium3D accelleration library
650 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
651 Group: X11/Development/Libraries
652 Requires: %{name}-libxatracker = %{version}-%{release}
653 Requires: libdrm-devel >= %{libdrm_ver}
655 %description libxatracker-devel
656 Header files for Xorg Gallium3D accelleration library.
658 %description libxatracker-devel -l pl.UTF-8
659 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
661 %package khrplatform-devel
662 Summary: Khronos platform header file
663 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
664 Group: Development/Libraries
665 Conflicts: Mesa-libEGL-devel < 8.0.1-2
667 %description khrplatform-devel
668 Khronos platform header file.
670 %description khrplatform-devel -l pl.UTF-8
671 Plik nagłówkowy platformy Khronos.
674 Summary: X.org DRI core module
675 Summary(pl.UTF-8): Sterownik X.org DRI core
678 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
679 Requires: xorg-xserver-server >= %{xserver_ver}
681 %description dri-core
682 X.org DRI core library.
684 %description dri-core -l pl.UTF-8
685 Sterownik X.org DRI core.
687 %package dri-driver-ati-radeon-R100
688 Summary: X.org DRI driver for ATI R100 card family
689 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
692 Requires: xorg-driver-video-ati
693 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
694 Requires: xorg-xserver-server >= %{xserver_ver}
695 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
697 %description dri-driver-ati-radeon-R100
698 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
700 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
701 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
703 %package dri-driver-ati-radeon-R200
704 Summary: X.org DRI driver for ATI R200 card family
705 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
708 Requires: xorg-driver-video-ati
709 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
710 Requires: xorg-xserver-server >= %{xserver_ver}
711 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
713 %description dri-driver-ati-radeon-R200
714 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
716 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
717 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
719 %package dri-driver-ati-radeon-R300
720 Summary: X.org DRI driver for ATI R300 card family
721 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
724 Requires: xorg-driver-video-ati
725 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
726 Requires: xorg-xserver-server >= %{xserver_ver}
727 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
729 %description dri-driver-ati-radeon-R300
730 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
732 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
733 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
735 %package dri-driver-ati-radeon-R600
736 Summary: X.org DRI driver for ATI R600 card family
737 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
740 Requires: radeon-ucode
741 Requires: xorg-driver-video-ati
742 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
743 Requires: xorg-xserver-server >= %{xserver_ver}
745 %description dri-driver-ati-radeon-R600
746 X.org DRI driver for ATI R600/R700 card family.
748 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
749 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
751 %package dri-driver-intel-i915
752 Summary: X.org DRI driver for Intel i915 card family
753 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
756 Requires: xorg-driver-video-intel
757 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
758 Requires: xorg-xserver-server >= %{xserver_ver}
759 Obsoletes: Mesa-dri-driver-intel-i830
760 Obsoletes: X11-driver-i810-dri < 1:7.0.0
762 %description dri-driver-intel-i915
763 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
766 %description dri-driver-intel-i915 -l pl.UTF-8
767 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
770 %package dri-driver-intel-i965
771 Summary: X.org DRI driver for Intel i965 card family
772 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
775 Requires: xorg-driver-video-intel
776 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
777 Requires: xorg-xserver-server >= %{xserver_ver}
778 Obsoletes: Mesa-dri-driver-intel-i830
779 Obsoletes: X11-driver-i810-dri < 1:7.0.0
781 %description dri-driver-intel-i965
782 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
783 965GME, GM45, G41, B43, Q45, G45);
785 %description dri-driver-intel-i965 -l pl.UTF-8
786 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
787 965GM, 965GME, GM45, G41, B43, Q45, G45).
789 %package dri-driver-nouveau
790 Summary: X.org DRI driver for NVIDIA card family
791 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
794 Requires: xorg-driver-video-nouveau
795 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
796 Requires: xorg-xserver-server >= %{xserver_ver}
798 %description dri-driver-nouveau
799 X.org DRI drivers for NVIDIA card family.
801 %description dri-driver-nouveau -l pl.UTF-8
802 Sterowniki X.org DRI dla rodziny kart NVIDIA.
804 %package dri-driver-swrast
805 Summary: X.org DRI software rasterizer driver
806 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
809 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
810 Requires: xorg-xserver-server >= %{xserver_ver}
812 %description dri-driver-swrast
813 X.org DRI software rasterizer driver.
815 %description dri-driver-swrast -l pl.UTF-8
816 Sterownik X.org DRI obsługujący rysowanie programowe.
818 %package dri-driver-vmwgfx
819 Summary: X.org DRI driver for VMware
820 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
823 Requires: xorg-driver-video-vmware
824 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
825 Requires: xorg-xserver-server >= %{xserver_ver}
827 %description dri-driver-vmwgfx
828 X.org DRI driver for VMWare.
830 %description dri-driver-vmwgfx -l pl.UTF-8
831 Sterownik X.org DRI dla VMware.
833 %package -n libvdpau-driver-mesa-nouveau
834 Summary: Mesa nouveau driver for the vdpau API
835 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
838 Requires: libdrm >= %{libdrm_ver}
839 Requires: libvdpau >= 0.4.1
840 Conflicts: libvdpau-driver-mesa
842 %description -n libvdpau-driver-mesa-nouveau
843 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
846 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
847 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
850 %package -n libvdpau-driver-mesa-r300
851 Summary: Mesa r300 driver for the vdpau API
852 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
855 Requires: libdrm >= %{libdrm_ver}
856 Requires: libvdpau >= 0.4.1
857 Conflicts: libvdpau-driver-mesa
859 %description -n libvdpau-driver-mesa-r300
860 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
861 based on R300/R400/RS690/R500 chips.
863 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
864 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
865 na układach R300/R400/RS690/R500.
867 %package -n libvdpau-driver-mesa-r600
868 Summary: Mesa r600 driver for the vdpau API
869 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
872 Requires: libdrm >= %{libdrm_ver}
873 Requires: libvdpau >= 0.4.1
874 Conflicts: libvdpau-driver-mesa
876 %description -n libvdpau-driver-mesa-r600
877 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
878 based on R600/R700 chips.
880 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
881 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
882 na układach R600/R700.
884 %package -n libvdpau-driver-mesa-softpipe
885 Summary: Mesa softpipe driver for the vdpau API
886 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
889 Requires: libdrm >= %{libdrm_ver}
890 Requires: libvdpau >= 0.4.1
891 Conflicts: libvdpau-driver-mesa
893 %description -n libvdpau-driver-mesa-softpipe
894 Mesa softpipe driver for the vdpau API.
896 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
897 Sterownik Mesa softpipe dla API vdpau.
907 if [ -x autogen.sh ]; then
914 dri_drivers="r200 radeon \
915 %if %{without gallium_intel}
919 %ifarch sparc sparcv9 sparc64
924 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
926 gallium_drivers="svga swrast \
927 %if %{with gallium_intel}
932 %if %{with gallium_nouveau}
937 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
941 --enable-shared-dricore \
945 %{?with_static_libs:--enable-static} \
948 osmesa_common_flags="\
949 --with-driver=osmesa \
955 %configure $common_flags $osmesa_common_flags \
958 %{__make} -C src/mesa osmesa.pc
960 cp -p src/mesa/osmesa.pc osmesa8
964 %configure $common_flags \
966 --enable-shared-glapi \
971 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
974 --enable-gallium-llvm \
975 %{__enable egl gallium-egl} \
976 %{__enable gbm gallium-gbm} \
977 %{?with_egl:--enable-openvg} \
979 %{?with_xa:--enable-xa} \
981 --with-gallium-drivers=${gallium_drivers} \
983 --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
998 cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
999 cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1002 # strip out undesirable headers
1003 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1004 # dlopened by soname
1005 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1006 # not used externally
1007 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1009 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1010 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1011 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1014 rm -rf $RPM_BUILD_ROOT
1016 %post libEGL -p /sbin/ldconfig
1017 %postun libEGL -p /sbin/ldconfig
1019 %post libGL -p /sbin/ldconfig
1020 %postun libGL -p /sbin/ldconfig
1022 %post libGLES -p /sbin/ldconfig
1023 %postun libGLES -p /sbin/ldconfig
1025 %post libGLU -p /sbin/ldconfig
1026 %postun libGLU -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
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1059 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1062 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_libdir}/libEGL.so
1068 %dir %{_includedir}/EGL
1069 %{_includedir}/EGL/egl.h
1070 %{_includedir}/EGL/eglext.h
1071 %{_includedir}/EGL/eglmesaext.h
1072 %{_includedir}/EGL/eglplatform.h
1073 %{_pkgconfigdir}/egl.pc
1075 %if %{with static_libs}
1076 %files libEGL-static
1077 %defattr(644,root,root,755)
1083 %defattr(644,root,root,755)
1084 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1085 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1086 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1087 # symlink for binary apps which fail to conform Linux OpenGL ABI
1088 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1089 %attr(755,root,root) %{_libdir}/libGL.so
1092 %defattr(644,root,root,755)
1094 %dir %{_includedir}/GL
1095 %{_includedir}/GL/gl.h
1096 %{_includedir}/GL/glext.h
1097 %{_includedir}/GL/gl_mangle.h
1098 %{_includedir}/GL/glx.h
1099 %{_includedir}/GL/glxext.h
1100 %{_includedir}/GL/glx_mangle.h
1101 %dir %{_includedir}/GL/internal
1102 %{_includedir}/GL/internal/dri_interface.h
1103 %{_pkgconfigdir}/dri.pc
1104 %{_pkgconfigdir}/gl.pc
1106 %if %{with static_libs}
1108 %defattr(644,root,root,755)
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1115 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1116 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1117 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1119 %files libGLES-devel
1120 %defattr(644,root,root,755)
1121 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1122 %attr(755,root,root) %{_libdir}/libGLESv2.so
1124 %{_includedir}/GLES2
1125 %{_pkgconfigdir}/glesv1_cm.pc
1126 %{_pkgconfigdir}/glesv2.pc
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
1131 %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_libdir}/libGLU.so
1136 %{_includedir}/GL/glu.h
1137 %{_includedir}/GL/glu_mangle.h
1138 %{_pkgconfigdir}/glu.pc
1140 %if %{with static_libs}
1141 %files libGLU-static
1142 %defattr(644,root,root,755)
1148 %defattr(644,root,root,755)
1149 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1150 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1152 %files libOSMesa-devel
1153 %defattr(644,root,root,755)
1154 %attr(755,root,root) %{_libdir}/libOSMesa.so
1155 %{_includedir}/GL/osmesa.h
1156 %{_pkgconfigdir}/osmesa.pc
1158 %if %{with static_libs}
1159 %files libOSMesa-static
1160 %defattr(644,root,root,755)
1161 %{_libdir}/libOSMesa.a
1165 %if %{with egl} && %{with gallium}
1167 %defattr(644,root,root,755)
1168 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1169 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1171 %files libOpenVG-devel
1172 %defattr(644,root,root,755)
1173 %attr(755,root,root) %{_libdir}/libOpenVG.so
1175 %{_pkgconfigdir}/vg.pc
1179 %if %{with gallium_nouveau}
1180 %files libXvMC-nouveau
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1183 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1187 %defattr(644,root,root,755)
1188 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1189 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1192 %defattr(644,root,root,755)
1193 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1194 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1196 %files libXvMC-softpipe
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1199 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1206 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1209 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_libdir}/libgbm.so
1215 %{_includedir}/gbm.h
1216 %{_pkgconfigdir}/gbm.pc
1220 %if %{with gallium_intel}
1221 %files gbm-driver-i915
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1226 %if %{with gallium_nouveau}
1227 %files gbm-driver-nouveau
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1232 %files gbm-driver-r300
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1236 %files gbm-driver-r600
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1240 %files gbm-driver-vmwgfx
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1248 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1249 # libglapi-devel? nothing seems to need it atm.
1250 #%attr(755,root,root) %{_libdir}/libglapi.so
1253 %files libwayland-egl
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1256 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1258 %files libwayland-egl-devel
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1261 %{_pkgconfigdir}/wayland-egl.pc
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1268 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1270 %files libxatracker-devel
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_libdir}/libxatracker.so
1273 %{_includedir}/xa_composite.h
1274 %{_includedir}/xa_context.h
1275 %{_includedir}/xa_tracker.h
1276 %{_pkgconfigdir}/xatracker.pc
1280 %files khrplatform-devel
1281 %defattr(644,root,root,755)
1282 %dir %{_includedir}/KHR
1283 %{_includedir}/KHR/khrplatform.h
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/xorg/modules/dri/libdricore.so
1289 %attr(755,root,root) %{_libdir}/xorg/modules/dri/libglsl.so
1291 %files dri-driver-ati-radeon-R100
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1295 %files dri-driver-ati-radeon-R200
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1300 %files dri-driver-ati-radeon-R300
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1304 %files dri-driver-ati-radeon-R600
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1308 %files dri-driver-intel-i915
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1312 %files dri-driver-intel-i965
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1316 %if %{with gallium_nouveau}
1317 %files dri-driver-nouveau
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1323 %files dri-driver-swrast
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1328 %files dri-driver-vmwgfx
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1334 # ldconfig is not used in vdpau tree, so package all symlinks
1335 %if %{with gallium_nouveau}
1336 %files -n libvdpau-driver-mesa-nouveau
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1339 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1340 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1343 %files -n libvdpau-driver-mesa-r300
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1346 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1347 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1349 %files -n libvdpau-driver-mesa-r600
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1352 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1353 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1355 %files -n libvdpau-driver-mesa-softpipe
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1358 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1359 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so