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