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