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