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