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: f15daf47602259139168e7e8565034d5
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-swrast
524 Summary: Software (swrast) driver for Mesa GBM framework
525 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
527 Requires: %{name}-libgbm = %{version}-%{release}
529 %description gbm-driver-swrast
530 Software (swrast) driver for Mesa Graphics Buffer Manager.
532 %description gbm-driver-swrast -l pl.UTF-8
533 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
534 Manager (zarządcy bufora graficznego).
536 %package gbm-driver-i915
537 Summary: i915 driver for Mesa GBM framework
538 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
540 Requires: %{name}-libgbm = %{version}-%{release}
542 %description gbm-driver-i915
543 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
544 915/945/G33/Q33/Q35/Pineview chips.
546 %description gbm-driver-i915 -l pl.UTF-8
547 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
548 bufora graficznego). Obsługuje układy Intela z serii
549 915/945/G33/Q33/Q35/Pineview.
551 %package gbm-driver-nouveau
552 Summary: nouveau driver for Mesa GBM framework
553 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
555 Requires: %{name}-libgbm = %{version}-%{release}
557 %description gbm-driver-nouveau
558 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
561 %description gbm-driver-nouveau -l pl.UTF-8
562 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
563 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
565 %package gbm-driver-r300
566 Summary: r300 driver for Mesa GBM framework
567 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
569 Requires: %{name}-libgbm = %{version}-%{release}
571 %description gbm-driver-r300
572 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
573 adapters based on R300/R400/RS690/R500 chips.
575 %description gbm-driver-r300 -l pl.UTF-8
576 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
577 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
578 układach R300/R400/RS690/R500.
580 %package gbm-driver-r600
581 Summary: r600 driver for Mesa GBM framework
582 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
584 Requires: %{name}-libgbm = %{version}-%{release}
586 %description gbm-driver-r600
587 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
588 adapters based on R600/R700 chips.
590 %description gbm-driver-r600 -l pl.UTF-8
591 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
592 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
595 %package gbm-driver-vmwgfx
596 Summary: vmwgfx driver for Mesa GBM framework
597 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
599 Requires: %{name}-libgbm = %{version}-%{release}
601 %description gbm-driver-vmwgfx
602 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
603 virtual video adapter.
605 %description gbm-driver-vmwgfx -l pl.UTF-8
606 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
607 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
610 Summary: Mesa GL API shared library
611 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
613 Conflicts: Mesa-libEGL < 8.0.1-2
615 %description libglapi
616 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
618 %description libglapi -l pl.UTF-8
619 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
622 %package libwayland-egl
623 Summary: Wayland EGL library
624 Summary(pl.UTF-8): Biblioteka Wayland EGL
626 Requires: libdrm >= %{libdrm_ver}
628 %description libwayland-egl
629 Wayland EGL platform library.
631 %description libwayland-egl -l pl.UTF-8
632 Biblioteka platformy EGL Wayland.
634 %package libwayland-egl-devel
635 Summary: Development files for Wayland EGL library
636 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
637 Group: Development/Libraries
638 Requires: %{name}-libwayland-egl = %{version}-%{release}
639 Requires: libdrm-devel >= %{libdrm_ver}
640 Requires: wayland-devel
642 %description libwayland-egl-devel
643 Development files for Wayland EGL platform library.
645 %description libwayland-egl-devel -l pl.UTF-8
646 Pliki programistyczne biblioteki platformy EGL Wayland.
648 %package libxatracker
649 Summary: Xorg Gallium3D accelleration library
650 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
652 Requires: libdrm >= %{libdrm_ver}
654 %description libxatracker
655 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
657 %description libxatracker -l pl.UTF-8
658 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
661 %package libxatracker-devel
662 Summary: Header files for Xorg Gallium3D accelleration library
663 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
664 Group: X11/Development/Libraries
665 Requires: %{name}-libxatracker = %{version}-%{release}
666 Requires: libdrm-devel >= %{libdrm_ver}
668 %description libxatracker-devel
669 Header files for Xorg Gallium3D accelleration library.
671 %description libxatracker-devel -l pl.UTF-8
672 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
674 %package khrplatform-devel
675 Summary: Khronos platform header file
676 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
677 Group: Development/Libraries
678 Conflicts: Mesa-libEGL-devel < 8.0.1-2
680 %description khrplatform-devel
681 Khronos platform header file.
683 %description khrplatform-devel -l pl.UTF-8
684 Plik nagłówkowy platformy Khronos.
687 Summary: X.org DRI core module
688 Summary(pl.UTF-8): Sterownik X.org DRI core
691 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
692 Requires: xorg-xserver-server >= %{xserver_ver}
694 %description dri-core
695 X.org DRI core library.
697 %description dri-core -l pl.UTF-8
698 Sterownik X.org DRI core.
700 %package dri-driver-ati-radeon-R100
701 Summary: X.org DRI driver for ATI R100 card family
702 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
705 Requires: xorg-driver-video-ati
706 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
707 Requires: xorg-xserver-server >= %{xserver_ver}
708 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
710 %description dri-driver-ati-radeon-R100
711 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
713 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
714 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
716 %package dri-driver-ati-radeon-R200
717 Summary: X.org DRI driver for ATI R200 card family
718 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
721 Requires: xorg-driver-video-ati
722 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
723 Requires: xorg-xserver-server >= %{xserver_ver}
724 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
726 %description dri-driver-ati-radeon-R200
727 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
729 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
730 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
732 %package dri-driver-ati-radeon-R300
733 Summary: X.org DRI driver for ATI R300 card family
734 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
737 Requires: xorg-driver-video-ati
738 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
739 Requires: xorg-xserver-server >= %{xserver_ver}
740 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
742 %description dri-driver-ati-radeon-R300
743 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
745 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
746 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
748 %package dri-driver-ati-radeon-R600
749 Summary: X.org DRI driver for ATI R600 card family
750 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
753 Requires: radeon-ucode
754 Requires: xorg-driver-video-ati
755 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
756 Requires: xorg-xserver-server >= %{xserver_ver}
758 %description dri-driver-ati-radeon-R600
759 X.org DRI driver for ATI R600/R700 card family.
761 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
762 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
764 %package dri-driver-intel-i915
765 Summary: X.org DRI driver for Intel i915 card family
766 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
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-i915
776 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
779 %description dri-driver-intel-i915 -l pl.UTF-8
780 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
783 %package dri-driver-intel-i965
784 Summary: X.org DRI driver for Intel i965 card family
785 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
788 Requires: xorg-driver-video-intel
789 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
790 Requires: xorg-xserver-server >= %{xserver_ver}
791 Obsoletes: Mesa-dri-driver-intel-i830
792 Obsoletes: X11-driver-i810-dri < 1:7.0.0
794 %description dri-driver-intel-i965
795 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
796 965GME, GM45, G41, B43, Q45, G45);
798 %description dri-driver-intel-i965 -l pl.UTF-8
799 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
800 965GM, 965GME, GM45, G41, B43, Q45, G45).
802 %package dri-driver-nouveau
803 Summary: X.org DRI driver for NVIDIA card family
804 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
807 Requires: xorg-driver-video-nouveau
808 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
809 Requires: xorg-xserver-server >= %{xserver_ver}
811 %description dri-driver-nouveau
812 X.org DRI drivers for NVIDIA card family.
814 %description dri-driver-nouveau -l pl.UTF-8
815 Sterowniki X.org DRI dla rodziny kart NVIDIA.
817 %package dri-driver-swrast
818 Summary: X.org DRI software rasterizer driver
819 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
822 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
823 Requires: xorg-xserver-server >= %{xserver_ver}
825 %description dri-driver-swrast
826 X.org DRI software rasterizer driver.
828 %description dri-driver-swrast -l pl.UTF-8
829 Sterownik X.org DRI obsługujący rysowanie programowe.
831 %package dri-driver-vmwgfx
832 Summary: X.org DRI driver for VMware
833 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
836 Requires: xorg-driver-video-vmware
837 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
838 Requires: xorg-xserver-server >= %{xserver_ver}
840 %description dri-driver-vmwgfx
841 X.org DRI driver for VMWare.
843 %description dri-driver-vmwgfx -l pl.UTF-8
844 Sterownik X.org DRI dla VMware.
846 %package -n libvdpau-driver-mesa-nouveau
847 Summary: Mesa nouveau driver for the vdpau API
848 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
851 Requires: libdrm >= %{libdrm_ver}
852 Requires: libvdpau >= 0.4.1
853 Conflicts: libvdpau-driver-mesa
855 %description -n libvdpau-driver-mesa-nouveau
856 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
859 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
860 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
863 %package -n libvdpau-driver-mesa-r300
864 Summary: Mesa r300 driver for the vdpau API
865 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
868 Requires: libdrm >= %{libdrm_ver}
869 Requires: libvdpau >= 0.4.1
870 Conflicts: libvdpau-driver-mesa
872 %description -n libvdpau-driver-mesa-r300
873 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
874 based on R300/R400/RS690/R500 chips.
876 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
877 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
878 na układach R300/R400/RS690/R500.
880 %package -n libvdpau-driver-mesa-r600
881 Summary: Mesa r600 driver for the vdpau API
882 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
885 Requires: libdrm >= %{libdrm_ver}
886 Requires: libvdpau >= 0.4.1
887 Conflicts: libvdpau-driver-mesa
889 %description -n libvdpau-driver-mesa-r600
890 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
891 based on R600/R700 chips.
893 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
894 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
895 na układach R600/R700.
897 %package -n libvdpau-driver-mesa-softpipe
898 Summary: Mesa softpipe driver for the vdpau API
899 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
902 Requires: libdrm >= %{libdrm_ver}
903 Requires: libvdpau >= 0.4.1
904 Conflicts: libvdpau-driver-mesa
906 %description -n libvdpau-driver-mesa-softpipe
907 Mesa softpipe driver for the vdpau API.
909 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
910 Sterownik Mesa softpipe dla API vdpau.
920 if [ -x autogen.sh ]; then
927 dri_drivers="r200 radeon \
928 %if %{without gallium_intel}
932 %ifarch sparc sparcv9 sparc64
937 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
939 gallium_drivers="svga swrast \
940 %if %{with gallium_intel}
945 %if %{with gallium_nouveau}
950 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
954 --enable-shared-dricore \
958 %{?with_static_libs:--enable-static} \
961 osmesa_common_flags="\
962 --with-driver=osmesa \
968 %configure $common_flags $osmesa_common_flags \
971 %{__make} -C src/mesa osmesa.pc
973 cp -p src/mesa/osmesa.pc osmesa8
977 %configure $common_flags \
979 --enable-shared-glapi \
984 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
987 --enable-gallium-llvm \
988 %{__enable egl gallium-egl} \
989 %{__enable gbm gallium-gbm} \
990 %{?with_egl:--enable-openvg} \
992 %{?with_xa:--enable-xa} \
994 --with-gallium-drivers=${gallium_drivers} \
996 --without-gallium-drivers \
999 --with-dri-drivers=${dri_drivers} \
1000 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1005 rm -rf $RPM_BUILD_ROOT
1008 DESTDIR=$RPM_BUILD_ROOT
1010 # until upstream fixes it
1011 mv $RPM_BUILD_ROOT%{_libdir}/dri/libdricore.so \
1012 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/libdricore.so
1015 cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
1016 cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1019 # strip out undesirable headers
1020 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1021 # dlopened by soname
1022 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1023 # not used externally
1024 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1026 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1027 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1028 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1031 rm -rf $RPM_BUILD_ROOT
1033 %post libEGL -p /sbin/ldconfig
1034 %postun libEGL -p /sbin/ldconfig
1036 %post libGL -p /sbin/ldconfig
1037 %postun libGL -p /sbin/ldconfig
1039 %post libGLES -p /sbin/ldconfig
1040 %postun libGLES -p /sbin/ldconfig
1042 %post libGLU -p /sbin/ldconfig
1043 %postun libGLU -p /sbin/ldconfig
1045 %post libOSMesa -p /sbin/ldconfig
1046 %postun libOSMesa -p /sbin/ldconfig
1048 %post libOpenVG -p /sbin/ldconfig
1049 %postun libOpenVG -p /sbin/ldconfig
1051 %post libXvMC-nouveau -p /sbin/ldconfig
1052 %postun libXvMC-nouveau -p /sbin/ldconfig
1053 %post libXvMC-r300 -p /sbin/ldconfig
1054 %postun libXvMC-r300 -p /sbin/ldconfig
1055 %post libXvMC-r600 -p /sbin/ldconfig
1056 %postun libXvMC-r600 -p /sbin/ldconfig
1057 %post libXvMC-softpipe -p /sbin/ldconfig
1058 %postun libXvMC-softpipe -p /sbin/ldconfig
1060 %post libgbm -p /sbin/ldconfig
1061 %postun libgbm -p /sbin/ldconfig
1063 %post libglapi -p /sbin/ldconfig
1064 %postun libglapi -p /sbin/ldconfig
1066 %post libwayland-egl -p /sbin/ldconfig
1067 %postun libwayland-egl -p /sbin/ldconfig
1069 %post libxatracker -p /sbin/ldconfig
1070 %postun libxatracker -p /sbin/ldconfig
1074 %defattr(644,root,root,755)
1075 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1076 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1079 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1083 %defattr(644,root,root,755)
1084 %attr(755,root,root) %{_libdir}/libEGL.so
1085 %dir %{_includedir}/EGL
1086 %{_includedir}/EGL/egl.h
1087 %{_includedir}/EGL/eglext.h
1088 %{_includedir}/EGL/eglmesaext.h
1089 %{_includedir}/EGL/eglplatform.h
1090 %{_pkgconfigdir}/egl.pc
1092 %if %{with static_libs}
1093 %files libEGL-static
1094 %defattr(644,root,root,755)
1100 %defattr(644,root,root,755)
1101 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1102 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1103 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1104 # symlink for binary apps which fail to conform Linux OpenGL ABI
1105 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1106 %attr(755,root,root) %{_libdir}/libGL.so
1109 %defattr(644,root,root,755)
1111 %dir %{_includedir}/GL
1112 %{_includedir}/GL/gl.h
1113 %{_includedir}/GL/glext.h
1114 %{_includedir}/GL/gl_mangle.h
1115 %{_includedir}/GL/glx.h
1116 %{_includedir}/GL/glxext.h
1117 %{_includedir}/GL/glx_mangle.h
1118 %dir %{_includedir}/GL/internal
1119 %{_includedir}/GL/internal/dri_interface.h
1120 %{_pkgconfigdir}/dri.pc
1121 %{_pkgconfigdir}/gl.pc
1123 %if %{with static_libs}
1125 %defattr(644,root,root,755)
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1132 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1133 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1134 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1136 %files libGLES-devel
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1139 %attr(755,root,root) %{_libdir}/libGLESv2.so
1141 %{_includedir}/GLES2
1142 %{_pkgconfigdir}/glesv1_cm.pc
1143 %{_pkgconfigdir}/glesv2.pc
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_libdir}/libGLU.so.*.*
1148 %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
1151 %defattr(644,root,root,755)
1152 %attr(755,root,root) %{_libdir}/libGLU.so
1153 %{_includedir}/GL/glu.h
1154 %{_includedir}/GL/glu_mangle.h
1155 %{_pkgconfigdir}/glu.pc
1157 %if %{with static_libs}
1158 %files libGLU-static
1159 %defattr(644,root,root,755)
1165 %defattr(644,root,root,755)
1166 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1167 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1169 %files libOSMesa-devel
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/libOSMesa.so
1172 %{_includedir}/GL/osmesa.h
1173 %{_pkgconfigdir}/osmesa.pc
1175 %if %{with static_libs}
1176 %files libOSMesa-static
1177 %defattr(644,root,root,755)
1178 %{_libdir}/libOSMesa.a
1182 %if %{with egl} && %{with gallium}
1184 %defattr(644,root,root,755)
1185 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1186 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1188 %files libOpenVG-devel
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_libdir}/libOpenVG.so
1192 %{_pkgconfigdir}/vg.pc
1196 %if %{with gallium_nouveau}
1197 %files libXvMC-nouveau
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1200 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1206 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1211 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1213 %files libXvMC-softpipe
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1216 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1223 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1226 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/libgbm.so
1232 %{_includedir}/gbm.h
1233 %{_pkgconfigdir}/gbm.pc
1237 %files gbm-driver-swrast
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
1241 %if %{with gallium_intel}
1242 %files gbm-driver-i915
1243 %defattr(644,root,root,755)
1244 %attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1247 %if %{with gallium_nouveau}
1248 %files gbm-driver-nouveau
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1253 %files gbm-driver-r300
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1257 %files gbm-driver-r600
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1261 %files gbm-driver-vmwgfx
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1269 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1270 # libglapi-devel? nothing seems to need it atm.
1271 #%attr(755,root,root) %{_libdir}/libglapi.so
1274 %files libwayland-egl
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1277 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1279 %files libwayland-egl-devel
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1282 %{_pkgconfigdir}/wayland-egl.pc
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1289 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1291 %files libxatracker-devel
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/libxatracker.so
1294 %{_includedir}/xa_composite.h
1295 %{_includedir}/xa_context.h
1296 %{_includedir}/xa_tracker.h
1297 %{_pkgconfigdir}/xatracker.pc
1301 %files khrplatform-devel
1302 %defattr(644,root,root,755)
1303 %dir %{_includedir}/KHR
1304 %{_includedir}/KHR/khrplatform.h
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/xorg/modules/dri/libdricore.so
1310 %attr(755,root,root) %{_libdir}/xorg/modules/dri/libglsl.so
1312 %files dri-driver-ati-radeon-R100
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1316 %files dri-driver-ati-radeon-R200
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1321 %files dri-driver-ati-radeon-R300
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1325 %files dri-driver-ati-radeon-R600
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1329 %files dri-driver-intel-i915
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1333 %files dri-driver-intel-i965
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1337 %if %{with gallium_nouveau}
1338 %files dri-driver-nouveau
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1344 %files dri-driver-swrast
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1349 %files dri-driver-vmwgfx
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1355 # ldconfig is not used in vdpau tree, so package all symlinks
1356 %if %{with gallium_nouveau}
1357 %files -n libvdpau-driver-mesa-nouveau
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1360 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1361 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1364 %files -n libvdpau-driver-mesa-r300
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1367 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1368 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1370 %files -n libvdpau-driver-mesa-r600
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1373 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1374 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1376 %files -n libvdpau-driver-mesa-softpipe
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1379 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1380 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so