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