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