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