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