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