]> git.pld-linux.org Git - packages/Mesa.git/blob - Mesa.spec
c36db4b13099377585b7446b0c316800d87cb70f
[packages/Mesa.git] / Mesa.spec
1 # TODO: libtizonia >= 0.10.0 as an alternative for bellagio?
2 #
3 # Conditional build:
4 %bcond_without  gallium         # gallium drivers
5 %bcond_with     gallium_i915    # gallium i915 driver instead of dri i915 driver
6 %bcond_without  gallium_nouveau # gallium nouveau driver
7 %bcond_without  gallium_radeon  # gallium radeon drivers
8 %bcond_without  gallium_zink    # gallium zink driver (based on vulkan)
9 %bcond_without  egl             # EGL libraries
10 %bcond_without  gbm             # Graphics Buffer Manager
11 %bcond_without  nine            # Nine Direct3D 9+ state tracker (for Wine)
12 %bcond_without  opencl          # OpenCL support
13 %bcond_without  opencl_spirv    # OpenCL SPIRV support
14 %bcond_without  ocl_icd         # OpenCL as ICD (installable client driver)
15 %bcond_with     glvnd           # OpenGL vendor neutral dispatcher support
16 %bcond_without  omx             # OpenMAX (Bellagio OMXIL) support
17 %bcond_without  va              # VA library
18 %bcond_without  wayland         # Wayland EGL
19 %bcond_without  xa              # XA state tracker (for vmwgfx xorg driver)
20 %bcond_without  radv            # disable build of the radeon Vulkan driver
21 %bcond_with     swr             # OpenSWR software rasterizer (x86 SIMD only; due to broken design
22                                 # propagates AVX code over Gallium DRI megadriver, swrast pipe driver and libOSMesa)
23 %bcond_with     hud_extra       # HUD block/NIC I/O HUD stats support
24 %bcond_with     lm_sensors      # HUD lm_sensors support
25 %bcond_with     tests           # tests
26 #
27 # glapi version (glapi tables in dri drivers and libglx must be in sync);
28 # set to current Mesa version on ABI break, when xserver tables get regenerated
29 # (until they start to be somehow versioned themselves)
30 %define         glapi_ver               7.1.0
31 # other packages
32 %define         libdrm_ver              2.4.100
33 %define         dri2proto_ver           2.8
34 %define         glproto_ver             1.4.14
35 %define         zlib_ver                1.2.8
36 %define         wayland_ver             1.11
37 %define         llvm_ver                8.0.0
38 %define         gcc_ver                 6:4.8.0
39
40 %if %{without gallium}
41 %undefine       with_gallium_i915
42 %undefine       with_gallium_nouveau
43 %undefine       with_gallium_radeon
44 %undefine       with_nine
45 %undefine       with_omx
46 %undefine       with_opencl
47 %undefine       with_swr
48 %undefine       with_xa
49 %endif
50
51 %if %{without egl}
52 %undefine       with_gbm
53 %undefine       with_wayland
54 %endif
55
56 %if %{without opencl}
57 %undefine       with_ocl_icd
58 %endif
59
60 %ifnarch %{ix86} %{x8664} x32
61 %undefine       with_swr
62 %endif
63
64 %if %{with gallium_radeon} || %{with gallium_nouveau}
65 %define         with_vdpau      1
66 %define         with_xvmc       1
67 %endif
68
69 Summary:        Free OpenGL implementation
70 Summary(pl.UTF-8):      Wolnodostępna implementacja standardu OpenGL
71 Name:           Mesa
72 Version:        20.0.7
73 Release:        2
74 License:        MIT (core) and others - see license.html file
75 Group:          X11/Libraries
76 #Source0:       ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
77 ## Source0-md5: 7c61a801311fb8d2f7b3cceb7b5cf308
78 Source0:        https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-%{version}/mesa-mesa-%{version}.tar.bz2
79 # Source0-md5:  1939a279f9683a4ca6573872ed77a070
80 Patch0:         nouveau_no_rtti.patch
81 Patch1:         i9x5-tex-ignore-the-diff-between-GL_TEXTURE_2D-and-GL_TEXTURE_RECTANGLE.patch
82 Patch2:         llvm10.patch
83 Patch3:         gcc10.patch
84 URL:            http://www.mesa3d.org/
85 %{?with_opencl_spirv:BuildRequires:     SPIRV-LLVM-Translator-devel >= 0.2.1}
86 %{?with_gallium_zink:BuildRequires:     Vulkan-Loader-devel}
87 %{?with_opencl:BuildRequires:   clang-devel >= %{llvm_ver}}
88 BuildRequires:  elfutils-devel
89 BuildRequires:  expat-devel >= 1.95
90 BuildRequires:  gcc >= %{gcc_ver}
91 BuildRequires:  libdrm-devel >= %{libdrm_ver}
92 %{?with_glvnd:BuildRequires:    libglvnd-devel >= 1.2.0}
93 BuildRequires:  libselinux-devel
94 BuildRequires:  libstdc++-devel >= %{gcc_ver}
95 BuildRequires:  libunwind-devel
96 %{?with_va:BuildRequires:       libva-devel}
97 %{?with_va:BuildRequires:       pkgconfig(libva) >= 0.39.0}
98 %{?with_vdpau:BuildRequires:    libvdpau-devel >= 1.1}
99 BuildRequires:  libxcb-devel >= 1.13
100 %{?with_gallium:BuildRequires:  llvm-devel >= %{llvm_ver}}
101 %{?with_radv:BuildRequires:     llvm-devel >= %{llvm_ver}}
102 %{?with_opencl:BuildRequires:   llvm-libclc}
103 %{?with_omx:BuildRequires:      libomxil-bellagio-devel}
104 BuildRequires:  meson >= 0.51
105 BuildRequires:  ninja >= 1.5
106 BuildRequires:  pkgconfig
107 BuildRequires:  pkgconfig(talloc) >= 2.0.1
108 BuildRequires:  pkgconfig(xcb-dri2) >= 1.8
109 BuildRequires:  pkgconfig(xcb-dri3) >= 1.13
110 BuildRequires:  pkgconfig(xcb-glx) >= 1.8.1
111 BuildRequires:  pkgconfig(xcb-present) >= 1.13
112 BuildRequires:  pkgconfig(xcb-randr) >= 1.12
113 BuildRequires:  python3 >= 1:3.2
114 BuildRequires:  python3-Mako >= 0.8.0
115 BuildRequires:  rpmbuild(macros) >= 1.470
116 BuildRequires:  sed >= 4.0
117 %{?with_opencl_spirv:BuildRequires:     spirv-tools-devel >= 2018.0}
118 # wayland-{client,server}
119 %{?with_wayland:BuildRequires:  wayland-devel >= %{wayland_ver}}
120 %{?with_wayland:BuildRequires:  wayland-protocols >= 1.8}
121 %{?with_wayland:BuildRequires:  wayland-egl-devel >= %{wayland_ver}}
122 BuildRequires:  xorg-lib-libXdamage-devel >= 1.1
123 BuildRequires:  xorg-lib-libXext-devel >= 1.0.5
124 BuildRequires:  xorg-lib-libXfixes-devel
125 BuildRequires:  xorg-lib-libXrandr-devel >= 1.3
126 BuildRequires:  xorg-lib-libXv-devel
127 %{?with_xvmc:BuildRequires:     xorg-lib-libXvMC-devel >= 1.0.6}
128 BuildRequires:  xorg-lib-libXxf86vm-devel
129 BuildRequires:  xorg-lib-libxshmfence-devel >= 1.1
130 BuildRequires:  xorg-proto-dri2proto-devel >= %{dri2proto_ver}
131 BuildRequires:  xorg-proto-glproto-devel >= %{glproto_ver}
132 %if %{with gallium}
133 %{?with_lm_sensors:BuildRequires:       lm_sensors-devel}
134 %endif
135 BuildRequires:  zlib-devel >= %{zlib_ver}
136 BuildRequires:  zstd-devel
137 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
138
139 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
140 #  _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
141 %define         skip_post_check_so      libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libGLX_mesa.so.0.*
142
143 %description
144 Mesa is a 3-D graphics library with an API which is very similar to
145 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
146 syntax or state machine, it is being used with authorization from
147 Silicon Graphics, Inc. However, the author does not possess an OpenGL
148 license from SGI, and makes no claim that Mesa is in any way a
149 compatible replacement for OpenGL or associated with SGI.
150
151 %description -l pl.UTF-8
152 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
153 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
154 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
155 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
156 OpenGL ani powiązana z SGI.
157
158 %package libEGL
159 Summary:        Mesa implementation of EGL Native Platform Graphics Interface library
160 Summary(pl.UTF-8):      Implementacja Mesa biblioteki interfejsu EGL
161 License:        MIT
162 Group:          Libraries
163 Requires:       %{name}-libglapi = %{version}-%{release}
164 # glx driver in libEGL dlopens libGL.so
165 Requires:       OpenGL >= 1.2
166 Requires:       libdrm >= %{libdrm_ver}
167 Requires:       libxcb >= 1.13
168 %{?with_wayland:Requires:       wayland >= 1.11.0}
169 %if %{with gbm}
170 Requires:       %{name}-libgbm = %{version}-%{release}
171 %endif
172 Provides:       EGL = 1.5
173
174 %description libEGL
175 This package contains shared libEGL - Mesa implementation of EGL
176 Native Platform Graphics Interface as specified by Khronos Group:
177 <http://www.khronos.org/egl/>.
178
179 %description libEGL -l pl.UTF-8
180 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
181 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
182 graficznego platformy natywnej) wg specyfikacji Khronos Group:
183 <http://www.khronos.org/egl/>.
184
185 %package libEGL-devel
186 Summary:        Header files for Mesa implementation of EGL library
187 Summary(pl.UTF-8):      Pliki nagłówkowe implementacji Mesa biblioteki EGL
188 License:        MIT
189 Group:          Development/Libraries
190 Requires:       %{name}-khrplatform-devel = %{version}-%{release}
191 Requires:       %{name}-libEGL = %{version}-%{release}
192 Requires:       libdrm-devel >= %{libdrm_ver}
193 Requires:       xorg-lib-libX11-devel
194 Requires:       xorg-lib-libXdamage-devel >= 1.1
195 Requires:       xorg-lib-libXext-devel >= 1.0.5
196 Requires:       xorg-lib-libXfixes-devel
197 Requires:       xorg-lib-libXxf86vm-devel
198 Requires:       xorg-proto-dri2proto-devel >= %{dri2proto_ver}
199 Requires:       xorg-proto-glproto-devel >= %{glproto_ver}
200 %if %{without glvnd}
201 Provides:       EGL-devel = 1.5
202 %endif
203
204 %description libEGL-devel
205 Header files for Mesa implementation of EGL library.
206
207 %description libEGL-devel -l pl.UTF-8
208 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
209
210 %package libEGL-static
211 Summary:        Static Mesa EGL library
212 Summary(pl.UTF-8):      Statyczna biblioteka Mesa EGL
213 License:        MIT
214 Group:          Development/Libraries
215 Requires:       %{name}-libEGL-devel = %{version}-%{release}
216 Provides:       EGL-static = 1.5
217
218 %description libEGL-static
219 Static Mesa EGL library.
220
221 %description libEGL-static -l pl.UTF-8
222 Statyczna biblioteka Mesa EGL.
223
224 %package libGL
225 Summary:        Free Mesa3D implementation of libGL OpenGL library
226 Summary(pl.UTF-8):      Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
227 License:        MIT
228 Group:          X11/Libraries
229 Requires:       %{name}-libglapi = %{version}-%{release}
230 Requires:       libdrm >= %{libdrm_ver}
231 Requires:       libxcb >= 1.13
232 Requires:       xorg-lib-libXdamage >= 1.1
233 Provides:       OpenGL = 4.6
234 Provides:       OpenGL-GLX = 1.4
235 Obsoletes:      Mesa
236 Obsoletes:      Mesa-dri
237 Obsoletes:      Mesa-dri-core < 10.0.0
238 Obsoletes:      X11-OpenGL-libGL < 1:7.0.0
239 Obsoletes:      XFree86-OpenGL-libGL < 1:7.0.0
240
241 %description libGL
242 Mesa is a 3-D graphics library with an API which is very similar to
243 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
244 syntax or state machine, it is being used with authorization from
245 Silicon Graphics, Inc. However, the author does not possess an OpenGL
246 license from SGI, and makes no claim that Mesa is in any way a
247 compatible replacement for OpenGL or associated with SGI.
248
249 This package contains libGL which implements OpenGL 4.6 and GLX 1.4
250 specifications. It uses DRI for rendering.
251
252 %description libGL -l pl.UTF-8
253 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
254 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
255 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
256 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
257 OpenGL ani powiązana z SGI.
258
259 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 4.6 oraz
260 GLX 1.4. Używa DRI do renderowania.
261
262 %package libGL-devel
263 Summary:        Header files for Mesa3D libGL library
264 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
265 License:        MIT
266 Group:          X11/Development/Libraries
267 # loose dependency on libGL to use with other libGL binaries
268 Requires:       OpenGL >= 1.5
269 Requires:       libdrm-devel >= %{libdrm_ver}
270 Requires:       xorg-lib-libX11-devel
271 Requires:       xorg-lib-libXdamage-devel >= 1.1
272 Requires:       xorg-lib-libXext-devel >= 1.0.5
273 Requires:       xorg-lib-libXxf86vm-devel
274 Requires:       xorg-proto-dri2proto-devel >= %{dri2proto_ver}
275 Requires:       xorg-proto-glproto-devel >= %{glproto_ver}
276 Suggests:       OpenGL-doc-man
277 %if %{without glvnd}
278 Provides:       OpenGL-GLX-devel = 1.4
279 Provides:       OpenGL-devel = 4.6
280 %endif
281 Obsoletes:      Mesa-devel
282 Obsoletes:      X11-OpenGL-devel < 1:7.0.0
283 Obsoletes:      X11-OpenGL-devel-base < 1:7.0.0
284 Obsoletes:      XFree86-OpenGL-devel < 1:7.0.0
285 Obsoletes:      XFree86-OpenGL-devel-base < 1:7.0.0
286
287 %description libGL-devel
288 Header files for Mesa3D libGL library.
289
290 %description libGL-devel -l pl.UTF-8
291 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
292
293 %package libGL-static
294 Summary:        Static Mesa3D libGL library
295 Summary(pl.UTF-8):      Statyczna biblioteka libGL z projektu Mesa3D
296 License:        MIT
297 Group:          X11/Development/Libraries
298 Requires:       %{name}-libGL-devel = %{version}-%{release}
299 Provides:       OpenGL-static = 4.6
300 Obsoletes:      Mesa-static
301 Obsoletes:      X11-OpenGL-static < 1:7.0.0
302 Obsoletes:      XFree86-OpenGL-static < 1:7.0.0
303
304 %description libGL-static
305 Static Mesa3D libGL library. It uses software renderer.
306
307 %description libGL-static -l pl.UTF-8
308 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
309 renderingu.
310
311 %package libGLES
312 Summary:        Mesa implementation of GLES (OpenGL ES) libraries
313 Summary(pl.UTF-8):      Implementacja Mesa bibliotek GLES (OpenGL ES)
314 Group:          Libraries
315 Requires:       %{name}-libglapi = %{version}-%{release}
316 Provides:       OpenGLES
317 Provides:       OpenGLESv1 = 1.1
318 Provides:       OpenGLESv2 = 2.0
319 Provides:       OpenGLESv3 = 3.2
320
321 %description libGLES
322 This package contains shared libraries of Mesa implementation of GLES
323 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
324 on embedded systems. OpenGL ES specification can be found on Khronos
325 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
326 ES 1.1 and 2.0/3.2.
327
328 %description libGLES -l pl.UTF-8
329 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
330 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
331 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
332 OpenGL ES można znaleźć na stronie Khronos Group:
333 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
334 ES 1.1 i 2.0/3.2.
335
336 %package libGLES-devel
337 Summary:        Header files for Mesa GLES libraries
338 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek Mesa GLES
339 Group:          Development/Libraries
340 Requires:       %{name}-khrplatform-devel = %{version}-%{release}
341 # <EGL/egl.h> for <GLES/egl.h>
342 Requires:       %{name}-libEGL-devel = %{version}-%{release}
343 Requires:       %{name}-libGLES = %{version}-%{release}
344 %if %{without glvnd}
345 Provides:       OpenGLES-devel
346 Provides:       OpenGLESv1-devel = 1.1
347 Provides:       OpenGLESv2-devel = 2.0
348 Provides:       OpenGLESv3-devel = 3.2
349 %endif
350
351 %description libGLES-devel
352 Header files for Mesa GLES libraries.
353
354 %description libGLES-devel -l pl.UTF-8
355 Pliki nagłówkowe bibliotek Mesa GLES.
356
357 %package libOSMesa
358 Summary:        OSMesa (off-screen renderer) library
359 Summary(pl.UTF-8):      Biblioteka OSMesa (renderująca bitmapy w pamięci)
360 License:        MIT
361 Group:          Libraries
362 %{?with_swr:Requires:   cpuinfo(avx)}
363 Requires:       zlib >= %{zlib_ver}
364
365 %description libOSMesa
366 OSMesa (off-screen renderer) library.
367
368 %description libOSMesa -l pl.UTF-8
369 Biblioteka OSMesa (renderująca bitmapy w pamięci).
370
371 %package libOSMesa-devel
372 Summary:        Header file for OSMesa (off-screen renderer) library
373 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
374 License:        MIT
375 Group:          Development/Libraries
376 Requires:       %{name}-libOSMesa = %{version}-%{release}
377 # for <GL/gl.h> only
378 Requires:       OpenGL-devel
379 Requires:       libselinux-devel
380
381 %description libOSMesa-devel
382 Header file for OSMesa (off-screen renderer) library.
383
384 %description libOSMesa-devel -l pl.UTF-8
385 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
386
387 %package libOSMesa-static
388 Summary:        Static OSMesa (off-screen renderer) library
389 Summary(pl.UTF-8):      Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
390 License:        MIT
391 Group:          Development/Libraries
392 Requires:       %{name}-libOSMesa-devel = %{version}-%{release}
393 # this static build of OSMesa needs static non-dri Mesa implementation
394 Requires:       %{name}-libGL-static = %{version}-%{release}
395
396 %description libOSMesa-static
397 Static OSMesa (off-screen renderer) library.
398
399 %description libOSMesa-static -l pl.UTF-8
400 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
401
402 %package OpenCL-icd
403 Summary:        Mesa implementation of OpenCL (Compuing Language) API ICD
404 Summary(pl.UTF-8):      Implementacja Mesa API OpenCL (języka obliczeń) ICD
405 License:        MIT
406 Group:          Libraries
407 Requires:       filesystem >= 4.0-29
408 Requires:       libdrm >= %{libdrm_ver}
409 Requires:       llvm-libclc
410 Requires:       zlib >= %{zlib_ver}
411 Provides:       OpenCL = 1.1
412 Provides:       ocl-icd-driver
413
414 %description OpenCL-icd
415 This package contains Mesa implementation of OpenCL - standard for
416 cross-platform, parallel programming of modern processors found in
417 personal computers, servers and handheld/embedded devices. OpenCL
418 specification can be found on Khronos Group site:
419 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
420
421 The implementation is provided as an installable client driver (ICD)
422 for use with the ocl-icd loader.
423
424 %description OpenCL-icd -l pl.UTF-8
425 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
426 wieloplatformowego, równoległego programowania nowoczesnych
427 procesorów, jakie znajdują się w komputerach osobistych, serwerach
428 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
429 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
430 Mesa zawiera implementację OpenCL w wersji 1.1.
431
432 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
433 (ICD), który może być użyty z loaderem ocl-icd.
434
435 %package libOpenCL
436 Summary:        Mesa implementation of OpenCL (Compuing Language) API
437 Summary(pl.UTF-8):      Implementacja Mesa API OpenCL (języka obliczeń)
438 License:        MIT
439 Group:          Libraries
440 Requires:       libdrm >= %{libdrm_ver}
441 Requires:       llvm-libclc
442 Provides:       OpenCL = 1.1
443
444 %description libOpenCL
445 This package contains Mesa implementation of OpenCL - standard for
446 cross-platform, parallel programming of modern processors found in
447 personal computers, servers and handheld/embedded devices. OpenCL
448 specification can be found on Khronos Group site:
449 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
450
451 %description libOpenCL -l pl.UTF-8
452 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
453 wieloplatformowego, równoległego programowania nowoczesnych
454 procesorów, jakie znajdują się w komputerach osobistych, serwerach
455 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
456 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
457 Mesa zawiera implementację OpenCL w wersji 1.1.
458
459 %package libOpenCL-devel
460 Summary:        Header files for Mesa OpenCL library
461 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Mesa OpenCL
462 License:        MIT
463 Group:          Development/Libraries
464 Requires:       %{name}-libOpenCL = %{version}-%{release}
465 Provides:       OpenCL-devel = 1.2
466
467 %description libOpenCL-devel
468 Header files for Mesa OpenCL library.
469
470 %description libOpenCL-devel -l pl.UTF-8
471 Pliki nagłówkowe biblioteki Mesa OpenCL.
472
473 %package libXvMC-nouveau
474 Summary:        Mesa implementation of XvMC API for NVidia adapters
475 Summary(pl.UTF-8):      Implementacja Mesa API XvMC dla kart NVidia
476 License:        MIT
477 Group:          Libraries
478 Requires:       libdrm >= %{libdrm_ver}
479 Requires:       xorg-lib-libXvMC >= 1.0.6
480 Requires:       zlib >= %{zlib_ver}
481 Conflicts:      Mesa-libXvMC
482
483 %description libXvMC-nouveau
484 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
485
486 %description libXvMC-nouveau -l pl.UTF-8
487 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
488
489 %package libXvMC-r600
490 Summary:        Mesa implementation of XvMC API for ATI Radeon R600 series adapters
491 Summary(pl.UTF-8):      Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
492 License:        MIT
493 Group:          Libraries
494 Requires:       libdrm >= %{libdrm_ver}
495 Requires:       xorg-lib-libXvMC >= 1.0.6
496 Requires:       zlib >= %{zlib_ver}
497 Conflicts:      Mesa-libXvMC
498
499 %description libXvMC-r600
500 Mesa implementation of XvMC API for ATI Radeon adapters based on
501 R600/R700 chips.
502
503 %description libXvMC-r600 -l pl.UTF-8
504 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
505 R600/R700.
506
507 %package -n libva-driver-gallium
508 Summary:        VA driver for Gallium State Tracker
509 Summary(pl.UTF-8):      Sterowniki VA do Gallium
510 Group:          Libraries
511 %if %{with gallium_radeon}
512 Requires:       libva-driver-r600
513 Requires:       libva-driver-radeonsi
514 %endif
515 %if %{with gallium_nouveau}
516 Requires:       libva-driver-nouveau
517 %endif
518
519 %description -n libva-driver-gallium
520 VA drivers for Gallium State Tracker (r600, radeonsi & nouveau).
521
522 %description -n libva-driver-gallium -l pl.UTF-8
523 Sterowniki VA do Gallium (r600, radeonsi & nouveau).
524
525 %package -n libva-driver-r600
526 Summary:        VA driver for ATI Radeon R600 series adapters
527 Summary(pl.UTF-8):      Sterownik VA dla kart ATI Radeon z serii R600
528 Group:          Libraries
529 Requires:       libva >= 1.6.0
530 Requires:       zlib >= %{zlib_ver}
531
532 %description -n libva-driver-r600
533 VA driver for ATI Radeon R600 series adapters.
534
535 %description -n libva-driver-r600 -l pl.UTF-8
536 Sterownik VA dla kart ATI Radeon z serii R600.
537
538 %package -n libva-driver-radeonsi
539 Summary:        VA driver for ATI Radeon SI adapters
540 Summary(pl.UTF-8):      Sterownik VA dla kart ATI Radeon SI
541 Group:          Libraries
542 Requires:       libva >= 1.6.0
543 Requires:       zlib >= %{zlib_ver}
544
545 %description -n libva-driver-radeonsi
546 VA driver for ATI Radeon adapters based on Southern Islands chips.
547
548 %description -n libva-driver-radeonsi -l pl.UTF-8
549 Sterownik VA dla kart ATI Radeon opartych na układach Southern
550 Islands.
551
552 %package -n libva-driver-nouveau
553 Summary:        VA driver for NVidia adapters
554 Summary(pl.UTF-8):      Sterownik VA dla kart NVidia
555 Group:          Libraries
556 Requires:       libva >= 1.6.0
557 Requires:       zlib >= %{zlib_ver}
558
559 %description -n libva-driver-nouveau
560 VA driver for NVidia adapters.
561
562 %description -n libva-driver-nouveau -l pl.UTF-8
563 Sterownik VA dla kart NVidia.
564
565 %package libgbm
566 Summary:        Mesa Graphics Buffer Manager library
567 Summary(pl.UTF-8):      Biblioteka Mesa Graphics Buffer Manager
568 Group:          Libraries
569 Requires:       %{name}-libglapi = %{version}-%{release}
570 Conflicts:      Mesa-libEGL < 8.0.1-2
571
572 %description libgbm
573 Mesa Graphics Buffer Manager library.
574
575 %description libgbm -l pl.UTF-8
576 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
577
578 %package libgbm-devel
579 Summary:        Header file for Mesa Graphics Buffer Manager library
580 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
581 Group:          Development/Libraries
582 Requires:       %{name}-libgbm = %{version}-%{release}
583
584 %description libgbm-devel
585 Header file for Mesa Graphics Buffer Manager library.
586
587 %description libgbm-devel -l pl.UTF-8
588 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
589 bufora graficznego).
590
591 %package libglapi
592 Summary:        Mesa GL API shared library
593 Summary(pl.UTF-8):      Biblioteka współdzielona Mesa GL API
594 Group:          Libraries
595 Conflicts:      Mesa-libEGL < 8.0.1-2
596
597 %description libglapi
598 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
599
600 %description libglapi -l pl.UTF-8
601 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
602 GL, GLES).
603
604 %package libxatracker
605 Summary:        Xorg Gallium3D accelleration library
606 Summary(pl.UTF-8):      Biblioteka akceleracji Gallium3D dla Xorg
607 Group:          X11/Libraries
608 Requires:       libdrm >= %{libdrm_ver}
609 Requires:       zlib >= %{zlib_ver}
610
611 %description libxatracker
612 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
613
614 %description libxatracker -l pl.UTF-8
615 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
616 sterownik vmwgfx).
617
618 %package libxatracker-devel
619 Summary:        Header files for Xorg Gallium3D accelleration library
620 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
621 Group:          X11/Development/Libraries
622 Requires:       %{name}-libxatracker = %{version}-%{release}
623 Requires:       libdrm-devel >= %{libdrm_ver}
624
625 %description libxatracker-devel
626 Header files for Xorg Gallium3D accelleration library.
627
628 %description libxatracker-devel -l pl.UTF-8
629 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
630
631 %package khrplatform-devel
632 Summary:        Khronos platform header file
633 Summary(pl.UTF-8):      Plik nagłówkowy platformy Khronos
634 Group:          Development/Libraries
635 Conflicts:      Mesa-libEGL-devel < 8.0.1-2
636
637 %description khrplatform-devel
638 Khronos platform header file.
639
640 %description khrplatform-devel -l pl.UTF-8
641 Plik nagłówkowy platformy Khronos.
642
643 %package dri-driver-ati-radeon-R100
644 Summary:        X.org DRI driver for ATI R100 card family
645 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R100
646 License:        MIT
647 Group:          X11/Libraries
648 Requires:       xorg-driver-video-ati
649 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
650 Requires:       xorg-xserver-server >= %{xserver_ver}
651 Requires:       zlib >= %{zlib_ver}
652 Obsoletes:      X11-driver-radeon-dri < 1:7.0.0
653
654 %description dri-driver-ati-radeon-R100
655 X.org DRI driver for ATI R100 card family (Radeon 7000-7500). It
656 supports R100, RV100, RS100, RV200, RS200, RS250.
657
658 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
659 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
660 Obsługuje układy R100, RV100, RS100, RV200, RS200, RS250.
661
662 %package dri-driver-ati-radeon-R200
663 Summary:        X.org DRI driver for ATI R200 card family
664 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R200
665 License:        MIT
666 Group:          X11/Libraries
667 Requires:       xorg-driver-video-ati
668 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
669 Requires:       xorg-xserver-server >= %{xserver_ver}
670 Requires:       zlib >= %{zlib_ver}
671 Obsoletes:      X11-driver-radeon-dri < 1:7.0.0
672
673 %description dri-driver-ati-radeon-R200
674 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx). It
675 supports R200, RV250, RV280, RS300, RS350 chips.
676
677 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
678 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
679 Obsługuje układy R200, RV250, RV280, RS300, RS350.
680
681 %package dri-driver-ati-radeon-R300
682 Summary:        X.org DRI driver for ATI R300 card family
683 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R300
684 License:        MIT
685 Group:          X11/Libraries
686 %{?with_swr:Requires:   cpuinfo(avx)}
687 Requires:       xorg-driver-video-ati
688 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
689 Requires:       xorg-xserver-server >= %{xserver_ver}
690 Requires:       zlib >= %{zlib_ver}
691 Obsoletes:      X11-driver-radeon-dri < 1:7.0.0
692
693 %description dri-driver-ati-radeon-R300
694 X.org Gallium DRI driver for ATI R300/R400/RS690/R500 card family
695 (Radeon 9600-9800, X300-X2300). It supports R300, R350, R360, RV350,
696 RV370, RV380, R420, R423, R430, R480, R481, RV410, RS400, RC410,
697 RS480, RS482, R520, RV515, RV530, RV560, RV570, R580, RS600, RS690,
698 RS740 chips.
699
700 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
701 Sterownik X.org DRI Gallium dla rodziny kart ATI R300/R400/RS690/R500
702 (Radeon 9600-9800, X300-X2300). Obsługuje układy R300, R350, R360,
703 RV350, RV370, RV380, R420, R423, R430, R480, R481, RV410, RS400,
704 RC410, RS480, RS482, R520, RV515, RV530, RV560, RV570, R580, RS600,
705 RS690, RS740.
706
707 %package dri-driver-ati-radeon-R600
708 Summary:        X.org DRI driver for ATI R600 card family
709 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R600
710 License:        MIT
711 Group:          X11/Libraries
712 %{?with_swr:Requires:   cpuinfo(avx)}
713 Requires:       radeon-ucode
714 Requires:       xorg-driver-video-ati
715 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
716 Requires:       xorg-xserver-server >= %{xserver_ver}
717 Requires:       zlib >= %{zlib_ver}
718
719 %description dri-driver-ati-radeon-R600
720 X.org Gallium DRI driver for ATI R600/R700 card family (Radeon HD
721 2400-7000). It supports R600, RV610, RV630, RV670, RV620, RV635,
722 RS780, RS880, RV770, RV730, RV710, RV740, CEDAR, REDWOOD, JUNIPER,
723 CYPRESS, HEMLOCK, PALM, SUMO/SUMO2, CAYMAN, BARTS, TURKS, CAICOS,
724 ARUBA chips.
725
726 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
727 Sterownik X.org DRI Gallium dla rodziny kart ATI R600/R700 (Radeon HD
728 2400-7000). Obsługuje układy R600, RV610, RV630, RV670, RV620, RV635,
729 RS780, RS880, RV770, RV730, RV710, RV740, CEDAR, REDWOOD, JUNIPER,
730 CYPRESS, HEMLOCK, PALM, SUMO/SUMO2, CAYMAN, BARTS, TURKS, CAICOS,
731 ARUBA.
732
733 %package dri-driver-ati-radeon-SI
734 Summary:        X.org DRI driver for ATI Southern Islands card family
735 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI Southern Islands
736 License:        MIT
737 Group:          X11/Libraries
738 %{?with_swr:Requires:   cpuinfo(avx)}
739 Requires:       radeon-ucode
740 Requires:       xorg-driver-video-ati
741 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
742 Requires:       xorg-xserver-server >= %{xserver_ver}
743 Requires:       zlib >= %{zlib_ver}
744
745 %description dri-driver-ati-radeon-SI
746 X.org Gallium DRI driver for ATI Southern Islands card family (Radeon
747 HD 7700-8000, R9, APU). It supports TAHITI, PITCAIRN, VERDE, OLAND,
748 HAINAN, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII, ICELAND, TONGA,
749 CARRIZO, FIJI, POLARIS, STONEY, VEGA, RAVEN chips.
750
751 %description dri-driver-ati-radeon-SI -l pl.UTF-8
752 Sterownik X.org DRI Gallium dla rodziny kart ATI Southern Islands
753 (Radeon HD 7700-8000, R9, APU). Obsługuje układy TAHITI, PITCAIRN,
754 VERDE, OLAND, HAINAN, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII,
755 ICELAND, TONGA, CARRIZO, FIJI, POLARIS, STONEY, VEGA, RAVEN.
756
757 %package dri-driver-etnaviv
758 Summary:        X.org DRI driver for Vivante 3D chips
759 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Vivante 3D
760 License:        MIT
761 Group:          X11/Libraries
762 %{?with_swr:Requires:   cpuinfo(avx)}
763 #Requires:      xorg-driver-video-?
764 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
765 Requires:       xorg-xserver-server >= %{xserver_ver}
766 Requires:       zlib >= %{zlib_ver}
767
768 %description dri-driver-etnaviv
769 X.org Gallium DRI driver for Vivante 3D chips.
770
771 %description dri-driver-etnaviv -l pl.UTF-8
772 Sterownik X.org DRI Gallium dla układów Vivante 3D.
773
774 %package dri-driver-freedreno
775 Summary:        X.org DRI driver for Adreno chips
776 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Adreno
777 License:        MIT
778 Group:          X11/Libraries
779 %{?with_swr:Requires:   cpuinfo(avx)}
780 Requires:       xorg-driver-video-freedreno
781 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
782 Requires:       xorg-xserver-server >= %{xserver_ver}
783 Requires:       zlib >= %{zlib_ver}
784
785 %description dri-driver-freedreno
786 X.org Gallium DRI driver for Adreno chips.
787
788 %description dri-driver-freedreno -l pl.UTF-8
789 Sterownik X.org DRI Gallium dla układów Adreno.
790
791 %package dri-driver-intel-i915
792 Summary:        X.org DRI driver for Intel i915 card family
793 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart Intel i915
794 License:        MIT
795 Group:          X11/Libraries
796 %if %{with gallium_i915}
797 %{?with_swr:Requires:   cpuinfo(avx)}
798 %endif
799 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
800 Requires:       xorg-xserver-server >= %{xserver_ver}
801 Requires:       zlib >= %{zlib_ver}
802 Obsoletes:      Mesa-dri-driver-intel-i830
803 Obsoletes:      X11-driver-i810-dri < 1:7.0.0
804
805 %description dri-driver-intel-i915
806 X.org DRI driver for Intel i915 card family (830, 845, 852/855, 865,
807 915, 945, G33, Q33, Q35, Pineview).
808
809 %description dri-driver-intel-i915 -l pl.UTF-8
810 Sterownik X.org DRI dla rodziny kart Intel i915 (830, 845, 852/855,
811 865, 915, 945, G33, Q33, Q35, Pineview).
812
813 %package dri-driver-intel-i965
814 Summary:        X.org DRI driver for Intel i965 card family
815 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart Intel i965
816 License:        MIT
817 Group:          X11/Libraries
818 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
819 Requires:       xorg-xserver-server >= %{xserver_ver}
820 Requires:       zlib >= %{zlib_ver}
821 Obsoletes:      Mesa-dri-driver-intel-i830
822 Obsoletes:      X11-driver-i810-dri < 1:7.0.0
823
824 %description dri-driver-intel-i965
825 X.org (non-Gallium) DRI driver for Intel i965 card family (946GZ,
826 965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
827 Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
828 Braswell, Cherryview, Skylake, Broxton, Kabylake, Coffeelake,
829 Geminilake, Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart
830 Lake).
831
832 %description dri-driver-intel-i965 -l pl.UTF-8
833 Sterownik X.org DRI (nie Gallium) dla rodziny kart Intel i965 (946GZ,
834 965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
835 Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
836 Braswell, Cherryview, Skylake, Broxton, Kabylake, Coffeelake,
837 Geminilake, Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart
838 Lake).
839
840 %package dri-driver-intel-iris
841 Summary:        X.org DRI driver for Intel Iris (Gen8+) card family
842 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart Intel Iris (Gen8+)
843 License:        MIT
844 Group:          X11/Libraries
845 %{?with_swr:Requires:   cpuinfo(avx)}
846 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
847 Requires:       xorg-xserver-server >= %{xserver_ver}
848 Requires:       zlib >= %{zlib_ver}
849
850 %description dri-driver-intel-iris
851 X.org Gallium DRI driver for Intel Iris (Gen8+) card family
852 (Broadwell, Skylake, Broxton, Kabylake, Coffeelake, Geminilake,
853 Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart Lake).
854
855 %description dri-driver-intel-iris -l pl.UTF-8
856 Sterownik X.org DRI Gallium dla rodziny kart Intel Iris (Gen8+:
857 Broadwell, Skylake, Broxton, Kabylake, Coffeelake, Geminilake,
858 Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart Lake).
859
860 %package dri-driver-kmsro
861 Summary:        X.org Gallium DRI driver using KMS Render-Only architecture
862 Summary(pl.UTF-8):      Sterownik X.org DRI Gallium wykorzystujący architekturę KMS Render-Only
863 License:        MIT
864 Group:          X11/Libraries
865 %{?with_swr:Requires:   cpuinfo(avx)}
866 #Requires:      xorg-driver-video-?
867 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
868 Requires:       xorg-xserver-server >= %{xserver_ver}
869 Requires:       zlib >= %{zlib_ver}
870
871 %description dri-driver-kmsro
872 X.org Gallium DRI driver using KMS Render-Only architecture.
873
874 %description dri-driver-kmsro -l pl.UTF-8
875 Sterownik X.org DRI Gallium wykorzystujący architekturę KMS
876 Render-Only.
877
878 %package dri-driver-lima
879 Summary:        X.org DRI driver for Mali Utgard chips
880 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Mali Utgard
881 License:        MIT
882 Group:          X11/Libraries
883 %{?with_swr:Requires:   cpuinfo(avx)}
884 #Requires:      xorg-driver-video-???
885 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
886 Requires:       xorg-xserver-server >= %{xserver_ver}
887 Requires:       zlib >= %{zlib_ver}
888
889 %description dri-driver-lima
890 X.org Gallium DRI driver for Mali Utgard chips.
891
892 %description dri-driver-lima -l pl.UTF-8
893 Sterownik X.org DRI Gallium dla układów Mali Utgard.
894
895 %package dri-driver-nouveau
896 Summary:        X.org DRI driver for NVIDIA card family
897 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart NVIDIA
898 License:        MIT
899 Group:          X11/Libraries
900 %if %{with gallium_nouveau}
901 %{?with_swr:Requires:   cpuinfo(avx)}
902 %endif
903 Requires:       xorg-driver-video-nouveau
904 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
905 Requires:       xorg-xserver-server >= %{xserver_ver}
906 Requires:       zlib >= %{zlib_ver}
907
908 %description dri-driver-nouveau
909 X.org DRI drivers for NVIDIA card family.
910
911 %description dri-driver-nouveau -l pl.UTF-8
912 Sterowniki X.org DRI dla rodziny kart NVIDIA.
913
914 %package dri-driver-panfrost
915 Summary:        X.org DRI driver for Mali Midgard/Bifrost chips
916 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Mali Midgard/Bifrost
917 License:        MIT
918 Group:          X11/Libraries
919 %{?with_swr:Requires:   cpuinfo(avx)}
920 #Requires:      xorg-driver-video-???
921 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
922 Requires:       xorg-xserver-server >= %{xserver_ver}
923 Requires:       zlib >= %{zlib_ver}
924
925 %description dri-driver-panfrost
926 X.org Gallium DRI driver for Mali Midgard/Bifrost chips.
927
928 %description dri-driver-panfrost -l pl.UTF-8
929 Sterownik X.org DRI Gallium dla układów Mali Midgard/Bifrost.
930
931 %package dri-driver-swrast
932 Summary:        X.org DRI software rasterizer driver
933 Summary(pl.UTF-8):      Sterownik X.org DRI obsługujący rysowanie programowe
934 License:        MIT
935 Group:          X11/Libraries
936 %{?with_swr:Requires:   cpuinfo(avx)}
937 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
938 Requires:       xorg-xserver-server >= %{xserver_ver}
939 Requires:       zlib >= %{zlib_ver}
940
941 %description dri-driver-swrast
942 X.org DRI software rasterizer driver.
943
944 %description dri-driver-swrast -l pl.UTF-8
945 Sterownik X.org DRI obsługujący rysowanie programowe.
946
947 %package dri-driver-tegra
948 Summary:        X.org DRI driver for Tegra SoC chips
949 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów SoC Tegra
950 License:        MIT
951 Group:          X11/Libraries
952 %{?with_swr:Requires:   cpuinfo(avx)}
953 #Requires:      xorg-driver-video-???
954 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
955 Requires:       xorg-xserver-server >= %{xserver_ver}
956 Requires:       zlib >= %{zlib_ver}
957
958 %description dri-driver-tegra
959 X.org Gallium DRI driver for Tegra SoC chips.
960
961 %description dri-driver-tegra -l pl.UTF-8
962 Sterownik X.org DRI Gallium dla układów Tegra SoC.
963
964 %package dri-driver-v3d
965 Summary:        X.org DRI driver for Broadcom VC5 chips
966 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Broadcom VC5
967 License:        MIT
968 Group:          X11/Libraries
969 %{?with_swr:Requires:   cpuinfo(avx)}
970 Requires:       xorg-driver-video-modesetting
971 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
972 Requires:       xorg-xserver-server >= %{xserver_ver}
973 Requires:       zlib >= %{zlib_ver}
974
975 %description dri-driver-v3d
976 X.org Gallium DRI driver for Broadcom VC5 chips.
977
978 %description dri-driver-v3d -l pl.UTF-8
979 Sterownik X.org DRI Gallium dla układów Broadcom VC5.
980
981 %package dri-driver-vc4
982 Summary:        X.org DRI driver for Broadcom VC4 chips
983 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Broadcom VC4
984 License:        MIT
985 Group:          X11/Libraries
986 %{?with_swr:Requires:   cpuinfo(avx)}
987 Requires:       xorg-driver-video-modesetting
988 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
989 Requires:       xorg-xserver-server >= %{xserver_ver}
990 Requires:       zlib >= %{zlib_ver}
991
992 %description dri-driver-vc4
993 X.org Gallium DRI driver for Broadcom VC4 chips.
994
995 %description dri-driver-vc4 -l pl.UTF-8
996 Sterownik X.org DRI Gallium dla układów Broadcom VC4.
997
998 %package dri-driver-virgl
999 Summary:        X.org DRI driver for QEMU VirGL
1000 Summary(pl.UTF-8):      Sterownik X.org DRI dla QEMU VirGL
1001 License:        MIT
1002 Group:          X11/Libraries
1003 %{?with_swr:Requires:   cpuinfo(avx)}
1004 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
1005 Requires:       xorg-xserver-server >= %{xserver_ver}
1006 Requires:       zlib >= %{zlib_ver}
1007
1008 %description dri-driver-virgl
1009 X.org Gallium DRI driver for QEMU VirGL.
1010
1011 %description dri-driver-virgl -l pl.UTF-8
1012 Sterownik X.org DRI Gallium dla QEMU VirGL.
1013
1014 %package dri-driver-vmwgfx
1015 Summary:        X.org DRI driver for VMware
1016 Summary(pl.UTF-8):      Sterownik X.org DRI dla VMware
1017 License:        MIT
1018 Group:          X11/Libraries
1019 %{?with_swr:Requires:   cpuinfo(avx)}
1020 Requires:       xorg-driver-video-vmware
1021 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
1022 Requires:       xorg-xserver-server >= %{xserver_ver}
1023 Requires:       zlib >= %{zlib_ver}
1024
1025 %description dri-driver-vmwgfx
1026 X.org Gallium DRI driver for VMWare.
1027
1028 %description dri-driver-vmwgfx -l pl.UTF-8
1029 Sterownik X.org DRI Gallium dla VMware.
1030
1031 %package dri-driver-zink
1032 Summary:        X.org DRI driver based on Vulkan
1033 Summary(pl.UTF-8):      Sterownik X.org DRI oparty na Vulkanie
1034 License:        MIT
1035 Group:          X11/Libraries
1036 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
1037 Requires:       xorg-xserver-server >= %{xserver_ver}
1038 Requires:       zlib >= %{zlib_ver}
1039
1040 %description dri-driver-zink
1041 X.org Gallium DRI driver based on Vulkan.
1042
1043 %description dri-driver-zink -l pl.UTF-8
1044 Sterownik X.org DRI Gallium oparty na Vulkanie.
1045
1046 %package pipe-driver-i915
1047 Summary:       i915 driver for Mesa Gallium dynamic pipe loader
1048 Summary(pl.UTF-8):     Sterownik i915 dla dynamicznego systemu potoków szkieletu Mesa Gallium
1049 Group:         Libraries
1050 Requires:      zlib >= %{zlib_ver}
1051 Obsoletes:     Mesa-gbm-driver-i915
1052 Obsoletes:     Mesa-opencl-driver-i915
1053
1054 %description pipe-driver-i915
1055 i915 driver for Mesa Gallium dynamic pipe loader. It supports Intel
1056 915/945/G33/Q33/Q35/Pineview chips.
1057
1058 %description pipe-driver-i915 -l pl.UTF-8
1059 Sterownik i915 dla dynamicznego systemu potoków szkieletu Mesa
1060 Gallium. Obsługuje układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
1061
1062 %package pipe-driver-msm
1063 Summary:        msm (freedreno) driver for Mesa Gallium dynamic pipe loader
1064 Summary(pl.UTF-8):      Sterownik msm (freedreno) dla dynamicznego systemu potoków szkieletu Mesa Gallium
1065 Group:          Libraries
1066 Requires:       zlib >= %{zlib_ver}
1067
1068 %description pipe-driver-msm
1069 msm (freedreno) driver for Mesa Gallium dynamic pipe loader. It
1070 supports Adreno chips.
1071
1072 %description pipe-driver-msm -l pl.UTF-8
1073 Sterownik msm (freedreno) dla dynamicznego systemu potoków szkieletu
1074 Mesa Gallium. Obsługuje układy Adreno.
1075
1076 %package pipe-driver-nouveau
1077 Summary:        nouveau driver for Mesa Gallium dynamic pipe loader
1078 Summary(pl.UTF-8):      Sterownik nouveau dla dynamicznego systemu potoków szkieletu Mesa Gallium
1079 Group:          Libraries
1080 Requires:       zlib >= %{zlib_ver}
1081 Obsoletes:      Mesa-gbm-driver-nouveau
1082 Obsoletes:      Mesa-opencl-driver-nouveau
1083
1084 %description pipe-driver-nouveau
1085 nouveau driver for Mesa Gallium dynamic pipe loader. It supports
1086 NVidia adapters.
1087
1088 %description pipe-driver-nouveau -l pl.UTF-8
1089 Sterownik nouveau dla dynamicznego systemu potoków szkieletu Mesa
1090 Gallium. Obsługuje karty graficzne firmy NVidia.
1091
1092 %package pipe-driver-r300
1093 Summary:        r300 driver for Mesa Gallium dynamic pipe loader
1094 Summary(pl.UTF-8):      Sterownik r300 dla dynamicznego systemu potoków szkieletu Mesa Gallium
1095 Group:          Libraries
1096 Requires:       zlib >= %{zlib_ver}
1097 Obsoletes:      Mesa-gbm-driver-r300
1098 Obsoletes:      Mesa-opencl-driver-r300
1099
1100 %description pipe-driver-r300
1101 r300 driver for Mesa Gallium dynamic pipe loader. It supports ATI
1102 Radeon adapters based on R300/R400/RS690/R500 chips.
1103
1104 %description pipe-driver-r300 -l pl.UTF-8
1105 Sterownik r300 dla dynamicznego systemu potoków szkieletu Mesa
1106 Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1107 R300/R400/RS690/R500.
1108
1109 %package pipe-driver-r600
1110 Summary:        r600 driver for Mesa Gallium dynamic pipe loader
1111 Summary(pl.UTF-8):      Sterownik r600 dla dynamicznego systemu potoków szkieletu Mesa Gallium
1112 Group:          Libraries
1113 Requires:       zlib >= %{zlib_ver}
1114 Obsoletes:      Mesa-gbm-driver-r600
1115 Obsoletes:      Mesa-libllvmradeon
1116 Obsoletes:      Mesa-opencl-driver-r600
1117
1118 %description pipe-driver-r600
1119 r600 driver for Mesa Gallium dynamic pipe loader. It supports ATI
1120 Radeon adapters based on R600/R700 chips.
1121
1122 %description pipe-driver-r600 -l pl.UTF-8
1123 Sterownik r600 dla dynamicznego systemu potoków szkieletu Mesa
1124 Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1125 R600/R700.
1126
1127 %package pipe-driver-radeonsi
1128 Summary:        radeonsi driver for Mesa Gallium dynamic pipe loader
1129 Summary(pl.UTF-8):      Sterownik radeonsi dla dynamicznego systemu potoków szkieletu Mesa Gallium
1130 Group:          Libraries
1131 Requires:       zlib >= %{zlib_ver}
1132 Obsoletes:      Mesa-gbm-driver-radeonsi
1133 Obsoletes:      Mesa-libllvmradeon
1134 Obsoletes:      Mesa-opencl-driver-radeonsi
1135
1136 %description pipe-driver-radeonsi
1137 radeonsi driver for Mesa Gallium dynamic pipe loader. It supports ATI
1138 Radeon adapters based on Southern Islands chips.
1139
1140 %description pipe-driver-radeonsi -l pl.UTF-8
1141 Sterownik radeonsi dla dynamicznego systemu potoków szkieletu Mesa
1142 Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1143 Southern Islands.
1144
1145 %package pipe-driver-swrast
1146 Summary:        Software (swrast) driver for Mesa Gallium dynamic pipe loader
1147 Summary(pl.UTF-8):      Sterownik programowy (swrast) dla dynamicznego systemu potoków szkieletu Mesa Gallium
1148 Group:          Libraries
1149 %{?with_swr:Requires:   cpuinfo(avx)}
1150 Requires:       zlib >= %{zlib_ver}
1151 Obsoletes:      Mesa-gbm-driver-swrast
1152 Obsoletes:      Mesa-opencl-driver-swrast
1153
1154 %description pipe-driver-swrast
1155 Software (swrast) driver for Mesa Gallium dynamic pipe loader.
1156
1157 %description pipe-driver-swrast -l pl.UTF-8
1158 Sterownik programowy (swrast) dla dynamicznego systemu potoków
1159 szkieletu Mesa Gallium.
1160
1161 %package pipe-driver-vmwgfx
1162 Summary:        vmwgfx driver for Mesa Gallium dynamic pipe loader
1163 Summary(pl.UTF-8):      Sterownik vmwgfx dla dynamicznego systemu potoków szkieletu Mesa Gallium
1164 Group:          Libraries
1165 Requires:       zlib >= %{zlib_ver}
1166 Obsoletes:      Mesa-gbm-driver-vmwgfx
1167 Obsoletes:      Mesa-opencl-driver-vmwgfx
1168
1169 %description pipe-driver-vmwgfx
1170 vmwgfx driver for Mesa Gallium dynamic pipe loader. It supports VMware
1171 virtual video adapter.
1172
1173 %description pipe-driver-vmwgfx -l pl.UTF-8
1174 Sterownik vmwgfx dla dynamicznego systemu potoków szkieletu Mesa
1175 Gallium. Obsługuje wirtualną kartę graficzną VMware.
1176
1177 %package swr
1178 Summary:        OpenSWR software rasterizer modules for Mesa
1179 Summary(pl.UTF-8):      Moduły programowego rasteryzera OpenSWR dla Mesy
1180 Group:          Libraries
1181 Requires:       cpuinfo(avx)
1182 Requires:       zlib >= %{zlib_ver}
1183
1184 %description swr
1185 OpenSWR software rasterizer modules for Mesa, utilizing x86 AVX or
1186 VX2 instruction sets. They can be loaded by swrast pipe driver or
1187 OSMesa library.
1188
1189 %description swr -l pl.UTF-8
1190 Moduły programowego rasteryzera OpenSWR dla Mesy, wykorzystujące
1191 zestawy instrukcji x86 AVX lub AVX2. Mogą być wczytywane przez
1192 sterownik potoków swrast lub bibliotekę OSMesa.
1193
1194 %package d3d
1195 Summary:        Nine Direct3D9 driver (for Wine)
1196 Summary(pl.UTF-8):      Sterownik Direct3D9 Nine (dla Wine)
1197 Group:          Libraries
1198 Requires:       libdrm >= %{libdrm_ver}
1199 Requires:       zlib >= %{zlib_ver}
1200
1201 %description d3d
1202 Nine Direct3D9 driver (for Wine).
1203
1204 %description d3d -l pl.UTF-8
1205 Sterownik Direct3D9 Nine (dla Wine).
1206
1207 %package d3d-devel
1208 Summary:        Nine Direct3D9 driver API
1209 Summary(pl.UTF-8):      API sterownika Direct3D9 Nine
1210 Group:          Development/Libraries
1211 Requires:       libdrm-devel >= %{libdrm_ver}
1212
1213 %description d3d-devel
1214 Nine Direct3D9 driver API.
1215
1216 %description d3d-devel -l pl.UTF-8
1217 API sterownika Direct3D9 Nine.
1218
1219 %package -n libvdpau-driver-mesa-nouveau
1220 Summary:        Mesa nouveau driver for the vdpau API
1221 Summary(pl.UTF-8):      Sterownik Mesa nouveau dla API vdpau
1222 License:        MIT
1223 Group:          X11/Libraries
1224 Requires:       libdrm >= %{libdrm_ver}
1225 Requires:       libvdpau >= 1.1
1226 Requires:       zlib >= %{zlib_ver}
1227 Conflicts:      libvdpau-driver-mesa
1228
1229 %description -n libvdpau-driver-mesa-nouveau
1230 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
1231 (NV40-NV96, NVa0).
1232
1233 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
1234 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
1235 (NV40-NV96, NVa0).
1236
1237 %package -n libvdpau-driver-mesa-r300
1238 Summary:        Mesa r300 driver for the vdpau API
1239 Summary(pl.UTF-8):      Sterownik Mesa r300 dla API vdpau
1240 License:        MIT
1241 Group:          X11/Libraries
1242 Requires:       libdrm >= %{libdrm_ver}
1243 Requires:       libvdpau >= 1.1
1244 Requires:       zlib >= %{zlib_ver}
1245 Conflicts:      libvdpau-driver-mesa
1246
1247 %description -n libvdpau-driver-mesa-r300
1248 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1249 based on R300 chips.
1250
1251 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1252 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1253 na układach R300.
1254
1255 %package -n libvdpau-driver-mesa-r600
1256 Summary:        Mesa r600 driver for the vdpau API
1257 Summary(pl.UTF-8):      Sterownik Mesa r600 dla API vdpau
1258 License:        MIT
1259 Group:          X11/Libraries
1260 Requires:       libdrm >= %{libdrm_ver}
1261 Requires:       libvdpau >= 1.1
1262 Requires:       zlib >= %{zlib_ver}
1263 Conflicts:      libvdpau-driver-mesa
1264
1265 %description -n libvdpau-driver-mesa-r600
1266 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1267 based on R600/R700 chips.
1268
1269 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1270 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1271 na układach R600/R700.
1272
1273 %package -n libvdpau-driver-mesa-radeonsi
1274 Summary:        Mesa radeonsi driver for the vdpau API
1275 Summary(pl.UTF-8):      Sterownik Mesa radeonsi dla API vdpau
1276 License:        MIT
1277 Group:          X11/Libraries
1278 Requires:       libdrm >= %{libdrm_ver}
1279 Requires:       libvdpau >= 1.1
1280 Requires:       zlib >= %{zlib_ver}
1281 Conflicts:      libvdpau-driver-mesa
1282 Obsoletes:      Mesa-libllvmradeon
1283
1284 %description -n libvdpau-driver-mesa-radeonsi
1285 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1286 adapters based on Southern Islands chips.
1287
1288 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1289 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1290 oparte na układach Southern Islands.
1291
1292 %package -n omxil-mesa
1293 Summary:        Mesa driver for Bellagio OpenMAX IL API
1294 Summary(pl.UTF-8):      Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1295 License:        MIT
1296 Group:          X11/Libraries
1297 Requires:       libdrm >= %{libdrm_ver}
1298 Requires:       libxcb >= 1.13
1299 Requires:       libomxil-bellagio
1300 Requires:       zlib >= %{zlib_ver}
1301 Obsoletes:      omxil-mesa-nouveau
1302 Obsoletes:      omxil-mesa-r600
1303 Obsoletes:      omxil-mesa-radeonsi
1304
1305 %description -n omxil-mesa
1306 Mesa driver for Bellagio OpenMAX IL API.
1307
1308 %description -n omxil-mesa -l pl.UTF-8
1309 Sterownik Mesa dla API Bellagio OpenMAX IL.
1310
1311 %package vulkan-icd-intel
1312 Summary:        Mesa Vulkan driver for Intel GPUs
1313 Summary(pl.UTF-8):      Sterownik Vulkan dla GPU firmy Intel
1314 License:        MIT
1315 Group:          Libraries
1316 Requires:       libdrm >= %{libdrm_ver}
1317 Requires:       libxcb >= 1.13
1318 Requires:       xorg-lib-libXrandr >= 1.3
1319 Requires:       xorg-lib-libxshmfence >= 1.1
1320 # wayland-client
1321 Requires:       wayland >= %{wayland_ver}
1322 Requires:       zlib >= %{zlib_ver}
1323 Suggests:       vulkan(loader)
1324 Provides:       vulkan(icd) = 1.0.3
1325
1326 %description vulkan-icd-intel
1327 Mesa Vulkan driver for Intel GPUs.
1328
1329 %description vulkan-icd-intel -l pl.UTF-8
1330 Sterownik Vulkan dla GPU Intela.
1331
1332 %package vulkan-icd-intel-devel
1333 Summary:        Header files for Mesa Intel GPU Vulkan driver
1334 Summary(pl.UTF-8):      Pliki nagłówkowe sterownika Vulkan dla GPU Intela
1335 License:        MIT
1336 Group:          Development/Libraries
1337 Requires:       %{name}-vulkan-icd-intel = %{version}-%{release}
1338
1339 %description vulkan-icd-intel-devel
1340 eader files for Mesa Intel GPU Vulkan driver.
1341
1342 %description vulkan-icd-intel-devel -l pl.UTF-8
1343 Pliki nagłówkowe sterownika Vulkan dla GPU Intel.
1344
1345 %package vulkan-icd-radeon
1346 Summary:        radv - experimental Mesa Vulkan driver for AMD Radeon GPUs
1347 Summary(pl.UTF-8):      radv - eksperymentalny sterownik Vulkan dla GPU firmy AMD
1348 License:        MIT
1349 Group:          Libraries
1350 Requires:       libdrm >= %{libdrm_ver}
1351 Requires:       libxcb >= 1.13
1352 Requires:       xorg-lib-libXrandr >= 1.3
1353 Requires:       xorg-lib-libxshmfence >= 1.1
1354 # wayland-client
1355 Requires:       wayland >= %{wayland_ver}
1356 Requires:       zlib >= %{zlib_ver}
1357 Suggests:       vulkan(loader)
1358 Provides:       vulkan(icd) = 1.0.3
1359
1360 %description vulkan-icd-radeon
1361 radv - experimental Mesa Vulkan driver for AMD Radeon GPUs.
1362
1363 %description vulkan-icd-radeon -l pl.UTF-8
1364 radv - eksperymentalny sterownik Vulkan dla GPU firmy AMD.
1365
1366 %prep
1367 %setup -q -n mesa-mesa-%{version}
1368 %patch0 -p1
1369 %patch1 -p1
1370 %patch2 -p1
1371 %patch3 -p1
1372
1373 %build
1374 %if %{with opencl}
1375 if [ "$(llvm-config --has-rtti)" != "YES" ] ; then
1376         echo "Clover (gallium OpenCL) requires LLVM with RTTI!"
1377         exit 1
1378 fi
1379 %endif
1380
1381 dri_drivers="nouveau r100 r200 \
1382 %if %{without gallium}
1383 swrast
1384 %endif
1385 %ifarch %{ix86} %{x8664} x32
1386 i965 %{!?with_gallium_i915:i915} \
1387 %endif
1388 "
1389
1390 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1391
1392 gallium_drivers="virgl swrast %{?with_gallium_zink:zink} \
1393 %ifarch %{ix86} %{x8664} x32
1394 svga iris %{?with_swr:swr} %{?with_gallium_i915:i915} \
1395 %endif
1396 %if %{with gallium_radeon}
1397 r300 r600 radeonsi \
1398 %endif
1399 %if %{with gallium_nouveau}
1400 nouveau
1401 %endif
1402 %ifarch %{arm} aarch64
1403 etnaviv \
1404 freedreno \
1405 kmsro \
1406 lima \
1407 panfrost \
1408 %{?with_gallium_nouveau:tegra} \
1409 v3d \
1410 vc4 \
1411 %endif
1412 "
1413
1414 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1415
1416 vulkan_drivers="%{?with_radv:amd} \
1417 %ifarch %{ix86} %{x8664} x32
1418 intel \
1419 %endif
1420 "
1421
1422 vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
1423
1424 %meson build \
1425         -Dplatforms=x11,drm%{?with_wayland:,wayland},surfaceless \
1426         -Ddri3=true \
1427         -Ddri-drivers=${dri_drivers} \
1428         -Ddri-drivers-path=%{_libdir}/xorg/modules/dri \
1429         -Degl=%{?with_egl:true}%{!?with_egl:false} \
1430         -Dgallium-drivers=${gallium_drivers} \
1431         %{?with_hud_extra:-Dgallium-extra-hud=true} \
1432         -Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
1433         -Dgallium-omx=%{?with_omx:bellagio}%{!?with_omx:disabled} \
1434 %if %{with opencl}
1435 %if %{with ocl_icd}
1436         -Dgallium-opencl=icd \
1437 %else
1438         -Dgallium-opencl=standalone \
1439 %endif
1440 %else
1441         -Dgallium-opencl=disabled \
1442 %endif
1443         -Dgallium-va=%{?with_va:true}%{!?with_va:false} \
1444         %{?with_vdpau:-Dgallium-vdpau=true} \
1445         %{?with_xvmc:-Dgallium-xvmc=true} \
1446         -Dgallium-xa=%{?with_xa:true}%{!?with_xa:false} \
1447         -Dgbm=%{?with_gbm:true}%{!?with_gbm:false} \
1448         -Dglvnd=%{?with_glvnd:true}%{!?with_glvnd:false} \
1449         -Dlibunwind=true \
1450         -Dlmsensors=%{?with_lm_sensors:true}%{!?with_lm_sensors:false} \
1451         %{?with_opencl_spirv:-Dopencl-spirv=true} \
1452         -Dosmesa=%{?with_gallium:gallium}%{!?with_gallium:classic} \
1453         -Dselinux=true \
1454         -Dva-libs-path=%{_libdir}/libva/dri \
1455         -Dvulkan-drivers=${vulkan_drivers} \
1456         -Dvulkan-icd-dir=/usr/share/vulkan/icd.d
1457
1458 %meson_build -C build
1459
1460 %{?with_tests:%meson_test -C build}
1461
1462 %install
1463 rm -rf $RPM_BUILD_ROOT
1464
1465 %meson_install -C build
1466
1467 # not used externally
1468 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1469
1470 %if %{without glvnd}
1471 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1472 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1473 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1474 %endif
1475
1476 %clean
1477 rm -rf $RPM_BUILD_ROOT
1478
1479 %post   libEGL -p /sbin/ldconfig
1480 %postun libEGL -p /sbin/ldconfig
1481
1482 %post   libGL -p /sbin/ldconfig
1483 %postun libGL -p /sbin/ldconfig
1484
1485 %post   libGLES -p /sbin/ldconfig
1486 %postun libGLES -p /sbin/ldconfig
1487
1488 %post   libOSMesa -p /sbin/ldconfig
1489 %postun libOSMesa -p /sbin/ldconfig
1490
1491 %post   libOpenCL -p /sbin/ldconfig
1492 %postun libOpenCL -p /sbin/ldconfig
1493
1494 %post   libXvMC-nouveau -p /sbin/ldconfig
1495 %postun libXvMC-nouveau -p /sbin/ldconfig
1496 %post   libXvMC-r600 -p /sbin/ldconfig
1497 %postun libXvMC-r600 -p /sbin/ldconfig
1498
1499 %post   libgbm -p /sbin/ldconfig
1500 %postun libgbm -p /sbin/ldconfig
1501
1502 %post   libglapi -p /sbin/ldconfig
1503 %postun libglapi -p /sbin/ldconfig
1504
1505 %post   libxatracker -p /sbin/ldconfig
1506 %postun libxatracker -p /sbin/ldconfig
1507
1508 %if %{with egl}
1509 %files libEGL
1510 %defattr(644,root,root,755)
1511 %if %{with glvnd}
1512 %attr(755,root,root) %{_libdir}/libEGL_mesa.so.*.*
1513 %attr(755,root,root) %ghost %{_libdir}/libEGL_mesa.so.0
1514 %{_datadir}/glvnd/egl_vendor.d/50_mesa.json
1515 %else
1516 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1517 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1518 %endif
1519
1520 %files libEGL-devel
1521 %defattr(644,root,root,755)
1522 %if %{with glvnd}
1523 %attr(755,root,root) %{_libdir}/libEGL_mesa.so
1524 %else
1525 %attr(755,root,root) %{_libdir}/libEGL.so
1526 %dir %{_includedir}/EGL
1527 %{_includedir}/EGL/egl.h
1528 %{_includedir}/EGL/eglext.h
1529 %{_includedir}/EGL/eglplatform.h
1530 %{_pkgconfigdir}/egl.pc
1531 %endif
1532 %{_includedir}/EGL/eglextchromium.h
1533 %{_includedir}/EGL/eglmesaext.h
1534 %endif
1535
1536 %files libGL
1537 %defattr(644,root,root,755)
1538 %doc docs/{*.html,README.UVD,features.txt,relnotes/*.html}
1539 %if %{with glvnd}
1540 %attr(755,root,root) %{_libdir}/libGLX_mesa.so.*.*
1541 %attr(755,root,root) %ghost %{_libdir}/libGLX_mesa.so.0
1542 %attr(755,root,root) %{_libdir}/libGLX_mesa.so
1543 %else
1544 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1545 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1546 # symlink for binary apps which fail to conform Linux OpenGL ABI
1547 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1548 %attr(755,root,root) %{_libdir}/libGL.so
1549 %endif
1550 %{_datadir}/drirc.d
1551
1552 %files libGL-devel
1553 %defattr(644,root,root,755)
1554 %doc docs/specs/*
1555 %if %{without glvnd}
1556 %dir %{_includedir}/GL
1557 %{_includedir}/GL/gl.h
1558 %{_includedir}/GL/glcorearb.h
1559 %{_includedir}/GL/glext.h
1560 %{_includedir}/GL/glx.h
1561 %{_includedir}/GL/glxext.h
1562 %{_pkgconfigdir}/gl.pc
1563 %endif
1564 %dir %{_includedir}/GL/internal
1565 %{_includedir}/GL/internal/dri_interface.h
1566 %{_pkgconfigdir}/dri.pc
1567
1568 %files libGLES
1569 %defattr(644,root,root,755)
1570 %if %{without glvnd}
1571 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1572 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1573 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1574 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1575 %endif
1576
1577 %files libGLES-devel
1578 %defattr(644,root,root,755)
1579 %if %{without glvnd}
1580 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1581 %attr(755,root,root) %{_libdir}/libGLESv2.so
1582 %{_includedir}/GLES
1583 %{_includedir}/GLES2
1584 %{_includedir}/GLES3
1585 %{_pkgconfigdir}/glesv1_cm.pc
1586 %{_pkgconfigdir}/glesv2.pc
1587 %endif
1588
1589 %files libOSMesa
1590 %defattr(644,root,root,755)
1591 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1592 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1593
1594 %files libOSMesa-devel
1595 %defattr(644,root,root,755)
1596 %attr(755,root,root) %{_libdir}/libOSMesa.so
1597 %{_includedir}/GL/osmesa.h
1598 %{_pkgconfigdir}/osmesa.pc
1599
1600 %if %{with opencl}
1601 %if %{with ocl_icd}
1602 %files OpenCL-icd
1603 %defattr(644,root,root,755)
1604 /etc/OpenCL/vendors/mesa.icd
1605 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1606 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1607 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1608 # currently only OpenCL uses dynamic pipe loader
1609 %dir %{_libdir}/gallium-pipe
1610 %else
1611 %files libOpenCL
1612 %defattr(644,root,root,755)
1613 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1614 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1615 # currently only OpenCL uses dynamic pipe loader
1616 %dir %{_libdir}/gallium-pipe
1617
1618 %files libOpenCL-devel
1619 %defattr(644,root,root,755)
1620 %attr(755,root,root) %{_libdir}/libOpenCL.so
1621 %{_includedir}/CL
1622 %endif
1623 %endif
1624
1625 %if %{with gallium}
1626 %if %{with gallium_nouveau}
1627 %files libXvMC-nouveau
1628 %defattr(644,root,root,755)
1629 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so
1630 %endif
1631
1632 %if %{with gallium_radeon}
1633 %files libXvMC-r600
1634 %defattr(644,root,root,755)
1635 %attr(755,root,root) %{_libdir}/libXvMCr600.so
1636 %endif
1637
1638 %if %{with va}
1639 %files -n libva-driver-gallium
1640 %defattr(644,root,root,755)
1641
1642 %if %{with gallium_radeon}
1643 %files -n libva-driver-r600
1644 %defattr(644,root,root,755)
1645 %attr(755,root,root) %{_libdir}/libva/dri/r600_drv_video.so
1646
1647 %files -n libva-driver-radeonsi
1648 %defattr(644,root,root,755)
1649 %attr(755,root,root) %{_libdir}/libva/dri/radeonsi_drv_video.so
1650 %endif
1651
1652 %if %{with gallium_nouveau}
1653 %files -n libva-driver-nouveau
1654 %defattr(644,root,root,755)
1655 %attr(755,root,root) %{_libdir}/libva/dri/nouveau_drv_video.so
1656 %endif
1657 %endif
1658 %endif
1659
1660 %if %{with gbm}
1661 %files libgbm
1662 %defattr(644,root,root,755)
1663 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1664 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1665
1666 %files libgbm-devel
1667 %defattr(644,root,root,755)
1668 %attr(755,root,root) %{_libdir}/libgbm.so
1669 %{_includedir}/gbm.h
1670 %{_pkgconfigdir}/gbm.pc
1671 %endif
1672
1673 %files libglapi
1674 %defattr(644,root,root,755)
1675 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1676 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1677 # libglapi-devel? nothing seems to need it atm.
1678 #%attr(755,root,root) %{_libdir}/libglapi.so
1679
1680 %if %{with xa}
1681 %files libxatracker
1682 %defattr(644,root,root,755)
1683 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1684 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1685
1686 %files libxatracker-devel
1687 %defattr(644,root,root,755)
1688 %attr(755,root,root) %{_libdir}/libxatracker.so
1689 %{_includedir}/xa_composite.h
1690 %{_includedir}/xa_context.h
1691 %{_includedir}/xa_tracker.h
1692 %{_pkgconfigdir}/xatracker.pc
1693 %endif
1694
1695 %if %{with egl}
1696 %if %{without glvnd}
1697 %files khrplatform-devel
1698 %defattr(644,root,root,755)
1699 %dir %{_includedir}/KHR
1700 %{_includedir}/KHR/khrplatform.h
1701 %endif
1702 %endif
1703
1704 %files dri-driver-ati-radeon-R100
1705 %defattr(644,root,root,755)
1706 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1707
1708 %files dri-driver-ati-radeon-R200
1709 %defattr(644,root,root,755)
1710 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1711
1712 %if %{with gallium}
1713 %if %{with gallium_radeon}
1714 %files dri-driver-ati-radeon-R300
1715 %defattr(644,root,root,755)
1716 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1717
1718 %files dri-driver-ati-radeon-R600
1719 %defattr(644,root,root,755)
1720 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1721
1722 %files dri-driver-ati-radeon-SI
1723 %defattr(644,root,root,755)
1724 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1725 %endif
1726 %endif
1727
1728 %ifarch %{ix86} %{x8664} x32
1729 %files dri-driver-intel-i915
1730 %defattr(644,root,root,755)
1731 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1732
1733 %files dri-driver-intel-i965
1734 %defattr(644,root,root,755)
1735 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1736
1737 %if %{with gallium}
1738 %files dri-driver-intel-iris
1739 %defattr(644,root,root,755)
1740 %attr(755,root,root) %{_libdir}/xorg/modules/dri/iris_dri.so
1741 %endif
1742 %endif
1743
1744 %files dri-driver-nouveau
1745 %defattr(644,root,root,755)
1746 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1747 %if %{with gallium_nouveau}
1748 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1749 %endif
1750
1751 %files dri-driver-swrast
1752 %defattr(644,root,root,755)
1753 %if %{with gallium}
1754 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1755 %endif
1756 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1757
1758 %if %{with gallium}
1759 %ifarch %{arm} aarch64
1760 %files dri-driver-etnaviv
1761 %defattr(644,root,root,755)
1762 %attr(755,root,root) %{_libdir}/xorg/modules/dri/etnaviv_dri.so
1763
1764 %files dri-driver-freedreno
1765 %defattr(644,root,root,755)
1766 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kgsl_dri.so
1767 %attr(755,root,root) %{_libdir}/xorg/modules/dri/msm_dri.so
1768
1769 %files dri-driver-kmsro
1770 %defattr(644,root,root,755)
1771 %attr(755,root,root) %{_libdir}/xorg/modules/dri/armada-drm_dri.so
1772 %attr(755,root,root) %{_libdir}/xorg/modules/dri/exynos_dri.so
1773 %attr(755,root,root) %{_libdir}/xorg/modules/dri/hx8357d_dri.so
1774 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ili9225_dri.so
1775 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ili9341_dri.so
1776 %attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-drm_dri.so
1777 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ingenic-drm_dri.so
1778 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mcde_dri.so
1779 %attr(755,root,root) %{_libdir}/xorg/modules/dri/meson_dri.so
1780 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mi0283qt_dri.so
1781 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mxsfb-drm_dri.so
1782 %attr(755,root,root) %{_libdir}/xorg/modules/dri/pl111_dri.so
1783 %attr(755,root,root) %{_libdir}/xorg/modules/dri/repaper_dri.so
1784 %attr(755,root,root) %{_libdir}/xorg/modules/dri/rockchip_dri.so
1785 %attr(755,root,root) %{_libdir}/xorg/modules/dri/st7586_dri.so
1786 %attr(755,root,root) %{_libdir}/xorg/modules/dri/st7735r_dri.so
1787 %attr(755,root,root) %{_libdir}/xorg/modules/dri/stm_dri.so
1788 %attr(755,root,root) %{_libdir}/xorg/modules/dri/sun4i-drm_dri.so
1789
1790 %files dri-driver-lima
1791 %defattr(644,root,root,755)
1792 %attr(755,root,root) %{_libdir}/xorg/modules/dri/lima_dri.so
1793
1794 %files dri-driver-panfrost
1795 %defattr(644,root,root,755)
1796 %attr(755,root,root) %{_libdir}/xorg/modules/dri/panfrost_dri.so
1797
1798 %if %{with gallium_nouveau}
1799 %files dri-driver-tegra
1800 %defattr(644,root,root,755)
1801 %attr(755,root,root) %{_libdir}/xorg/modules/dri/tegra_dri.so
1802 %endif
1803
1804 %files dri-driver-v3d
1805 %defattr(644,root,root,755)
1806 %attr(755,root,root) %{_libdir}/xorg/modules/dri/v3d_dri.so
1807
1808 %files dri-driver-vc4
1809 %defattr(644,root,root,755)
1810 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vc4_dri.so
1811 %endif
1812
1813 %files dri-driver-virgl
1814 %defattr(644,root,root,755)
1815 %attr(755,root,root) %{_libdir}/xorg/modules/dri/virtio_gpu_dri.so
1816
1817 %ifarch %{ix86} %{x8664} x32
1818 %files dri-driver-vmwgfx
1819 %defattr(644,root,root,755)
1820 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1821 %endif
1822
1823 %if %{with gallium_zink}
1824 %files dri-driver-zink
1825 %defattr(644,root,root,755)
1826 %attr(755,root,root) %{_libdir}/xorg/modules/dri/zink_dri.so
1827 %endif
1828 %endif
1829
1830 %if %{with gallium}
1831 %if %{with opencl}
1832 %ifarch %{ix86} %{x8664} x32
1833 %if %{with gallium_i915}
1834 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1835 %endif
1836 %endif
1837
1838 %ifarch %{arm}
1839 %files pipe-driver-msm
1840 %defattr(644,root,root,755)
1841 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_msm.so
1842 %endif
1843
1844 %if %{with gallium_nouveau}
1845 %files pipe-driver-nouveau
1846 %defattr(644,root,root,755)
1847 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1848 %endif
1849
1850 %if %{with gallium_radeon}
1851 %files pipe-driver-r300
1852 %defattr(644,root,root,755)
1853 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1854
1855 %files pipe-driver-r600
1856 %defattr(644,root,root,755)
1857 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1858
1859 %files pipe-driver-radeonsi
1860 %defattr(644,root,root,755)
1861 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1862 %endif
1863
1864 %files pipe-driver-swrast
1865 %defattr(644,root,root,755)
1866 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1867
1868 %files pipe-driver-vmwgfx
1869 %defattr(644,root,root,755)
1870 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1871 %endif
1872
1873 # currently disabled as cannot be built with swrast
1874 %if %{with swr}
1875 %files swr
1876 %defattr(644,root,root,755)
1877 %attr(755,root,root) %{_libdir}/libswrAVX.so*
1878 %attr(755,root,root) %{_libdir}/libswrAVX2.so*
1879 %endif
1880 %endif
1881
1882 %if %{with nine}
1883 %files d3d
1884 %defattr(644,root,root,755)
1885 %dir %{_libdir}/d3d
1886 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1887
1888 %files d3d-devel
1889 %defattr(644,root,root,755)
1890 %{_includedir}/d3dadapter
1891 %{_pkgconfigdir}/d3d.pc
1892 %endif
1893
1894 %if %{with gallium}
1895 # ldconfig is not used in vdpau tree, so package all symlinks
1896 %if %{with gallium_nouveau}
1897 %files -n libvdpau-driver-mesa-nouveau
1898 %defattr(644,root,root,755)
1899 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1900 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1901 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1902 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1903 %endif
1904
1905 %if %{with gallium_radeon}
1906 %files -n libvdpau-driver-mesa-r300
1907 %defattr(644,root,root,755)
1908 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1909 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1910 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1911 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1912
1913 %files -n libvdpau-driver-mesa-r600
1914 %defattr(644,root,root,755)
1915 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1916 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1917 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1918 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1919
1920 %files -n libvdpau-driver-mesa-radeonsi
1921 %defattr(644,root,root,755)
1922 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1923 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
1924 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1925 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1926 %endif
1927 %endif
1928
1929 %if %{with gallium} && %{with omx}
1930 %files -n omxil-mesa
1931 %defattr(644,root,root,755)
1932 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so
1933 %endif
1934
1935 %ifarch %{ix86} %{x8664} x32
1936 %files vulkan-icd-intel
1937 %defattr(644,root,root,755)
1938 %attr(755,root,root) %{_libdir}/libvulkan_intel.so
1939 %{_datadir}/vulkan/icd.d/intel_icd.*.json
1940
1941 %files vulkan-icd-intel-devel
1942 %defattr(644,root,root,755)
1943 %{_includedir}/vulkan/vulkan_intel.h
1944 %endif
1945
1946 %if %{with radv}
1947 %files vulkan-icd-radeon
1948 %defattr(644,root,root,755)
1949 %attr(755,root,root) %{_libdir}/libvulkan_radeon.so
1950 %{_datadir}/vulkan/icd.d/radeon_icd.*.json
1951 %endif
This page took 0.314085 seconds and 2 git commands to generate.