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: d546f988adfdf986cff45b1efa2d8a46
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
93 %if %{without dri_nouveau}
94 %undefine with_gallium_nouveau
99 %undefine with_wayland
102 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
103 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.*
106 %define filterout_ld -Wl,--as-needed
109 Mesa is a 3-D graphics library with an API which is very similar to
110 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
111 syntax or state machine, it is being used with authorization from
112 Silicon Graphics, Inc. However, the author does not possess an OpenGL
113 license from SGI, and makes no claim that Mesa is in any way a
114 compatible replacement for OpenGL or associated with SGI.
116 %description -l pl.UTF-8
117 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
118 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
119 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
120 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
121 OpenGL ani powiązana z SGI.
124 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
125 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
128 Requires: %{name}-libglapi = %{version}-%{release}
129 # glx driver in libEGL dlopens libGL.so
130 Requires: OpenGL >= 1.2
131 Requires: libdrm >= %{libdrm_ver}
134 Requires: %{name}-libOpenVG = %{version}-%{release}
135 Requires: udev-libs >= 1:150
138 Requires: %{name}-libgbm = %{version}-%{release}
143 This package contains shared libEGL - Mesa implementation of EGL
144 Native Platform Graphics Interface as specified by Khronos Group:
145 <http://www.khronos.org/egl/>.
147 %description libEGL -l pl.UTF-8
148 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
149 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
150 graficznego platformy natywnej) wg specyfikacji Khronos Group:
151 <http://www.khronos.org/egl/>.
153 %package libEGL-devel
154 Summary: Header files for Mesa implementation of EGL library
155 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
157 Group: Development/Libraries
158 Requires: %{name}-khrplatform-devel = %{version}-%{release}
159 Requires: %{name}-libEGL = %{version}-%{release}
160 Requires: libdrm-devel >= %{libdrm_ver}
161 Requires: xorg-lib-libX11-devel
162 Requires: xorg-lib-libXdamage-devel
163 Requires: xorg-lib-libXext-devel
164 Requires: xorg-lib-libXfixes-devel
165 Requires: xorg-lib-libXxf86vm-devel
166 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
167 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
168 Provides: EGL-devel = 1.4
170 %description libEGL-devel
171 Header files for Mesa implementation of EGL library.
173 %description libEGL-devel -l pl.UTF-8
174 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
176 %package libEGL-static
177 Summary: Static Mesa EGL library
178 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
180 Group: Development/Libraries
181 Requires: %{name}-libEGL-devel = %{version}-%{release}
182 Provides: EGL-static = 1.4
184 %description libEGL-static
185 Static Mesa EGL library.
187 %description libEGL-static -l pl.UTF-8
188 Statyczna biblioteka Mesa EGL.
191 Summary: Free Mesa3D implementation of libGL OpenGL library
192 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
195 Requires: %{name}-libglapi = %{version}-%{release}
196 Requires: libdrm >= %{libdrm_ver}
197 Provides: OpenGL = 2.1
198 Provides: OpenGL-GLX = 1.4
201 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
202 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
205 Mesa is a 3-D graphics library with an API which is very similar to
206 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
207 syntax or state machine, it is being used with authorization from
208 Silicon Graphics, Inc. However, the author does not possess an OpenGL
209 license from SGI, and makes no claim that Mesa is in any way a
210 compatible replacement for OpenGL or associated with SGI.
212 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
213 specifications. It uses DRI for rendering.
215 %description libGL -l pl.UTF-8
216 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
217 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
218 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
219 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
220 OpenGL ani powiązana z SGI.
222 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
223 GLX 1.4. Używa DRI do renderowania.
226 Summary: Header files for Mesa3D libGL library
227 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
229 Group: X11/Development/Libraries
230 # loose dependency on libGL to use with other libGL binaries
231 Requires: OpenGL >= 1.5
232 Requires: libdrm-devel >= %{libdrm_ver}
233 Requires: xorg-lib-libX11-devel
234 Requires: xorg-lib-libXdamage-devel
235 Requires: xorg-lib-libXext-devel
236 Requires: xorg-lib-libXxf86vm-devel
237 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
238 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
239 Suggests: OpenGL-doc-man
240 Provides: OpenGL-GLX-devel = 1.4
241 Provides: OpenGL-devel = 2.1
242 Obsoletes: Mesa-devel
243 Obsoletes: X11-OpenGL-devel < 1:7.0.0
244 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
245 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
246 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
248 %description libGL-devel
249 Header files for Mesa3D libGL library.
251 %description libGL-devel -l pl.UTF-8
252 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
254 %package libGL-static
255 Summary: Static Mesa3D libGL library
256 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
258 Group: X11/Development/Libraries
259 Requires: %{name}-libGL-devel = %{version}-%{release}
260 Provides: OpenGL-static = 2.1
261 Obsoletes: Mesa-static
262 Obsoletes: X11-OpenGL-static < 1:7.0.0
263 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
265 %description libGL-static
266 Static Mesa3D libGL library. It uses software renderer.
268 %description libGL-static -l pl.UTF-8
269 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
273 Summary: Mesa implementation of GLES (OpenGL ES) libraries
274 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
276 Requires: %{name}-libglapi = %{version}-%{release}
278 Provides: OpenGLESv1 = 1.1
279 Provides: OpenGLESv2 = 2.0
282 This package contains shared libraries of Mesa implementation of GLES
283 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
284 on embedded systems. OpenGL ES specification can be found on Khronos
285 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
288 %description libGLES -l pl.UTF-8
289 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
290 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
291 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
292 OpenGL ES można znaleźć na stronie Khronos Group:
293 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
296 %package libGLES-devel
297 Summary: Header files for Mesa GLES libraries
298 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
299 Group: Development/Libraries
300 Requires: %{name}-khrplatform-devel = %{version}-%{release}
301 # <EGL/egl.h> for <GLES/egl.h>
302 Requires: %{name}-libEGL-devel = %{version}-%{release}
303 Requires: %{name}-libGLES = %{version}-%{release}
304 Provides: OpenGLES-devel
305 Provides: OpenGLESv1-devel = 1.1
306 Provides: OpenGLESv2-devel = 2.0
308 %description libGLES-devel
309 Header files for Mesa GLES libraries.
311 %description libGLES-devel -l pl.UTF-8
312 Pliki nagłówkowe bibliotek Mesa GLES.
315 Summary: SGI implementation of libGLU OpenGL library
316 Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
317 License: SGI Free Software License B v2.0 (MIT-like)
319 # loose dependency on libGL.so.1 to use with other libGL binaries
320 Requires: OpenGL >= 1.2
321 Provides: OpenGL-GLU = 1.3
322 Obsoletes: Mesa-devel
323 Obsoletes: X11-OpenGL-libs < 1:7.0.0
324 Obsoletes: XFree86-OpenGL-libs < 1:7.0.0
327 SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
330 %description libGLU -l pl.UTF-8
331 Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
332 specyfikację OpenGL GLU 1.3.
334 %package libGLU-devel
335 Summary: Header files for SGI libGLU library
336 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
337 License: SGI Free Software License B v2.0 (MIT-like)
338 Group: Development/Libraries
339 Requires: %{name}-libGLU = %{version}-%{release}
340 Requires: OpenGL-devel >= 1.2
341 Requires: libstdc++-devel
342 Provides: OpenGL-GLU-devel = 1.3
344 %description libGLU-devel
345 Header files for SGI libGLU library.
347 %description libGLU-devel -l pl.UTF-8
348 Pliki nagłówkowe biblioteki SGI libGLU.
350 %package libGLU-static
351 Summary: Static SGI libGLU library
352 Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
353 License: SGI Free Software License B v2.0 (MIT-like)
354 Group: Development/Libraries
355 Requires: %{name}-libGLU-devel = %{version}-%{release}
356 Provides: OpenGL-GLU-static = 1.3
358 %description libGLU-static
359 Static SGI libGLU library.
361 %description libGLU-static -l pl.UTF-8
362 Statyczna biblioteka SGI libGLU.
365 Summary: OSMesa (off-screen renderer) library
366 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
370 %description libOSMesa
371 OSMesa (off-screen renderer) library.
373 %description libOSMesa -l pl.UTF-8
374 Biblioteka OSMesa (renderująca bitmapy w pamięci).
376 %package libOSMesa-devel
377 Summary: Header file for OSMesa (off-screen renderer) library
378 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
380 Group: Development/Libraries
381 Requires: %{name}-libOSMesa = %{version}-%{release}
383 Requires: OpenGL-devel
384 Requires: libselinux-devel
386 %description libOSMesa-devel
387 Header file for OSMesa (off-screen renderer) library.
389 %description libOSMesa-devel -l pl.UTF-8
390 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
392 %package libOSMesa-static
393 Summary: Static OSMesa (off-screen renderer) library
394 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
396 Group: Development/Libraries
397 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
398 # this static build of OSMesa needs static non-dri Mesa implementation
399 Requires: %{name}-libGL-static = %{version}-%{release}
401 %description libOSMesa-static
402 Static OSMesa (off-screen renderer) library.
404 %description libOSMesa-static -l pl.UTF-8
405 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
408 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
409 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
412 Provides: OpenVG = 1.1
414 %description libOpenVG
415 This package contains Mesa implementation of OpenVG - cross-platform
416 API that provides a low-level hardware acceleration interface for
417 vector graphics libraries such as Flash and SVG. OpenVG specification
418 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
419 Mesa implements OpenVG 1.1.
421 %description libOpenVG -l pl.UTF-8
422 Ten pakiet zawiera implementację Mesa standardu OpenVG -
423 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
424 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
425 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
426 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
429 %package libOpenVG-devel
430 Summary: Header file for Mesa OpenVG library
431 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
433 Group: Development/Libraries
434 Requires: %{name}-khrplatform-devel = %{version}-%{release}
435 Requires: %{name}-libOpenVG = %{version}-%{release}
436 Provides: OpenVG-devel = 1.1
438 %description libOpenVG-devel
439 Header file for Mesa OpenVG library.
441 %description libOpenVG-devel -l pl.UTF-8
442 Plik nagłówkowy biblioteki Mesa OpenVG.
444 %package libXvMC-nouveau
445 Summary: Mesa implementation of XvMC API for NVidia adapters
446 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
449 Requires: libdrm >= %{libdrm_ver}
450 Requires: xorg-lib-libXvMC >= 1.0.6
451 Conflicts: Mesa-libXvMC
453 %description libXvMC-nouveau
454 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
456 %description libXvMC-nouveau -l pl.UTF-8
457 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
459 %package libXvMC-r300
460 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
461 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
464 Requires: libdrm >= %{libdrm_ver}
465 Requires: xorg-lib-libXvMC >= 1.0.6
466 Conflicts: Mesa-libXvMC
468 %description libXvMC-r300
469 Mesa implementation of XvMC API for ATI Radeon adapters based on
470 R300/R400/RS690/R500 chips.
472 %description libXvMC-r300 -l pl.UTF-8
473 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
474 R300/R400/RS690/R500.
476 %package libXvMC-r600
477 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
478 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
481 Requires: libdrm >= %{libdrm_ver}
482 Requires: xorg-lib-libXvMC >= 1.0.6
483 Conflicts: Mesa-libXvMC
485 %description libXvMC-r600
486 Mesa implementation of XvMC API for ATI Radeon adapters based on
489 %description libXvMC-r600 -l pl.UTF-8
490 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
493 %package libXvMC-softpipe
494 Summary: Mesa softpipe implementation of XvMC API
495 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
498 Requires: libdrm >= %{libdrm_ver}
499 Requires: xorg-lib-libXvMC >= 1.0.6
500 Conflicts: Mesa-libXvMC
502 %description libXvMC-softpipe
503 Mesa softpipe implementation of XvMC API.
505 %description libXvMC-softpipe -l pl.UTF-8
506 Implementacja Mesa softpipe API XvMC.
509 Summary: Mesa Graphics Buffer Manager library
510 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
512 Requires: udev-libs >= 1:150
513 Conflicts: Mesa-libEGL < 8.0.1-2
516 Mesa Graphics Buffer Manager library.
518 %description libgbm -l pl.UTF-8
519 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
521 %package libgbm-devel
522 Summary: Header file for Mesa Graphics Buffer Manager library
523 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
524 Group: Development/Libraries
525 Requires: %{name}-libgbm = %{version}-%{release}
526 Requires: udev-devel >= 1:150
528 %description libgbm-devel
529 Header file for Mesa Graphics Buffer Manager library.
531 %description libgbm-devel -l pl.UTF-8
532 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
535 %package gbm-driver-i915
536 Summary: i915 driver for Mesa GBM framework
537 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
539 Requires: %{name}-libgbm = %{version}-%{release}
541 %description gbm-driver-i915
542 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
543 915/945/G33/Q33/Q35/Pineview chips.
545 %description gbm-driver-i915 -l pl.UTF-8
546 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
547 bufora graficznego). Obsługuje układy Intela z serii
548 915/945/G33/Q33/Q35/Pineview.
550 %package gbm-driver-nouveau
551 Summary: nouveau driver for Mesa GBM framework
552 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
554 Requires: %{name}-libgbm = %{version}-%{release}
556 %description gbm-driver-nouveau
557 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
560 %description gbm-driver-nouveau -l pl.UTF-8
561 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
562 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
564 %package gbm-driver-r300
565 Summary: r300 driver for Mesa GBM framework
566 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
568 Requires: %{name}-libgbm = %{version}-%{release}
570 %description gbm-driver-r300
571 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
572 adapters based on R300/R400/RS690/R500 chips.
574 %description gbm-driver-r300 -l pl.UTF-8
575 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
576 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
577 układach R300/R400/RS690/R500.
579 %package gbm-driver-r600
580 Summary: r600 driver for Mesa GBM framework
581 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
583 Requires: %{name}-libgbm = %{version}-%{release}
585 %description gbm-driver-r600
586 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
587 adapters based on R600/R700 chips.
589 %description gbm-driver-r600 -l pl.UTF-8
590 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
591 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
594 %package gbm-driver-vmwgfx
595 Summary: vmwgfx driver for Mesa GBM framework
596 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
598 Requires: %{name}-libgbm = %{version}-%{release}
600 %description gbm-driver-vmwgfx
601 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
602 virtual video adapter.
604 %description gbm-driver-vmwgfx -l pl.UTF-8
605 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
606 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
609 Summary: Mesa GL API shared library
610 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
612 Conflicts: Mesa-libEGL < 8.0.1-2
614 %description libglapi
615 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
617 %description libglapi -l pl.UTF-8
618 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
621 %package libwayland-egl
622 Summary: Wayland EGL library
623 Summary(pl.UTF-8): Biblioteka Wayland EGL
625 Requires: libdrm >= %{libdrm_ver}
627 %description libwayland-egl
628 Wayland EGL platform library.
630 %description libwayland-egl -l pl.UTF-8
631 Biblioteka platformy EGL Wayland.
633 %package libwayland-egl-devel
634 Summary: Development files for Wayland EGL library
635 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
636 Group: Development/Libraries
637 Requires: %{name}-libwayland-egl = %{version}-%{release}
638 Requires: libdrm-devel >= %{libdrm_ver}
639 Requires: wayland-devel
641 %description libwayland-egl-devel
642 Development files for Wayland EGL platform library.
644 %description libwayland-egl-devel -l pl.UTF-8
645 Pliki programistyczne biblioteki platformy EGL Wayland.
647 %package libxatracker
648 Summary: Xorg Gallium3D accelleration library
649 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
651 Requires: libdrm >= %{libdrm_ver}
653 %description libxatracker
654 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
656 %description libxatracker -l pl.UTF-8
657 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
660 %package libxatracker-devel
661 Summary: Header files for Xorg Gallium3D accelleration library
662 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
663 Group: X11/Development/Libraries
664 Requires: %{name}-libxatracker = %{version}-%{release}
665 Requires: libdrm-devel >= %{libdrm_ver}
667 %description libxatracker-devel
668 Header files for Xorg Gallium3D accelleration library.
670 %description libxatracker-devel -l pl.UTF-8
671 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
673 %package khrplatform-devel
674 Summary: Khronos platform header file
675 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
676 Group: Development/Libraries
677 Conflicts: Mesa-libEGL-devel < 8.0.1-2
679 %description khrplatform-devel
680 Khronos platform header file.
682 %description khrplatform-devel -l pl.UTF-8
683 Plik nagłówkowy platformy Khronos.
685 %package dri-driver-ati-radeon-R100
686 Summary: X.org DRI driver for ATI R100 card family
687 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
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-R100
696 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
698 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
699 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
701 %package dri-driver-ati-radeon-R200
702 Summary: X.org DRI driver for ATI R200 card family
703 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
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-R200
712 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
714 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
715 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
717 %package dri-driver-ati-radeon-R300
718 Summary: X.org DRI driver for ATI R300 card family
719 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
722 Requires: xorg-driver-video-ati
723 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
724 Requires: xorg-xserver-server >= %{xserver_ver}
725 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
727 %description dri-driver-ati-radeon-R300
728 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
730 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
731 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
733 %package dri-driver-ati-radeon-R600
734 Summary: X.org DRI driver for ATI R600 card family
735 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
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-R600
744 X.org DRI driver for ATI R600/R700 card family.
746 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
747 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
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 Requires: xorg-driver-video-intel
755 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
756 Requires: xorg-xserver-server >= %{xserver_ver}
757 Obsoletes: Mesa-dri-driver-intel-i830
758 Obsoletes: X11-driver-i810-dri < 1:7.0.0
760 %description dri-driver-intel-i915
761 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
764 %description dri-driver-intel-i915 -l pl.UTF-8
765 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
768 %package dri-driver-intel-i965
769 Summary: X.org DRI driver for Intel i965 card family
770 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
773 Requires: xorg-driver-video-intel
774 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
775 Requires: xorg-xserver-server >= %{xserver_ver}
776 Obsoletes: Mesa-dri-driver-intel-i830
777 Obsoletes: X11-driver-i810-dri < 1:7.0.0
779 %description dri-driver-intel-i965
780 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
781 965GME, GM45, G41, B43, Q45, G45);
783 %description dri-driver-intel-i965 -l pl.UTF-8
784 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
785 965GM, 965GME, GM45, G41, B43, Q45, G45).
787 %package dri-driver-nouveau
788 Summary: X.org DRI driver for NVIDIA card family
789 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
792 Requires: xorg-driver-video-nouveau
793 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
794 Requires: xorg-xserver-server >= %{xserver_ver}
796 %description dri-driver-nouveau
797 X.org DRI drivers for NVIDIA card family.
799 %description dri-driver-nouveau -l pl.UTF-8
800 Sterowniki X.org DRI dla rodziny kart NVIDIA.
802 %package dri-driver-swrast
803 Summary: X.org DRI software rasterizer driver
804 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
807 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
808 Requires: xorg-xserver-server >= %{xserver_ver}
810 %description dri-driver-swrast
811 X.org DRI software rasterizer driver.
813 %description dri-driver-swrast -l pl.UTF-8
814 Sterownik X.org DRI obsługujący rysowanie programowe.
816 %package dri-driver-vmwgfx
817 Summary: X.org DRI driver for VMware
818 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
821 Requires: xorg-driver-video-vmware
822 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
823 Requires: xorg-xserver-server >= %{xserver_ver}
825 %description dri-driver-vmwgfx
826 X.org DRI driver for VMWare.
828 %description dri-driver-vmwgfx -l pl.UTF-8
829 Sterownik X.org DRI dla VMware.
831 %package -n libvdpau-driver-mesa-nouveau
832 Summary: Mesa nouveau driver for the vdpau API
833 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
836 Requires: libdrm >= %{libdrm_ver}
837 Requires: libvdpau >= 0.4.1
838 Conflicts: libvdpau-driver-mesa
840 %description -n libvdpau-driver-mesa-nouveau
841 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
844 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
845 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
848 %package -n libvdpau-driver-mesa-r300
849 Summary: Mesa r300 driver for the vdpau API
850 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
853 Requires: libdrm >= %{libdrm_ver}
854 Requires: libvdpau >= 0.4.1
855 Conflicts: libvdpau-driver-mesa
857 %description -n libvdpau-driver-mesa-r300
858 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
859 based on R300/R400/RS690/R500 chips.
861 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
862 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
863 na układach R300/R400/RS690/R500.
865 %package -n libvdpau-driver-mesa-r600
866 Summary: Mesa r600 driver for the vdpau API
867 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
870 Requires: libdrm >= %{libdrm_ver}
871 Requires: libvdpau >= 0.4.1
872 Conflicts: libvdpau-driver-mesa
874 %description -n libvdpau-driver-mesa-r600
875 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
876 based on R600/R700 chips.
878 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
879 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
880 na układach R600/R700.
882 %package -n libvdpau-driver-mesa-softpipe
883 Summary: Mesa softpipe driver for the vdpau API
884 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
887 Requires: libdrm >= %{libdrm_ver}
888 Requires: libvdpau >= 0.4.1
889 Conflicts: libvdpau-driver-mesa
891 %description -n libvdpau-driver-mesa-softpipe
892 Mesa softpipe driver for the vdpau API.
894 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
895 Sterownik Mesa softpipe dla API vdpau.
909 dri_drivers="r200 radeon \
910 %if %{without gallium_intel}
914 %if %{with dri_nouveau} && %{without gallium_nouveau}
917 %ifarch sparc sparcv9 sparc64
922 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
924 gallium_drivers="svga swrast \
925 %if %{with gallium_intel}
930 %if %{with dri_nouveau} && %{with gallium_nouveau}
935 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
942 %{?with_static_libs:--enable-static} \
945 osmesa_common_flags="\
946 --with-driver=osmesa \
952 %configure $common_flags $osmesa_common_flags \
955 %{__make} -C src/mesa osmesa.pc
957 cp -p src/mesa/osmesa.pc osmesa8
961 %configure $common_flags \
963 --enable-shared-glapi \
968 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
971 --enable-gallium-llvm \
972 %{__enable egl gallium-egl} \
973 %{__enable gbm gallium-gbm} \
974 %{?with_egl:--enable-openvg} \
976 %{?with_xa:--enable-xa} \
978 --with-gallium-drivers=${gallium_drivers} \
980 --without-gallium-drivers \
983 --with-dri-drivers=${dri_drivers} \
984 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
989 rm -rf $RPM_BUILD_ROOT
992 DESTDIR=$RPM_BUILD_ROOT
995 cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
996 cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
999 # strip out undesirable headers
1000 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1001 # dlopened by soname
1002 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1003 # not used externally
1004 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1006 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1007 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1008 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1011 rm -rf $RPM_BUILD_ROOT
1013 %post libEGL -p /sbin/ldconfig
1014 %postun libEGL -p /sbin/ldconfig
1016 %post libGL -p /sbin/ldconfig
1017 %postun libGL -p /sbin/ldconfig
1019 %post libGLES -p /sbin/ldconfig
1020 %postun libGLES -p /sbin/ldconfig
1022 %post libGLU -p /sbin/ldconfig
1023 %postun libGLU -p /sbin/ldconfig
1025 %post libOSMesa -p /sbin/ldconfig
1026 %postun libOSMesa -p /sbin/ldconfig
1028 %post libOpenVG -p /sbin/ldconfig
1029 %postun libOpenVG -p /sbin/ldconfig
1031 %post libXvMC-nouveau -p /sbin/ldconfig
1032 %postun libXvMC-nouveau -p /sbin/ldconfig
1033 %post libXvMC-r300 -p /sbin/ldconfig
1034 %postun libXvMC-r300 -p /sbin/ldconfig
1035 %post libXvMC-r600 -p /sbin/ldconfig
1036 %postun libXvMC-r600 -p /sbin/ldconfig
1037 %post libXvMC-softpipe -p /sbin/ldconfig
1038 %postun libXvMC-softpipe -p /sbin/ldconfig
1040 %post libgbm -p /sbin/ldconfig
1041 %postun libgbm -p /sbin/ldconfig
1043 %post libglapi -p /sbin/ldconfig
1044 %postun libglapi -p /sbin/ldconfig
1046 %post libwayland-egl -p /sbin/ldconfig
1047 %postun libwayland-egl -p /sbin/ldconfig
1049 %post libxatracker -p /sbin/ldconfig
1050 %postun libxatracker -p /sbin/ldconfig
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1056 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1059 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1063 %defattr(644,root,root,755)
1064 %attr(755,root,root) %{_libdir}/libEGL.so
1065 %dir %{_includedir}/EGL
1066 %{_includedir}/EGL/egl.h
1067 %{_includedir}/EGL/eglext.h
1068 %{_includedir}/EGL/eglmesaext.h
1069 %{_includedir}/EGL/eglplatform.h
1070 %{_pkgconfigdir}/egl.pc
1072 %if %{with static_libs}
1073 %files libEGL-static
1074 %defattr(644,root,root,755)
1080 %defattr(644,root,root,755)
1081 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1082 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1083 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1084 # symlink for binary apps which fail to conform Linux OpenGL ABI
1085 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1086 %attr(755,root,root) %{_libdir}/libGL.so
1089 %defattr(644,root,root,755)
1091 %dir %{_includedir}/GL
1092 %{_includedir}/GL/gl.h
1093 %{_includedir}/GL/glext.h
1094 %{_includedir}/GL/gl_mangle.h
1095 %{_includedir}/GL/glx.h
1096 %{_includedir}/GL/glxext.h
1097 %{_includedir}/GL/glx_mangle.h
1098 %dir %{_includedir}/GL/internal
1099 %{_includedir}/GL/internal/dri_interface.h
1100 %{_pkgconfigdir}/dri.pc
1101 %{_pkgconfigdir}/gl.pc
1103 %if %{with static_libs}
1105 %defattr(644,root,root,755)
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1112 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1113 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1114 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1116 %files libGLES-devel
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1119 %attr(755,root,root) %{_libdir}/libGLESv2.so
1121 %{_includedir}/GLES2
1122 %{_pkgconfigdir}/glesv1_cm.pc
1123 %{_pkgconfigdir}/glesv2.pc
1126 %defattr(644,root,root,755)
1127 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
1128 %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) %{_libdir}/libGLU.so
1133 %{_includedir}/GL/glu.h
1134 %{_includedir}/GL/glu_mangle.h
1135 %{_pkgconfigdir}/glu.pc
1137 %if %{with static_libs}
1138 %files libGLU-static
1139 %defattr(644,root,root,755)
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1147 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1149 %files libOSMesa-devel
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/libOSMesa.so
1152 %{_includedir}/GL/osmesa.h
1153 %{_pkgconfigdir}/osmesa.pc
1155 %if %{with static_libs}
1156 %files libOSMesa-static
1157 %defattr(644,root,root,755)
1158 %{_libdir}/libOSMesa.a
1162 %if %{with egl} && %{with gallium}
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1166 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1168 %files libOpenVG-devel
1169 %defattr(644,root,root,755)
1170 %attr(755,root,root) %{_libdir}/libOpenVG.so
1172 %{_pkgconfigdir}/vg.pc
1176 %if %{with gallium_nouveau}
1177 %files libXvMC-nouveau
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1180 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1184 %defattr(644,root,root,755)
1185 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1186 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1191 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1193 %files libXvMC-softpipe
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1196 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1203 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1206 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_libdir}/libgbm.so
1212 %{_includedir}/gbm.h
1213 %{_pkgconfigdir}/gbm.pc
1217 %if %{with gallium_intel}
1218 %files gbm-driver-i915
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1223 %if %{with gallium_nouveau}
1224 %files gbm-driver-nouveau
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1229 %files gbm-driver-r300
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1233 %files gbm-driver-r600
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1237 %files gbm-driver-vmwgfx
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1243 %defattr(644,root,root,755)
1244 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1245 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1246 # libglapi-devel? nothing seems to need it atm.
1247 #%attr(755,root,root) %{_libdir}/libglapi.so
1250 %files libwayland-egl
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1253 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1255 %files libwayland-egl-devel
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1258 %{_pkgconfigdir}/wayland-egl.pc
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1265 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1267 %files libxatracker-devel
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libxatracker.so
1270 %{_includedir}/xa_composite.h
1271 %{_includedir}/xa_context.h
1272 %{_includedir}/xa_tracker.h
1273 %{_pkgconfigdir}/xatracker.pc
1277 %files khrplatform-devel
1278 %defattr(644,root,root,755)
1279 %dir %{_includedir}/KHR
1280 %{_includedir}/KHR/khrplatform.h
1283 %files dri-driver-ati-radeon-R100
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1287 %files dri-driver-ati-radeon-R200
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1292 %files dri-driver-ati-radeon-R300
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1296 %files dri-driver-ati-radeon-R600
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_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 %if %{with dri_nouveau}
1310 %files dri-driver-nouveau
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1315 %files dri-driver-swrast
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1320 %files dri-driver-vmwgfx
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1326 # ldconfig is not used in vdpau tree, so package all symlinks
1327 %if %{with gallium_nouveau}
1328 %files -n libvdpau-driver-mesa-nouveau
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1331 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1332 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1335 %files -n libvdpau-driver-mesa-r300
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1338 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1339 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1341 %files -n libvdpau-driver-mesa-r600
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1344 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1345 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1347 %files -n libvdpau-driver-mesa-softpipe
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1350 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1351 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so