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