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