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