]> git.pld-linux.org Git - packages/Mesa.git/blame - Mesa.spec
Version: 18.1.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
fcf94429 62Version: 18.1.8
95963d9d 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
fcf94429 67# Source0-md5: d2d1de1e338e63877f753ab9d66ba597
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 84%{?with_va:BuildRequires: libva-devel >= 1.6.0}
70d79cdc 85%{?with_va:BuildRequires: pkgconfig(libva) >= 0.39.0}
7731a383 86BuildRequires: libvdpau-devel >= 1.1
61bd8431 87BuildRequires: libxcb-devel >= 1.13
701cacda 88# gallium core requires 3.3.0, OpenCL/r600 require 3.9.0, swr/radeonsi/radv 4.0.0
70d79cdc
JK
89%{?with_gallium:BuildRequires: llvm-devel >= 4.0}
90%{?with_radv:BuildRequires: llvm-devel >= 4.0}
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}
61bd8431 224Requires: libxcb >= 1.13
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
a0b2836a 1267
1268%build
5853b3ab
JB
1269%{__libtoolize}
1270%{__aclocal} -I m4
bb686270 1271%{__autoconf}
5853b3ab 1272%{__automake}
a5afae62 1273
fae799e6
JB
1274dri_drivers="nouveau r200 radeon swrast \
1275%ifarch %{ix86} %{x8664} x32
1276i965 %{!?with_gallium_i915:i915} \
a5afae62 1277%endif
fae799e6 1278"
59f12de8
AM
1279
1280dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1281
fae799e6
JB
1282gallium_drivers="svga swrast virgl \
1283%ifarch %{ix86} %{x8664} x32
31bd116a 1284swr %{?with_gallium_i915:i915} \
c1d2b5e2 1285%endif
56313830 1286%if %{with gallium_radeon}
fae799e6 1287r300 r600 radeonsi \
56313830 1288%endif
45300693 1289%if %{with gallium_nouveau}
0784ce78 1290nouveau
c1d2b5e2 1291%endif
415f6760 1292%ifarch %{arm}
fae799e6 1293etnaviv \
f31a332e 1294freedreno \
fae799e6 1295imx \
f31a332e
JB
1296vc4 \
1297%endif
c1d2b5e2
AM
1298"
1299
1300gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1301
fae799e6
JB
1302vulkan_drivers="%{?with_radv:radeon} \
1303%ifarch %{ix86} %{x8664} x32
1304intel \
1305%endif
1306"
1307
1308vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
075ec3a3 1309
700470bd 1310%configure \
4799b78a 1311 --disable-silent-rules \
9bfb354d 1312 %{__enable gbm} \
b4a5c074 1313 --enable-glx-tls \
415f6760 1314 %{?with_glvnd:--enable-libglvnd} \
700470bd 1315 --enable-osmesa \
c885f99e 1316 --enable-selinux \
1f730540 1317 --enable-shared \
f566cdfa 1318 --enable-shared-glapi \
c885f99e 1319 %{?with_static_libs:--enable-static} \
3f1b1b5d 1320 %{?with_texture_float:--enable-texture-float} \
c885f99e
JB
1321%if %{with egl}
1322 --enable-egl \
1323 --enable-gles1 \
1324 --enable-gles2 \
9c1f9f63 1325 --with-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
c885f99e 1326%endif
5f574b4b 1327%if %{with gallium}
415f6760 1328 %{?with_hud_extra:--enable-gallium-extra-hud} \
31bd116a 1329 --enable-llvm \
68ef4b3b 1330 %{__enable_disable shared_llvm llvm-shared-libs} \
ff879d59 1331 %{__enable ocl_icd opencl-icd} \
415f6760 1332 %{?with_lm_sensors:--enable-lmsensors} \
1f730540
JB
1333 %{?with_nine:--enable-nine} \
1334 %{__enable opencl} \
075ec3a3 1335 %{__enable va} \
9bfb354d 1336 --enable-vdpau \
3383c4da 1337 %{?with_omx:--enable-omx-bellagio} \
a651d613 1338 %{?with_xa:--enable-xa} \
9bfb354d 1339 --enable-xvmc \
c1d2b5e2 1340 --with-gallium-drivers=${gallium_drivers} \
5f574b4b 1341%else
5eb992a8 1342 --without-gallium-drivers \
5f574b4b 1343%endif
e481f96e
JR
1344 --with-dri-drivers=${dri_drivers} \
1345 --with-dri-driverdir=%{_libdir}/xorg/modules/dri \
075ec3a3
JK
1346 --with-vulkan-drivers=${vulkan_drivers} \
1347 --with-vulkan-icddir=/usr/share/vulkan/icd.d \
1f88045a
JB
1348 --with-sha1=libnettle \
1349 --with-va-libdir=%{_libdir}/libva/dri
59f12de8
AM
1350
1351%{__make}
59f12de8 1352
34f695f1
AM
1353%{?with_tests:%{__make} check}
1354
a0b2836a 1355%install
f5543b17 1356rm -rf $RPM_BUILD_ROOT
ddde5931 1357
59f12de8
AM
1358%{__make} install \
1359 DESTDIR=$RPM_BUILD_ROOT
ddde5931 1360
80fb8e4d 1361# dlopened by soname
e22d206b
JR
1362%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1363%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
c45391bc 1364# dlopened by soname or .so link
e22d206b 1365%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
c7f22387 1366# not used externally
0d8bac2a 1367%{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1cd368bc 1368# dlopened
4bacd84c 1369%{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1f730540 1370%{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
e22d206b 1371%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1cd368bc
JB
1372# not defined by standards; and not needed, there is pkg-config support
1373%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
075ec3a3 1374
415f6760 1375%if %{without glvnd}
f56e1323
JR
1376# remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1377# set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1378strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
415f6760 1379%endif
f56e1323 1380
abc9e15f
JB
1381%clean
1382rm -rf $RPM_BUILD_ROOT
1383
bb686270
AM
1384%post libEGL -p /sbin/ldconfig
1385%postun libEGL -p /sbin/ldconfig
1386
f445ed6c
JB
1387%post libGL -p /sbin/ldconfig
1388%postun libGL -p /sbin/ldconfig
1389
c1d2b5e2
AM
1390%post libGLES -p /sbin/ldconfig
1391%postun libGLES -p /sbin/ldconfig
1392
c1d2b5e2
AM
1393%post libOSMesa -p /sbin/ldconfig
1394%postun libOSMesa -p /sbin/ldconfig
1395
e5bc9334
JB
1396%post libOpenCL -p /sbin/ldconfig
1397%postun libOpenCL -p /sbin/ldconfig
1398
c1d2b5e2
AM
1399%post libOpenVG -p /sbin/ldconfig
1400%postun libOpenVG -p /sbin/ldconfig
1401
04c3cb73
JB
1402%post libXvMC-nouveau -p /sbin/ldconfig
1403%postun libXvMC-nouveau -p /sbin/ldconfig
04c3cb73
JB
1404%post libXvMC-r600 -p /sbin/ldconfig
1405%postun libXvMC-r600 -p /sbin/ldconfig
9bfb354d 1406
d3cd778a
JB
1407%post libgbm -p /sbin/ldconfig
1408%postun libgbm -p /sbin/ldconfig
1409
c7f22387
JB
1410%post libglapi -p /sbin/ldconfig
1411%postun libglapi -p /sbin/ldconfig
1412
24b30bc6
JB
1413%post libwayland-egl -p /sbin/ldconfig
1414%postun libwayland-egl -p /sbin/ldconfig
1415
a651d613
JB
1416%post libxatracker -p /sbin/ldconfig
1417%postun libxatracker -p /sbin/ldconfig
1418
bb686270
AM
1419%if %{with egl}
1420%files libEGL
1421%defattr(644,root,root,755)
b720826e
JP
1422%if %{with glvnd}
1423%attr(755,root,root) %{_libdir}/libEGL_mesa.so.*.*
1424%attr(755,root,root) %ghost %{_libdir}/libEGL_mesa.so.0
1425%{_datadir}/glvnd/egl_vendor.d/50_mesa.json
1426%else
bb686270 1427%attr(755,root,root) %{_libdir}/libEGL.so.*.*
c794b508 1428%attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
b720826e 1429%endif
bb686270
AM
1430
1431%files libEGL-devel
1432%defattr(644,root,root,755)
b720826e
JP
1433%if %{with glvnd}
1434%attr(755,root,root) %{_libdir}/libEGL_mesa.so
1435%else
bb686270 1436%attr(755,root,root) %{_libdir}/libEGL.so
b720826e 1437%endif
bb686270
AM
1438%dir %{_includedir}/EGL
1439%{_includedir}/EGL/egl.h
1440%{_includedir}/EGL/eglext.h
56313830 1441%{_includedir}/EGL/eglextchromium.h
9bfb354d 1442%{_includedir}/EGL/eglmesaext.h
bb686270 1443%{_includedir}/EGL/eglplatform.h
bb686270
AM
1444%{_pkgconfigdir}/egl.pc
1445
c885f99e 1446%if %{with static_libs}
bb686270
AM
1447%files libEGL-static
1448%defattr(644,root,root,755)
1449%{_libdir}/libEGL.a
1450%endif
1451%endif
1452
f445ed6c 1453%files libGL
e9b3ff7a 1454%defattr(644,root,root,755)
3f1b1b5d 1455%doc docs/{*.html,README.UVD,patents.txt,relnotes/*.html}
415f6760
JB
1456%if %{with glvnd}
1457%attr(755,root,root) %{_libdir}/libGLX_mesa.so.*.*
1458%attr(755,root,root) %ghost %{_libdir}/libGLX_mesa.so.0
1459%attr(755,root,root) %{_libdir}/libGLX_mesa.so
1460%else
9b0e6ebb
JB
1461%attr(755,root,root) %{_libdir}/libGL.so.*.*
1462%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
0cb33a09 1463# symlink for binary apps which fail to conform Linux OpenGL ABI
bf8d2f73 1464# (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
0cb33a09 1465%attr(755,root,root) %{_libdir}/libGL.so
415f6760 1466%endif
0d8bac2a 1467%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
a0b2836a 1468
f445ed6c 1469%files libGL-devel
e9b3ff7a 1470%defattr(644,root,root,755)
5b8e9162 1471%doc docs/specs/*
debcd977 1472%dir %{_includedir}/GL
d3dd48bf 1473%{_includedir}/GL/gl.h
56313830 1474%{_includedir}/GL/glcorearb.h
e1833810 1475%{_includedir}/GL/glext.h
d3dd48bf 1476%{_includedir}/GL/gl_mangle.h
d3dd48bf 1477%{_includedir}/GL/glx.h
abc9e15f 1478%{_includedir}/GL/glxext.h
d3dd48bf 1479%{_includedir}/GL/glx_mangle.h
1ec0796e
AM
1480%dir %{_includedir}/GL/internal
1481%{_includedir}/GL/internal/dri_interface.h
59f12de8 1482%{_pkgconfigdir}/dri.pc
f4a8c5f6 1483%{_pkgconfigdir}/gl.pc
a0b2836a 1484
c885f99e 1485%if %{with static_libs}
278406ce
JB
1486%files libGL-static
1487%defattr(644,root,root,755)
1488%{_libdir}/libGL.a
1489%endif
1490
c1d2b5e2
AM
1491%files libGLES
1492%defattr(644,root,root,755)
cc59a107
JB
1493%attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1494%attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1495%attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1496%attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
c1d2b5e2
AM
1497
1498%files libGLES-devel
1499%defattr(644,root,root,755)
cc59a107
JB
1500%attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1501%attr(755,root,root) %{_libdir}/libGLESv2.so
c1d2b5e2
AM
1502%{_includedir}/GLES
1503%{_includedir}/GLES2
46cee963 1504%{_includedir}/GLES3
cc59a107
JB
1505%{_pkgconfigdir}/glesv1_cm.pc
1506%{_pkgconfigdir}/glesv2.pc
c1d2b5e2 1507
f4a8c5f6
JB
1508%files libOSMesa
1509%defattr(644,root,root,755)
cc59a107 1510%attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
9bfb354d 1511%attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
f4a8c5f6
JB
1512
1513%files libOSMesa-devel
1514%defattr(644,root,root,755)
cc59a107 1515%attr(755,root,root) %{_libdir}/libOSMesa.so
f4a8c5f6 1516%{_includedir}/GL/osmesa.h
bf8d2f73 1517%{_pkgconfigdir}/osmesa.pc
f4a8c5f6 1518
c885f99e 1519%if %{with static_libs}
f4a8c5f6
JB
1520%files libOSMesa-static
1521%defattr(644,root,root,755)
cc59a107 1522%{_libdir}/libOSMesa.a
59f12de8 1523%endif
f4a8c5f6 1524
e5bc9334 1525%if %{with opencl}
ff879d59
JK
1526%if %{with ocl_icd}
1527%files OpenCL-icd
1528%defattr(644,root,root,755)
1529/etc/OpenCL/vendors/mesa.icd
1530%attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1531%attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1532%attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
6f955018
JB
1533# currently only OpenCL uses dynamic pipe loader
1534%dir %{_libdir}/gallium-pipe
ff879d59 1535%else
e5bc9334
JB
1536%files libOpenCL
1537%defattr(644,root,root,755)
1538%attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1539%attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
6f955018
JB
1540# currently only OpenCL uses dynamic pipe loader
1541%dir %{_libdir}/gallium-pipe
e5bc9334
JB
1542
1543%files libOpenCL-devel
1544%defattr(644,root,root,755)
1545%attr(755,root,root) %{_libdir}/libOpenCL.so
1546%{_includedir}/CL
e5bc9334 1547%endif
ff879d59 1548%endif
e5bc9334 1549
ebff9a35 1550%if %{with egl} && %{with openvg} && %{with gallium}
c1d2b5e2
AM
1551%files libOpenVG
1552%defattr(644,root,root,755)
cc59a107 1553%attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
278406ce 1554%attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
c1d2b5e2
AM
1555
1556%files libOpenVG-devel
1557%defattr(644,root,root,755)
278406ce 1558%attr(755,root,root) %{_libdir}/libOpenVG.so
c1d2b5e2 1559%{_includedir}/VG
c1d2b5e2
AM
1560%{_pkgconfigdir}/vg.pc
1561%endif
1562
c3f739d4 1563%if %{with gallium}
80fb8e4d 1564%if %{with gallium_nouveau}
04c3cb73 1565%files libXvMC-nouveau
875da849 1566%defattr(644,root,root,755)
46cee963 1567%attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
04c3cb73 1568%attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
80fb8e4d 1569%endif
04c3cb73 1570
56313830 1571%if %{with gallium_radeon}
04c3cb73
JB
1572%files libXvMC-r600
1573%defattr(644,root,root,755)
46cee963 1574%attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
04c3cb73 1575%attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
c3f739d4 1576%endif
ebff9a35 1577
3f1b1b5d 1578%if %{with va}
ebff9a35 1579%files -n libva-driver-gallium
3f1b1b5d 1580%defattr(644,root,root,755)
0b61c751
JK
1581
1582%if %{with gallium_radeon}
1583%files -n libva-driver-r600
1584%defattr(644,root,root,755)
1585%attr(755,root,root) %{_libdir}/libva/dri/r600_drv_video.so
1586
1587%files -n libva-driver-radeonsi
1588%defattr(644,root,root,755)
1589%attr(755,root,root) %{_libdir}/libva/dri/radeonsi_drv_video.so
1590%endif
1591
1592%if %{with gallium_nouveau}
1593%files -n libva-driver-nouveau
1594%defattr(644,root,root,755)
1595%attr(755,root,root) %{_libdir}/libva/dri/nouveau_drv_video.so
1596%endif
56313830 1597%endif
56313830 1598%endif
afe33c03 1599
d3cd778a
JB
1600%if %{with gbm}
1601%files libgbm
1602%defattr(644,root,root,755)
1603%attr(755,root,root) %{_libdir}/libgbm.so.*.*
1604%attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
d3cd778a
JB
1605
1606%files libgbm-devel
1607%defattr(644,root,root,755)
1608%attr(755,root,root) %{_libdir}/libgbm.so
1609%{_includedir}/gbm.h
1610%{_pkgconfigdir}/gbm.pc
1611%endif
1612
c7f22387
JB
1613%files libglapi
1614%defattr(644,root,root,755)
1615%attr(755,root,root) %{_libdir}/libglapi.so.*.*
1616%attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1617# libglapi-devel? nothing seems to need it atm.
1618#%attr(755,root,root) %{_libdir}/libglapi.so
1619
24b30bc6
JB
1620%if %{with wayland}
1621%files libwayland-egl
1622%defattr(644,root,root,755)
1623%attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1624%attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1625
1626%files libwayland-egl-devel
1627%defattr(644,root,root,755)
1628%attr(755,root,root) %{_libdir}/libwayland-egl.so
1629%{_pkgconfigdir}/wayland-egl.pc
1630%endif
1631
a651d613
JB
1632%if %{with xa}
1633%files libxatracker
1634%defattr(644,root,root,755)
1635%attr(755,root,root) %{_libdir}/libxatracker.so.*.*
0d8bac2a 1636%attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
a651d613
JB
1637
1638%files libxatracker-devel
1639%defattr(644,root,root,755)
1640%attr(755,root,root) %{_libdir}/libxatracker.so
1641%{_includedir}/xa_composite.h
1642%{_includedir}/xa_context.h
1643%{_includedir}/xa_tracker.h
1644%{_pkgconfigdir}/xatracker.pc
1645%endif
1646
166bc93f
JB
1647%if %{with egl}
1648%files khrplatform-devel
1649%defattr(644,root,root,755)
1650%dir %{_includedir}/KHR
1651%{_includedir}/KHR/khrplatform.h
1652%endif
1653
afe33c03 1654%files dri-driver-ati-radeon-R100
1655%defattr(644,root,root,755)
1656%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1657
1658%files dri-driver-ati-radeon-R200
1659%defattr(644,root,root,755)
1660%attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1661
c3f739d4 1662%if %{with gallium}
56313830 1663%if %{with gallium_radeon}
afe33c03 1664%files dri-driver-ati-radeon-R300
1665%defattr(644,root,root,755)
1666%attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1667
e68936d0
AM
1668%files dri-driver-ati-radeon-R600
1669%defattr(644,root,root,755)
1670%attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1671
3dc87f1a
AM
1672%files dri-driver-ati-radeon-SI
1673%defattr(644,root,root,755)
1674%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
56313830 1675%endif
b29ce0a4 1676%endif
6e049c9d 1677
afe33c03 1678%files dri-driver-intel-i915
1679%defattr(644,root,root,755)
5f574b4b 1680%attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
afe33c03 1681
b360f4f6 1682%files dri-driver-intel-i965
1683%defattr(644,root,root,755)
1684%attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1685
3e88bc92
AM
1686%files dri-driver-nouveau
1687%defattr(644,root,root,755)
5b103bd4
JB
1688%attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1689%if %{with gallium_nouveau}
3e88bc92 1690%attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
a7a3223c 1691%endif
3e88bc92 1692
f3606317
AM
1693%files dri-driver-swrast
1694%defattr(644,root,root,755)
e22d206b 1695%if %{with gallium}
56313830 1696%attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
e22d206b 1697%endif
f3606317
AM
1698%attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1699
bb5f0825 1700%if %{with gallium}
415f6760 1701%ifarch %{arm}
fae799e6
JB
1702%files dri-driver-etnaviv
1703%defattr(644,root,root,755)
1704%attr(755,root,root) %{_libdir}/xorg/modules/dri/etnaviv_dri.so
1705%attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-drm_dri.so
1706
1707%files dri-driver-freedreno
1708%defattr(644,root,root,755)
1709%attr(755,root,root) %{_libdir}/xorg/modules/dri/kgsl_dri.so
1710%attr(755,root,root) %{_libdir}/xorg/modules/dri/msm_dri.so
1711
f31a332e
JB
1712%files dri-driver-vc4
1713%defattr(644,root,root,755)
1714%attr(755,root,root) %{_libdir}/xorg/modules/dri/vc4_dri.so
1715%endif
1716
6e049c9d
AM
1717%files dri-driver-virgl
1718%defattr(644,root,root,755)
1719%attr(755,root,root) %{_libdir}/xorg/modules/dri/virtio_gpu_dri.so
1720
e68936d0
AM
1721%files dri-driver-vmwgfx
1722%defattr(644,root,root,755)
9c4e4073 1723%attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
bb5f0825 1724%endif
9bfb354d 1725
6f955018
JB
1726%if %{with gallium}
1727%if %{with gallium_i915}
1728%files pipe-driver-i915
1729%defattr(644,root,root,755)
1730%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1731%endif
1732
415f6760 1733%ifarch %{arm}
6f955018
JB
1734%files pipe-driver-msm
1735%defattr(644,root,root,755)
1736%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_msm.so
1737%endif
1738
1739%if %{with gallium_nouveau}
1740%files pipe-driver-nouveau
1741%defattr(644,root,root,755)
1742%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1743%endif
1744
1745%if %{with gallium_radeon}
1746%files pipe-driver-r300
1747%defattr(644,root,root,755)
1748%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1749
1750%files pipe-driver-r600
1751%defattr(644,root,root,755)
1752%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1753
1754%files pipe-driver-radeonsi
1755%defattr(644,root,root,755)
1756%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1757%endif
1758
1759%files pipe-driver-swrast
1760%defattr(644,root,root,755)
1761%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1762
1763%files pipe-driver-vmwgfx
1764%defattr(644,root,root,755)
1765%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
fae799e6
JB
1766
1767%ifarch %{ix86} %{x8664} x32
1768%files swr
1769%defattr(644,root,root,755)
1770%attr(755,root,root) %{_libdir}/libswrAVX.so
1771%attr(755,root,root) %{_libdir}/libswrAVX2.so
1772%endif
6f955018
JB
1773%endif
1774
1f730540
JB
1775%if %{with nine}
1776%files d3d
1777%defattr(644,root,root,755)
1778%dir %{_libdir}/d3d
1779%attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1780
1781%files d3d-devel
1782%defattr(644,root,root,755)
1783%{_includedir}/d3dadapter
1784%{_pkgconfigdir}/d3d.pc
1785%endif
1786
c3f739d4 1787%if %{with gallium}
04c3cb73
JB
1788# ldconfig is not used in vdpau tree, so package all symlinks
1789%if %{with gallium_nouveau}
1790%files -n libvdpau-driver-mesa-nouveau
1791%defattr(644,root,root,755)
46cee963 1792%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
04c3cb73
JB
1793%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1794%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1795%endif
1796
56313830 1797%if %{with gallium_radeon}
ebff9a35
AM
1798%files -n libvdpau-driver-mesa-r300
1799%defattr(644,root,root,755)
1800%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1801%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1802%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1803
04c3cb73
JB
1804%files -n libvdpau-driver-mesa-r600
1805%defattr(644,root,root,755)
46cee963 1806%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
9bfb354d
AM
1807%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1808%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
04c3cb73 1809
3dc87f1a
AM
1810%files -n libvdpau-driver-mesa-radeonsi
1811%defattr(644,root,root,755)
46cee963 1812%attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
3dc87f1a
AM
1813%attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1814%attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
c3f739d4 1815%endif
56313830 1816%endif
4bacd84c
JB
1817
1818%if %{with gallium} && %{with omx}
56313830
AM
1819%files -n omxil-mesa
1820%defattr(644,root,root,755)
1821%attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so
56313830 1822%endif
075ec3a3
JK
1823
1824%files vulkan-icd-intel
1825%defattr(644,root,root,755)
3b1b1d06 1826%attr(755,root,root) %{_libdir}/libvulkan_intel.so
415f6760 1827%{_datadir}/vulkan/icd.d/intel_icd.*.json
075ec3a3
JK
1828
1829%files vulkan-icd-intel-devel
1830%defattr(644,root,root,755)
1831%{_includedir}/vulkan/vulkan_intel.h
90c5833c
JK
1832
1833%if %{with radv}
1834%files vulkan-icd-radeon
1835%defattr(644,root,root,755)
1836%attr(755,root,root) %{_libdir}/libvulkan_radeon.so
bd9c0ee4 1837%{_datadir}/vulkan/icd.d/radeon_icd.*.json
90c5833c 1838%endif
This page took 0.541145 seconds and 4 git commands to generate.