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