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