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