3 # - check if gallium_intel note is still valid, switch the bcond if not
5 # - ARM drivers (ilo,freedreno,vc4)?
6 # - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
7 # - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
10 %bcond_without gallium # gallium drivers
11 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
12 %bcond_without gallium_nouveau # gallium nouveau driver
13 %bcond_without gallium_radeon # gallium radeon drivers
14 %bcond_without egl # EGL libraries
15 %bcond_with openvg # OpenVG library [not builind since 10.4, dropped in 10.6]
16 %bcond_without gbm # Graphics Buffer Manager
17 %bcond_without nine # Nine Direct3D 9+ state tracker (for Wine)
18 %bcond_without opencl # OpenCL support
19 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
20 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
21 %bcond_without va # VA library
22 %bcond_without wayland # Wayland EGL
23 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
24 %bcond_with texture_float # floating-point textures and renderbuffers (SGI patent in US)
25 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
26 %bcond_with tests # tests
28 # glapi version (glapi tables in dri drivers and libglx must be in sync);
29 # set to current Mesa version on ABI break, when xserver tables get regenerated
30 # (until they start to be somehow versioned themselves)
31 %define glapi_ver 7.1.0
32 # minimal supported xserver version
33 %define xserver_ver 1.5.0
35 %define libdrm_ver 2.4.60
36 %define dri2proto_ver 2.6
37 %define dri3proto_ver 1.0
38 %define glproto_ver 1.4.14
39 %define presentproto_ver 1.0
41 %if %{without gallium}
42 %undefine with_gallium_intel
43 %undefine with_gallium_nouveau
44 %undefine with_gallium_radeon
46 %undefine with_ocl_icd
54 %undefine with_wayland
57 Summary: Free OpenGL implementation
58 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
62 License: MIT (core) and others - see license.html file
64 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/mesa-%{version}.tar.xz
65 # Source0-md5: c92c37200009eceaab4898119f82e358
66 Patch0: missing-type.patch
68 URL: http://www.mesa3d.org/
69 BuildRequires: autoconf >= 2.60
70 BuildRequires: automake
71 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
72 BuildRequires: elfutils-devel
73 BuildRequires: expat-devel
74 BuildRequires: gcc >= 6:4.2.0
75 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
76 BuildRequires: libdrm-devel >= %{libdrm_ver}
77 BuildRequires: libselinux-devel
78 BuildRequires: libstdc++-devel >= 6:4.2.0
79 BuildRequires: libtalloc-devel >= 2:2.0.1
80 BuildRequires: libtool >= 2:2.2
81 %{?with_va:BuildRequires: libva-devel >= 1.3.0}
82 %{?with_va:BuildRequires: pkgconfig(libva) >= 0.35.0}
83 BuildRequires: libvdpau-devel >= 0.4.1
84 BuildRequires: libxcb-devel >= 1.10
85 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
86 %{?with_opencl:BuildRequires: llvm-libclc}
87 # for SHA1 (could use also libmd/libsha1/libgcrypt/openssl instead)
88 BuildRequires: nettle-devel
89 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
90 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
91 BuildRequires: perl-base
92 BuildRequires: pixman-devel
93 BuildRequires: pkgconfig
94 BuildRequires: pkgconfig(talloc) >= 2.0.1
95 BuildRequires: pkgconfig(xcb-dri3)
96 BuildRequires: pkgconfig(xcb-present)
97 BuildRequires: python >= 2
98 BuildRequires: python-Mako >= 0.3.4
99 BuildRequires: python-modules >= 2
100 BuildRequires: rpmbuild(macros) >= 1.470
101 BuildRequires: sed >= 4.0
102 %{?with_egl:BuildRequires: udev-devel >= 1:151}
103 # wayland-{client,server}
104 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
105 BuildRequires: xorg-lib-libXdamage-devel
106 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
107 BuildRequires: xorg-lib-libXfixes-devel
108 BuildRequires: xorg-lib-libXt-devel
109 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
110 BuildRequires: xorg-lib-libXxf86vm-devel
111 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
112 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
113 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
114 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
115 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
116 BuildRequires: xorg-util-makedepend
118 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
119 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
121 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
123 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
124 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
125 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
126 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
129 %define filterout_ld -Wl,--as-needed
132 Mesa is a 3-D graphics library with an API which is very similar to
133 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
134 syntax or state machine, it is being used with authorization from
135 Silicon Graphics, Inc. However, the author does not possess an OpenGL
136 license from SGI, and makes no claim that Mesa is in any way a
137 compatible replacement for OpenGL or associated with SGI.
139 %description -l pl.UTF-8
140 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
141 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
142 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
143 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
144 OpenGL ani powiązana z SGI.
147 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
148 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
151 Requires: %{name}-libglapi = %{version}-%{release}
152 # glx driver in libEGL dlopens libGL.so
153 Requires: OpenGL >= 1.2
154 Requires: libdrm >= %{libdrm_ver}
155 Requires: libxcb >= 1.9
156 %{?with_wayland:Requires: wayland >= 1.2.0}
158 Requires: udev-libs >= 1:151
161 Requires: %{name}-libgbm = %{version}-%{release}
166 This package contains shared libEGL - Mesa implementation of EGL
167 Native Platform Graphics Interface as specified by Khronos Group:
168 <http://www.khronos.org/egl/>.
170 %description libEGL -l pl.UTF-8
171 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
172 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
173 graficznego platformy natywnej) wg specyfikacji Khronos Group:
174 <http://www.khronos.org/egl/>.
176 %package libEGL-devel
177 Summary: Header files for Mesa implementation of EGL library
178 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
180 Group: Development/Libraries
181 Requires: %{name}-khrplatform-devel = %{version}-%{release}
182 Requires: %{name}-libEGL = %{version}-%{release}
183 Requires: libdrm-devel >= %{libdrm_ver}
184 Requires: xorg-lib-libX11-devel
185 Requires: xorg-lib-libXdamage-devel
186 Requires: xorg-lib-libXext-devel >= 1.0.5
187 Requires: xorg-lib-libXfixes-devel
188 Requires: xorg-lib-libXxf86vm-devel
189 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
190 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
191 Provides: EGL-devel = 1.4
193 %description libEGL-devel
194 Header files for Mesa implementation of EGL library.
196 %description libEGL-devel -l pl.UTF-8
197 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
199 %package libEGL-static
200 Summary: Static Mesa EGL library
201 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
203 Group: Development/Libraries
204 Requires: %{name}-libEGL-devel = %{version}-%{release}
205 Provides: EGL-static = 1.4
207 %description libEGL-static
208 Static Mesa EGL library.
210 %description libEGL-static -l pl.UTF-8
211 Statyczna biblioteka Mesa EGL.
214 Summary: Free Mesa3D implementation of libGL OpenGL library
215 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
218 Requires: %{name}-libglapi = %{version}-%{release}
219 Requires: libdrm >= %{libdrm_ver}
220 Provides: OpenGL = 3.3
221 Provides: OpenGL-GLX = 1.4
224 Obsoletes: Mesa-dri-core < 10.0.0
225 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
226 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
229 Mesa is a 3-D graphics library with an API which is very similar to
230 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
231 syntax or state machine, it is being used with authorization from
232 Silicon Graphics, Inc. However, the author does not possess an OpenGL
233 license from SGI, and makes no claim that Mesa is in any way a
234 compatible replacement for OpenGL or associated with SGI.
236 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
237 specifications. It uses DRI for rendering.
239 %description libGL -l pl.UTF-8
240 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
241 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
242 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
243 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
244 OpenGL ani powiązana z SGI.
246 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
247 GLX 1.4. Używa DRI do renderowania.
250 Summary: Header files for Mesa3D libGL library
251 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
253 Group: X11/Development/Libraries
254 # loose dependency on libGL to use with other libGL binaries
255 Requires: OpenGL >= 1.5
256 Requires: libdrm-devel >= %{libdrm_ver}
257 Requires: xorg-lib-libX11-devel
258 Requires: xorg-lib-libXdamage-devel
259 Requires: xorg-lib-libXext-devel >= 1.0.5
260 Requires: xorg-lib-libXxf86vm-devel
261 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
262 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
263 Suggests: OpenGL-doc-man
264 Provides: OpenGL-GLX-devel = 1.4
265 Provides: OpenGL-devel = 3.3
266 Obsoletes: Mesa-devel
267 Obsoletes: X11-OpenGL-devel < 1:7.0.0
268 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
269 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
270 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
272 %description libGL-devel
273 Header files for Mesa3D libGL library.
275 %description libGL-devel -l pl.UTF-8
276 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
278 %package libGL-static
279 Summary: Static Mesa3D libGL library
280 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
282 Group: X11/Development/Libraries
283 Requires: %{name}-libGL-devel = %{version}-%{release}
284 Provides: OpenGL-static = 3.3
285 Obsoletes: Mesa-static
286 Obsoletes: X11-OpenGL-static < 1:7.0.0
287 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
289 %description libGL-static
290 Static Mesa3D libGL library. It uses software renderer.
292 %description libGL-static -l pl.UTF-8
293 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
297 Summary: Mesa implementation of GLES (OpenGL ES) libraries
298 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
300 Requires: %{name}-libglapi = %{version}-%{release}
302 Provides: OpenGLESv1 = 1.1
303 Provides: OpenGLESv2 = 2.0
306 This package contains shared libraries of Mesa implementation of GLES
307 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
308 on embedded systems. OpenGL ES specification can be found on Khronos
309 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
312 %description libGLES -l pl.UTF-8
313 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
314 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
315 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
316 OpenGL ES można znaleźć na stronie Khronos Group:
317 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
320 %package libGLES-devel
321 Summary: Header files for Mesa GLES libraries
322 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
323 Group: Development/Libraries
324 Requires: %{name}-khrplatform-devel = %{version}-%{release}
325 # <EGL/egl.h> for <GLES/egl.h>
326 Requires: %{name}-libEGL-devel = %{version}-%{release}
327 Requires: %{name}-libGLES = %{version}-%{release}
328 Provides: OpenGLES-devel
329 Provides: OpenGLESv1-devel = 1.1
330 Provides: OpenGLESv2-devel = 2.0
332 %description libGLES-devel
333 Header files for Mesa GLES libraries.
335 %description libGLES-devel -l pl.UTF-8
336 Pliki nagłówkowe bibliotek Mesa GLES.
339 Summary: OSMesa (off-screen renderer) library
340 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
344 %description libOSMesa
345 OSMesa (off-screen renderer) library.
347 %description libOSMesa -l pl.UTF-8
348 Biblioteka OSMesa (renderująca bitmapy w pamięci).
350 %package libOSMesa-devel
351 Summary: Header file for OSMesa (off-screen renderer) library
352 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
354 Group: Development/Libraries
355 Requires: %{name}-libOSMesa = %{version}-%{release}
357 Requires: OpenGL-devel
358 Requires: libselinux-devel
360 %description libOSMesa-devel
361 Header file for OSMesa (off-screen renderer) library.
363 %description libOSMesa-devel -l pl.UTF-8
364 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
366 %package libOSMesa-static
367 Summary: Static OSMesa (off-screen renderer) library
368 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
370 Group: Development/Libraries
371 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
372 # this static build of OSMesa needs static non-dri Mesa implementation
373 Requires: %{name}-libGL-static = %{version}-%{release}
375 %description libOSMesa-static
376 Static OSMesa (off-screen renderer) library.
378 %description libOSMesa-static -l pl.UTF-8
379 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
382 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
383 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
386 Requires: filesystem >= 4.0-29
387 Requires: libdrm >= %{libdrm_ver}
388 Requires: llvm-libclc
389 Requires: udev-libs >= 1:151
390 Provides: OpenCL = 1.1
391 Provides: ocl-icd-driver
393 %description OpenCL-icd
394 This package contains Mesa implementation of OpenCL - standard for
395 cross-platform, parallel programming of modern processors found in
396 personal computers, servers and handheld/embedded devices. OpenCL
397 specification can be found on Khronos Group site:
398 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
400 The implementation is provided as an installable client driver (ICD)
401 for use with the ocl-icd loader.
403 %description OpenCL-icd -l pl.UTF-8
404 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
405 wieloplatformowego, równoległego programowania nowoczesnych
406 procesorów, jakie znajdują się w komputerach osobistych, serwerach
407 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
408 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
409 Mesa zawiera implementację OpenCL w wersji 1.1.
411 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
412 (ICD), który może być użyty z loaderem ocl-icd.
415 Summary: Mesa implementation of OpenCL (Compuing Language) API
416 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
419 Requires: libdrm >= %{libdrm_ver}
420 Requires: llvm-libclc
421 Requires: udev-libs >= 1:151
422 Provides: OpenCL = 1.1
424 %description libOpenCL
425 This package contains Mesa implementation of OpenCL - standard for
426 cross-platform, parallel programming of modern processors found in
427 personal computers, servers and handheld/embedded devices. OpenCL
428 specification can be found on Khronos Group site:
429 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
431 %description libOpenCL -l pl.UTF-8
432 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
433 wieloplatformowego, równoległego programowania nowoczesnych
434 procesorów, jakie znajdują się w komputerach osobistych, serwerach
435 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
436 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
437 Mesa zawiera implementację OpenCL w wersji 1.1.
439 %package libOpenCL-devel
440 Summary: Header files for Mesa OpenCL library
441 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
443 Group: Development/Libraries
444 Requires: %{name}-libOpenCL = %{version}-%{release}
445 Provides: OpenCL-devel = 1.1
447 %description libOpenCL-devel
448 Header files for Mesa OpenCL library.
450 %description libOpenCL-devel -l pl.UTF-8
451 Pliki nagłówkowe biblioteki Mesa OpenCL.
454 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
455 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
458 Provides: OpenVG = 1.1
460 %description libOpenVG
461 This package contains Mesa implementation of OpenVG - cross-platform
462 API that provides a low-level hardware acceleration interface for
463 vector graphics libraries such as Flash and SVG. OpenVG specification
464 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
465 Mesa implements OpenVG 1.1.
467 %description libOpenVG -l pl.UTF-8
468 Ten pakiet zawiera implementację Mesa standardu OpenVG -
469 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
470 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
471 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
472 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
475 %package libOpenVG-devel
476 Summary: Header file for Mesa OpenVG library
477 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
479 Group: Development/Libraries
480 Requires: %{name}-khrplatform-devel = %{version}-%{release}
481 Requires: %{name}-libOpenVG = %{version}-%{release}
482 Provides: OpenVG-devel = 1.1
484 %description libOpenVG-devel
485 Header file for Mesa OpenVG library.
487 %description libOpenVG-devel -l pl.UTF-8
488 Plik nagłówkowy biblioteki Mesa OpenVG.
490 %package libXvMC-nouveau
491 Summary: Mesa implementation of XvMC API for NVidia adapters
492 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
495 Requires: libdrm >= %{libdrm_ver}
496 Requires: xorg-lib-libXvMC >= 1.0.6
497 Conflicts: Mesa-libXvMC
499 %description libXvMC-nouveau
500 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
502 %description libXvMC-nouveau -l pl.UTF-8
503 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
505 %package libXvMC-r600
506 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
507 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
510 Requires: libdrm >= %{libdrm_ver}
511 Requires: xorg-lib-libXvMC >= 1.0.6
512 Conflicts: Mesa-libXvMC
514 %description libXvMC-r600
515 Mesa implementation of XvMC API for ATI Radeon adapters based on
518 %description libXvMC-r600 -l pl.UTF-8
519 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
522 %package -n libva-driver-gallium
523 Summary: VA driver for Gallium State Tracker
524 Summary(pl.UTF-8): Sterownik VA do Gallium
526 Requires: libva >= 1.3.0
528 %description -n libva-driver-gallium
529 VA driver for Gallium State Tracker.
531 %description -n libva-driver-gallium -l pl.UTF-8
532 Sterownik VA do Gallium.
535 Summary: Mesa Graphics Buffer Manager library
536 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
538 Requires: %{name}-libglapi = %{version}-%{release}
539 Requires: udev-libs >= 1:151
540 Conflicts: Mesa-libEGL < 8.0.1-2
543 Mesa Graphics Buffer Manager library.
545 %description libgbm -l pl.UTF-8
546 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
548 %package libgbm-devel
549 Summary: Header file for Mesa Graphics Buffer Manager library
550 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
551 Group: Development/Libraries
552 Requires: %{name}-libgbm = %{version}-%{release}
553 Requires: udev-devel >= 1:151
555 %description libgbm-devel
556 Header file for Mesa Graphics Buffer Manager library.
558 %description libgbm-devel -l pl.UTF-8
559 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
562 %package gbm-driver-i915
563 Summary: i915 driver for Mesa GBM framework
564 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
566 Requires: %{name}-libgbm = %{version}-%{release}
567 Obsoletes: Mesa-opencl-driver-i915
569 %description gbm-driver-i915
570 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
571 915/945/G33/Q33/Q35/Pineview chips.
573 %description gbm-driver-i915 -l pl.UTF-8
574 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
575 bufora graficznego). Obsługuje układy Intela z serii
576 915/945/G33/Q33/Q35/Pineview.
578 %package gbm-driver-nouveau
579 Summary: nouveau driver for Mesa GBM framework
580 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
582 Requires: %{name}-libgbm = %{version}-%{release}
583 Obsoletes: Mesa-opencl-driver-nouveau
585 %description gbm-driver-nouveau
586 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
589 %description gbm-driver-nouveau -l pl.UTF-8
590 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
591 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
593 %package gbm-driver-r300
594 Summary: r300 driver for Mesa GBM framework
595 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
597 Requires: %{name}-libgbm = %{version}-%{release}
598 Obsoletes: Mesa-opencl-driver-r300
600 %description gbm-driver-r300
601 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
602 adapters based on R300/R400/RS690/R500 chips.
604 %description gbm-driver-r300 -l pl.UTF-8
605 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
606 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
607 układach R300/R400/RS690/R500.
609 %package gbm-driver-r600
610 Summary: r600 driver for Mesa GBM framework
611 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
613 Requires: %{name}-libgbm = %{version}-%{release}
614 Obsoletes: Mesa-libllvmradeon
615 Obsoletes: Mesa-opencl-driver-r600
617 %description gbm-driver-r600
618 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
619 adapters based on R600/R700 chips.
621 %description gbm-driver-r600 -l pl.UTF-8
622 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
623 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
626 %package gbm-driver-radeonsi
627 Summary: radeonsi driver for Mesa GBM framework
628 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
630 Requires: %{name}-libgbm = %{version}-%{release}
631 Obsoletes: Mesa-libllvmradeon
632 Obsoletes: Mesa-opencl-driver-radeonsi
634 %description gbm-driver-radeonsi
635 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
636 Radeon adapters based on Southern Islands chips.
638 %description gbm-driver-radeonsi -l pl.UTF-8
639 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
640 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
641 oparte na układach Southern Islands.
643 %package gbm-driver-swrast
644 Summary: Software (swrast) driver for Mesa GBM framework
645 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
647 Requires: %{name}-libgbm = %{version}-%{release}
648 Obsoletes: Mesa-opencl-driver-swrast
650 %description gbm-driver-swrast
651 Software (swrast) driver for Mesa Graphics Buffer Manager.
653 %description gbm-driver-swrast -l pl.UTF-8
654 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
655 Manager (zarządcy bufora graficznego).
657 %package gbm-driver-vmwgfx
658 Summary: vmwgfx driver for Mesa GBM framework
659 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
661 Requires: %{name}-libgbm = %{version}-%{release}
662 Obsoletes: Mesa-opencl-driver-vmwgfx
664 %description gbm-driver-vmwgfx
665 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
666 virtual video adapter.
668 %description gbm-driver-vmwgfx -l pl.UTF-8
669 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
670 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
673 Summary: Mesa GL API shared library
674 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
676 Conflicts: Mesa-libEGL < 8.0.1-2
678 %description libglapi
679 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
681 %description libglapi -l pl.UTF-8
682 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
685 %package libwayland-egl
686 Summary: Wayland EGL library
687 Summary(pl.UTF-8): Biblioteka Wayland EGL
689 Requires: libdrm >= %{libdrm_ver}
691 %description libwayland-egl
692 Wayland EGL platform library.
694 %description libwayland-egl -l pl.UTF-8
695 Biblioteka platformy EGL Wayland.
697 %package libwayland-egl-devel
698 Summary: Development files for Wayland EGL library
699 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
700 Group: Development/Libraries
701 Requires: %{name}-libwayland-egl = %{version}-%{release}
702 Requires: libdrm-devel >= %{libdrm_ver}
704 %description libwayland-egl-devel
705 Development files for Wayland EGL platform library.
707 %description libwayland-egl-devel -l pl.UTF-8
708 Pliki programistyczne biblioteki platformy EGL Wayland.
710 %package libxatracker
711 Summary: Xorg Gallium3D accelleration library
712 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
714 Requires: libdrm >= %{libdrm_ver}
716 %description libxatracker
717 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
719 %description libxatracker -l pl.UTF-8
720 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
723 %package libxatracker-devel
724 Summary: Header files for Xorg Gallium3D accelleration library
725 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
726 Group: X11/Development/Libraries
727 Requires: %{name}-libxatracker = %{version}-%{release}
728 Requires: libdrm-devel >= %{libdrm_ver}
730 %description libxatracker-devel
731 Header files for Xorg Gallium3D accelleration library.
733 %description libxatracker-devel -l pl.UTF-8
734 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
736 %package khrplatform-devel
737 Summary: Khronos platform header file
738 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
739 Group: Development/Libraries
740 Conflicts: Mesa-libEGL-devel < 8.0.1-2
742 %description khrplatform-devel
743 Khronos platform header file.
745 %description khrplatform-devel -l pl.UTF-8
746 Plik nagłówkowy platformy Khronos.
748 %package dri-driver-ati-radeon-R100
749 Summary: X.org DRI driver for ATI R100 card family
750 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
753 Requires: xorg-driver-video-ati
754 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
755 Requires: xorg-xserver-server >= %{xserver_ver}
756 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
758 %description dri-driver-ati-radeon-R100
759 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
761 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
762 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
764 %package dri-driver-ati-radeon-R200
765 Summary: X.org DRI driver for ATI R200 card family
766 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
769 Requires: xorg-driver-video-ati
770 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
771 Requires: xorg-xserver-server >= %{xserver_ver}
772 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
774 %description dri-driver-ati-radeon-R200
775 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
777 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
778 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
780 %package dri-driver-ati-radeon-R300
781 Summary: X.org DRI driver for ATI R300 card family
782 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
785 Requires: xorg-driver-video-ati
786 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
787 Requires: xorg-xserver-server >= %{xserver_ver}
788 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
790 %description dri-driver-ati-radeon-R300
791 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
793 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
794 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
796 %package dri-driver-ati-radeon-R600
797 Summary: X.org DRI driver for ATI R600 card family
798 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
801 Requires: radeon-ucode
802 Requires: xorg-driver-video-ati
803 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
804 Requires: xorg-xserver-server >= %{xserver_ver}
806 %description dri-driver-ati-radeon-R600
807 X.org DRI driver for ATI R600/R700 card family.
809 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
810 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
812 %package dri-driver-ati-radeon-SI
813 Summary: X.org DRI driver for ATI Southern Islands card family
814 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
817 Requires: radeon-ucode
818 Requires: xorg-driver-video-ati
819 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
820 Requires: xorg-xserver-server >= %{xserver_ver}
822 %description dri-driver-ati-radeon-SI
823 X.org DRI driver for ATI Southern Islands card family.
825 %description dri-driver-ati-radeon-SI -l pl.UTF-8
826 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
828 %package dri-driver-intel-i915
829 Summary: X.org DRI driver for Intel i915 card family
830 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
833 Requires: xorg-driver-video-intel
834 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
835 Requires: xorg-xserver-server >= %{xserver_ver}
836 Obsoletes: Mesa-dri-driver-intel-i830
837 Obsoletes: X11-driver-i810-dri < 1:7.0.0
839 %description dri-driver-intel-i915
840 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
843 %description dri-driver-intel-i915 -l pl.UTF-8
844 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
847 %package dri-driver-intel-i965
848 Summary: X.org DRI driver for Intel i965 card family
849 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
852 Requires: xorg-driver-video-intel
853 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
854 Requires: xorg-xserver-server >= %{xserver_ver}
855 Obsoletes: Mesa-dri-driver-intel-i830
856 Obsoletes: X11-driver-i810-dri < 1:7.0.0
858 %description dri-driver-intel-i965
859 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
860 965GME, GM45, G41, B43, Q45, G45);
862 %description dri-driver-intel-i965 -l pl.UTF-8
863 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
864 965GM, 965GME, GM45, G41, B43, Q45, G45).
866 %package dri-driver-nouveau
867 Summary: X.org DRI driver for NVIDIA card family
868 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
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: xorg-xserver-libglx(glapi) = %{glapi_ver}
887 Requires: xorg-xserver-server >= %{xserver_ver}
889 %description dri-driver-swrast
890 X.org DRI software rasterizer driver.
892 %description dri-driver-swrast -l pl.UTF-8
893 Sterownik X.org DRI obsługujący rysowanie programowe.
895 %package dri-driver-vmwgfx
896 Summary: X.org DRI driver for VMware
897 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
900 Requires: xorg-driver-video-vmware
901 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
902 Requires: xorg-xserver-server >= %{xserver_ver}
904 %description dri-driver-vmwgfx
905 X.org DRI driver for VMWare.
907 %description dri-driver-vmwgfx -l pl.UTF-8
908 Sterownik X.org DRI dla VMware.
911 Summary: Nine Direct3D9 driver (for Wine)
912 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
914 Requires: libdrm >= %{libdrm_ver}
917 Nine Direct3D9 driver (for Wine).
919 %description d3d -l pl.UTF-8
920 Sterownik Direct3D9 Nine (dla Wine).
923 Summary: Nine Direct3D9 driver API
924 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
925 Group: Development/Libraries
926 Requires: libdrm-devel >= %{libdrm_ver}
928 %description d3d-devel
929 Nine Direct3D9 driver API.
931 %description d3d-devel -l pl.UTF-8
932 API sterownika Direct3D9 Nine.
934 %package -n libvdpau-driver-mesa-nouveau
935 Summary: Mesa nouveau driver for the vdpau API
936 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
939 Requires: libdrm >= %{libdrm_ver}
940 Requires: libvdpau >= 0.4.1
941 Conflicts: libvdpau-driver-mesa
943 %description -n libvdpau-driver-mesa-nouveau
944 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
947 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
948 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
951 %package -n libvdpau-driver-mesa-r300
952 Summary: Mesa r300 driver for the vdpau API
953 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
956 Requires: libdrm >= %{libdrm_ver}
957 Requires: libvdpau >= 0.4.1
958 Conflicts: libvdpau-driver-mesa
960 %description -n libvdpau-driver-mesa-r300
961 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
964 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
965 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
968 %package -n libvdpau-driver-mesa-r600
969 Summary: Mesa r600 driver for the vdpau API
970 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
973 Requires: libdrm >= %{libdrm_ver}
974 Requires: libvdpau >= 0.4.1
975 Conflicts: libvdpau-driver-mesa
977 %description -n libvdpau-driver-mesa-r600
978 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
979 based on R600/R700 chips.
981 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
982 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
983 na układach R600/R700.
985 %package -n libvdpau-driver-mesa-radeonsi
986 Summary: Mesa radeonsi driver for the vdpau API
987 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
990 Requires: libdrm >= %{libdrm_ver}
991 Requires: libvdpau >= 0.4.1
992 Conflicts: libvdpau-driver-mesa
993 Obsoletes: Mesa-libllvmradeon
995 %description -n libvdpau-driver-mesa-radeonsi
996 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
997 adapters based on Southern Islands chips.
999 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1000 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1001 oparte na układach Southern Islands.
1003 %package -n omxil-mesa
1004 Summary: Mesa driver for Bellagio OpenMAX IL API
1005 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1007 Group: X11/Libraries
1008 Requires: libdrm >= %{libdrm_ver}
1009 Requires: libxcb >= 1.8
1010 Requires: libomxil-bellagio
1011 Obsoletes: omxil-mesa-nouveau
1012 Obsoletes: omxil-mesa-r600
1013 Obsoletes: omxil-mesa-radeonsi
1015 %description -n omxil-mesa
1016 Mesa driver for Bellagio OpenMAX IL API.
1018 %description -n omxil-mesa -l pl.UTF-8
1019 Sterownik Mesa dla API Bellagio OpenMAX IL.
1021 %package -n omxil-mesa-nouveau
1022 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1023 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1025 Group: X11/Libraries
1026 Requires: libdrm >= %{libdrm_ver}
1027 Requires: libxcb >= 1.8
1028 Requires: libomxil-bellagio
1030 %description -n omxil-mesa-nouveau
1031 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1032 adapters (NV40-NV96, NVa0).
1034 %description -n omxil-mesa-nouveau -l pl.UTF-8
1035 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1036 NVidia (NV40-NV96, NVa0).
1038 %package -n omxil-mesa-r600
1039 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1040 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1042 Group: X11/Libraries
1043 Requires: libdrm >= %{libdrm_ver}
1044 Requires: libxcb >= 1.8
1045 Requires: libomxil-bellagio
1047 %description -n omxil-mesa-r600
1048 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1049 adapters based on R600/R700 chips.
1051 %description -n omxil-mesa-r600 -l pl.UTF-8
1052 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1053 Radeon oparte na układach R600/R700.
1055 %package -n omxil-mesa-radeonsi
1056 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1057 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1059 Group: X11/Libraries
1060 Requires: libdrm >= %{libdrm_ver}
1061 Requires: libxcb >= 1.8
1062 Requires: libomxil-bellagio
1064 %description -n omxil-mesa-radeonsi
1065 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1066 Radeon adapters based on Southern Islands chips.
1068 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1069 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1070 ATI Radeon oparte na układach Southern Islands.
1073 %setup -q -n mesa-%{version}
1083 dri_drivers="r200 radeon \
1084 %if %{without gallium_intel}
1089 %ifarch sparc sparcv9 sparc64
1094 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1096 gallium_drivers="svga swrast \
1097 %if %{with gallium_intel}
1100 %if %{with gallium_radeon}
1105 %if %{with gallium_nouveau}
1110 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1113 --disable-silent-rules \
1119 --enable-shared-glapi \
1120 %{?with_static_libs:--enable-static} \
1121 %{?with_texture_float:--enable-texture-float} \
1126 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1129 --enable-gallium-llvm \
1130 --enable-llvm-shared-libs \
1131 %{__enable egl gallium-egl} \
1132 %{__enable gbm gallium-gbm} \
1133 %{__enable ocl_icd opencl-icd} \
1134 %{?with_nine:--enable-nine} \
1135 %{__enable opencl} \
1137 %{?with_omx:--enable-omx} \
1138 %{?with_xa:--enable-xa} \
1140 --with-gallium-drivers=${gallium_drivers} \
1142 --without-gallium-drivers \
1144 --with-dri-drivers=${dri_drivers} \
1145 --with-dri-driverdir=%{_libdir}/xorg/modules/dri \
1146 --with-sha1=libnettle \
1147 --with-va-libdir=%{_libdir}/libva/dri
1151 %{?with_tests:%{__make} check}
1154 rm -rf $RPM_BUILD_ROOT
1157 DESTDIR=$RPM_BUILD_ROOT
1159 # strip out undesirable headers
1160 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/wglext.h
1161 # dlopened by soname
1162 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1163 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1164 # dlopened by soname or .so link
1165 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1166 # not used externally
1167 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1169 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1170 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1171 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1172 # not defined by standards; and not needed, there is pkg-config support
1173 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1174 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1176 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1177 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1178 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1181 rm -rf $RPM_BUILD_ROOT
1183 %post libEGL -p /sbin/ldconfig
1184 %postun libEGL -p /sbin/ldconfig
1186 %post libGL -p /sbin/ldconfig
1187 %postun libGL -p /sbin/ldconfig
1189 %post libGLES -p /sbin/ldconfig
1190 %postun libGLES -p /sbin/ldconfig
1192 %post libOSMesa -p /sbin/ldconfig
1193 %postun libOSMesa -p /sbin/ldconfig
1195 %post libOpenCL -p /sbin/ldconfig
1196 %postun libOpenCL -p /sbin/ldconfig
1198 %post libOpenVG -p /sbin/ldconfig
1199 %postun libOpenVG -p /sbin/ldconfig
1201 %post libXvMC-nouveau -p /sbin/ldconfig
1202 %postun libXvMC-nouveau -p /sbin/ldconfig
1203 %post libXvMC-r600 -p /sbin/ldconfig
1204 %postun libXvMC-r600 -p /sbin/ldconfig
1206 %post libgbm -p /sbin/ldconfig
1207 %postun libgbm -p /sbin/ldconfig
1209 %post libglapi -p /sbin/ldconfig
1210 %postun libglapi -p /sbin/ldconfig
1212 %post libwayland-egl -p /sbin/ldconfig
1213 %postun libwayland-egl -p /sbin/ldconfig
1215 %post libxatracker -p /sbin/ldconfig
1216 %postun libxatracker -p /sbin/ldconfig
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1222 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_libdir}/libEGL.so
1227 %dir %{_includedir}/EGL
1228 %{_includedir}/EGL/egl.h
1229 %{_includedir}/EGL/eglext.h
1230 %{_includedir}/EGL/eglextchromium.h
1231 %{_includedir}/EGL/eglmesaext.h
1232 %{_includedir}/EGL/eglplatform.h
1233 %{_pkgconfigdir}/egl.pc
1235 %if %{with static_libs}
1236 %files libEGL-static
1237 %defattr(644,root,root,755)
1243 %defattr(644,root,root,755)
1244 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1245 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1246 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1247 # symlink for binary apps which fail to conform Linux OpenGL ABI
1248 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1249 %attr(755,root,root) %{_libdir}/libGL.so
1250 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1253 %defattr(644,root,root,755)
1255 %dir %{_includedir}/GL
1256 %{_includedir}/GL/gl.h
1257 %{_includedir}/GL/glcorearb.h
1258 %{_includedir}/GL/glext.h
1259 %{_includedir}/GL/gl_mangle.h
1260 %{_includedir}/GL/glx.h
1261 %{_includedir}/GL/glxext.h
1262 %{_includedir}/GL/glx_mangle.h
1263 %dir %{_includedir}/GL/internal
1264 %{_includedir}/GL/internal/dri_interface.h
1265 %{_pkgconfigdir}/dri.pc
1266 %{_pkgconfigdir}/gl.pc
1268 %if %{with static_libs}
1270 %defattr(644,root,root,755)
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1277 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1278 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1279 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1281 %files libGLES-devel
1282 %defattr(644,root,root,755)
1283 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1284 %attr(755,root,root) %{_libdir}/libGLESv2.so
1286 %{_includedir}/GLES2
1287 %{_includedir}/GLES3
1288 %{_pkgconfigdir}/glesv1_cm.pc
1289 %{_pkgconfigdir}/glesv2.pc
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1294 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1296 %files libOSMesa-devel
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/libOSMesa.so
1299 %{_includedir}/GL/osmesa.h
1300 %{_pkgconfigdir}/osmesa.pc
1302 %if %{with static_libs}
1303 %files libOSMesa-static
1304 %defattr(644,root,root,755)
1305 %{_libdir}/libOSMesa.a
1311 %defattr(644,root,root,755)
1312 /etc/OpenCL/vendors/mesa.icd
1313 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1314 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1315 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1320 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1322 %files libOpenCL-devel
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_libdir}/libOpenCL.so
1329 %if %{with egl} && %{with openvg} && %{with gallium}
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1333 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1335 %files libOpenVG-devel
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_libdir}/libOpenVG.so
1339 %{_pkgconfigdir}/vg.pc
1343 %if %{with gallium_nouveau}
1344 %files libXvMC-nouveau
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1347 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1350 %if %{with gallium_radeon}
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1354 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1358 %files -n libva-driver-gallium
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1368 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1370 %dir %{_libdir}/gallium-pipe
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_libdir}/libgbm.so
1376 %{_includedir}/gbm.h
1377 %{_pkgconfigdir}/gbm.pc
1381 %if %{with gallium_intel}
1382 %files gbm-driver-i915
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1387 %if %{with gallium_nouveau}
1388 %files gbm-driver-nouveau
1389 %defattr(644,root,root,755)
1390 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1393 %if %{with gallium_radeon}
1394 %files gbm-driver-r300
1395 %defattr(644,root,root,755)
1396 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1398 %files gbm-driver-r600
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1402 %files gbm-driver-radeonsi
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1407 %files gbm-driver-swrast
1408 %defattr(644,root,root,755)
1409 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1411 %files gbm-driver-vmwgfx
1412 %defattr(644,root,root,755)
1413 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1419 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1420 # libglapi-devel? nothing seems to need it atm.
1421 #%attr(755,root,root) %{_libdir}/libglapi.so
1424 %files libwayland-egl
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1427 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1429 %files libwayland-egl-devel
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1432 %{_pkgconfigdir}/wayland-egl.pc
1437 %defattr(644,root,root,755)
1438 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1439 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1441 %files libxatracker-devel
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{_libdir}/libxatracker.so
1444 %{_includedir}/xa_composite.h
1445 %{_includedir}/xa_context.h
1446 %{_includedir}/xa_tracker.h
1447 %{_pkgconfigdir}/xatracker.pc
1451 %files khrplatform-devel
1452 %defattr(644,root,root,755)
1453 %dir %{_includedir}/KHR
1454 %{_includedir}/KHR/khrplatform.h
1457 %files dri-driver-ati-radeon-R100
1458 %defattr(644,root,root,755)
1459 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1461 %files dri-driver-ati-radeon-R200
1462 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1466 %if %{with gallium_radeon}
1467 %files dri-driver-ati-radeon-R300
1468 %defattr(644,root,root,755)
1469 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1471 %files dri-driver-ati-radeon-R600
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1475 %files dri-driver-ati-radeon-SI
1476 %defattr(644,root,root,755)
1477 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1481 %files dri-driver-intel-i915
1482 %defattr(644,root,root,755)
1483 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1485 %files dri-driver-intel-i965
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1489 %files dri-driver-nouveau
1490 %defattr(644,root,root,755)
1491 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1492 %if %{with gallium_nouveau}
1493 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1496 %files dri-driver-swrast
1497 %defattr(644,root,root,755)
1499 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1501 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1504 %files dri-driver-vmwgfx
1505 %defattr(644,root,root,755)
1506 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1511 %defattr(644,root,root,755)
1513 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1516 %defattr(644,root,root,755)
1517 %{_includedir}/d3dadapter
1518 %{_pkgconfigdir}/d3d.pc
1522 # ldconfig is not used in vdpau tree, so package all symlinks
1523 %if %{with gallium_nouveau}
1524 %files -n libvdpau-driver-mesa-nouveau
1525 %defattr(644,root,root,755)
1526 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1527 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1528 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1531 %if %{with gallium_radeon}
1532 %files -n libvdpau-driver-mesa-r300
1533 %defattr(644,root,root,755)
1534 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1535 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1538 %files -n libvdpau-driver-mesa-r600
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1541 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1542 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1544 %files -n libvdpau-driver-mesa-radeonsi
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1547 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1548 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1552 %if %{with gallium} && %{with omx}
1553 %files -n omxil-mesa
1554 %defattr(644,root,root,755)
1555 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so