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