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