4 # --enable-shared-dricore
5 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
6 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
9 %bcond_without gallium # gallium drivers
10 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
11 %bcond_without gallium_nouveau # gallium nouveau driver (instead of plain dri)
12 %bcond_with dri_nouveau # nouveau DRI driver (any kind; doesn't build with current libdrm)
13 %bcond_without egl # EGL libraries
14 %bcond_without osmesa # OSMesa libraries
15 %bcond_without gbm # Graphics Buffer Manager
16 %bcond_without wayland # Wayland EGL
17 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
18 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
20 # minimal supported xserver version
21 %define xserver_ver 1.5.0
22 # glapi version (glapi tables in dri drivers and libglx must be in sync);
23 # set to current Mesa version on ABI break, when xserver tables get regenerated
24 # (until they start to be somehow versioned themselves)
25 %define glapi_ver 7.1.0
27 %define libdrm_ver 2.4.30
28 %define dri2proto_ver 2.6
29 %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-md5: cc5ee15e306b8c15da6a478923797171
40 Patch100: %{name}-git.patch
41 Patch0: %{name}-realclean.patch
42 Patch1: %{name}-link.patch
43 Patch2: %{name}-wayland.patch
44 Patch3: llvm-3.1.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.*
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}
274 Provides: OpenGLESv1 = 1.1
275 Provides: OpenGLESv2 = 2.0
278 This package contains shared libraries of Mesa implementation of GLES
279 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
280 on embedded systems. OpenGL ES specification can be found on Khronos
281 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
284 %description libGLES -l pl.UTF-8
285 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
286 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
287 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
288 OpenGL ES można znaleźć na stronie Khronos Group:
289 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
292 %package libGLES-devel
293 Summary: Header files for Mesa GLES libraries
294 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
295 Group: Development/Libraries
296 Requires: %{name}-khrplatform-devel = %{version}-%{release}
297 # <EGL/egl.h> for <GLES/egl.h>
298 Requires: %{name}-libEGL-devel = %{version}-%{release}
299 Requires: %{name}-libGLES = %{version}-%{release}
300 Provides: OpenGLES-devel
301 Provides: OpenGLESv1-devel = 1.1
302 Provides: OpenGLESv2-devel = 2.0
304 %description libGLES-devel
305 Header files for Mesa GLES libraries.
307 %description libGLES-devel -l pl.UTF-8
308 Pliki nagłówkowe bibliotek Mesa GLES.
311 Summary: SGI implementation of libGLU OpenGL library
312 Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
313 License: SGI Free Software License B v2.0 (MIT-like)
315 # loose dependency on libGL.so.1 to use with other libGL binaries
316 Requires: OpenGL >= 1.2
317 Provides: OpenGL-GLU = 1.3
318 Obsoletes: Mesa-devel
319 Obsoletes: X11-OpenGL-libs < 1:7.0.0
320 Obsoletes: XFree86-OpenGL-libs < 1:7.0.0
323 SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
326 %description libGLU -l pl.UTF-8
327 Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
328 specyfikację OpenGL GLU 1.3.
330 %package libGLU-devel
331 Summary: Header files for SGI libGLU library
332 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
333 License: SGI Free Software License B v2.0 (MIT-like)
334 Group: Development/Libraries
335 Requires: %{name}-libGLU = %{version}-%{release}
336 Requires: OpenGL-devel >= 1.2
337 Requires: libstdc++-devel
338 Provides: OpenGL-GLU-devel = 1.3
340 %description libGLU-devel
341 Header files for SGI libGLU library.
343 %description libGLU-devel -l pl.UTF-8
344 Pliki nagłówkowe biblioteki SGI libGLU.
346 %package libGLU-static
347 Summary: Static SGI libGLU library
348 Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
349 License: SGI Free Software License B v2.0 (MIT-like)
350 Group: Development/Libraries
351 Requires: %{name}-libGLU-devel = %{version}-%{release}
352 Provides: OpenGL-GLU-static = 1.3
354 %description libGLU-static
355 Static SGI libGLU library.
357 %description libGLU-static -l pl.UTF-8
358 Statyczna biblioteka SGI libGLU.
361 Summary: OSMesa (off-screen renderer) library
362 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
366 %description libOSMesa
367 OSMesa (off-screen renderer) library.
369 %description libOSMesa -l pl.UTF-8
370 Biblioteka OSMesa (renderująca bitmapy w pamięci).
372 %package libOSMesa-devel
373 Summary: Header file for OSMesa (off-screen renderer) library
374 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
376 Group: Development/Libraries
377 Requires: %{name}-libOSMesa = %{version}-%{release}
379 Requires: OpenGL-devel
380 Requires: libselinux-devel
382 %description libOSMesa-devel
383 Header file for OSMesa (off-screen renderer) library.
385 %description libOSMesa-devel -l pl.UTF-8
386 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
388 %package libOSMesa-static
389 Summary: Static OSMesa (off-screen renderer) library
390 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
392 Group: Development/Libraries
393 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
394 # this static build of OSMesa needs static non-dri Mesa implementation
395 Requires: %{name}-libGL-static = %{version}-%{release}
397 %description libOSMesa-static
398 Static OSMesa (off-screen renderer) library.
400 %description libOSMesa-static -l pl.UTF-8
401 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
404 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
405 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
408 Provides: OpenVG = 1.1
410 %description libOpenVG
411 This package contains Mesa implementation of OpenVG - cross-platform
412 API that provides a low-level hardware acceleration interface for
413 vector graphics libraries such as Flash and SVG. OpenVG specification
414 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
415 Mesa implements OpenVG 1.1.
417 %description libOpenVG -l pl.UTF-8
418 Ten pakiet zawiera implementację Mesa standardu OpenVG -
419 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
420 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
421 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
422 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
425 %package libOpenVG-devel
426 Summary: Header file for Mesa OpenVG library
427 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
429 Group: Development/Libraries
430 Requires: %{name}-khrplatform-devel = %{version}-%{release}
431 Requires: %{name}-libOpenVG = %{version}-%{release}
432 Provides: OpenVG-devel = 1.1
434 %description libOpenVG-devel
435 Header file for Mesa OpenVG library.
437 %description libOpenVG-devel -l pl.UTF-8
438 Plik nagłówkowy biblioteki Mesa OpenVG.
440 %package libXvMC-nouveau
441 Summary: Mesa implementation of XvMC API for NVidia adapters
442 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
445 Requires: libdrm >= %{libdrm_ver}
446 Requires: xorg-lib-libXvMC >= 1.0.6
447 Conflicts: Mesa-libXvMC
449 %description libXvMC-nouveau
450 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
452 %description libXvMC-nouveau -l pl.UTF-8
453 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
455 %package libXvMC-r300
456 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
457 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
460 Requires: libdrm >= %{libdrm_ver}
461 Requires: xorg-lib-libXvMC >= 1.0.6
462 Conflicts: Mesa-libXvMC
464 %description libXvMC-r300
465 Mesa implementation of XvMC API for ATI Radeon adapters based on
466 R300/R400/RS690/R500 chips.
468 %description libXvMC-r300 -l pl.UTF-8
469 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
470 R300/R400/RS690/R500.
472 %package libXvMC-r600
473 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
474 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
477 Requires: libdrm >= %{libdrm_ver}
478 Requires: xorg-lib-libXvMC >= 1.0.6
479 Conflicts: Mesa-libXvMC
481 %description libXvMC-r600
482 Mesa implementation of XvMC API for ATI Radeon adapters based on
485 %description libXvMC-r600 -l pl.UTF-8
486 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
489 %package libXvMC-softpipe
490 Summary: Mesa softpipe implementation of XvMC API
491 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
494 Requires: libdrm >= %{libdrm_ver}
495 Requires: xorg-lib-libXvMC >= 1.0.6
496 Conflicts: Mesa-libXvMC
498 %description libXvMC-softpipe
499 Mesa softpipe implementation of XvMC API.
501 %description libXvMC-softpipe -l pl.UTF-8
502 Implementacja Mesa softpipe API XvMC.
505 Summary: Mesa Graphics Buffer Manager library
506 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
508 Requires: udev-libs >= 1:150
509 Conflicts: Mesa-libEGL < 8.0.1-2
512 Mesa Graphics Buffer Manager library.
514 %description libgbm -l pl.UTF-8
515 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
517 %package libgbm-devel
518 Summary: Header file for Mesa Graphics Buffer Manager library
519 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
520 Group: Development/Libraries
521 Requires: %{name}-libgbm = %{version}-%{release}
522 Requires: udev-devel >= 1:150
524 %description libgbm-devel
525 Header file for Mesa Graphics Buffer Manager library.
527 %description libgbm-devel -l pl.UTF-8
528 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
531 %package gbm-driver-i915
532 Summary: i915 driver for Mesa GBM framework
533 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
535 Requires: %{name}-libgbm = %{version}-%{release}
537 %description gbm-driver-i915
538 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
539 915/945/G33/Q33/Q35/Pineview chips.
541 %description gbm-driver-i915 -l pl.UTF-8
542 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
543 bufora graficznego). Obsługuje układy Intela z serii
544 915/945/G33/Q33/Q35/Pineview.
546 %package gbm-driver-nouveau
547 Summary: nouveau driver for Mesa GBM framework
548 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
550 Requires: %{name}-libgbm = %{version}-%{release}
552 %description gbm-driver-nouveau
553 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
556 %description gbm-driver-nouveau -l pl.UTF-8
557 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
558 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
560 %package gbm-driver-r300
561 Summary: r300 driver for Mesa GBM framework
562 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
564 Requires: %{name}-libgbm = %{version}-%{release}
566 %description gbm-driver-r300
567 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
568 adapters based on R300/R400/RS690/R500 chips.
570 %description gbm-driver-r300 -l pl.UTF-8
571 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
572 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
573 układach R300/R400/RS690/R500.
575 %package gbm-driver-r600
576 Summary: r600 driver for Mesa GBM framework
577 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
579 Requires: %{name}-libgbm = %{version}-%{release}
581 %description gbm-driver-r600
582 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
583 adapters based on R600/R700 chips.
585 %description gbm-driver-r600 -l pl.UTF-8
586 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
587 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
590 %package gbm-driver-vmwgfx
591 Summary: vmwgfx driver for Mesa GBM framework
592 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
594 Requires: %{name}-libgbm = %{version}-%{release}
596 %description gbm-driver-vmwgfx
597 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
598 virtual video adapter.
600 %description gbm-driver-vmwgfx -l pl.UTF-8
601 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
602 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
605 Summary: Mesa GL API shared library
606 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
608 Conflicts: Mesa-libEGL < 8.0.1-2
610 %description libglapi
611 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
613 %description libglapi -l pl.UTF-8
614 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
617 %package libwayland-egl
618 Summary: Wayland EGL library
619 Summary(pl.UTF-8): Biblioteka Wayland EGL
621 Requires: libdrm >= %{libdrm_ver}
623 %description libwayland-egl
624 Wayland EGL platform library.
626 %description libwayland-egl -l pl.UTF-8
627 Biblioteka platformy EGL Wayland.
629 %package libwayland-egl-devel
630 Summary: Development files for Wayland EGL library
631 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
632 Group: Development/Libraries
633 Requires: %{name}-libwayland-egl = %{version}-%{release}
634 Requires: libdrm-devel >= %{libdrm_ver}
635 Requires: wayland-devel
637 %description libwayland-egl-devel
638 Development files for Wayland EGL platform library.
640 %description libwayland-egl-devel -l pl.UTF-8
641 Pliki programistyczne biblioteki platformy EGL Wayland.
643 %package libxatracker
644 Summary: Xorg Gallium3D accelleration library
645 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
647 Requires: libdrm >= %{libdrm_ver}
649 %description libxatracker
650 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
652 %description libxatracker -l pl.UTF-8
653 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
656 %package libxatracker-devel
657 Summary: Header files for Xorg Gallium3D accelleration library
658 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
659 Group: X11/Development/Libraries
660 Requires: %{name}-libxatracker = %{version}-%{release}
661 Requires: libdrm-devel >= %{libdrm_ver}
663 %description libxatracker-devel
664 Header files for Xorg Gallium3D accelleration library.
666 %description libxatracker-devel -l pl.UTF-8
667 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
669 %package khrplatform-devel
670 Summary: Khronos platform header file
671 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
672 Group: Development/Libraries
673 Conflicts: Mesa-libEGL-devel < 8.0.1-2
675 %description khrplatform-devel
676 Khronos platform header file.
678 %description khrplatform-devel -l pl.UTF-8
679 Plik nagłówkowy platformy Khronos.
681 %package dri-driver-ati-radeon-R100
682 Summary: X.org DRI driver for ATI R100 card family
683 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
686 Requires: xorg-driver-video-ati
687 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
688 Requires: xorg-xserver-server >= %{xserver_ver}
689 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
691 %description dri-driver-ati-radeon-R100
692 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
694 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
695 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
697 %package dri-driver-ati-radeon-R200
698 Summary: X.org DRI driver for ATI R200 card family
699 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
702 Requires: xorg-driver-video-ati
703 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
704 Requires: xorg-xserver-server >= %{xserver_ver}
705 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
707 %description dri-driver-ati-radeon-R200
708 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
710 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
711 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
713 %package dri-driver-ati-radeon-R300
714 Summary: X.org DRI driver for ATI R300 card family
715 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
718 Requires: xorg-driver-video-ati
719 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
720 Requires: xorg-xserver-server >= %{xserver_ver}
721 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
723 %description dri-driver-ati-radeon-R300
724 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
726 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
727 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
729 %package dri-driver-ati-radeon-R600
730 Summary: X.org DRI driver for ATI R600 card family
731 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
734 Requires: radeon-ucode
735 Requires: xorg-driver-video-ati
736 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
737 Requires: xorg-xserver-server >= %{xserver_ver}
739 %description dri-driver-ati-radeon-R600
740 X.org DRI driver for ATI R600/R700 card family.
742 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
743 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
745 %package dri-driver-intel-i915
746 Summary: X.org DRI driver for Intel i915 card family
747 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
750 Requires: xorg-driver-video-intel
751 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
752 Requires: xorg-xserver-server >= %{xserver_ver}
753 Obsoletes: Mesa-dri-driver-intel-i830
754 Obsoletes: X11-driver-i810-dri < 1:7.0.0
756 %description dri-driver-intel-i915
757 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
760 %description dri-driver-intel-i915 -l pl.UTF-8
761 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
764 %package dri-driver-intel-i965
765 Summary: X.org DRI driver for Intel i965 card family
766 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
769 Requires: xorg-driver-video-intel
770 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
771 Requires: xorg-xserver-server >= %{xserver_ver}
772 Obsoletes: Mesa-dri-driver-intel-i830
773 Obsoletes: X11-driver-i810-dri < 1:7.0.0
775 %description dri-driver-intel-i965
776 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
777 965GME, GM45, G41, B43, Q45, G45);
779 %description dri-driver-intel-i965 -l pl.UTF-8
780 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
781 965GM, 965GME, GM45, G41, B43, Q45, G45).
783 %package dri-driver-nouveau
784 Summary: X.org DRI driver for NVIDIA card family
785 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
788 Requires: xorg-driver-video-nouveau
789 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
790 Requires: xorg-xserver-server >= %{xserver_ver}
792 %description dri-driver-nouveau
793 X.org DRI drivers for NVIDIA card family.
795 %description dri-driver-nouveau -l pl.UTF-8
796 Sterowniki X.org DRI dla rodziny kart NVIDIA.
798 %package dri-driver-swrast
799 Summary: X.org DRI software rasterizer driver
800 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
803 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
804 Requires: xorg-xserver-server >= %{xserver_ver}
806 %description dri-driver-swrast
807 X.org DRI software rasterizer driver.
809 %description dri-driver-swrast -l pl.UTF-8
810 Sterownik X.org DRI obsługujący rysowanie programowe.
812 %package dri-driver-vmwgfx
813 Summary: X.org DRI driver for VMware
814 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
817 Requires: xorg-driver-video-vmware
818 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
819 Requires: xorg-xserver-server >= %{xserver_ver}
821 %description dri-driver-vmwgfx
822 X.org DRI driver for VMWare.
824 %description dri-driver-vmwgfx -l pl.UTF-8
825 Sterownik X.org DRI dla VMware.
827 %package -n libvdpau-driver-mesa-nouveau
828 Summary: Mesa nouveau driver for the vdpau API
829 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
832 Requires: libdrm >= %{libdrm_ver}
833 Requires: libvdpau >= 0.4.1
834 Conflicts: libvdpau-driver-mesa
836 %description -n libvdpau-driver-mesa-nouveau
837 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
840 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
841 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
844 %package -n libvdpau-driver-mesa-r300
845 Summary: Mesa r300 driver for the vdpau API
846 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
849 Requires: libdrm >= %{libdrm_ver}
850 Requires: libvdpau >= 0.4.1
851 Conflicts: libvdpau-driver-mesa
853 %description -n libvdpau-driver-mesa-r300
854 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
855 based on R300/R400/RS690/R500 chips.
857 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
858 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
859 na układach R300/R400/RS690/R500.
861 %package -n libvdpau-driver-mesa-r600
862 Summary: Mesa r600 driver for the vdpau API
863 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
866 Requires: libdrm >= %{libdrm_ver}
867 Requires: libvdpau >= 0.4.1
868 Conflicts: libvdpau-driver-mesa
870 %description -n libvdpau-driver-mesa-r600
871 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
872 based on R600/R700 chips.
874 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
875 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
876 na układach R600/R700.
878 %package -n libvdpau-driver-mesa-softpipe
879 Summary: Mesa softpipe driver for the vdpau API
880 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
883 Requires: libdrm >= %{libdrm_ver}
884 Requires: libvdpau >= 0.4.1
885 Conflicts: libvdpau-driver-mesa
887 %description -n libvdpau-driver-mesa-softpipe
888 Mesa softpipe driver for the vdpau API.
890 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
891 Sterownik Mesa softpipe dla API vdpau.
905 dri_drivers="r200 radeon \
906 %if %{without gallium_intel}
910 %if %{with dri_nouveau} && %{without gallium_nouveau}
913 %ifarch sparc sparcv9 sparc64
918 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
920 gallium_drivers="svga swrast \
921 %if %{with gallium_intel}
926 %if %{with dri_nouveau} && %{with gallium_nouveau}
931 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
938 %{?with_static_libs:--enable-static} \
941 osmesa_common_flags="\
942 --with-driver=osmesa \
948 %configure $common_flags $osmesa_common_flags \
951 %{__make} -C src/mesa osmesa.pc
953 cp -p src/mesa/osmesa.pc osmesa8
957 %configure $common_flags \
959 --enable-shared-glapi \
964 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
967 --enable-gallium-llvm \
968 %{__enable egl gallium-egl} \
969 %{__enable gbm gallium-gbm} \
970 %{?with_egl:--enable-openvg} \
972 %{?with_xa:--enable-xa} \
974 --with-gallium-drivers=${gallium_drivers} \
976 --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
991 cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
992 cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
995 # strip out undesirable headers
996 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
998 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
999 # not used externally
1000 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1002 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1003 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1004 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1007 rm -rf $RPM_BUILD_ROOT
1009 %post libEGL -p /sbin/ldconfig
1010 %postun libEGL -p /sbin/ldconfig
1012 %post libGL -p /sbin/ldconfig
1013 %postun libGL -p /sbin/ldconfig
1015 %post libGLES -p /sbin/ldconfig
1016 %postun libGLES -p /sbin/ldconfig
1018 %post libGLU -p /sbin/ldconfig
1019 %postun libGLU -p /sbin/ldconfig
1021 %post libOSMesa -p /sbin/ldconfig
1022 %postun libOSMesa -p /sbin/ldconfig
1024 %post libOpenVG -p /sbin/ldconfig
1025 %postun libOpenVG -p /sbin/ldconfig
1027 %post libXvMC-nouveau -p /sbin/ldconfig
1028 %postun libXvMC-nouveau -p /sbin/ldconfig
1029 %post libXvMC-r300 -p /sbin/ldconfig
1030 %postun libXvMC-r300 -p /sbin/ldconfig
1031 %post libXvMC-r600 -p /sbin/ldconfig
1032 %postun libXvMC-r600 -p /sbin/ldconfig
1033 %post libXvMC-softpipe -p /sbin/ldconfig
1034 %postun libXvMC-softpipe -p /sbin/ldconfig
1036 %post libgbm -p /sbin/ldconfig
1037 %postun libgbm -p /sbin/ldconfig
1039 %post libglapi -p /sbin/ldconfig
1040 %postun libglapi -p /sbin/ldconfig
1042 %post libwayland-egl -p /sbin/ldconfig
1043 %postun libwayland-egl -p /sbin/ldconfig
1045 %post libxatracker -p /sbin/ldconfig
1046 %postun libxatracker -p /sbin/ldconfig
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1052 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1055 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1059 %defattr(644,root,root,755)
1060 %attr(755,root,root) %{_libdir}/libEGL.so
1061 %dir %{_includedir}/EGL
1062 %{_includedir}/EGL/egl.h
1063 %{_includedir}/EGL/eglext.h
1064 %{_includedir}/EGL/eglmesaext.h
1065 %{_includedir}/EGL/eglplatform.h
1066 %{_pkgconfigdir}/egl.pc
1068 %if %{with static_libs}
1069 %files libEGL-static
1070 %defattr(644,root,root,755)
1076 %defattr(644,root,root,755)
1077 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1078 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1079 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1080 # symlink for binary apps which fail to conform Linux OpenGL ABI
1081 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1082 %attr(755,root,root) %{_libdir}/libGL.so
1085 %defattr(644,root,root,755)
1087 %dir %{_includedir}/GL
1088 %{_includedir}/GL/gl.h
1089 %{_includedir}/GL/glext.h
1090 %{_includedir}/GL/gl_mangle.h
1091 %{_includedir}/GL/glx.h
1092 %{_includedir}/GL/glxext.h
1093 %{_includedir}/GL/glx_mangle.h
1094 %dir %{_includedir}/GL/internal
1095 %{_includedir}/GL/internal/dri_interface.h
1096 %{_pkgconfigdir}/dri.pc
1097 %{_pkgconfigdir}/gl.pc
1099 %if %{with static_libs}
1101 %defattr(644,root,root,755)
1106 %defattr(644,root,root,755)
1107 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1108 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1109 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1110 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1112 %files libGLES-devel
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1115 %attr(755,root,root) %{_libdir}/libGLESv2.so
1117 %{_includedir}/GLES2
1118 %{_pkgconfigdir}/glesv1_cm.pc
1119 %{_pkgconfigdir}/glesv2.pc
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
1124 %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libdir}/libGLU.so
1129 %{_includedir}/GL/glu.h
1130 %{_includedir}/GL/glu_mangle.h
1131 %{_pkgconfigdir}/glu.pc
1133 %if %{with static_libs}
1134 %files libGLU-static
1135 %defattr(644,root,root,755)
1141 %defattr(644,root,root,755)
1142 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1143 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1145 %files libOSMesa-devel
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_libdir}/libOSMesa.so
1148 %{_includedir}/GL/osmesa.h
1149 %{_pkgconfigdir}/osmesa.pc
1151 %if %{with static_libs}
1152 %files libOSMesa-static
1153 %defattr(644,root,root,755)
1154 %{_libdir}/libOSMesa.a
1158 %if %{with egl} && %{with gallium}
1160 %defattr(644,root,root,755)
1161 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1162 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1164 %files libOpenVG-devel
1165 %defattr(644,root,root,755)
1166 %attr(755,root,root) %{_libdir}/libOpenVG.so
1168 %{_pkgconfigdir}/vg.pc
1172 %if %{with gallium_nouveau}
1173 %files libXvMC-nouveau
1174 %defattr(644,root,root,755)
1175 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1176 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1180 %defattr(644,root,root,755)
1181 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1182 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1187 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1189 %files libXvMC-softpipe
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1192 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1199 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1202 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_libdir}/libgbm.so
1208 %{_includedir}/gbm.h
1209 %{_pkgconfigdir}/gbm.pc
1213 %if %{with gallium_intel}
1214 %files gbm-driver-i915
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1219 %if %{with gallium_nouveau}
1220 %files gbm-driver-nouveau
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1225 %files gbm-driver-r300
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1229 %files gbm-driver-r600
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1233 %files gbm-driver-vmwgfx
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1241 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1242 # libglapi-devel? nothing seems to need it atm.
1243 #%attr(755,root,root) %{_libdir}/libglapi.so
1246 %files libwayland-egl
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1249 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1251 %files libwayland-egl-devel
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1254 %{_pkgconfigdir}/wayland-egl.pc
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1261 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1263 %files libxatracker-devel
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_libdir}/libxatracker.so
1266 %{_includedir}/xa_composite.h
1267 %{_includedir}/xa_context.h
1268 %{_includedir}/xa_tracker.h
1269 %{_pkgconfigdir}/xatracker.pc
1273 %files khrplatform-devel
1274 %defattr(644,root,root,755)
1275 %dir %{_includedir}/KHR
1276 %{_includedir}/KHR/khrplatform.h
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-intel-i915
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1301 %files dri-driver-intel-i965
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1305 %if %{with dri_nouveau}
1306 %files dri-driver-nouveau
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1311 %files dri-driver-swrast
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1316 %files dri-driver-vmwgfx
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1322 # ldconfig is not used in vdpau tree, so package all symlinks
1323 %if %{with gallium_nouveau}
1324 %files -n libvdpau-driver-mesa-nouveau
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1327 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1328 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1331 %files -n libvdpau-driver-mesa-r300
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1334 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1335 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1337 %files -n libvdpau-driver-mesa-r600
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1340 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1341 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1343 %files -n libvdpau-driver-mesa-softpipe
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1346 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1347 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so