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.1.3
25 # minimal supported xserver version
26 %define xserver_ver 1.5.0
28 %define libdrm_ver 2.4.42
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/%{version}/%{name}Lib-%{version}.tar.bz2
40 # Source0-md5: 952ccd03547ed72333b64e1746cf8ada
41 Patch0: %{name}-link.patch
42 Patch1: %{name}-llvm.patch
43 URL: http://www.mesa3d.org/
44 BuildRequires: autoconf >= 2.60
45 BuildRequires: automake
46 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
47 BuildRequires: expat-devel
48 BuildRequires: gcc >= 5:3.3
49 %{?with_opencl:BuildRequires: gcc >= 6:4.6}
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:2.2
55 BuildRequires: libvdpau-devel >= 0.4.1
56 BuildRequires: libxcb-devel >= 1.9
57 BuildRequires: llvm-devel >= 3.2
58 %{?with_opencl:BuildRequires: llvm-libclc}
59 BuildRequires: perl-base
60 BuildRequires: pixman-devel
61 BuildRequires: pkgconfig
62 BuildRequires: pkgconfig(talloc) >= 2.0.1
63 BuildRequires: python >= 2
64 BuildRequires: python-libxml2
65 BuildRequires: python-modules >= 2
66 BuildRequires: rpmbuild(macros) >= 1.470
67 BuildRequires: sed >= 4.0
68 %{?with_egl:BuildRequires: udev-devel >= 1:150}
69 # wayland-{client,server}
70 %{?with_wayland:BuildRequires: wayland-devel >= 1.0.2}
71 BuildRequires: xorg-lib-libXdamage-devel
72 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
73 BuildRequires: xorg-lib-libXfixes-devel
74 BuildRequires: xorg-lib-libXt-devel
75 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
76 BuildRequires: xorg-lib-libXxf86vm-devel
77 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
78 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
79 BuildRequires: xorg-util-makedepend
80 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
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
96 %undefine with_wayland
99 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
100 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
101 # libdricore: internal library, not linked with libglapi
102 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
103 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libdricore.*.so.* libgbm.*.so.*
106 %define filterout_ld -Wl,--as-needed
109 Mesa is a 3-D graphics library with an API which is very similar to
110 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
111 syntax or state machine, it is being used with authorization from
112 Silicon Graphics, Inc. However, the author does not possess an OpenGL
113 license from SGI, and makes no claim that Mesa is in any way a
114 compatible replacement for OpenGL or associated with SGI.
116 %description -l pl.UTF-8
117 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
118 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
119 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
120 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
121 OpenGL ani powiązana z SGI.
124 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
125 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
128 Requires: %{name}-libglapi = %{version}-%{release}
129 # glx driver in libEGL dlopens libGL.so
130 Requires: OpenGL >= 1.2
131 Requires: libdrm >= %{libdrm_ver}
132 Requires: libxcb >= 1.9
133 %{?with_wayland:Requires: wayland >= 1.0.2}
136 Requires: %{name}-libOpenVG = %{version}-%{release}
137 Requires: udev-libs >= 1:150
140 Requires: %{name}-libgbm = %{version}-%{release}
145 This package contains shared libEGL - Mesa implementation of EGL
146 Native Platform Graphics Interface as specified by Khronos Group:
147 <http://www.khronos.org/egl/>.
149 %description libEGL -l pl.UTF-8
150 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
151 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
152 graficznego platformy natywnej) wg specyfikacji Khronos Group:
153 <http://www.khronos.org/egl/>.
155 %package libEGL-devel
156 Summary: Header files for Mesa implementation of EGL library
157 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
159 Group: Development/Libraries
160 Requires: %{name}-khrplatform-devel = %{version}-%{release}
161 Requires: %{name}-libEGL = %{version}-%{release}
162 Requires: libdrm-devel >= %{libdrm_ver}
163 Requires: xorg-lib-libX11-devel
164 Requires: xorg-lib-libXdamage-devel
165 Requires: xorg-lib-libXext-devel
166 Requires: xorg-lib-libXfixes-devel
167 Requires: xorg-lib-libXxf86vm-devel
168 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
169 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
170 Provides: EGL-devel = 1.4
172 %description libEGL-devel
173 Header files for Mesa implementation of EGL library.
175 %description libEGL-devel -l pl.UTF-8
176 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
178 %package libEGL-static
179 Summary: Static Mesa EGL library
180 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
182 Group: Development/Libraries
183 Requires: %{name}-libEGL-devel = %{version}-%{release}
184 Provides: EGL-static = 1.4
186 %description libEGL-static
187 Static Mesa EGL library.
189 %description libEGL-static -l pl.UTF-8
190 Statyczna biblioteka Mesa EGL.
193 Summary: Free Mesa3D implementation of libGL OpenGL library
194 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
197 Requires: %{name}-libglapi = %{version}-%{release}
198 Requires: libdrm >= %{libdrm_ver}
199 Provides: OpenGL = 3.1
200 Provides: OpenGL-GLX = 1.4
203 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
204 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
207 Mesa is a 3-D graphics library with an API which is very similar to
208 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
209 syntax or state machine, it is being used with authorization from
210 Silicon Graphics, Inc. However, the author does not possess an OpenGL
211 license from SGI, and makes no claim that Mesa is in any way a
212 compatible replacement for OpenGL or associated with SGI.
214 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
215 specifications. It uses DRI for rendering.
217 %description libGL -l pl.UTF-8
218 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
219 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
220 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
221 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
222 OpenGL ani powiązana z SGI.
224 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
225 GLX 1.4. Używa DRI do renderowania.
228 Summary: Header files for Mesa3D libGL library
229 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
231 Group: X11/Development/Libraries
232 # loose dependency on libGL to use with other libGL binaries
233 Requires: OpenGL >= 1.5
234 Requires: libdrm-devel >= %{libdrm_ver}
235 Requires: xorg-lib-libX11-devel
236 Requires: xorg-lib-libXdamage-devel
237 Requires: xorg-lib-libXext-devel
238 Requires: xorg-lib-libXxf86vm-devel
239 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
240 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
241 Suggests: OpenGL-doc-man
242 Provides: OpenGL-GLX-devel = 1.4
243 Provides: OpenGL-devel = 3.1
244 Obsoletes: Mesa-devel
245 Obsoletes: X11-OpenGL-devel < 1:7.0.0
246 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
247 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
248 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
250 %description libGL-devel
251 Header files for Mesa3D libGL library.
253 %description libGL-devel -l pl.UTF-8
254 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
256 %package libGL-static
257 Summary: Static Mesa3D libGL library
258 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
260 Group: X11/Development/Libraries
261 Requires: %{name}-libGL-devel = %{version}-%{release}
262 Provides: OpenGL-static = 3.1
263 Obsoletes: Mesa-static
264 Obsoletes: X11-OpenGL-static < 1:7.0.0
265 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
267 %description libGL-static
268 Static Mesa3D libGL library. It uses software renderer.
270 %description libGL-static -l pl.UTF-8
271 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
275 Summary: Mesa implementation of GLES (OpenGL ES) libraries
276 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
278 Requires: %{name}-libglapi = %{version}-%{release}
280 Provides: OpenGLESv1 = 1.1
281 Provides: OpenGLESv2 = 2.0
284 This package contains shared libraries of Mesa implementation of GLES
285 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
286 on embedded systems. OpenGL ES specification can be found on Khronos
287 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
290 %description libGLES -l pl.UTF-8
291 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
292 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
293 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
294 OpenGL ES można znaleźć na stronie Khronos Group:
295 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
298 %package libGLES-devel
299 Summary: Header files for Mesa GLES libraries
300 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
301 Group: Development/Libraries
302 Requires: %{name}-khrplatform-devel = %{version}-%{release}
303 # <EGL/egl.h> for <GLES/egl.h>
304 Requires: %{name}-libEGL-devel = %{version}-%{release}
305 Requires: %{name}-libGLES = %{version}-%{release}
306 Provides: OpenGLES-devel
307 Provides: OpenGLESv1-devel = 1.1
308 Provides: OpenGLESv2-devel = 2.0
310 %description libGLES-devel
311 Header files for Mesa GLES libraries.
313 %description libGLES-devel -l pl.UTF-8
314 Pliki nagłówkowe bibliotek Mesa GLES.
317 Summary: OSMesa (off-screen renderer) library
318 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
322 %description libOSMesa
323 OSMesa (off-screen renderer) library.
325 %description libOSMesa -l pl.UTF-8
326 Biblioteka OSMesa (renderująca bitmapy w pamięci).
328 %package libOSMesa-devel
329 Summary: Header file for OSMesa (off-screen renderer) library
330 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
332 Group: Development/Libraries
333 Requires: %{name}-libOSMesa = %{version}-%{release}
335 Requires: OpenGL-devel
336 Requires: libselinux-devel
338 %description libOSMesa-devel
339 Header file for OSMesa (off-screen renderer) library.
341 %description libOSMesa-devel -l pl.UTF-8
342 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
344 %package libOSMesa-static
345 Summary: Static OSMesa (off-screen renderer) library
346 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
348 Group: Development/Libraries
349 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
350 # this static build of OSMesa needs static non-dri Mesa implementation
351 Requires: %{name}-libGL-static = %{version}-%{release}
353 %description libOSMesa-static
354 Static OSMesa (off-screen renderer) library.
356 %description libOSMesa-static -l pl.UTF-8
357 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
360 Summary: Mesa implementation of OpenCL (Compuing Language) API
361 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
364 Requires: libdrm >= %{libdrm_ver}
365 Requires: llvm-libclc
366 Requires: udev-libs >= 1:150
367 Provides: OpenCL = 1.1
369 %description libOpenCL
370 This package contains Mesa implementation of OpenCL - standard for
371 cross-platform, parallel programming of modern processors found in
372 personal computers, servers and handheld/embedded devices. OpenCL
373 specification can be found on Khronos Group site:
374 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
376 %description libOpenCL -l pl.UTF-8
377 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
378 wieloplatformowego, równoległego programowania nowoczesnych
379 procesorów, jakie znajdują się w komputerach osobistych, serwerach
380 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
381 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
382 Mesa zawiera implementację OpenCL w wersji 1.1.
384 %package libOpenCL-devel
385 Summary: Header files for Mesa OpenCL library
386 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
388 Group: Development/Libraries
389 Requires: %{name}-libOpenCL = %{version}-%{release}
390 Provides: OpenCL-devel = 1.1
392 %description libOpenCL-devel
393 Header files for Mesa OpenCL library.
395 %description libOpenCL-devel -l pl.UTF-8
396 Pliki nagłówkowe biblioteki Mesa OpenCL.
399 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
400 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
403 Provides: OpenVG = 1.1
405 %description libOpenVG
406 This package contains Mesa implementation of OpenVG - cross-platform
407 API that provides a low-level hardware acceleration interface for
408 vector graphics libraries such as Flash and SVG. OpenVG specification
409 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
410 Mesa implements OpenVG 1.1.
412 %description libOpenVG -l pl.UTF-8
413 Ten pakiet zawiera implementację Mesa standardu OpenVG -
414 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
415 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
416 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
417 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
420 %package libOpenVG-devel
421 Summary: Header file for Mesa OpenVG library
422 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
424 Group: Development/Libraries
425 Requires: %{name}-khrplatform-devel = %{version}-%{release}
426 Requires: %{name}-libOpenVG = %{version}-%{release}
427 Provides: OpenVG-devel = 1.1
429 %description libOpenVG-devel
430 Header file for Mesa OpenVG library.
432 %description libOpenVG-devel -l pl.UTF-8
433 Plik nagłówkowy biblioteki Mesa OpenVG.
435 %package libXvMC-nouveau
436 Summary: Mesa implementation of XvMC API for NVidia adapters
437 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
440 Requires: libdrm >= %{libdrm_ver}
441 Requires: xorg-lib-libXvMC >= 1.0.6
442 Conflicts: Mesa-libXvMC
444 %description libXvMC-nouveau
445 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
447 %description libXvMC-nouveau -l pl.UTF-8
448 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
450 %package libXvMC-r300
451 Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
452 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
455 Requires: libdrm >= %{libdrm_ver}
456 Requires: xorg-lib-libXvMC >= 1.0.6
457 Conflicts: Mesa-libXvMC
459 %description libXvMC-r300
460 Mesa implementation of XvMC API for ATI Radeon adapters based on
461 R300/R400/RS690/R500 chips.
463 %description libXvMC-r300 -l pl.UTF-8
464 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
465 R300/R400/RS690/R500.
467 %package libXvMC-r600
468 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
469 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
472 Requires: %{name}-libllvmradeon = %{version}-%{release}
473 Requires: libdrm >= %{libdrm_ver}
474 Requires: xorg-lib-libXvMC >= 1.0.6
475 Conflicts: Mesa-libXvMC
477 %description libXvMC-r600
478 Mesa implementation of XvMC API for ATI Radeon adapters based on
481 %description libXvMC-r600 -l pl.UTF-8
482 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
485 %package libXvMC-softpipe
486 Summary: Mesa softpipe implementation of XvMC API
487 Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
490 Requires: libdrm >= %{libdrm_ver}
491 Requires: xorg-lib-libXvMC >= 1.0.6
492 Conflicts: Mesa-libXvMC
494 %description libXvMC-softpipe
495 Mesa softpipe implementation of XvMC API.
497 %description libXvMC-softpipe -l pl.UTF-8
498 Implementacja Mesa softpipe API XvMC.
501 Summary: Mesa Graphics Buffer Manager library
502 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
504 Requires: %{name}-libglapi = %{version}-%{release}
505 Requires: udev-libs >= 1:150
506 Conflicts: Mesa-libEGL < 8.0.1-2
509 Mesa Graphics Buffer Manager library.
511 %description libgbm -l pl.UTF-8
512 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
514 %package libgbm-devel
515 Summary: Header file for Mesa Graphics Buffer Manager library
516 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
517 Group: Development/Libraries
518 Requires: %{name}-libgbm = %{version}-%{release}
519 Requires: udev-devel >= 1:150
521 %description libgbm-devel
522 Header file for Mesa Graphics Buffer Manager library.
524 %description libgbm-devel -l pl.UTF-8
525 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
528 %package gbm-driver-i915
529 Summary: i915 driver for Mesa GBM framework
530 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
532 Requires: %{name}-libgbm = %{version}-%{release}
533 Obsoletes: Mesa-opencl-driver-i915
535 %description gbm-driver-i915
536 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
537 915/945/G33/Q33/Q35/Pineview chips.
539 %description gbm-driver-i915 -l pl.UTF-8
540 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
541 bufora graficznego). Obsługuje układy Intela z serii
542 915/945/G33/Q33/Q35/Pineview.
544 %package gbm-driver-nouveau
545 Summary: nouveau driver for Mesa GBM framework
546 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
548 Requires: %{name}-libgbm = %{version}-%{release}
549 Obsoletes: Mesa-opencl-driver-nouveau
551 %description gbm-driver-nouveau
552 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
555 %description gbm-driver-nouveau -l pl.UTF-8
556 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
557 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
559 %package gbm-driver-r300
560 Summary: r300 driver for Mesa GBM framework
561 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
563 Requires: %{name}-libgbm = %{version}-%{release}
564 Obsoletes: Mesa-opencl-driver-r300
566 %description gbm-driver-r300
567 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
568 adapters based on R300/R400/RS690/R500 chips.
570 %description gbm-driver-r300 -l pl.UTF-8
571 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
572 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
573 układach R300/R400/RS690/R500.
575 %package gbm-driver-r600
576 Summary: r600 driver for Mesa GBM framework
577 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
579 Requires: %{name}-libgbm = %{version}-%{release}
580 Requires: %{name}-libllvmradeon = %{version}-%{release}
581 Obsoletes: Mesa-opencl-driver-r600
583 %description gbm-driver-r600
584 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
585 adapters based on R600/R700 chips.
587 %description gbm-driver-r600 -l pl.UTF-8
588 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
589 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
592 %package gbm-driver-radeonsi
593 Summary: radeonsi driver for Mesa GBM framework
594 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
596 Requires: %{name}-libgbm = %{version}-%{release}
597 Requires: %{name}-libllvmradeon = %{version}-%{release}
598 Obsoletes: Mesa-opencl-driver-radeonsi
600 %description gbm-driver-radeonsi
601 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
602 Radeon adapters based on Southern Islands chips.
604 %description gbm-driver-radeonsi -l pl.UTF-8
605 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
606 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
607 oparte na układach Southern Islands.
609 %package gbm-driver-swrast
610 Summary: Software (swrast) driver for Mesa GBM framework
611 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
613 Requires: %{name}-libgbm = %{version}-%{release}
614 Obsoletes: Mesa-opencl-driver-swrast
616 %description gbm-driver-swrast
617 Software (swrast) driver for Mesa Graphics Buffer Manager.
619 %description gbm-driver-swrast -l pl.UTF-8
620 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
621 Manager (zarządcy bufora graficznego).
623 %package gbm-driver-vmwgfx
624 Summary: vmwgfx driver for Mesa GBM framework
625 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
627 Requires: %{name}-libgbm = %{version}-%{release}
628 Obsoletes: Mesa-opencl-driver-vmwgfx
630 %description gbm-driver-vmwgfx
631 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
632 virtual video adapter.
634 %description gbm-driver-vmwgfx -l pl.UTF-8
635 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
636 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
639 Summary: Mesa GL API shared library
640 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
642 Conflicts: Mesa-libEGL < 8.0.1-2
644 %description libglapi
645 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
647 %description libglapi -l pl.UTF-8
648 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
651 %package libllvmradeon
652 Summary: LLVM radeon target library
653 Summary(pl.UTF-8): Biblioteka platformy radeon dla LLVM-a
656 %description libllvmradeon
657 LLVM radeon target library.
659 %description libllvmradeon -l pl.UTF-8
660 Biblioteka platformy radeon dla LLVM-a.
662 %package libwayland-egl
663 Summary: Wayland EGL library
664 Summary(pl.UTF-8): Biblioteka Wayland EGL
666 Requires: libdrm >= %{libdrm_ver}
668 %description libwayland-egl
669 Wayland EGL platform library.
671 %description libwayland-egl -l pl.UTF-8
672 Biblioteka platformy EGL Wayland.
674 %package libwayland-egl-devel
675 Summary: Development files for Wayland EGL library
676 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
677 Group: Development/Libraries
678 Requires: %{name}-libwayland-egl = %{version}-%{release}
679 Requires: libdrm-devel >= %{libdrm_ver}
681 %description libwayland-egl-devel
682 Development files for Wayland EGL platform library.
684 %description libwayland-egl-devel -l pl.UTF-8
685 Pliki programistyczne biblioteki platformy EGL Wayland.
687 %package libxatracker
688 Summary: Xorg Gallium3D accelleration library
689 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
691 Requires: libdrm >= %{libdrm_ver}
693 %description libxatracker
694 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
696 %description libxatracker -l pl.UTF-8
697 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
700 %package libxatracker-devel
701 Summary: Header files for Xorg Gallium3D accelleration library
702 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
703 Group: X11/Development/Libraries
704 Requires: %{name}-libxatracker = %{version}-%{release}
705 Requires: libdrm-devel >= %{libdrm_ver}
707 %description libxatracker-devel
708 Header files for Xorg Gallium3D accelleration library.
710 %description libxatracker-devel -l pl.UTF-8
711 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
713 %package khrplatform-devel
714 Summary: Khronos platform header file
715 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
716 Group: Development/Libraries
717 Conflicts: Mesa-libEGL-devel < 8.0.1-2
719 %description khrplatform-devel
720 Khronos platform header file.
722 %description khrplatform-devel -l pl.UTF-8
723 Plik nagłówkowy platformy Khronos.
726 Summary: X.org DRI core library
727 Summary(pl.UTF-8): Biblioteka X.org DRI core
730 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
731 Requires: xorg-xserver-server >= %{xserver_ver}
733 %description dri-core
734 X.org DRI core library.
736 %description dri-core -l pl.UTF-8
737 Biblioteka X.org DRI core.
739 %package dri-driver-ati-radeon-R100
740 Summary: X.org DRI driver for ATI R100 card family
741 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
744 Requires: %{name}-dri-core = %{version}-%{release}
745 Requires: xorg-driver-video-ati
746 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
747 Requires: xorg-xserver-server >= %{xserver_ver}
748 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
750 %description dri-driver-ati-radeon-R100
751 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
753 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
754 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
756 %package dri-driver-ati-radeon-R200
757 Summary: X.org DRI driver for ATI R200 card family
758 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
761 Requires: %{name}-dri-core = %{version}-%{release}
762 Requires: xorg-driver-video-ati
763 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
764 Requires: xorg-xserver-server >= %{xserver_ver}
765 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
767 %description dri-driver-ati-radeon-R200
768 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
770 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
771 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
773 %package dri-driver-ati-radeon-R300
774 Summary: X.org DRI driver for ATI R300 card family
775 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
778 Requires: xorg-driver-video-ati
779 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
780 Requires: xorg-xserver-server >= %{xserver_ver}
781 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
783 %description dri-driver-ati-radeon-R300
784 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
786 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
787 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
789 %package dri-driver-ati-radeon-R600
790 Summary: X.org DRI driver for ATI R600 card family
791 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
794 Requires: %{name}-libllvmradeon = %{version}-%{release}
795 Requires: radeon-ucode
796 Requires: xorg-driver-video-ati
797 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
798 Requires: xorg-xserver-server >= %{xserver_ver}
800 %description dri-driver-ati-radeon-R600
801 X.org DRI driver for ATI R600/R700 card family.
803 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
804 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
806 %package dri-driver-ati-radeon-SI
807 Summary: X.org DRI driver for ATI Southern Islands card family
808 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
811 Requires: %{name}-libllvmradeon = %{version}-%{release}
812 Requires: radeon-ucode
813 Requires: xorg-driver-video-ati
814 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
815 Requires: xorg-xserver-server >= %{xserver_ver}
817 %description dri-driver-ati-radeon-SI
818 X.org DRI driver for ATI Southern Islands card family.
820 %description dri-driver-ati-radeon-SI -l pl.UTF-8
821 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
823 %package dri-driver-intel-i915
824 Summary: X.org DRI driver for Intel i915 card family
825 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
828 %if %{without gallium_intel}
829 Requires: %{name}-dri-core = %{version}-%{release}
831 Requires: xorg-driver-video-intel
832 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
833 Requires: xorg-xserver-server >= %{xserver_ver}
834 Obsoletes: Mesa-dri-driver-intel-i830
835 Obsoletes: X11-driver-i810-dri < 1:7.0.0
837 %description dri-driver-intel-i915
838 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
841 %description dri-driver-intel-i915 -l pl.UTF-8
842 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
845 %package dri-driver-intel-i965
846 Summary: X.org DRI driver for Intel i965 card family
847 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
850 Requires: %{name}-dri-core = %{version}-%{release}
851 Requires: xorg-driver-video-intel
852 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
853 Requires: xorg-xserver-server >= %{xserver_ver}
854 Obsoletes: Mesa-dri-driver-intel-i830
855 Obsoletes: X11-driver-i810-dri < 1:7.0.0
857 %description dri-driver-intel-i965
858 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
859 965GME, GM45, G41, B43, Q45, G45);
861 %description dri-driver-intel-i965 -l pl.UTF-8
862 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
863 965GM, 965GME, GM45, G41, B43, Q45, G45).
865 %package dri-driver-nouveau
866 Summary: X.org DRI driver for NVIDIA card family
867 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
870 Requires: %{name}-dri-core = %{version}-%{release}
871 Requires: xorg-driver-video-nouveau
872 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
873 Requires: xorg-xserver-server >= %{xserver_ver}
875 %description dri-driver-nouveau
876 X.org DRI drivers for NVIDIA card family.
878 %description dri-driver-nouveau -l pl.UTF-8
879 Sterowniki X.org DRI dla rodziny kart NVIDIA.
881 %package dri-driver-swrast
882 Summary: X.org DRI software rasterizer driver
883 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
886 Requires: %{name}-dri-core = %{version}-%{release}
887 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
888 Requires: xorg-xserver-server >= %{xserver_ver}
890 %description dri-driver-swrast
891 X.org DRI software rasterizer driver.
893 %description dri-driver-swrast -l pl.UTF-8
894 Sterownik X.org DRI obsługujący rysowanie programowe.
896 %package dri-driver-vmwgfx
897 Summary: X.org DRI driver for VMware
898 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
901 Requires: xorg-driver-video-vmware
902 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
903 Requires: xorg-xserver-server >= %{xserver_ver}
905 %description dri-driver-vmwgfx
906 X.org DRI driver for VMWare.
908 %description dri-driver-vmwgfx -l pl.UTF-8
909 Sterownik X.org DRI dla VMware.
911 %package -n libvdpau-driver-mesa-nouveau
912 Summary: Mesa nouveau driver for the vdpau API
913 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
916 Requires: libdrm >= %{libdrm_ver}
917 Requires: libvdpau >= 0.4.1
918 Conflicts: libvdpau-driver-mesa
920 %description -n libvdpau-driver-mesa-nouveau
921 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
924 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
925 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
928 %package -n libvdpau-driver-mesa-r300
929 Summary: Mesa r300 driver for the vdpau API
930 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
933 Requires: libdrm >= %{libdrm_ver}
934 Requires: libvdpau >= 0.4.1
935 Conflicts: libvdpau-driver-mesa
937 %description -n libvdpau-driver-mesa-r300
938 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
939 based on R300/R400/RS690/R500 chips.
941 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
942 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
943 na układach R300/R400/RS690/R500.
945 %package -n libvdpau-driver-mesa-r600
946 Summary: Mesa r600 driver for the vdpau API
947 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
950 Requires: %{name}-libllvmradeon = %{version}-%{release}
951 Requires: libdrm >= %{libdrm_ver}
952 Requires: libvdpau >= 0.4.1
953 Conflicts: libvdpau-driver-mesa
955 %description -n libvdpau-driver-mesa-r600
956 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
957 based on R600/R700 chips.
959 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
960 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
961 na układach R600/R700.
963 %package -n libvdpau-driver-mesa-radeonsi
964 Summary: Mesa radeonsi driver for the vdpau API
965 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
968 Requires: %{name}-libllvmradeon = %{version}-%{release}
969 Requires: libdrm >= %{libdrm_ver}
970 Requires: libvdpau >= 0.4.1
971 Conflicts: libvdpau-driver-mesa
973 %description -n libvdpau-driver-mesa-radeonsi
974 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
975 adapters based on Southern Islands chips.
977 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
978 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
979 oparte na układach Southern Islands.
981 %package -n libvdpau-driver-mesa-softpipe
982 Summary: Mesa softpipe driver for the vdpau API
983 Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
986 Requires: libdrm >= %{libdrm_ver}
987 Requires: libvdpau >= 0.4.1
988 Conflicts: libvdpau-driver-mesa
990 %description -n libvdpau-driver-mesa-softpipe
991 Mesa softpipe driver for the vdpau API.
993 %description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
994 Sterownik Mesa softpipe dla API vdpau.
1007 dri_drivers="r200 radeon \
1008 %if %{without gallium_intel}
1013 %ifarch sparc sparcv9 sparc64
1018 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1020 gallium_drivers="svga swrast \
1021 %if %{with gallium_intel}
1027 %if %{with gallium_nouveau}
1032 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1035 --disable-silent-rules \
1039 %{?with_static_libs:--enable-static} \
1042 --enable-shared-glapi \
1047 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1050 --enable-gallium-llvm \
1051 --with-llvm-shared-libs \
1052 %{__enable egl gallium-egl} \
1053 %{__enable gbm gallium-gbm} \
1054 %{?with_opencl:--enable-opencl} \
1055 %{?with_egl:--enable-openvg} \
1057 %{?with_xa:--enable-xa} \
1059 --with-gallium-drivers=${gallium_drivers} \
1061 --without-gallium-drivers \
1063 --with-dri-drivers=${dri_drivers} \
1064 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1069 rm -rf $RPM_BUILD_ROOT
1072 DESTDIR=$RPM_BUILD_ROOT
1074 # strip out undesirable headers
1075 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1076 # dlopened by soname
1077 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1078 # not used externally
1079 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{dricore%{int_sover},glapi}.so
1081 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1082 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1083 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1084 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.la
1085 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1086 # not defined by standards; and not needed, there is pkg-config support
1087 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1089 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1090 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1091 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1094 rm -rf $RPM_BUILD_ROOT
1096 %post libEGL -p /sbin/ldconfig
1097 %postun libEGL -p /sbin/ldconfig
1099 %post libGL -p /sbin/ldconfig
1100 %postun libGL -p /sbin/ldconfig
1102 %post libGLES -p /sbin/ldconfig
1103 %postun libGLES -p /sbin/ldconfig
1105 %post libOSMesa -p /sbin/ldconfig
1106 %postun libOSMesa -p /sbin/ldconfig
1108 %post libOpenCL -p /sbin/ldconfig
1109 %postun libOpenCL -p /sbin/ldconfig
1111 %post libOpenVG -p /sbin/ldconfig
1112 %postun libOpenVG -p /sbin/ldconfig
1114 %post libXvMC-nouveau -p /sbin/ldconfig
1115 %postun libXvMC-nouveau -p /sbin/ldconfig
1116 %post libXvMC-r300 -p /sbin/ldconfig
1117 %postun libXvMC-r300 -p /sbin/ldconfig
1118 %post libXvMC-r600 -p /sbin/ldconfig
1119 %postun libXvMC-r600 -p /sbin/ldconfig
1120 %post libXvMC-softpipe -p /sbin/ldconfig
1121 %postun libXvMC-softpipe -p /sbin/ldconfig
1123 %post libgbm -p /sbin/ldconfig
1124 %postun libgbm -p /sbin/ldconfig
1126 %post libglapi -p /sbin/ldconfig
1127 %postun libglapi -p /sbin/ldconfig
1129 %post libllvmradeon -p /sbin/ldconfig
1130 %postun libllvmradeon -p /sbin/ldconfig
1132 %post libwayland-egl -p /sbin/ldconfig
1133 %postun libwayland-egl -p /sbin/ldconfig
1135 %post libxatracker -p /sbin/ldconfig
1136 %postun libxatracker -p /sbin/ldconfig
1138 %post dri-core -p /sbin/ldconfig
1139 %postun dri-core -p /sbin/ldconfig
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1145 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1148 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_libdir}/libEGL.so
1154 %dir %{_includedir}/EGL
1155 %{_includedir}/EGL/egl.h
1156 %{_includedir}/EGL/eglext.h
1157 %{_includedir}/EGL/eglmesaext.h
1158 %{_includedir}/EGL/eglplatform.h
1159 %{_pkgconfigdir}/egl.pc
1161 %if %{with static_libs}
1162 %files libEGL-static
1163 %defattr(644,root,root,755)
1169 %defattr(644,root,root,755)
1170 %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
1171 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1172 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1173 # symlink for binary apps which fail to conform Linux OpenGL ABI
1174 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1175 %attr(755,root,root) %{_libdir}/libGL.so
1178 %defattr(644,root,root,755)
1180 %dir %{_includedir}/GL
1181 %{_includedir}/GL/gl.h
1182 %{_includedir}/GL/glext.h
1183 %{_includedir}/GL/gl_mangle.h
1184 %{_includedir}/GL/glx.h
1185 %{_includedir}/GL/glxext.h
1186 %{_includedir}/GL/glx_mangle.h
1187 %dir %{_includedir}/GL/internal
1188 %{_includedir}/GL/internal/dri_interface.h
1189 %{_pkgconfigdir}/dri.pc
1190 %{_pkgconfigdir}/gl.pc
1192 %if %{with static_libs}
1194 %defattr(644,root,root,755)
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1201 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1202 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1203 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1205 %files libGLES-devel
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1208 %attr(755,root,root) %{_libdir}/libGLESv2.so
1210 %{_includedir}/GLES2
1211 %{_includedir}/GLES3
1212 %{_pkgconfigdir}/glesv1_cm.pc
1213 %{_pkgconfigdir}/glesv2.pc
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1218 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1220 %files libOSMesa-devel
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/libOSMesa.so
1223 %{_includedir}/GL/osmesa.h
1224 %{_pkgconfigdir}/osmesa.pc
1226 %if %{with static_libs}
1227 %files libOSMesa-static
1228 %defattr(644,root,root,755)
1229 %{_libdir}/libOSMesa.a
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1236 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1238 %files libOpenCL-devel
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_libdir}/libOpenCL.so
1244 %if %{with egl} && %{with gallium}
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1248 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1250 %files libOpenVG-devel
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_libdir}/libOpenVG.so
1254 %{_pkgconfigdir}/vg.pc
1258 %if %{with gallium_nouveau}
1259 %files libXvMC-nouveau
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1262 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0.0
1268 %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1273 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1275 %files libXvMC-softpipe
1276 %defattr(644,root,root,755)
1277 %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0.0
1278 %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1285 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1288 %dir %{_libdir}/gallium-pipe
1289 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_libdir}/libgbm.so
1295 %{_includedir}/gbm.h
1296 %{_pkgconfigdir}/gbm.pc
1300 %if %{with gallium_intel}
1301 %files gbm-driver-i915
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1306 %if %{with gallium_nouveau}
1307 %files gbm-driver-nouveau
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1312 %files gbm-driver-r300
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1316 %files gbm-driver-r600
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1320 %files gbm-driver-radeonsi
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1324 %files gbm-driver-swrast
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1328 %files gbm-driver-vmwgfx
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1336 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1337 # libglapi-devel? nothing seems to need it atm.
1338 #%attr(755,root,root) %{_libdir}/libglapi.so
1341 %files libllvmradeon
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/libllvmradeon%{int_sover}.so
1347 %files libwayland-egl
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1350 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1352 %files libwayland-egl-devel
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1355 %{_pkgconfigdir}/wayland-egl.pc
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1362 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1364 %files libxatracker-devel
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_libdir}/libxatracker.so
1367 %{_includedir}/xa_composite.h
1368 %{_includedir}/xa_context.h
1369 %{_includedir}/xa_tracker.h
1370 %{_pkgconfigdir}/xatracker.pc
1374 %files khrplatform-devel
1375 %defattr(644,root,root,755)
1376 %dir %{_includedir}/KHR
1377 %{_includedir}/KHR/khrplatform.h
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_libdir}/libdricore%{int_sover}.so.*.*
1383 %attr(755,root,root) %ghost %{_libdir}/libdricore%{int_sover}.so.1
1384 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1386 %files dri-driver-ati-radeon-R100
1387 %defattr(644,root,root,755)
1388 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1390 %files dri-driver-ati-radeon-R200
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1395 %files dri-driver-ati-radeon-R300
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1399 %files dri-driver-ati-radeon-R600
1400 %defattr(644,root,root,755)
1401 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1404 %files dri-driver-ati-radeon-SI
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1408 %files dri-driver-intel-i915
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1412 %files dri-driver-intel-i965
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1416 %files dri-driver-nouveau
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1419 %if %{with gallium_nouveau}
1420 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1423 %files dri-driver-swrast
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1428 %files dri-driver-vmwgfx
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1434 # ldconfig is not used in vdpau tree, so package all symlinks
1435 %if %{with gallium_nouveau}
1436 %files -n libvdpau-driver-mesa-nouveau
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1439 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1440 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1443 %files -n libvdpau-driver-mesa-r300
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1446 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1447 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1449 %files -n libvdpau-driver-mesa-r600
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1452 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1453 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1455 %files -n libvdpau-driver-mesa-radeonsi
1456 %defattr(644,root,root,755)
1457 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1458 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1459 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1461 %files -n libvdpau-driver-mesa-softpipe
1462 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0.0
1464 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1465 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so