4 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
5 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
8 %bcond_without gallium # gallium drivers
9 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
10 %bcond_without gallium_nouveau # gallium nouveau driver (instead of plain dri)
11 %bcond_without dri_nouveau # nouveau DRI driver (any kind)
12 %bcond_without egl # EGL 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.39
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) and others - see license.html file
38 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
39 # Source0-md5: 60e557ce407be3732711da484ab3db6c
40 Patch0: %{name}-link.patch
41 URL: http://www.mesa3d.org/
42 BuildRequires: autoconf >= 2.60
43 BuildRequires: automake
44 BuildRequires: expat-devel
45 BuildRequires: gcc >= 5:3.3
46 BuildRequires: libdrm-devel >= %{libdrm_ver}
47 BuildRequires: libselinux-devel
48 BuildRequires: libstdc++-devel >= 5:3.3.0
49 BuildRequires: libtalloc-devel >= 2:2.0.1
50 BuildRequires: libtool >= 2:2.2
51 BuildRequires: libvdpau-devel >= 0.4.1
52 BuildRequires: llvm-devel >= 2.9
53 BuildRequires: pixman-devel
54 BuildRequires: pkgconfig
55 BuildRequires: pkgconfig(talloc) >= 2.0.1
57 BuildRequires: python-libxml2
58 BuildRequires: python-modules
59 BuildRequires: rpmbuild(macros) >= 1.470
60 BuildRequires: sed >= 4.0
61 # wayland-{client,server}
62 %{?with_wayland:BuildRequires: wayland-devel}
63 BuildRequires: xorg-lib-libXdamage-devel
64 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
65 BuildRequires: xorg-lib-libXfixes-devel
66 BuildRequires: xorg-lib-libXt-devel
67 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
68 BuildRequires: xorg-lib-libXxf86vm-devel
69 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
70 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
71 BuildRequires: xorg-util-makedepend
72 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
74 BuildRequires: libxcb-devel
75 BuildRequires: udev-devel >= 1:150
78 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
79 BuildRequires: xorg-xserver-server-devel >= 1.6.0
81 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83 %if %{without gallium}
84 %undefine with_gallium_intel
85 %undefine with_gallium_nouveau
89 %if %{without dri_nouveau}
90 %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.* libdricore.*.so.* libOSMesa.so.* libdricore.*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 = 3.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 = 3.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 = 3.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: OSMesa (off-screen renderer) library
312 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
316 %description libOSMesa
317 OSMesa (off-screen renderer) library.
319 %description libOSMesa -l pl.UTF-8
320 Biblioteka OSMesa (renderująca bitmapy w pamięci).
322 %package libOSMesa-devel
323 Summary: Header file for OSMesa (off-screen renderer) library
324 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
326 Group: Development/Libraries
327 Requires: %{name}-libOSMesa = %{version}-%{release}
329 Requires: OpenGL-devel
330 Requires: libselinux-devel
332 %description libOSMesa-devel
333 Header file for OSMesa (off-screen renderer) library.
335 %description libOSMesa-devel -l pl.UTF-8
336 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
338 %package libOSMesa-static
339 Summary: Static OSMesa (off-screen renderer) library
340 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
342 Group: Development/Libraries
343 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
344 # this static build of OSMesa needs static non-dri Mesa implementation
345 Requires: %{name}-libGL-static = %{version}-%{release}
347 %description libOSMesa-static
348 Static OSMesa (off-screen renderer) library.
350 %description libOSMesa-static -l pl.UTF-8
351 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
354 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
355 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
358 Provides: OpenVG = 1.1
360 %description libOpenVG
361 This package contains Mesa implementation of OpenVG - cross-platform
362 API that provides a low-level hardware acceleration interface for
363 vector graphics libraries such as Flash and SVG. OpenVG specification
364 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
365 Mesa implements OpenVG 1.1.
367 %description libOpenVG -l pl.UTF-8
368 Ten pakiet zawiera implementację Mesa standardu OpenVG -
369 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
370 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
371 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
372 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
375 %package libOpenVG-devel
376 Summary: Header file for Mesa OpenVG library
377 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
379 Group: Development/Libraries
380 Requires: %{name}-khrplatform-devel = %{version}-%{release}
381 Requires: %{name}-libOpenVG = %{version}-%{release}
382 Provides: OpenVG-devel = 1.1
384 %description libOpenVG-devel
385 Header file for Mesa OpenVG library.
387 %description libOpenVG-devel -l pl.UTF-8
388 Plik nagłówkowy biblioteki Mesa OpenVG.
390 %package libXvMC-nouveau
391 Summary: Mesa implementation of XvMC API for NVidia adapters
392 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
395 Requires: libdrm >= %{libdrm_ver}
396 Requires: xorg-lib-libXvMC >= 1.0.6
397 Conflicts: Mesa-libXvMC
399 %description libXvMC-nouveau
400 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
402 %description libXvMC-nouveau -l pl.UTF-8
403 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
405 %package libXvMC-r300
406 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
407 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
410 Requires: libdrm >= %{libdrm_ver}
411 Requires: xorg-lib-libXvMC >= 1.0.6
412 Conflicts: Mesa-libXvMC
414 %description libXvMC-r300
415 Mesa implementation of XvMC API for ATI Radeon adapters based on
416 R300/R400/RS690/R500 chips.
418 %description libXvMC-r300 -l pl.UTF-8
419 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
420 R300/R400/RS690/R500.
422 %package libXvMC-r600
423 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
424 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
427 Requires: libdrm >= %{libdrm_ver}
428 Requires: xorg-lib-libXvMC >= 1.0.6
429 Conflicts: Mesa-libXvMC
431 %description libXvMC-r600
432 Mesa implementation of XvMC API for ATI Radeon adapters based on
435 %description libXvMC-r600 -l pl.UTF-8
436 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
439 %package libXvMC-softpipe
440 Summary: Mesa softpipe implementation of XvMC API
441 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
444 Requires: libdrm >= %{libdrm_ver}
445 Requires: xorg-lib-libXvMC >= 1.0.6
446 Conflicts: Mesa-libXvMC
448 %description libXvMC-softpipe
449 Mesa softpipe implementation of XvMC API.
451 %description libXvMC-softpipe -l pl.UTF-8
452 Implementacja Mesa softpipe API XvMC.
455 Summary: Mesa Graphics Buffer Manager library
456 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
458 Requires: udev-libs >= 1:150
459 Conflicts: Mesa-libEGL < 8.0.1-2
462 Mesa Graphics Buffer Manager library.
464 %description libgbm -l pl.UTF-8
465 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
467 %package libgbm-devel
468 Summary: Header file for Mesa Graphics Buffer Manager library
469 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
470 Group: Development/Libraries
471 Requires: %{name}-libgbm = %{version}-%{release}
472 Requires: udev-devel >= 1:150
474 %description libgbm-devel
475 Header file for Mesa Graphics Buffer Manager library.
477 %description libgbm-devel -l pl.UTF-8
478 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
481 %package gbm-driver-swrast
482 Summary: Software (swrast) driver for Mesa GBM framework
483 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
485 Requires: %{name}-libgbm = %{version}-%{release}
487 %description gbm-driver-swrast
488 Software (swrast) driver for Mesa Graphics Buffer Manager.
490 %description gbm-driver-swrast -l pl.UTF-8
491 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
492 Manager (zarządcy bufora graficznego).
494 %package gbm-driver-i915
495 Summary: i915 driver for Mesa GBM framework
496 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
498 Requires: %{name}-libgbm = %{version}-%{release}
500 %description gbm-driver-i915
501 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
502 915/945/G33/Q33/Q35/Pineview chips.
504 %description gbm-driver-i915 -l pl.UTF-8
505 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
506 bufora graficznego). Obsługuje układy Intela z serii
507 915/945/G33/Q33/Q35/Pineview.
509 %package gbm-driver-nouveau
510 Summary: nouveau driver for Mesa GBM framework
511 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
513 Requires: %{name}-libgbm = %{version}-%{release}
515 %description gbm-driver-nouveau
516 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
519 %description gbm-driver-nouveau -l pl.UTF-8
520 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
521 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
523 %package gbm-driver-r300
524 Summary: r300 driver for Mesa GBM framework
525 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
527 Requires: %{name}-libgbm = %{version}-%{release}
529 %description gbm-driver-r300
530 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
531 adapters based on R300/R400/RS690/R500 chips.
533 %description gbm-driver-r300 -l pl.UTF-8
534 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
535 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
536 układach R300/R400/RS690/R500.
538 %package gbm-driver-r600
539 Summary: r600 driver for Mesa GBM framework
540 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
542 Requires: %{name}-libgbm = %{version}-%{release}
544 %description gbm-driver-r600
545 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
546 adapters based on R600/R700 chips.
548 %description gbm-driver-r600 -l pl.UTF-8
549 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
550 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
553 %package gbm-driver-radeonsi
554 Summary: radeonsi driver for Mesa GBM framework
555 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
557 Requires: %{name}-libgbm = %{version}-%{release}
559 %description gbm-driver-radeonsi
560 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
561 Radeon adapters based on Southern Islands chips.
563 %description gbm-driver-radeonsi -l pl.UTF-8
564 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
565 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
566 oparte na układach Southern Islands.
568 %package gbm-driver-vmwgfx
569 Summary: vmwgfx driver for Mesa GBM framework
570 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
572 Requires: %{name}-libgbm = %{version}-%{release}
574 %description gbm-driver-vmwgfx
575 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
576 virtual video adapter.
578 %description gbm-driver-vmwgfx -l pl.UTF-8
579 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
580 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
583 Summary: Mesa GL API shared library
584 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
586 Conflicts: Mesa-libEGL < 8.0.1-2
588 %description libglapi
589 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
591 %description libglapi -l pl.UTF-8
592 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
595 %package libwayland-egl
596 Summary: Wayland EGL library
597 Summary(pl.UTF-8): Biblioteka Wayland EGL
599 Requires: libdrm >= %{libdrm_ver}
601 %description libwayland-egl
602 Wayland EGL platform library.
604 %description libwayland-egl -l pl.UTF-8
605 Biblioteka platformy EGL Wayland.
607 %package libwayland-egl-devel
608 Summary: Development files for Wayland EGL library
609 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
610 Group: Development/Libraries
611 Requires: %{name}-libwayland-egl = %{version}-%{release}
612 Requires: libdrm-devel >= %{libdrm_ver}
613 Requires: wayland-devel
615 %description libwayland-egl-devel
616 Development files for Wayland EGL platform library.
618 %description libwayland-egl-devel -l pl.UTF-8
619 Pliki programistyczne biblioteki platformy EGL Wayland.
621 %package libxatracker
622 Summary: Xorg Gallium3D accelleration library
623 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
625 Requires: libdrm >= %{libdrm_ver}
627 %description libxatracker
628 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
630 %description libxatracker -l pl.UTF-8
631 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
634 %package libxatracker-devel
635 Summary: Header files for Xorg Gallium3D accelleration library
636 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
637 Group: X11/Development/Libraries
638 Requires: %{name}-libxatracker = %{version}-%{release}
639 Requires: libdrm-devel >= %{libdrm_ver}
641 %description libxatracker-devel
642 Header files for Xorg Gallium3D accelleration library.
644 %description libxatracker-devel -l pl.UTF-8
645 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
647 %package khrplatform-devel
648 Summary: Khronos platform header file
649 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
650 Group: Development/Libraries
651 Conflicts: Mesa-libEGL-devel < 8.0.1-2
653 %description khrplatform-devel
654 Khronos platform header file.
656 %description khrplatform-devel -l pl.UTF-8
657 Plik nagłówkowy platformy Khronos.
660 Summary: X.org DRI core library
661 Summary(pl.UTF-8): Biblioteka X.org DRI core
664 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
665 Requires: xorg-xserver-server >= %{xserver_ver}
667 %description dri-core
668 X.org DRI core library.
670 %description dri-core -l pl.UTF-8
671 Biblioteka X.org DRI core.
673 %package dri-driver-ati-radeon-R100
674 Summary: X.org DRI driver for ATI R100 card family
675 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
678 Requires: %{name}-dri-core = %{version}-%{release}
679 Requires: xorg-driver-video-ati
680 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
681 Requires: xorg-xserver-server >= %{xserver_ver}
682 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
684 %description dri-driver-ati-radeon-R100
685 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
687 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
688 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
690 %package dri-driver-ati-radeon-R200
691 Summary: X.org DRI driver for ATI R200 card family
692 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
695 Requires: %{name}-dri-core = %{version}-%{release}
696 Requires: xorg-driver-video-ati
697 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
698 Requires: xorg-xserver-server >= %{xserver_ver}
699 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
701 %description dri-driver-ati-radeon-R200
702 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
704 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
705 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
707 %package dri-driver-ati-radeon-R300
708 Summary: X.org DRI driver for ATI R300 card family
709 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
712 Requires: xorg-driver-video-ati
713 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
714 Requires: xorg-xserver-server >= %{xserver_ver}
715 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
717 %description dri-driver-ati-radeon-R300
718 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
720 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
721 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
723 %package dri-driver-ati-radeon-R600
724 Summary: X.org DRI driver for ATI R600 card family
725 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
728 Requires: radeon-ucode
729 Requires: xorg-driver-video-ati
730 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
731 Requires: xorg-xserver-server >= %{xserver_ver}
733 %description dri-driver-ati-radeon-R600
734 X.org DRI driver for ATI R600/R700 card family.
736 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
737 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
739 %package dri-driver-ati-radeon-SI
740 Summary: X.org DRI driver for ATI Southern Islands card family
741 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
744 Requires: radeon-ucode
745 Requires: xorg-driver-video-ati
746 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
747 Requires: xorg-xserver-server >= %{xserver_ver}
749 %description dri-driver-ati-radeon-SI
750 X.org DRI driver for ATI Southern Islands card family.
752 %description dri-driver-ati-radeon-SI -l pl.UTF-8
753 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
755 %package dri-driver-intel-i915
756 Summary: X.org DRI driver for Intel i915 card family
757 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
760 %if %{without gallium_intel}
761 Requires: %{name}-dri-core = %{version}-%{release}
763 Requires: xorg-driver-video-intel
764 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
765 Requires: xorg-xserver-server >= %{xserver_ver}
766 Obsoletes: Mesa-dri-driver-intel-i830
767 Obsoletes: X11-driver-i810-dri < 1:7.0.0
769 %description dri-driver-intel-i915
770 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
773 %description dri-driver-intel-i915 -l pl.UTF-8
774 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
777 %package dri-driver-intel-i965
778 Summary: X.org DRI driver for Intel i965 card family
779 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
782 Requires: %{name}-dri-core = %{version}-%{release}
783 Requires: xorg-driver-video-intel
784 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
785 Requires: xorg-xserver-server >= %{xserver_ver}
786 Obsoletes: Mesa-dri-driver-intel-i830
787 Obsoletes: X11-driver-i810-dri < 1:7.0.0
789 %description dri-driver-intel-i965
790 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
791 965GME, GM45, G41, B43, Q45, G45);
793 %description dri-driver-intel-i965 -l pl.UTF-8
794 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
795 965GM, 965GME, GM45, G41, B43, Q45, G45).
797 %package dri-driver-nouveau
798 Summary: X.org DRI driver for NVIDIA card family
799 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
802 %if %{without gallium_nouveau}
803 Requires: %{name}-dri-core = %{version}-%{release}
805 Requires: xorg-driver-video-nouveau
806 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
807 Requires: xorg-xserver-server >= %{xserver_ver}
809 %description dri-driver-nouveau
810 X.org DRI drivers for NVIDIA card family.
812 %description dri-driver-nouveau -l pl.UTF-8
813 Sterowniki X.org DRI dla rodziny kart NVIDIA.
815 %package dri-driver-swrast
816 Summary: X.org DRI software rasterizer driver
817 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
820 Requires: %{name}-dri-core = %{version}-%{release}
821 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
822 Requires: xorg-xserver-server >= %{xserver_ver}
824 %description dri-driver-swrast
825 X.org DRI software rasterizer driver.
827 %description dri-driver-swrast -l pl.UTF-8
828 Sterownik X.org DRI obsługujący rysowanie programowe.
830 %package dri-driver-vmwgfx
831 Summary: X.org DRI driver for VMware
832 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
835 Requires: xorg-driver-video-vmware
836 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
837 Requires: xorg-xserver-server >= %{xserver_ver}
839 %description dri-driver-vmwgfx
840 X.org DRI driver for VMWare.
842 %description dri-driver-vmwgfx -l pl.UTF-8
843 Sterownik X.org DRI dla VMware.
845 %package -n libvdpau-driver-mesa-nouveau
846 Summary: Mesa nouveau driver for the vdpau API
847 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
850 Requires: libdrm >= %{libdrm_ver}
851 Requires: libvdpau >= 0.4.1
852 Conflicts: libvdpau-driver-mesa
854 %description -n libvdpau-driver-mesa-nouveau
855 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
858 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
859 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
862 %package -n libvdpau-driver-mesa-r300
863 Summary: Mesa r300 driver for the vdpau API
864 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
867 Requires: libdrm >= %{libdrm_ver}
868 Requires: libvdpau >= 0.4.1
869 Conflicts: libvdpau-driver-mesa
871 %description -n libvdpau-driver-mesa-r300
872 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
873 based on R300/R400/RS690/R500 chips.
875 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
876 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
877 na układach R300/R400/RS690/R500.
879 %package -n libvdpau-driver-mesa-r600
880 Summary: Mesa r600 driver for the vdpau API
881 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
884 Requires: libdrm >= %{libdrm_ver}
885 Requires: libvdpau >= 0.4.1
886 Conflicts: libvdpau-driver-mesa
888 %description -n libvdpau-driver-mesa-r600
889 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
890 based on R600/R700 chips.
892 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
893 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
894 na układach R600/R700.
896 %package -n libvdpau-driver-mesa-radeonsi
897 Summary: Mesa radeonsi driver for the vdpau API
898 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
901 Requires: libdrm >= %{libdrm_ver}
902 Requires: libvdpau >= 0.4.1
903 Conflicts: libvdpau-driver-mesa
905 %description -n libvdpau-driver-mesa-radeonsi
906 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
907 adapters based on Southern Islands chips.
909 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
910 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
911 oparte na układach Southern Islands.
913 %package -n libvdpau-driver-mesa-softpipe
914 Summary: Mesa softpipe driver for the vdpau API
915 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
918 Requires: libdrm >= %{libdrm_ver}
919 Requires: libvdpau >= 0.4.1
920 Conflicts: libvdpau-driver-mesa
922 %description -n libvdpau-driver-mesa-softpipe
923 Mesa softpipe driver for the vdpau API.
925 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
926 Sterownik Mesa softpipe dla API vdpau.
938 dri_drivers="r200 radeon \
939 %if %{without gallium_intel}
943 %if %{with dri_nouveau} && %{without gallium_nouveau}
946 %ifarch sparc sparcv9 sparc64
951 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
953 gallium_drivers="svga swrast \
954 %if %{with gallium_intel}
960 %if %{with gallium_nouveau}
965 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
968 --disable-silent-rules \
973 %{?with_static_libs:--enable-static} \
976 --enable-shared-glapi \
981 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
984 --enable-gallium-llvm \
985 --with-llvm-shared-libs \ \
986 %{__enable egl gallium-egl} \
987 %{__enable gbm gallium-gbm} \
988 %{?with_egl:--enable-openvg} \
990 %{?with_xa:--enable-xa} \
992 --with-gallium-drivers=${gallium_drivers} \
994 --without-gallium-drivers \
996 --with-dri-drivers=${dri_drivers} \
997 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1002 rm -rf $RPM_BUILD_ROOT
1005 DESTDIR=$RPM_BUILD_ROOT
1007 # strip out undesirable headers
1008 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
1009 # dlopened by soname
1010 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1011 # not used externally
1012 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore9.0.0,glapi}.so
1014 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1015 # not defined by standards; and not needed, there is pkg-config support
1016 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1018 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1019 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1020 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1023 rm -rf $RPM_BUILD_ROOT
1025 %post libEGL -p /sbin/ldconfig
1026 %postun libEGL -p /sbin/ldconfig
1028 %post libGL -p /sbin/ldconfig
1029 %postun libGL -p /sbin/ldconfig
1031 %post libGLES -p /sbin/ldconfig
1032 %postun libGLES -p /sbin/ldconfig
1034 %post libOSMesa -p /sbin/ldconfig
1035 %postun libOSMesa -p /sbin/ldconfig
1037 %post libOpenVG -p /sbin/ldconfig
1038 %postun libOpenVG -p /sbin/ldconfig
1040 %post libXvMC-nouveau -p /sbin/ldconfig
1041 %postun libXvMC-nouveau -p /sbin/ldconfig
1042 %post libXvMC-r300 -p /sbin/ldconfig
1043 %postun libXvMC-r300 -p /sbin/ldconfig
1044 %post libXvMC-r600 -p /sbin/ldconfig
1045 %postun libXvMC-r600 -p /sbin/ldconfig
1046 %post libXvMC-softpipe -p /sbin/ldconfig
1047 %postun libXvMC-softpipe -p /sbin/ldconfig
1049 %post libgbm -p /sbin/ldconfig
1050 %postun libgbm -p /sbin/ldconfig
1052 %post libglapi -p /sbin/ldconfig
1053 %postun libglapi -p /sbin/ldconfig
1055 %post libwayland-egl -p /sbin/ldconfig
1056 %postun libwayland-egl -p /sbin/ldconfig
1058 %post libxatracker -p /sbin/ldconfig
1059 %postun libxatracker -p /sbin/ldconfig
1061 %post dri-core -p /sbin/ldconfig
1062 %postun dri-core -p /sbin/ldconfig
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1068 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1071 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_libdir}/libEGL.so
1077 %dir %{_includedir}/EGL
1078 %{_includedir}/EGL/egl.h
1079 %{_includedir}/EGL/eglext.h
1080 %{_includedir}/EGL/eglmesaext.h
1081 %{_includedir}/EGL/eglplatform.h
1082 %{_pkgconfigdir}/egl.pc
1084 %if %{with static_libs}
1085 %files libEGL-static
1086 %defattr(644,root,root,755)
1092 %defattr(644,root,root,755)
1093 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1094 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1095 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1096 # symlink for binary apps which fail to conform Linux OpenGL ABI
1097 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1098 %attr(755,root,root) %{_libdir}/libGL.so
1101 %defattr(644,root,root,755)
1103 %dir %{_includedir}/GL
1104 %{_includedir}/GL/gl.h
1105 %{_includedir}/GL/glext.h
1106 %{_includedir}/GL/gl_mangle.h
1107 %{_includedir}/GL/glx.h
1108 %{_includedir}/GL/glxext.h
1109 %{_includedir}/GL/glx_mangle.h
1110 %dir %{_includedir}/GL/internal
1111 %{_includedir}/GL/internal/dri_interface.h
1112 %{_pkgconfigdir}/dri.pc
1113 %{_pkgconfigdir}/gl.pc
1115 %if %{with static_libs}
1117 %defattr(644,root,root,755)
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1124 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1125 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1126 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1128 %files libGLES-devel
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1131 %attr(755,root,root) %{_libdir}/libGLESv2.so
1133 %{_includedir}/GLES2
1134 %{_pkgconfigdir}/glesv1_cm.pc
1135 %{_pkgconfigdir}/glesv2.pc
1138 %defattr(644,root,root,755)
1139 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1140 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1142 %files libOSMesa-devel
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) %{_libdir}/libOSMesa.so
1145 %{_includedir}/GL/osmesa.h
1146 %{_pkgconfigdir}/osmesa.pc
1148 %if %{with static_libs}
1149 %files libOSMesa-static
1150 %defattr(644,root,root,755)
1151 %{_libdir}/libOSMesa.a
1154 %if %{with egl} && %{with gallium}
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1158 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1160 %files libOpenVG-devel
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_libdir}/libOpenVG.so
1164 %{_pkgconfigdir}/vg.pc
1168 %if %{with gallium_nouveau}
1169 %files libXvMC-nouveau
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
1172 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
1178 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
1183 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1185 %files libXvMC-softpipe
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
1188 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1193 %defattr(644,root,root,755)
1194 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1195 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1198 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_libdir}/libgbm.so
1204 %{_includedir}/gbm.h
1205 %{_pkgconfigdir}/gbm.pc
1209 %files gbm-driver-swrast
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_libdir}/gbm/pipe_swrast.so
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-radeonsi
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libdir}/gbm/pipe_radeonsi.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
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_libdir}/libdricore9.0.0.so.*.*
1286 %attr(755,root,root) %ghost %{_libdir}/libdricore9.0.0.so.1
1287 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1289 %files dri-driver-ati-radeon-R100
1290 %defattr(644,root,root,755)
1291 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1293 %files dri-driver-ati-radeon-R200
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1298 %files dri-driver-ati-radeon-R300
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1302 %files dri-driver-ati-radeon-R600
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1307 %files dri-driver-ati-radeon-SI
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1311 %files dri-driver-intel-i915
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1315 %files dri-driver-intel-i965
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1319 %if %{with dri_nouveau}
1320 %files dri-driver-nouveau
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1325 %files dri-driver-swrast
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1330 %files dri-driver-vmwgfx
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1336 # ldconfig is not used in vdpau tree, so package all symlinks
1337 %if %{with gallium_nouveau}
1338 %files -n libvdpau-driver-mesa-nouveau
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1341 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1342 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1345 %files -n libvdpau-driver-mesa-r300
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1348 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1349 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1351 %files -n libvdpau-driver-mesa-r600
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1354 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1355 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1357 %files -n libvdpau-driver-mesa-radeonsi
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1360 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1361 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1363 %files -n libvdpau-driver-mesa-softpipe
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1366 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1367 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so