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 gallium_radeon # gallium radeon drivers
13 %bcond_without egl # EGL libraries
14 # "Cannot enable OpenVG, because egl_gallium has been removed and
15 # OpenVG hasn't been integrated into standard libEGL yet"
16 %bcond_with openvg # OpenVG
17 %bcond_without gbm # Graphics Buffer Manager
18 %bcond_without nine # Nine Direct3D 9+ state tracker (for Wine)
19 %bcond_without opencl # OpenCL support
20 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
21 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
22 %bcond_without va # VA library
23 %bcond_without wayland # Wayland EGL
24 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
25 %bcond_with texture_float # floating-point textures and renderbuffers (SGI patent in US)
26 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
27 %bcond_with tests # tests
29 # glapi version (glapi tables in dri drivers and libglx must be in sync);
30 # set to current Mesa version on ABI break, when xserver tables get regenerated
31 # (until they start to be somehow versioned themselves)
32 %define glapi_ver 7.1.0
33 # minimal supported xserver version
34 %define xserver_ver 1.5.0
36 %define libdrm_ver 2.4.56
37 %define dri2proto_ver 2.6
38 %define dri3proto_ver 1.0
39 %define glproto_ver 1.4.14
40 %define presentproto_ver 1.0
42 # no clang/llvm on x32 yet
44 %undefine with_gallium
47 %if %{without gallium}
48 %undefine with_gallium_intel
49 %undefine with_gallium_nouveau
50 %undefine with_gallium_radeon
52 %undefine with_ocl_icd
60 %undefine with_wayland
63 Summary: Free OpenGL implementation
64 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
68 License: MIT (core) and others - see license.html file
70 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/mesa-%{version}.tar.xz
71 # Source0-md5: 1a7e2e9f17eff9307fd14fb6cc70783b
72 Patch0: missing-type.patch
73 URL: http://www.mesa3d.org/
74 BuildRequires: autoconf >= 2.60
75 BuildRequires: automake
76 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
77 BuildRequires: elfutils-devel
78 BuildRequires: expat-devel
79 BuildRequires: gcc >= 6:4.2.0
80 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
81 BuildRequires: libdrm-devel >= %{libdrm_ver}
82 BuildRequires: libselinux-devel
83 BuildRequires: libstdc++-devel >= 6:4.2.0
84 BuildRequires: libtalloc-devel >= 2:2.0.1
85 BuildRequires: libtool >= 2:2.2
86 %{?with_va:BuildRequires: libva-devel >= 1.3.0}
87 %{?with_va:BuildRequires: pkgconfig(libva) >= 0.35.0}
88 BuildRequires: libvdpau-devel >= 0.4.1
89 BuildRequires: libxcb-devel >= 1.10
90 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
91 %{?with_opencl:BuildRequires: llvm-libclc}
92 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
93 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
94 BuildRequires: perl-base
95 BuildRequires: pixman-devel
96 BuildRequires: pkgconfig
97 BuildRequires: pkgconfig(talloc) >= 2.0.1
98 BuildRequires: pkgconfig(xcb-dri3)
99 BuildRequires: pkgconfig(xcb-present)
100 BuildRequires: python >= 2
101 BuildRequires: python-Mako >= 0.3.4
102 BuildRequires: python-modules >= 2
103 BuildRequires: rpmbuild(macros) >= 1.470
104 BuildRequires: sed >= 4.0
105 %{?with_egl:BuildRequires: udev-devel >= 1:151}
106 # wayland-{client,server}
107 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
108 BuildRequires: xorg-lib-libXdamage-devel
109 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
110 BuildRequires: xorg-lib-libXfixes-devel
111 BuildRequires: xorg-lib-libXt-devel
112 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
113 BuildRequires: xorg-lib-libXxf86vm-devel
114 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
115 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
116 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
117 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
118 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
119 BuildRequires: xorg-util-makedepend
121 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
122 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
124 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
126 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
127 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
128 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
129 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
132 %define filterout_ld -Wl,--as-needed
135 Mesa is a 3-D graphics library with an API which is very similar to
136 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
137 syntax or state machine, it is being used with authorization from
138 Silicon Graphics, Inc. However, the author does not possess an OpenGL
139 license from SGI, and makes no claim that Mesa is in any way a
140 compatible replacement for OpenGL or associated with SGI.
142 %description -l pl.UTF-8
143 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
144 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
145 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
146 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
147 OpenGL ani powiązana z SGI.
150 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
151 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
154 Requires: %{name}-libglapi = %{version}-%{release}
155 # glx driver in libEGL dlopens libGL.so
156 Requires: OpenGL >= 1.2
157 Requires: libdrm >= %{libdrm_ver}
158 Requires: libxcb >= 1.9
159 %{?with_wayland:Requires: wayland >= 1.2.0}
163 Requires: %{name}-libOpenVG = %{version}-%{release}
165 Requires: udev-libs >= 1:151
168 Requires: %{name}-libgbm = %{version}-%{release}
173 This package contains shared libEGL - Mesa implementation of EGL
174 Native Platform Graphics Interface as specified by Khronos Group:
175 <http://www.khronos.org/egl/>.
177 %description libEGL -l pl.UTF-8
178 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
179 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
180 graficznego platformy natywnej) wg specyfikacji Khronos Group:
181 <http://www.khronos.org/egl/>.
183 %package libEGL-devel
184 Summary: Header files for Mesa implementation of EGL library
185 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
187 Group: Development/Libraries
188 Requires: %{name}-khrplatform-devel = %{version}-%{release}
189 Requires: %{name}-libEGL = %{version}-%{release}
190 Requires: libdrm-devel >= %{libdrm_ver}
191 Requires: xorg-lib-libX11-devel
192 Requires: xorg-lib-libXdamage-devel
193 Requires: xorg-lib-libXext-devel >= 1.0.5
194 Requires: xorg-lib-libXfixes-devel
195 Requires: xorg-lib-libXxf86vm-devel
196 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
197 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
198 Provides: EGL-devel = 1.4
200 %description libEGL-devel
201 Header files for Mesa implementation of EGL library.
203 %description libEGL-devel -l pl.UTF-8
204 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
206 %package libEGL-static
207 Summary: Static Mesa EGL library
208 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
210 Group: Development/Libraries
211 Requires: %{name}-libEGL-devel = %{version}-%{release}
212 Provides: EGL-static = 1.4
214 %description libEGL-static
215 Static Mesa EGL library.
217 %description libEGL-static -l pl.UTF-8
218 Statyczna biblioteka Mesa EGL.
221 Summary: Free Mesa3D implementation of libGL OpenGL library
222 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
225 Requires: %{name}-libglapi = %{version}-%{release}
226 Requires: libdrm >= %{libdrm_ver}
227 Provides: OpenGL = 3.3
228 Provides: OpenGL-GLX = 1.4
231 Obsoletes: Mesa-dri-core < 10.0.0
232 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
233 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
236 Mesa is a 3-D graphics library with an API which is very similar to
237 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
238 syntax or state machine, it is being used with authorization from
239 Silicon Graphics, Inc. However, the author does not possess an OpenGL
240 license from SGI, and makes no claim that Mesa is in any way a
241 compatible replacement for OpenGL or associated with SGI.
243 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
244 specifications. It uses DRI for rendering.
246 %description libGL -l pl.UTF-8
247 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
248 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
249 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
250 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
251 OpenGL ani powiązana z SGI.
253 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
254 GLX 1.4. Używa DRI do renderowania.
257 Summary: Header files for Mesa3D libGL library
258 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
260 Group: X11/Development/Libraries
261 # loose dependency on libGL to use with other libGL binaries
262 Requires: OpenGL >= 1.5
263 Requires: libdrm-devel >= %{libdrm_ver}
264 Requires: xorg-lib-libX11-devel
265 Requires: xorg-lib-libXdamage-devel
266 Requires: xorg-lib-libXext-devel >= 1.0.5
267 Requires: xorg-lib-libXxf86vm-devel
268 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
269 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
270 Suggests: OpenGL-doc-man
271 Provides: OpenGL-GLX-devel = 1.4
272 Provides: OpenGL-devel = 3.3
273 Obsoletes: Mesa-devel
274 Obsoletes: X11-OpenGL-devel < 1:7.0.0
275 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
276 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
277 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
279 %description libGL-devel
280 Header files for Mesa3D libGL library.
282 %description libGL-devel -l pl.UTF-8
283 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
285 %package libGL-static
286 Summary: Static Mesa3D libGL library
287 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
289 Group: X11/Development/Libraries
290 Requires: %{name}-libGL-devel = %{version}-%{release}
291 Provides: OpenGL-static = 3.3
292 Obsoletes: Mesa-static
293 Obsoletes: X11-OpenGL-static < 1:7.0.0
294 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
296 %description libGL-static
297 Static Mesa3D libGL library. It uses software renderer.
299 %description libGL-static -l pl.UTF-8
300 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
304 Summary: Mesa implementation of GLES (OpenGL ES) libraries
305 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
307 Requires: %{name}-libglapi = %{version}-%{release}
309 Provides: OpenGLESv1 = 1.1
310 Provides: OpenGLESv2 = 2.0
313 This package contains shared libraries of Mesa implementation of GLES
314 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
315 on embedded systems. OpenGL ES specification can be found on Khronos
316 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
319 %description libGLES -l pl.UTF-8
320 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
321 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
322 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
323 OpenGL ES można znaleźć na stronie Khronos Group:
324 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
327 %package libGLES-devel
328 Summary: Header files for Mesa GLES libraries
329 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
330 Group: Development/Libraries
331 Requires: %{name}-khrplatform-devel = %{version}-%{release}
332 # <EGL/egl.h> for <GLES/egl.h>
333 Requires: %{name}-libEGL-devel = %{version}-%{release}
334 Requires: %{name}-libGLES = %{version}-%{release}
335 Provides: OpenGLES-devel
336 Provides: OpenGLESv1-devel = 1.1
337 Provides: OpenGLESv2-devel = 2.0
339 %description libGLES-devel
340 Header files for Mesa GLES libraries.
342 %description libGLES-devel -l pl.UTF-8
343 Pliki nagłówkowe bibliotek Mesa GLES.
346 Summary: OSMesa (off-screen renderer) library
347 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
351 %description libOSMesa
352 OSMesa (off-screen renderer) library.
354 %description libOSMesa -l pl.UTF-8
355 Biblioteka OSMesa (renderująca bitmapy w pamięci).
357 %package libOSMesa-devel
358 Summary: Header file for OSMesa (off-screen renderer) library
359 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
361 Group: Development/Libraries
362 Requires: %{name}-libOSMesa = %{version}-%{release}
364 Requires: OpenGL-devel
365 Requires: libselinux-devel
367 %description libOSMesa-devel
368 Header file for OSMesa (off-screen renderer) library.
370 %description libOSMesa-devel -l pl.UTF-8
371 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
373 %package libOSMesa-static
374 Summary: Static OSMesa (off-screen renderer) library
375 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
377 Group: Development/Libraries
378 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
379 # this static build of OSMesa needs static non-dri Mesa implementation
380 Requires: %{name}-libGL-static = %{version}-%{release}
382 %description libOSMesa-static
383 Static OSMesa (off-screen renderer) library.
385 %description libOSMesa-static -l pl.UTF-8
386 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
389 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
390 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
393 Requires: filesystem >= 4.0-29
394 Requires: libdrm >= %{libdrm_ver}
395 Requires: llvm-libclc
396 Requires: udev-libs >= 1:151
397 Provides: OpenCL = 1.1
398 Provides: ocl-icd-driver
400 %description OpenCL-icd
401 This package contains Mesa implementation of OpenCL - standard for
402 cross-platform, parallel programming of modern processors found in
403 personal computers, servers and handheld/embedded devices. OpenCL
404 specification can be found on Khronos Group site:
405 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
407 The implementation is provided as an installable client driver (ICD)
408 for use with the ocl-icd loader.
410 %description OpenCL-icd -l pl.UTF-8
411 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
412 wieloplatformowego, równoległego programowania nowoczesnych
413 procesorów, jakie znajdują się w komputerach osobistych, serwerach
414 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
415 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
416 Mesa zawiera implementację OpenCL w wersji 1.1.
418 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
419 (ICD), który może być użyty z loaderem ocl-icd.
422 Summary: Mesa implementation of OpenCL (Compuing Language) API
423 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
426 Requires: libdrm >= %{libdrm_ver}
427 Requires: llvm-libclc
428 Requires: udev-libs >= 1:151
429 Provides: OpenCL = 1.1
431 %description libOpenCL
432 This package contains Mesa implementation of OpenCL - standard for
433 cross-platform, parallel programming of modern processors found in
434 personal computers, servers and handheld/embedded devices. OpenCL
435 specification can be found on Khronos Group site:
436 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
438 %description libOpenCL -l pl.UTF-8
439 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
440 wieloplatformowego, równoległego programowania nowoczesnych
441 procesorów, jakie znajdują się w komputerach osobistych, serwerach
442 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
443 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
444 Mesa zawiera implementację OpenCL w wersji 1.1.
446 %package libOpenCL-devel
447 Summary: Header files for Mesa OpenCL library
448 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
450 Group: Development/Libraries
451 Requires: %{name}-libOpenCL = %{version}-%{release}
452 Provides: OpenCL-devel = 1.1
454 %description libOpenCL-devel
455 Header files for Mesa OpenCL library.
457 %description libOpenCL-devel -l pl.UTF-8
458 Pliki nagłówkowe biblioteki Mesa OpenCL.
461 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
462 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
465 Provides: OpenVG = 1.1
467 %description libOpenVG
468 This package contains Mesa implementation of OpenVG - cross-platform
469 API that provides a low-level hardware acceleration interface for
470 vector graphics libraries such as Flash and SVG. OpenVG specification
471 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
472 Mesa implements OpenVG 1.1.
474 %description libOpenVG -l pl.UTF-8
475 Ten pakiet zawiera implementację Mesa standardu OpenVG -
476 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
477 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
478 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
479 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
482 %package libOpenVG-devel
483 Summary: Header file for Mesa OpenVG library
484 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
486 Group: Development/Libraries
487 Requires: %{name}-khrplatform-devel = %{version}-%{release}
488 Requires: %{name}-libOpenVG = %{version}-%{release}
489 Provides: OpenVG-devel = 1.1
491 %description libOpenVG-devel
492 Header file for Mesa OpenVG library.
494 %description libOpenVG-devel -l pl.UTF-8
495 Plik nagłówkowy biblioteki Mesa OpenVG.
497 %package libXvMC-nouveau
498 Summary: Mesa implementation of XvMC API for NVidia adapters
499 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
502 Requires: libdrm >= %{libdrm_ver}
503 Requires: xorg-lib-libXvMC >= 1.0.6
504 Conflicts: Mesa-libXvMC
506 %description libXvMC-nouveau
507 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
509 %description libXvMC-nouveau -l pl.UTF-8
510 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
512 %package libXvMC-r600
513 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
514 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
517 Requires: libdrm >= %{libdrm_ver}
518 Requires: xorg-lib-libXvMC >= 1.0.6
519 Conflicts: Mesa-libXvMC
521 %description libXvMC-r600
522 Mesa implementation of XvMC API for ATI Radeon adapters based on
525 %description libXvMC-r600 -l pl.UTF-8
526 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
529 %package -n libva-driver-gallium
530 Summary: VA driver for Gallium State Tracker
531 Summary(pl.UTF-8): Sterownik VA do Gallium
533 Requires: libva >= 1.3.0
535 %description -n libva-driver-gallium
536 VA driver for Gallium State Tracker.
538 %description -n libva-driver-gallium -l pl.UTF-8
539 Sterownik VA do Gallium.
542 Summary: Mesa Graphics Buffer Manager library
543 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
545 Requires: %{name}-libglapi = %{version}-%{release}
546 Requires: udev-libs >= 1:151
547 Conflicts: Mesa-libEGL < 8.0.1-2
550 Mesa Graphics Buffer Manager library.
552 %description libgbm -l pl.UTF-8
553 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
555 %package libgbm-devel
556 Summary: Header file for Mesa Graphics Buffer Manager library
557 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
558 Group: Development/Libraries
559 Requires: %{name}-libgbm = %{version}-%{release}
560 Requires: udev-devel >= 1:151
562 %description libgbm-devel
563 Header file for Mesa Graphics Buffer Manager library.
565 %description libgbm-devel -l pl.UTF-8
566 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
569 %package gbm-driver-i915
570 Summary: i915 driver for Mesa GBM framework
571 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
573 Requires: %{name}-libgbm = %{version}-%{release}
574 Obsoletes: Mesa-opencl-driver-i915
576 %description gbm-driver-i915
577 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
578 915/945/G33/Q33/Q35/Pineview chips.
580 %description gbm-driver-i915 -l pl.UTF-8
581 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
582 bufora graficznego). Obsługuje układy Intela z serii
583 915/945/G33/Q33/Q35/Pineview.
585 %package gbm-driver-nouveau
586 Summary: nouveau driver for Mesa GBM framework
587 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
589 Requires: %{name}-libgbm = %{version}-%{release}
590 Obsoletes: Mesa-opencl-driver-nouveau
592 %description gbm-driver-nouveau
593 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
596 %description gbm-driver-nouveau -l pl.UTF-8
597 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
598 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
600 %package gbm-driver-r300
601 Summary: r300 driver for Mesa GBM framework
602 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
604 Requires: %{name}-libgbm = %{version}-%{release}
605 Obsoletes: Mesa-opencl-driver-r300
607 %description gbm-driver-r300
608 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
609 adapters based on R300/R400/RS690/R500 chips.
611 %description gbm-driver-r300 -l pl.UTF-8
612 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
613 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
614 układach R300/R400/RS690/R500.
616 %package gbm-driver-r600
617 Summary: r600 driver for Mesa GBM framework
618 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
620 Requires: %{name}-libgbm = %{version}-%{release}
621 Obsoletes: Mesa-libllvmradeon
622 Obsoletes: Mesa-opencl-driver-r600
624 %description gbm-driver-r600
625 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
626 adapters based on R600/R700 chips.
628 %description gbm-driver-r600 -l pl.UTF-8
629 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
630 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
633 %package gbm-driver-radeonsi
634 Summary: radeonsi driver for Mesa GBM framework
635 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
637 Requires: %{name}-libgbm = %{version}-%{release}
638 Obsoletes: Mesa-libllvmradeon
639 Obsoletes: Mesa-opencl-driver-radeonsi
641 %description gbm-driver-radeonsi
642 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
643 Radeon adapters based on Southern Islands chips.
645 %description gbm-driver-radeonsi -l pl.UTF-8
646 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
647 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
648 oparte na układach Southern Islands.
650 %package gbm-driver-swrast
651 Summary: Software (swrast) driver for Mesa GBM framework
652 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
654 Requires: %{name}-libgbm = %{version}-%{release}
655 Obsoletes: Mesa-opencl-driver-swrast
657 %description gbm-driver-swrast
658 Software (swrast) driver for Mesa Graphics Buffer Manager.
660 %description gbm-driver-swrast -l pl.UTF-8
661 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
662 Manager (zarządcy bufora graficznego).
664 %package gbm-driver-vmwgfx
665 Summary: vmwgfx driver for Mesa GBM framework
666 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
668 Requires: %{name}-libgbm = %{version}-%{release}
669 Obsoletes: Mesa-opencl-driver-vmwgfx
671 %description gbm-driver-vmwgfx
672 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
673 virtual video adapter.
675 %description gbm-driver-vmwgfx -l pl.UTF-8
676 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
677 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
680 Summary: Mesa GL API shared library
681 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
683 Conflicts: Mesa-libEGL < 8.0.1-2
685 %description libglapi
686 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
688 %description libglapi -l pl.UTF-8
689 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
692 %package libwayland-egl
693 Summary: Wayland EGL library
694 Summary(pl.UTF-8): Biblioteka Wayland EGL
696 Requires: libdrm >= %{libdrm_ver}
698 %description libwayland-egl
699 Wayland EGL platform library.
701 %description libwayland-egl -l pl.UTF-8
702 Biblioteka platformy EGL Wayland.
704 %package libwayland-egl-devel
705 Summary: Development files for Wayland EGL library
706 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
707 Group: Development/Libraries
708 Requires: %{name}-libwayland-egl = %{version}-%{release}
709 Requires: libdrm-devel >= %{libdrm_ver}
711 %description libwayland-egl-devel
712 Development files for Wayland EGL platform library.
714 %description libwayland-egl-devel -l pl.UTF-8
715 Pliki programistyczne biblioteki platformy EGL Wayland.
717 %package libxatracker
718 Summary: Xorg Gallium3D accelleration library
719 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
721 Requires: libdrm >= %{libdrm_ver}
723 %description libxatracker
724 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
726 %description libxatracker -l pl.UTF-8
727 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
730 %package libxatracker-devel
731 Summary: Header files for Xorg Gallium3D accelleration library
732 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
733 Group: X11/Development/Libraries
734 Requires: %{name}-libxatracker = %{version}-%{release}
735 Requires: libdrm-devel >= %{libdrm_ver}
737 %description libxatracker-devel
738 Header files for Xorg Gallium3D accelleration library.
740 %description libxatracker-devel -l pl.UTF-8
741 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
743 %package khrplatform-devel
744 Summary: Khronos platform header file
745 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
746 Group: Development/Libraries
747 Conflicts: Mesa-libEGL-devel < 8.0.1-2
749 %description khrplatform-devel
750 Khronos platform header file.
752 %description khrplatform-devel -l pl.UTF-8
753 Plik nagłówkowy platformy Khronos.
755 %package dri-driver-ati-radeon-R100
756 Summary: X.org DRI driver for ATI R100 card family
757 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
760 Requires: xorg-driver-video-ati
761 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
762 Requires: xorg-xserver-server >= %{xserver_ver}
763 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
765 %description dri-driver-ati-radeon-R100
766 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
768 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
769 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
771 %package dri-driver-ati-radeon-R200
772 Summary: X.org DRI driver for ATI R200 card family
773 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
776 Requires: xorg-driver-video-ati
777 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
778 Requires: xorg-xserver-server >= %{xserver_ver}
779 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
781 %description dri-driver-ati-radeon-R200
782 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
784 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
785 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
787 %package dri-driver-ati-radeon-R300
788 Summary: X.org DRI driver for ATI R300 card family
789 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
792 Requires: xorg-driver-video-ati
793 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
794 Requires: xorg-xserver-server >= %{xserver_ver}
795 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
797 %description dri-driver-ati-radeon-R300
798 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
800 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
801 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
803 %package dri-driver-ati-radeon-R600
804 Summary: X.org DRI driver for ATI R600 card family
805 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
808 Requires: radeon-ucode
809 Requires: xorg-driver-video-ati
810 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
811 Requires: xorg-xserver-server >= %{xserver_ver}
813 %description dri-driver-ati-radeon-R600
814 X.org DRI driver for ATI R600/R700 card family.
816 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
817 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
819 %package dri-driver-ati-radeon-SI
820 Summary: X.org DRI driver for ATI Southern Islands card family
821 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
824 Requires: radeon-ucode
825 Requires: xorg-driver-video-ati
826 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
827 Requires: xorg-xserver-server >= %{xserver_ver}
829 %description dri-driver-ati-radeon-SI
830 X.org DRI driver for ATI Southern Islands card family.
832 %description dri-driver-ati-radeon-SI -l pl.UTF-8
833 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
835 %package dri-driver-intel-i915
836 Summary: X.org DRI driver for Intel i915 card family
837 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
840 Requires: xorg-driver-video-intel
841 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
842 Requires: xorg-xserver-server >= %{xserver_ver}
843 Obsoletes: Mesa-dri-driver-intel-i830
844 Obsoletes: X11-driver-i810-dri < 1:7.0.0
846 %description dri-driver-intel-i915
847 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
850 %description dri-driver-intel-i915 -l pl.UTF-8
851 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
854 %package dri-driver-intel-i965
855 Summary: X.org DRI driver for Intel i965 card family
856 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
859 Requires: xorg-driver-video-intel
860 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
861 Requires: xorg-xserver-server >= %{xserver_ver}
862 Obsoletes: Mesa-dri-driver-intel-i830
863 Obsoletes: X11-driver-i810-dri < 1:7.0.0
865 %description dri-driver-intel-i965
866 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
867 965GME, GM45, G41, B43, Q45, G45);
869 %description dri-driver-intel-i965 -l pl.UTF-8
870 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
871 965GM, 965GME, GM45, G41, B43, Q45, G45).
873 %package dri-driver-nouveau
874 Summary: X.org DRI driver for NVIDIA card family
875 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
878 Requires: xorg-driver-video-nouveau
879 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
880 Requires: xorg-xserver-server >= %{xserver_ver}
882 %description dri-driver-nouveau
883 X.org DRI drivers for NVIDIA card family.
885 %description dri-driver-nouveau -l pl.UTF-8
886 Sterowniki X.org DRI dla rodziny kart NVIDIA.
888 %package dri-driver-swrast
889 Summary: X.org DRI software rasterizer driver
890 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
893 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
894 Requires: xorg-xserver-server >= %{xserver_ver}
896 %description dri-driver-swrast
897 X.org DRI software rasterizer driver.
899 %description dri-driver-swrast -l pl.UTF-8
900 Sterownik X.org DRI obsługujący rysowanie programowe.
902 %package dri-driver-vmwgfx
903 Summary: X.org DRI driver for VMware
904 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
907 Requires: xorg-driver-video-vmware
908 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
909 Requires: xorg-xserver-server >= %{xserver_ver}
911 %description dri-driver-vmwgfx
912 X.org DRI driver for VMWare.
914 %description dri-driver-vmwgfx -l pl.UTF-8
915 Sterownik X.org DRI dla VMware.
918 Summary: Nine Direct3D9 driver (for Wine)
919 Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
921 Requires: libdrm >= %{libdrm_ver}
924 Nine Direct3D9 driver (for Wine).
926 %description d3d -l pl.UTF-8
927 Sterownik Direct3D9 Nine (dla Wine).
930 Summary: Nine Direct3D9 driver API
931 Summary(pl.UTF-8): API sterownika Direct3D9 Nine
932 Group: Development/Libraries
933 Requires: libdrm-devel >= %{libdrm_ver}
935 %description d3d-devel
936 Nine Direct3D9 driver API.
938 %description d3d-devel -l pl.UTF-8
939 API sterownika Direct3D9 Nine.
941 %package -n libvdpau-driver-mesa-nouveau
942 Summary: Mesa nouveau driver for the vdpau API
943 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
946 Requires: libdrm >= %{libdrm_ver}
947 Requires: libvdpau >= 0.4.1
948 Conflicts: libvdpau-driver-mesa
950 %description -n libvdpau-driver-mesa-nouveau
951 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
954 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
955 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
958 %package -n libvdpau-driver-mesa-r300
959 Summary: Mesa r300 driver for the vdpau API
960 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
963 Requires: libdrm >= %{libdrm_ver}
964 Requires: libvdpau >= 0.4.1
965 Conflicts: libvdpau-driver-mesa
967 %description -n libvdpau-driver-mesa-r300
968 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
971 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
972 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
975 %package -n libvdpau-driver-mesa-r600
976 Summary: Mesa r600 driver for the vdpau API
977 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
980 Requires: libdrm >= %{libdrm_ver}
981 Requires: libvdpau >= 0.4.1
982 Conflicts: libvdpau-driver-mesa
984 %description -n libvdpau-driver-mesa-r600
985 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
986 based on R600/R700 chips.
988 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
989 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
990 na układach R600/R700.
992 %package -n libvdpau-driver-mesa-radeonsi
993 Summary: Mesa radeonsi driver for the vdpau API
994 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
997 Requires: libdrm >= %{libdrm_ver}
998 Requires: libvdpau >= 0.4.1
999 Conflicts: libvdpau-driver-mesa
1000 Obsoletes: Mesa-libllvmradeon
1002 %description -n libvdpau-driver-mesa-radeonsi
1003 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1004 adapters based on Southern Islands chips.
1006 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1007 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1008 oparte na układach Southern Islands.
1010 %package -n omxil-mesa
1011 Summary: Mesa driver for Bellagio OpenMAX IL API
1012 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1014 Group: X11/Libraries
1015 Requires: libdrm >= %{libdrm_ver}
1016 Requires: libxcb >= 1.8
1017 Requires: libomxil-bellagio
1018 Obsoletes: omxil-mesa-nouveau
1019 Obsoletes: omxil-mesa-r600
1020 Obsoletes: omxil-mesa-radeonsi
1022 %description -n omxil-mesa
1023 Mesa driver for Bellagio OpenMAX IL API.
1025 %description -n omxil-mesa -l pl.UTF-8
1026 Sterownik Mesa dla API Bellagio OpenMAX IL.
1028 %package -n omxil-mesa-nouveau
1029 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
1030 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1032 Group: X11/Libraries
1033 Requires: libdrm >= %{libdrm_ver}
1034 Requires: libxcb >= 1.8
1035 Requires: libomxil-bellagio
1037 %description -n omxil-mesa-nouveau
1038 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
1039 adapters (NV40-NV96, NVa0).
1041 %description -n omxil-mesa-nouveau -l pl.UTF-8
1042 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1043 NVidia (NV40-NV96, NVa0).
1045 %package -n omxil-mesa-r600
1046 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1047 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1049 Group: X11/Libraries
1050 Requires: libdrm >= %{libdrm_ver}
1051 Requires: libxcb >= 1.8
1052 Requires: libomxil-bellagio
1054 %description -n omxil-mesa-r600
1055 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1056 adapters based on R600/R700 chips.
1058 %description -n omxil-mesa-r600 -l pl.UTF-8
1059 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1060 Radeon oparte na układach R600/R700.
1062 %package -n omxil-mesa-radeonsi
1063 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1064 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1066 Group: X11/Libraries
1067 Requires: libdrm >= %{libdrm_ver}
1068 Requires: libxcb >= 1.8
1069 Requires: libomxil-bellagio
1071 %description -n omxil-mesa-radeonsi
1072 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1073 Radeon adapters based on Southern Islands chips.
1075 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1076 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1077 ATI Radeon oparte na układach Southern Islands.
1080 %setup -q -n mesa-%{version}
1089 dri_drivers="r200 radeon \
1090 %if %{without gallium_intel}
1095 %ifarch sparc sparcv9 sparc64
1100 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1102 gallium_drivers="svga swrast \
1103 %if %{with gallium_intel}
1106 %if %{with gallium_radeon}
1111 %if %{with gallium_nouveau}
1116 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1119 --disable-silent-rules \
1125 --enable-shared-glapi \
1126 %{?with_static_libs:--enable-static} \
1127 %{?with_texture_float:--enable-texture-float} \
1132 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1135 --enable-gallium-llvm \
1136 --enable-llvm-shared-libs \
1137 %{__enable egl gallium-egl} \
1138 %{__enable gbm gallium-gbm} \
1139 %{__enable ocl_icd opencl-icd} \
1140 %{?with_nine:--enable-nine} \
1141 %{__enable opencl} \
1142 %{?with_egl:%{?with_openvg:--enable-openvg}} \
1144 %{?with_omx:--enable-omx} \
1145 %{?with_xa:--enable-xa} \
1147 --with-gallium-drivers=${gallium_drivers} \
1149 --without-gallium-drivers \
1151 --with-va-libdir=%{_libdir}/libva/dri \
1152 --with-dri-drivers=${dri_drivers} \
1153 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1157 %{?with_tests:%{__make} check}
1160 rm -rf $RPM_BUILD_ROOT
1163 DESTDIR=$RPM_BUILD_ROOT
1165 # strip out undesirable headers
1166 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/wglext.h
1167 # dlopened by soname
1168 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1169 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1170 # dlopened by soname or .so link
1171 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1172 # not used externally
1173 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1175 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1176 %{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
1177 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1178 # not defined by standards; and not needed, there is pkg-config support
1179 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1180 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1182 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1183 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1184 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1187 rm -rf $RPM_BUILD_ROOT
1189 %post libEGL -p /sbin/ldconfig
1190 %postun libEGL -p /sbin/ldconfig
1192 %post libGL -p /sbin/ldconfig
1193 %postun libGL -p /sbin/ldconfig
1195 %post libGLES -p /sbin/ldconfig
1196 %postun libGLES -p /sbin/ldconfig
1198 %post libOSMesa -p /sbin/ldconfig
1199 %postun libOSMesa -p /sbin/ldconfig
1201 %post libOpenCL -p /sbin/ldconfig
1202 %postun libOpenCL -p /sbin/ldconfig
1204 %post libOpenVG -p /sbin/ldconfig
1205 %postun libOpenVG -p /sbin/ldconfig
1207 %post libXvMC-nouveau -p /sbin/ldconfig
1208 %postun libXvMC-nouveau -p /sbin/ldconfig
1209 %post libXvMC-r600 -p /sbin/ldconfig
1210 %postun libXvMC-r600 -p /sbin/ldconfig
1212 %post libgbm -p /sbin/ldconfig
1213 %postun libgbm -p /sbin/ldconfig
1215 %post libglapi -p /sbin/ldconfig
1216 %postun libglapi -p /sbin/ldconfig
1218 %post libwayland-egl -p /sbin/ldconfig
1219 %postun libwayland-egl -p /sbin/ldconfig
1221 %post libxatracker -p /sbin/ldconfig
1222 %postun libxatracker -p /sbin/ldconfig
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1228 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1231 %defattr(644,root,root,755)
1232 %attr(755,root,root) %{_libdir}/libEGL.so
1233 %dir %{_includedir}/EGL
1234 %{_includedir}/EGL/egl.h
1235 %{_includedir}/EGL/eglext.h
1236 %{_includedir}/EGL/eglextchromium.h
1237 %{_includedir}/EGL/eglmesaext.h
1238 %{_includedir}/EGL/eglplatform.h
1239 %{_pkgconfigdir}/egl.pc
1241 %if %{with static_libs}
1242 %files libEGL-static
1243 %defattr(644,root,root,755)
1249 %defattr(644,root,root,755)
1250 %doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
1251 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1252 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1253 # symlink for binary apps which fail to conform Linux OpenGL ABI
1254 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1255 %attr(755,root,root) %{_libdir}/libGL.so
1256 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1259 %defattr(644,root,root,755)
1261 %dir %{_includedir}/GL
1262 %{_includedir}/GL/gl.h
1263 %{_includedir}/GL/glcorearb.h
1264 %{_includedir}/GL/glext.h
1265 %{_includedir}/GL/gl_mangle.h
1266 %{_includedir}/GL/glx.h
1267 %{_includedir}/GL/glxext.h
1268 %{_includedir}/GL/glx_mangle.h
1269 %dir %{_includedir}/GL/internal
1270 %{_includedir}/GL/internal/dri_interface.h
1271 %{_pkgconfigdir}/dri.pc
1272 %{_pkgconfigdir}/gl.pc
1274 %if %{with static_libs}
1276 %defattr(644,root,root,755)
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1283 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1284 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1285 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1287 %files libGLES-devel
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1290 %attr(755,root,root) %{_libdir}/libGLESv2.so
1292 %{_includedir}/GLES2
1293 %{_includedir}/GLES3
1294 %{_pkgconfigdir}/glesv1_cm.pc
1295 %{_pkgconfigdir}/glesv2.pc
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1300 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1302 %files libOSMesa-devel
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) %{_libdir}/libOSMesa.so
1305 %{_includedir}/GL/osmesa.h
1306 %{_pkgconfigdir}/osmesa.pc
1308 %if %{with static_libs}
1309 %files libOSMesa-static
1310 %defattr(644,root,root,755)
1311 %{_libdir}/libOSMesa.a
1317 %defattr(644,root,root,755)
1318 /etc/OpenCL/vendors/mesa.icd
1319 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1320 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1321 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1326 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1328 %files libOpenCL-devel
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/libOpenCL.so
1335 %if %{with egl} && %{with openvg} && %{with gallium}
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1339 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1341 %files libOpenVG-devel
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/libOpenVG.so
1345 %{_pkgconfigdir}/vg.pc
1349 %if %{with gallium_nouveau}
1350 %files libXvMC-nouveau
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1353 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1356 %if %{with gallium_radeon}
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1360 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1364 %files -n libva-driver-gallium
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1374 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1376 %dir %{_libdir}/gallium-pipe
1379 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_libdir}/libgbm.so
1386 %{_includedir}/gbm.h
1387 %{_pkgconfigdir}/gbm.pc
1391 %if %{with gallium_intel}
1392 %files gbm-driver-i915
1393 %defattr(644,root,root,755)
1394 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1397 %if %{with gallium_nouveau}
1398 %files gbm-driver-nouveau
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1403 %if %{with gallium_radeon}
1404 %files gbm-driver-r300
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1408 %files gbm-driver-r600
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1412 %files gbm-driver-radeonsi
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1417 %files gbm-driver-swrast
1418 %defattr(644,root,root,755)
1419 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1421 %files gbm-driver-vmwgfx
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1429 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1430 # libglapi-devel? nothing seems to need it atm.
1431 #%attr(755,root,root) %{_libdir}/libglapi.so
1434 %files libwayland-egl
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1437 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1439 %files libwayland-egl-devel
1440 %defattr(644,root,root,755)
1441 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1442 %{_pkgconfigdir}/wayland-egl.pc
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1449 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1451 %files libxatracker-devel
1452 %defattr(644,root,root,755)
1453 %attr(755,root,root) %{_libdir}/libxatracker.so
1454 %{_includedir}/xa_composite.h
1455 %{_includedir}/xa_context.h
1456 %{_includedir}/xa_tracker.h
1457 %{_pkgconfigdir}/xatracker.pc
1461 %files khrplatform-devel
1462 %defattr(644,root,root,755)
1463 %dir %{_includedir}/KHR
1464 %{_includedir}/KHR/khrplatform.h
1467 %files dri-driver-ati-radeon-R100
1468 %defattr(644,root,root,755)
1469 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1471 %files dri-driver-ati-radeon-R200
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1476 %if %{with gallium_radeon}
1477 %files dri-driver-ati-radeon-R300
1478 %defattr(644,root,root,755)
1479 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1481 %files dri-driver-ati-radeon-R600
1482 %defattr(644,root,root,755)
1483 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1485 %files dri-driver-ati-radeon-SI
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1491 %files dri-driver-intel-i915
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1495 %files dri-driver-intel-i965
1496 %defattr(644,root,root,755)
1497 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1499 %files dri-driver-nouveau
1500 %defattr(644,root,root,755)
1501 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1502 %if %{with gallium_nouveau}
1503 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1506 %files dri-driver-swrast
1507 %defattr(644,root,root,755)
1509 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1511 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1514 %files dri-driver-vmwgfx
1515 %defattr(644,root,root,755)
1516 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1521 %defattr(644,root,root,755)
1523 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1526 %defattr(644,root,root,755)
1527 %{_includedir}/d3dadapter
1528 %{_pkgconfigdir}/d3d.pc
1532 # ldconfig is not used in vdpau tree, so package all symlinks
1533 %if %{with gallium_nouveau}
1534 %files -n libvdpau-driver-mesa-nouveau
1535 %defattr(644,root,root,755)
1536 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1537 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1538 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1541 %if %{with gallium_radeon}
1542 %files -n libvdpau-driver-mesa-r300
1543 %defattr(644,root,root,755)
1544 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1545 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1546 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1548 %files -n libvdpau-driver-mesa-r600
1549 %defattr(644,root,root,755)
1550 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1551 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1552 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1554 %files -n libvdpau-driver-mesa-radeonsi
1555 %defattr(644,root,root,755)
1556 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1557 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1558 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1562 %if %{with gallium} && %{with omx}
1563 %files -n omxil-mesa
1564 %defattr(644,root,root,755)
1565 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so