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