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