3 # - check if gallium_intel note is still valid, switch the bcond if not
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
12 %bcond_without egl # EGL libraries
13 %bcond_without gbm # Graphics Buffer Manager
14 %bcond_without opencl # OpenCL library
15 %bcond_without wayland # Wayland EGL
16 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
17 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
19 # glapi version (glapi tables in dri drivers and libglx must be in sync);
20 # set to current Mesa version on ABI break, when xserver tables get regenerated
21 # (until they start to be somehow versioned themselves)
22 %define glapi_ver 7.1.0
23 # internal API version (libdricore); a.b.c for Mesa-a.b.c, a.b.0 for Mesa-a.b
24 %define int_sover 9.2.0
25 # minimal supported xserver version
26 %define xserver_ver 1.5.0
28 %define libdrm_ver 2.4.46
29 %define dri2proto_ver 2.6
30 %define glproto_ver 1.4.14
32 Summary: Free OpenGL implementation
33 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
37 License: MIT (core) and others - see license.html file
39 Source0: ftp://ftp.freedesktop.org/pub/mesa/9.2/%{name}Lib-%{version}.tar.bz2
40 # Source0-md5: 4185b6aae890bc62a964f4b24cc1aca8
41 Patch0: %{name}-link.patch
42 URL: http://www.mesa3d.org/
43 BuildRequires: autoconf >= 2.60
44 BuildRequires: automake
45 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
46 BuildRequires: expat-devel
47 BuildRequires: gcc >= 5:3.3
48 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
49 BuildRequires: libdrm-devel >= %{libdrm_ver}
50 BuildRequires: libselinux-devel
51 BuildRequires: libstdc++-devel >= 5:3.3.0
52 BuildRequires: libtalloc-devel >= 2:2.0.1
53 BuildRequires: libtool >= 2:2.2
54 BuildRequires: libvdpau-devel >= 0.4.1
55 BuildRequires: libxcb-devel >= 1.9
56 BuildRequires: llvm-devel >= 3.3
57 %{?with_opencl:BuildRequires: llvm-libclc}
58 BuildRequires: perl-base
59 BuildRequires: pixman-devel
60 BuildRequires: pkgconfig
61 BuildRequires: pkgconfig(talloc) >= 2.0.1
62 BuildRequires: python >= 2
63 BuildRequires: python-libxml2
64 BuildRequires: python-modules >= 2
65 BuildRequires: rpmbuild(macros) >= 1.470
66 BuildRequires: sed >= 4.0
67 %{?with_egl:BuildRequires: udev-devel >= 1:151}
68 # wayland-{client,server}
69 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.2}
70 BuildRequires: xorg-lib-libXdamage-devel
71 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
72 BuildRequires: xorg-lib-libXfixes-devel
73 BuildRequires: xorg-lib-libXt-devel
74 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
75 BuildRequires: xorg-lib-libXxf86vm-devel
76 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
77 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
78 BuildRequires: xorg-util-makedepend
79 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
81 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
82 BuildRequires: xorg-xserver-server-devel >= 1.6.0
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 %if %{without gallium}
87 %undefine with_gallium_intel
88 %undefine with_gallium_nouveau
95 %undefine with_wayland
98 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
99 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
100 # libdricore: internal library, not linked with libglapi
101 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
102 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.*
105 %define filterout_ld -Wl,--as-needed
108 Mesa is a 3-D graphics library with an API which is very similar to
109 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
110 syntax or state machine, it is being used with authorization from
111 Silicon Graphics, Inc. However, the author does not possess an OpenGL
112 license from SGI, and makes no claim that Mesa is in any way a
113 compatible replacement for OpenGL or associated with SGI.
115 %description -l pl.UTF-8
116 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
117 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
118 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
119 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
120 OpenGL ani powiązana z SGI.
123 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
124 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
127 Requires: %{name}-libglapi = %{version}-%{release}
128 # glx driver in libEGL dlopens libGL.so
129 Requires: OpenGL >= 1.2
130 Requires: libdrm >= %{libdrm_ver}
131 Requires: libxcb >= 1.9
132 %{?with_wayland:Requires: wayland >= 1.0.2}
135 Requires: %{name}-libOpenVG = %{version}-%{release}
136 Requires: udev-libs >= 1:151
139 Requires: %{name}-libgbm = %{version}-%{release}
144 This package contains shared libEGL - Mesa implementation of EGL
145 Native Platform Graphics Interface as specified by Khronos Group:
146 <http://www.khronos.org/egl/>.
148 %description libEGL -l pl.UTF-8
149 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
150 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
151 graficznego platformy natywnej) wg specyfikacji Khronos Group:
152 <http://www.khronos.org/egl/>.
154 %package libEGL-devel
155 Summary: Header files for Mesa implementation of EGL library
156 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
158 Group: Development/Libraries
159 Requires: %{name}-khrplatform-devel = %{version}-%{release}
160 Requires: %{name}-libEGL = %{version}-%{release}
161 Requires: libdrm-devel >= %{libdrm_ver}
162 Requires: xorg-lib-libX11-devel
163 Requires: xorg-lib-libXdamage-devel
164 Requires: xorg-lib-libXext-devel
165 Requires: xorg-lib-libXfixes-devel
166 Requires: xorg-lib-libXxf86vm-devel
167 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
168 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
169 Provides: EGL-devel = 1.4
171 %description libEGL-devel
172 Header files for Mesa implementation of EGL library.
174 %description libEGL-devel -l pl.UTF-8
175 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
177 %package libEGL-static
178 Summary: Static Mesa EGL library
179 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
181 Group: Development/Libraries
182 Requires: %{name}-libEGL-devel = %{version}-%{release}
183 Provides: EGL-static = 1.4
185 %description libEGL-static
186 Static Mesa EGL library.
188 %description libEGL-static -l pl.UTF-8
189 Statyczna biblioteka Mesa EGL.
192 Summary: Free Mesa3D implementation of libGL OpenGL library
193 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
196 Requires: %{name}-libglapi = %{version}-%{release}
197 Requires: libdrm >= %{libdrm_ver}
198 Provides: OpenGL = 3.1
199 Provides: OpenGL-GLX = 1.4
202 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
203 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
206 Mesa is a 3-D graphics library with an API which is very similar to
207 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
208 syntax or state machine, it is being used with authorization from
209 Silicon Graphics, Inc. However, the author does not possess an OpenGL
210 license from SGI, and makes no claim that Mesa is in any way a
211 compatible replacement for OpenGL or associated with SGI.
213 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
214 specifications. It uses DRI for rendering.
216 %description libGL -l pl.UTF-8
217 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
218 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
219 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
220 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
221 OpenGL ani powiązana z SGI.
223 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
224 GLX 1.4. Używa DRI do renderowania.
227 Summary: Header files for Mesa3D libGL library
228 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
230 Group: X11/Development/Libraries
231 # loose dependency on libGL to use with other libGL binaries
232 Requires: OpenGL >= 1.5
233 Requires: libdrm-devel >= %{libdrm_ver}
234 Requires: xorg-lib-libX11-devel
235 Requires: xorg-lib-libXdamage-devel
236 Requires: xorg-lib-libXext-devel
237 Requires: xorg-lib-libXxf86vm-devel
238 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
239 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
240 Suggests: OpenGL-doc-man
241 Provides: OpenGL-GLX-devel = 1.4
242 Provides: OpenGL-devel = 3.1
243 Obsoletes: Mesa-devel
244 Obsoletes: X11-OpenGL-devel < 1:7.0.0
245 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
246 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
247 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
249 %description libGL-devel
250 Header files for Mesa3D libGL library.
252 %description libGL-devel -l pl.UTF-8
253 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
255 %package libGL-static
256 Summary: Static Mesa3D libGL library
257 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
259 Group: X11/Development/Libraries
260 Requires: %{name}-libGL-devel = %{version}-%{release}
261 Provides: OpenGL-static = 3.1
262 Obsoletes: Mesa-static
263 Obsoletes: X11-OpenGL-static < 1:7.0.0
264 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
266 %description libGL-static
267 Static Mesa3D libGL library. It uses software renderer.
269 %description libGL-static -l pl.UTF-8
270 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
274 Summary: Mesa implementation of GLES (OpenGL ES) libraries
275 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
277 Requires: %{name}-libglapi = %{version}-%{release}
279 Provides: OpenGLESv1 = 1.1
280 Provides: OpenGLESv2 = 2.0
283 This package contains shared libraries of Mesa implementation of GLES
284 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
285 on embedded systems. OpenGL ES specification can be found on Khronos
286 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
289 %description libGLES -l pl.UTF-8
290 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
291 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
292 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
293 OpenGL ES można znaleźć na stronie Khronos Group:
294 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
297 %package libGLES-devel
298 Summary: Header files for Mesa GLES libraries
299 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
300 Group: Development/Libraries
301 Requires: %{name}-khrplatform-devel = %{version}-%{release}
302 # <EGL/egl.h> for <GLES/egl.h>
303 Requires: %{name}-libEGL-devel = %{version}-%{release}
304 Requires: %{name}-libGLES = %{version}-%{release}
305 Provides: OpenGLES-devel
306 Provides: OpenGLESv1-devel = 1.1
307 Provides: OpenGLESv2-devel = 2.0
309 %description libGLES-devel
310 Header files for Mesa GLES libraries.
312 %description libGLES-devel -l pl.UTF-8
313 Pliki nagłówkowe bibliotek Mesa GLES.
316 Summary: OSMesa (off-screen renderer) library
317 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
321 %description libOSMesa
322 OSMesa (off-screen renderer) library.
324 %description libOSMesa -l pl.UTF-8
325 Biblioteka OSMesa (renderująca bitmapy w pamięci).
327 %package libOSMesa-devel
328 Summary: Header file for OSMesa (off-screen renderer) library
329 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
331 Group: Development/Libraries
332 Requires: %{name}-libOSMesa = %{version}-%{release}
334 Requires: OpenGL-devel
335 Requires: libselinux-devel
337 %description libOSMesa-devel
338 Header file for OSMesa (off-screen renderer) library.
340 %description libOSMesa-devel -l pl.UTF-8
341 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
343 %package libOSMesa-static
344 Summary: Static OSMesa (off-screen renderer) library
345 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
347 Group: Development/Libraries
348 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
349 # this static build of OSMesa needs static non-dri Mesa implementation
350 Requires: %{name}-libGL-static = %{version}-%{release}
352 %description libOSMesa-static
353 Static OSMesa (off-screen renderer) library.
355 %description libOSMesa-static -l pl.UTF-8
356 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
359 Summary: Mesa implementation of OpenCL (Compuing Language) API
360 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
363 Requires: libdrm >= %{libdrm_ver}
364 Requires: llvm-libclc
365 Requires: udev-libs >= 1:151
366 Provides: OpenCL = 1.1
368 %description libOpenCL
369 This package contains Mesa implementation of OpenCL - standard for
370 cross-platform, parallel programming of modern processors found in
371 personal computers, servers and handheld/embedded devices. OpenCL
372 specification can be found on Khronos Group site:
373 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
375 %description libOpenCL -l pl.UTF-8
376 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
377 wieloplatformowego, równoległego programowania nowoczesnych
378 procesorów, jakie znajdują się w komputerach osobistych, serwerach
379 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
380 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
381 Mesa zawiera implementację OpenCL w wersji 1.1.
383 %package libOpenCL-devel
384 Summary: Header files for Mesa OpenCL library
385 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
387 Group: Development/Libraries
388 Requires: %{name}-libOpenCL = %{version}-%{release}
389 Provides: OpenCL-devel = 1.1
391 %description libOpenCL-devel
392 Header files for Mesa OpenCL library.
394 %description libOpenCL-devel -l pl.UTF-8
395 Pliki nagłówkowe biblioteki Mesa OpenCL.
398 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
399 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
402 Provides: OpenVG = 1.1
404 %description libOpenVG
405 This package contains Mesa implementation of OpenVG - cross-platform
406 API that provides a low-level hardware acceleration interface for
407 vector graphics libraries such as Flash and SVG. OpenVG specification
408 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
409 Mesa implements OpenVG 1.1.
411 %description libOpenVG -l pl.UTF-8
412 Ten pakiet zawiera implementację Mesa standardu OpenVG -
413 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
414 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
415 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
416 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
419 %package libOpenVG-devel
420 Summary: Header file for Mesa OpenVG library
421 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
423 Group: Development/Libraries
424 Requires: %{name}-khrplatform-devel = %{version}-%{release}
425 Requires: %{name}-libOpenVG = %{version}-%{release}
426 Provides: OpenVG-devel = 1.1
428 %description libOpenVG-devel
429 Header file for Mesa OpenVG library.
431 %description libOpenVG-devel -l pl.UTF-8
432 Plik nagłówkowy biblioteki Mesa OpenVG.
434 %package libXvMC-nouveau
435 Summary: Mesa implementation of XvMC API for NVidia adapters
436 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
439 Requires: libdrm >= %{libdrm_ver}
440 Requires: xorg-lib-libXvMC >= 1.0.6
441 Conflicts: Mesa-libXvMC
443 %description libXvMC-nouveau
444 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
446 %description libXvMC-nouveau -l pl.UTF-8
447 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
449 %package libXvMC-r300
450 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
451 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
454 Requires: libdrm >= %{libdrm_ver}
455 Requires: xorg-lib-libXvMC >= 1.0.6
456 Conflicts: Mesa-libXvMC
458 %description libXvMC-r300
459 Mesa implementation of XvMC API for ATI Radeon adapters based on
460 R300/R400/RS690/R500 chips.
462 %description libXvMC-r300 -l pl.UTF-8
463 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
464 R300/R400/RS690/R500.
466 %package libXvMC-r600
467 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
468 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
471 Requires: libdrm >= %{libdrm_ver}
472 Requires: xorg-lib-libXvMC >= 1.0.6
473 Conflicts: Mesa-libXvMC
475 %description libXvMC-r600
476 Mesa implementation of XvMC API for ATI Radeon adapters based on
479 %description libXvMC-r600 -l pl.UTF-8
480 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
483 %package libXvMC-softpipe
484 Summary: Mesa softpipe implementation of XvMC API
485 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
488 Requires: libdrm >= %{libdrm_ver}
489 Requires: xorg-lib-libXvMC >= 1.0.6
490 Conflicts: Mesa-libXvMC
492 %description libXvMC-softpipe
493 Mesa softpipe implementation of XvMC API.
495 %description libXvMC-softpipe -l pl.UTF-8
496 Implementacja Mesa softpipe API XvMC.
499 Summary: Mesa Graphics Buffer Manager library
500 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
502 Requires: %{name}-libglapi = %{version}-%{release}
503 Requires: udev-libs >= 1:151
504 Conflicts: Mesa-libEGL < 8.0.1-2
507 Mesa Graphics Buffer Manager library.
509 %description libgbm -l pl.UTF-8
510 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
512 %package libgbm-devel
513 Summary: Header file for Mesa Graphics Buffer Manager library
514 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
515 Group: Development/Libraries
516 Requires: %{name}-libgbm = %{version}-%{release}
517 Requires: udev-devel >= 1:151
519 %description libgbm-devel
520 Header file for Mesa Graphics Buffer Manager library.
522 %description libgbm-devel -l pl.UTF-8
523 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
526 %package gbm-driver-i915
527 Summary: i915 driver for Mesa GBM framework
528 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
530 Requires: %{name}-libgbm = %{version}-%{release}
531 Obsoletes: Mesa-opencl-driver-i915
533 %description gbm-driver-i915
534 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
535 915/945/G33/Q33/Q35/Pineview chips.
537 %description gbm-driver-i915 -l pl.UTF-8
538 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
539 bufora graficznego). Obsługuje układy Intela z serii
540 915/945/G33/Q33/Q35/Pineview.
542 %package gbm-driver-nouveau
543 Summary: nouveau driver for Mesa GBM framework
544 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
546 Requires: %{name}-libgbm = %{version}-%{release}
547 Obsoletes: Mesa-opencl-driver-nouveau
549 %description gbm-driver-nouveau
550 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
553 %description gbm-driver-nouveau -l pl.UTF-8
554 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
555 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
557 %package gbm-driver-r300
558 Summary: r300 driver for Mesa GBM framework
559 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
561 Requires: %{name}-libgbm = %{version}-%{release}
562 Obsoletes: Mesa-opencl-driver-r300
564 %description gbm-driver-r300
565 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
566 adapters based on R300/R400/RS690/R500 chips.
568 %description gbm-driver-r300 -l pl.UTF-8
569 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
570 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
571 układach R300/R400/RS690/R500.
573 %package gbm-driver-r600
574 Summary: r600 driver for Mesa GBM framework
575 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
577 Requires: %{name}-libgbm = %{version}-%{release}
578 Obsoletes: Mesa-opencl-driver-r600
580 %description gbm-driver-r600
581 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
582 adapters based on R600/R700 chips.
584 %description gbm-driver-r600 -l pl.UTF-8
585 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
586 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
589 %package gbm-driver-radeonsi
590 Summary: radeonsi driver for Mesa GBM framework
591 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
593 Requires: %{name}-libgbm = %{version}-%{release}
594 Obsoletes: Mesa-opencl-driver-radeonsi
595 Obsoletes: Mesa-libllvmradeon
597 %description gbm-driver-radeonsi
598 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
599 Radeon adapters based on Southern Islands chips.
601 %description gbm-driver-radeonsi -l pl.UTF-8
602 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
603 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
604 oparte na układach Southern Islands.
606 %package gbm-driver-swrast
607 Summary: Software (swrast) driver for Mesa GBM framework
608 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
610 Requires: %{name}-libgbm = %{version}-%{release}
611 Obsoletes: Mesa-opencl-driver-swrast
613 %description gbm-driver-swrast
614 Software (swrast) driver for Mesa Graphics Buffer Manager.
616 %description gbm-driver-swrast -l pl.UTF-8
617 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
618 Manager (zarządcy bufora graficznego).
620 %package gbm-driver-vmwgfx
621 Summary: vmwgfx driver for Mesa GBM framework
622 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
624 Requires: %{name}-libgbm = %{version}-%{release}
625 Obsoletes: Mesa-opencl-driver-vmwgfx
627 %description gbm-driver-vmwgfx
628 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
629 virtual video adapter.
631 %description gbm-driver-vmwgfx -l pl.UTF-8
632 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
633 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
636 Summary: Mesa GL API shared library
637 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
639 Conflicts: Mesa-libEGL < 8.0.1-2
641 %description libglapi
642 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
644 %description libglapi -l pl.UTF-8
645 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
648 %package libwayland-egl
649 Summary: Wayland EGL library
650 Summary(pl.UTF-8): Biblioteka Wayland EGL
652 Requires: libdrm >= %{libdrm_ver}
654 %description libwayland-egl
655 Wayland EGL platform library.
657 %description libwayland-egl -l pl.UTF-8
658 Biblioteka platformy EGL Wayland.
660 %package libwayland-egl-devel
661 Summary: Development files for Wayland EGL library
662 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
663 Group: Development/Libraries
664 Requires: %{name}-libwayland-egl = %{version}-%{release}
665 Requires: libdrm-devel >= %{libdrm_ver}
667 %description libwayland-egl-devel
668 Development files for Wayland EGL platform library.
670 %description libwayland-egl-devel -l pl.UTF-8
671 Pliki programistyczne biblioteki platformy EGL Wayland.
673 %package libxatracker
674 Summary: Xorg Gallium3D accelleration library
675 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
677 Requires: libdrm >= %{libdrm_ver}
679 %description libxatracker
680 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
682 %description libxatracker -l pl.UTF-8
683 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
686 %package libxatracker-devel
687 Summary: Header files for Xorg Gallium3D accelleration library
688 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
689 Group: X11/Development/Libraries
690 Requires: %{name}-libxatracker = %{version}-%{release}
691 Requires: libdrm-devel >= %{libdrm_ver}
693 %description libxatracker-devel
694 Header files for Xorg Gallium3D accelleration library.
696 %description libxatracker-devel -l pl.UTF-8
697 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
699 %package khrplatform-devel
700 Summary: Khronos platform header file
701 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
702 Group: Development/Libraries
703 Conflicts: Mesa-libEGL-devel < 8.0.1-2
705 %description khrplatform-devel
706 Khronos platform header file.
708 %description khrplatform-devel -l pl.UTF-8
709 Plik nagłówkowy platformy Khronos.
712 Summary: X.org DRI core library
713 Summary(pl.UTF-8): Biblioteka X.org DRI core
716 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
717 Requires: xorg-xserver-server >= %{xserver_ver}
719 %description dri-core
720 X.org DRI core library.
722 %description dri-core -l pl.UTF-8
723 Biblioteka X.org DRI core.
725 %package dri-driver-ati-radeon-R100
726 Summary: X.org DRI driver for ATI R100 card family
727 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
730 Requires: %{name}-dri-core = %{version}-%{release}
731 Requires: xorg-driver-video-ati
732 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
733 Requires: xorg-xserver-server >= %{xserver_ver}
734 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
736 %description dri-driver-ati-radeon-R100
737 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
739 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
740 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
742 %package dri-driver-ati-radeon-R200
743 Summary: X.org DRI driver for ATI R200 card family
744 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
747 Requires: %{name}-dri-core = %{version}-%{release}
748 Requires: xorg-driver-video-ati
749 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
750 Requires: xorg-xserver-server >= %{xserver_ver}
751 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
753 %description dri-driver-ati-radeon-R200
754 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
756 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
757 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
759 %package dri-driver-ati-radeon-R300
760 Summary: X.org DRI driver for ATI R300 card family
761 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
764 Requires: xorg-driver-video-ati
765 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
766 Requires: xorg-xserver-server >= %{xserver_ver}
767 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
769 %description dri-driver-ati-radeon-R300
770 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
772 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
773 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
775 %package dri-driver-ati-radeon-R600
776 Summary: X.org DRI driver for ATI R600 card family
777 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
780 Requires: radeon-ucode
781 Requires: xorg-driver-video-ati
782 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
783 Requires: xorg-xserver-server >= %{xserver_ver}
785 %description dri-driver-ati-radeon-R600
786 X.org DRI driver for ATI R600/R700 card family.
788 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
789 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
791 %package dri-driver-ati-radeon-SI
792 Summary: X.org DRI driver for ATI Southern Islands card family
793 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
796 Requires: radeon-ucode
797 Requires: xorg-driver-video-ati
798 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
799 Requires: xorg-xserver-server >= %{xserver_ver}
801 %description dri-driver-ati-radeon-SI
802 X.org DRI driver for ATI Southern Islands card family.
804 %description dri-driver-ati-radeon-SI -l pl.UTF-8
805 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
807 %package dri-driver-intel-i915
808 Summary: X.org DRI driver for Intel i915 card family
809 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
812 %if %{without gallium_intel}
813 Requires: %{name}-dri-core = %{version}-%{release}
815 Requires: xorg-driver-video-intel
816 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
817 Requires: xorg-xserver-server >= %{xserver_ver}
818 Obsoletes: Mesa-dri-driver-intel-i830
819 Obsoletes: X11-driver-i810-dri < 1:7.0.0
821 %description dri-driver-intel-i915
822 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
825 %description dri-driver-intel-i915 -l pl.UTF-8
826 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
829 %package dri-driver-intel-i965
830 Summary: X.org DRI driver for Intel i965 card family
831 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
834 Requires: %{name}-dri-core = %{version}-%{release}
835 Requires: xorg-driver-video-intel
836 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
837 Requires: xorg-xserver-server >= %{xserver_ver}
838 Obsoletes: Mesa-dri-driver-intel-i830
839 Obsoletes: X11-driver-i810-dri < 1:7.0.0
841 %description dri-driver-intel-i965
842 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
843 965GME, GM45, G41, B43, Q45, G45);
845 %description dri-driver-intel-i965 -l pl.UTF-8
846 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
847 965GM, 965GME, GM45, G41, B43, Q45, G45).
849 %package dri-driver-nouveau
850 Summary: X.org DRI driver for NVIDIA card family
851 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
854 Requires: %{name}-dri-core = %{version}-%{release}
855 Requires: xorg-driver-video-nouveau
856 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
857 Requires: xorg-xserver-server >= %{xserver_ver}
859 %description dri-driver-nouveau
860 X.org DRI drivers for NVIDIA card family.
862 %description dri-driver-nouveau -l pl.UTF-8
863 Sterowniki X.org DRI dla rodziny kart NVIDIA.
865 %package dri-driver-swrast
866 Summary: X.org DRI software rasterizer driver
867 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
870 Requires: %{name}-dri-core = %{version}-%{release}
871 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
872 Requires: xorg-xserver-server >= %{xserver_ver}
874 %description dri-driver-swrast
875 X.org DRI software rasterizer driver.
877 %description dri-driver-swrast -l pl.UTF-8
878 Sterownik X.org DRI obsługujący rysowanie programowe.
880 %package dri-driver-vmwgfx
881 Summary: X.org DRI driver for VMware
882 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
885 Requires: xorg-driver-video-vmware
886 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
887 Requires: xorg-xserver-server >= %{xserver_ver}
889 %description dri-driver-vmwgfx
890 X.org DRI driver for VMWare.
892 %description dri-driver-vmwgfx -l pl.UTF-8
893 Sterownik X.org DRI dla VMware.
895 %package -n libvdpau-driver-mesa-nouveau
896 Summary: Mesa nouveau driver for the vdpau API
897 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
900 Requires: libdrm >= %{libdrm_ver}
901 Requires: libvdpau >= 0.4.1
902 Conflicts: libvdpau-driver-mesa
904 %description -n libvdpau-driver-mesa-nouveau
905 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
908 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
909 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
912 %package -n libvdpau-driver-mesa-r300
913 Summary: Mesa r300 driver for the vdpau API
914 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
917 Requires: libdrm >= %{libdrm_ver}
918 Requires: libvdpau >= 0.4.1
919 Conflicts: libvdpau-driver-mesa
921 %description -n libvdpau-driver-mesa-r300
922 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
923 based on R300/R400/RS690/R500 chips.
925 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
926 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
927 na układach R300/R400/RS690/R500.
929 %package -n libvdpau-driver-mesa-r600
930 Summary: Mesa r600 driver for the vdpau API
931 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
934 Requires: libdrm >= %{libdrm_ver}
935 Requires: libvdpau >= 0.4.1
936 Conflicts: libvdpau-driver-mesa
938 %description -n libvdpau-driver-mesa-r600
939 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
940 based on R600/R700 chips.
942 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
943 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
944 na układach R600/R700.
946 %package -n libvdpau-driver-mesa-radeonsi
947 Summary: Mesa radeonsi driver for the vdpau API
948 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
951 Requires: libdrm >= %{libdrm_ver}
952 Requires: libvdpau >= 0.4.1
953 Conflicts: libvdpau-driver-mesa
954 Obsoletes: Mesa-libllvmradeon
956 %description -n libvdpau-driver-mesa-radeonsi
957 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
958 adapters based on Southern Islands chips.
960 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
961 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
962 oparte na układach Southern Islands.
964 %package -n libvdpau-driver-mesa-softpipe
965 Summary: Mesa softpipe driver for the vdpau API
966 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
969 Requires: libdrm >= %{libdrm_ver}
970 Requires: libvdpau >= 0.4.1
971 Conflicts: libvdpau-driver-mesa
973 %description -n libvdpau-driver-mesa-softpipe
974 Mesa softpipe driver for the vdpau API.
976 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
977 Sterownik Mesa softpipe dla API vdpau.
989 dri_drivers="r200 radeon \
990 %if %{without gallium_intel}
995 %ifarch sparc sparcv9 sparc64
1000 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1002 gallium_drivers="svga swrast \
1003 %if %{with gallium_intel}
1009 %if %{with gallium_nouveau}
1014 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1017 --disable-silent-rules \
1021 %{?with_static_libs:--enable-static} \
1024 --enable-shared-glapi \
1029 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1032 --enable-gallium-llvm \
1033 --with-llvm-shared-libs \
1034 %{__enable egl gallium-egl} \
1035 %{__enable gbm gallium-gbm} \
1036 %{?with_opencl:--enable-opencl} \
1037 %{?with_egl:--enable-openvg} \
1039 %{?with_xa:--enable-xa} \
1041 --with-gallium-drivers=${gallium_drivers} \
1043 --without-gallium-drivers \
1045 --with-dri-drivers=${dri_drivers} \
1046 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1051 rm -rf $RPM_BUILD_ROOT
1054 DESTDIR=$RPM_BUILD_ROOT
1056 # strip out undesirable headers
1057 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1058 # dlopened by soname
1059 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1060 # not used externally
1061 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{int_sover},glapi}.so
1063 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1064 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1065 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1066 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.la
1067 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1068 # not defined by standards; and not needed, there is pkg-config support
1069 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1071 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1072 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1073 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1076 rm -rf $RPM_BUILD_ROOT
1078 %post libEGL -p /sbin/ldconfig
1079 %postun libEGL -p /sbin/ldconfig
1081 %post libGL -p /sbin/ldconfig
1082 %postun libGL -p /sbin/ldconfig
1084 %post libGLES -p /sbin/ldconfig
1085 %postun libGLES -p /sbin/ldconfig
1087 %post libOSMesa -p /sbin/ldconfig
1088 %postun libOSMesa -p /sbin/ldconfig
1090 %post libOpenCL -p /sbin/ldconfig
1091 %postun libOpenCL -p /sbin/ldconfig
1093 %post libOpenVG -p /sbin/ldconfig
1094 %postun libOpenVG -p /sbin/ldconfig
1096 %post libXvMC-nouveau -p /sbin/ldconfig
1097 %postun libXvMC-nouveau -p /sbin/ldconfig
1098 %post libXvMC-r300 -p /sbin/ldconfig
1099 %postun libXvMC-r300 -p /sbin/ldconfig
1100 %post libXvMC-r600 -p /sbin/ldconfig
1101 %postun libXvMC-r600 -p /sbin/ldconfig
1102 %post libXvMC-softpipe -p /sbin/ldconfig
1103 %postun libXvMC-softpipe -p /sbin/ldconfig
1105 %post libgbm -p /sbin/ldconfig
1106 %postun libgbm -p /sbin/ldconfig
1108 %post libglapi -p /sbin/ldconfig
1109 %postun libglapi -p /sbin/ldconfig
1111 %post libwayland-egl -p /sbin/ldconfig
1112 %postun libwayland-egl -p /sbin/ldconfig
1114 %post libxatracker -p /sbin/ldconfig
1115 %postun libxatracker -p /sbin/ldconfig
1117 %post dri-core -p /sbin/ldconfig
1118 %postun dri-core -p /sbin/ldconfig
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1124 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1127 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1131 %defattr(644,root,root,755)
1132 %attr(755,root,root) %{_libdir}/libEGL.so
1133 %dir %{_includedir}/EGL
1134 %{_includedir}/EGL/egl.h
1135 %{_includedir}/EGL/eglext.h
1136 %{_includedir}/EGL/eglmesaext.h
1137 %{_includedir}/EGL/eglplatform.h
1138 %{_pkgconfigdir}/egl.pc
1140 %if %{with static_libs}
1141 %files libEGL-static
1142 %defattr(644,root,root,755)
1148 %defattr(644,root,root,755)
1149 %doc docs/{*.html,README.{MITS,QUAKE,THREADS,UVD},relnotes/*.html}
1150 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1151 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1152 # symlink for binary apps which fail to conform Linux OpenGL ABI
1153 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1154 %attr(755,root,root) %{_libdir}/libGL.so
1157 %defattr(644,root,root,755)
1159 %dir %{_includedir}/GL
1160 %{_includedir}/GL/gl.h
1161 %{_includedir}/GL/glext.h
1162 %{_includedir}/GL/gl_mangle.h
1163 %{_includedir}/GL/glx.h
1164 %{_includedir}/GL/glxext.h
1165 %{_includedir}/GL/glx_mangle.h
1166 %dir %{_includedir}/GL/internal
1167 %{_includedir}/GL/internal/dri_interface.h
1168 %{_pkgconfigdir}/dri.pc
1169 %{_pkgconfigdir}/gl.pc
1171 %if %{with static_libs}
1173 %defattr(644,root,root,755)
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1180 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1181 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1182 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1184 %files libGLES-devel
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1187 %attr(755,root,root) %{_libdir}/libGLESv2.so
1189 %{_includedir}/GLES2
1190 %{_includedir}/GLES3
1191 %{_pkgconfigdir}/glesv1_cm.pc
1192 %{_pkgconfigdir}/glesv2.pc
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1197 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1199 %files libOSMesa-devel
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_libdir}/libOSMesa.so
1202 %{_includedir}/GL/osmesa.h
1203 %{_pkgconfigdir}/osmesa.pc
1205 %if %{with static_libs}
1206 %files libOSMesa-static
1207 %defattr(644,root,root,755)
1208 %{_libdir}/libOSMesa.a
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1215 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1217 %files libOpenCL-devel
1218 %defattr(644,root,root,755)
1219 %attr(755,root,root) %{_libdir}/libOpenCL.so
1223 %if %{with egl} && %{with gallium}
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1227 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1229 %files libOpenVG-devel
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/libOpenVG.so
1233 %{_pkgconfigdir}/vg.pc
1237 %if %{with gallium_nouveau}
1238 %files libXvMC-nouveau
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1241 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0.0
1247 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1252 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1254 %files libXvMC-softpipe
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0.0
1257 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1264 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1267 %dir %{_libdir}/gallium-pipe
1268 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_libdir}/libgbm.so
1274 %{_includedir}/gbm.h
1275 %{_pkgconfigdir}/gbm.pc
1279 %if %{with gallium_intel}
1280 %files gbm-driver-i915
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1285 %if %{with gallium_nouveau}
1286 %files gbm-driver-nouveau
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1291 %files gbm-driver-r300
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1295 %files gbm-driver-r600
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1299 %files gbm-driver-radeonsi
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1303 %files gbm-driver-swrast
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1307 %files gbm-driver-vmwgfx
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1315 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1316 # libglapi-devel? nothing seems to need it atm.
1317 #%attr(755,root,root) %{_libdir}/libglapi.so
1320 %files libwayland-egl
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1323 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1325 %files libwayland-egl-devel
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1328 %{_pkgconfigdir}/wayland-egl.pc
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1335 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1337 %files libxatracker-devel
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libxatracker.so
1340 %{_includedir}/xa_composite.h
1341 %{_includedir}/xa_context.h
1342 %{_includedir}/xa_tracker.h
1343 %{_pkgconfigdir}/xatracker.pc
1347 %files khrplatform-devel
1348 %defattr(644,root,root,755)
1349 %dir %{_includedir}/KHR
1350 %{_includedir}/KHR/khrplatform.h
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_libdir}/libdricore%{int_sover}.so.*.*
1356 %attr(755,root,root) %ghost %{_libdir}/libdricore%{int_sover}.so.1
1357 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1359 %files dri-driver-ati-radeon-R100
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1363 %files dri-driver-ati-radeon-R200
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1368 %files dri-driver-ati-radeon-R300
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1372 %files dri-driver-ati-radeon-R600
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1377 %files dri-driver-ati-radeon-SI
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1381 %files dri-driver-intel-i915
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1385 %files dri-driver-intel-i965
1386 %defattr(644,root,root,755)
1387 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1389 %files dri-driver-nouveau
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1392 %if %{with gallium_nouveau}
1393 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1396 %files dri-driver-swrast
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1401 %files dri-driver-vmwgfx
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1407 # ldconfig is not used in vdpau tree, so package all symlinks
1408 %if %{with gallium_nouveau}
1409 %files -n libvdpau-driver-mesa-nouveau
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1412 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1413 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1416 %files -n libvdpau-driver-mesa-r300
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1419 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1420 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1422 %files -n libvdpau-driver-mesa-r600
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1425 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1426 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1428 %files -n libvdpau-driver-mesa-radeonsi
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1431 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1432 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1434 %files -n libvdpau-driver-mesa-softpipe
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0.0
1437 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1438 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so