]> git.pld-linux.org Git - packages/Mesa.git/blame - Mesa.spec
- updated to 18.2.5
[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
83ef4ff1 36%define libdrm_ver 2.4.92
31bd116a 37%define dri2proto_ver 2.8
c6305e3e
JB
38%define dri3proto_ver 1.0
39%define glproto_ver 1.4.14
40%define presentproto_ver 1.0
9c1f9f63 41%define zlib_ver 1.2.8
83ef4ff1 42%define wayland_ver 1.11
2f1a1517 43
12cbb35f 44%if %{without gallium}
6e049c9d 45%undefine with_gallium_i915
12cbb35f
JR
46%undefine with_gallium_nouveau
47%undefine with_gallium_radeon
1f730540 48%undefine with_nine
12cbb35f
JR
49%undefine with_ocl_icd
50%undefine with_omx
51%undefine with_opencl
52%undefine with_xa
53%endif
54
55%if %{without egl}
56%undefine with_gbm
57%undefine with_wayland
58%endif
59
e1833810 60Summary: Free OpenGL implementation
54181d82 61Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
e9b3ff7a 62Name: Mesa
bbece523 63Version: 18.2.5
95963d9d 64Release: 1
3dc87f1a 65License: MIT (core) and others - see license.html file
e9b3ff7a 66Group: X11/Libraries
bbece523
JB
67Source0: ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
68# Source0-md5: b31a43ebb8b37fb704a9a75c90bbd71b
fae799e6 69Patch0: %{name}-link.patch
50e22bbf 70URL: http://www.mesa3d.org/
67d9a9ca 71BuildRequires: autoconf >= 2.60
a6c5fc6c 72BuildRequires: automake
e5bc9334 73%{?with_opencl:BuildRequires: clang-devel >= 3.1}
43f54f5a 74BuildRequires: elfutils-devel
fae799e6 75BuildRequires: expat-devel >= 1.95
ee4291cc 76BuildRequires: gcc >= 6:4.2.0
435cda76 77%{?with_nine:BuildRequires: gcc-c++ >= 6:4.6}
c6305e3e 78%{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
41aca213 79BuildRequires: libdrm-devel >= %{libdrm_ver}
9c1f9f63 80%{?with_glvnd:BuildRequires: libglvnd-devel >= 0.2.0}
59f12de8 81BuildRequires: libselinux-devel
ee4291cc 82BuildRequires: libstdc++-devel >= 6:4.2.0
54147717 83BuildRequires: libtalloc-devel >= 2:2.0.1
5853b3ab 84BuildRequires: libtool >= 2:2.2
435cda76 85%{?with_va:BuildRequires: libva-devel >= 1.6.0}
70d79cdc 86%{?with_va:BuildRequires: pkgconfig(libva) >= 0.39.0}
7731a383 87BuildRequires: libvdpau-devel >= 1.1
61bd8431 88BuildRequires: libxcb-devel >= 1.13
701cacda 89# gallium core requires 3.3.0, OpenCL/r600 require 3.9.0, swr/radeonsi/radv 4.0.0
83ef4ff1
JK
90%{?with_gallium:BuildRequires: llvm-devel >= 5.0}
91%{?with_radv:BuildRequires: llvm-devel >= 5.0}
bec14093 92%{?with_opencl:BuildRequires: llvm-libclc}
1f88045a
JB
93# for SHA1 (could use also libmd/libsha1/libgcrypt/openssl instead)
94BuildRequires: nettle-devel
ff879d59 95%{?with_ocl_icd:BuildRequires: ocl-icd-devel}
4bacd84c 96%{?with_omx:BuildRequires: libomxil-bellagio-devel}
8d1858fe 97BuildRequires: perl-base
f35aa06e 98BuildRequires: pixman-devel
a6c5fc6c 99BuildRequires: pkgconfig
c1d2b5e2 100BuildRequires: pkgconfig(talloc) >= 2.0.1
c7ad0447
JB
101BuildRequires: pkgconfig(xcb-dri2) >= 1.8
102BuildRequires: pkgconfig(xcb-dri3) >= 1.13
103BuildRequires: pkgconfig(xcb-glx) >= 1.8.1
104BuildRequires: pkgconfig(xcb-present) >= 1.13
8d1858fe 105BuildRequires: python >= 2
415f6760 106BuildRequires: python-Mako >= 0.8.0
8d1858fe 107BuildRequires: python-modules >= 2
f6afd89c 108BuildRequires: rpmbuild(macros) >= 1.470
7cbe00f8 109BuildRequires: sed >= 4.0
24b30bc6 110# wayland-{client,server}
83ef4ff1 111%{?with_wayland:BuildRequires: wayland-devel >= %{wayland_ver}}
68f59a45 112%{?with_wayland:BuildRequires: wayland-protocols >= 1.8}
83ef4ff1 113%{?with_wayland:BuildRequires: wayland-egl-devel >= %{wayland_ver}}
31bd116a 114BuildRequires: xorg-lib-libXdamage-devel >= 1.1
994fa6a5 115BuildRequires: xorg-lib-libXext-devel >= 1.0.5
a651d613 116BuildRequires: xorg-lib-libXfixes-devel
1b597036 117BuildRequires: xorg-lib-libXt-devel
8eb275e9 118BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
9850656e 119BuildRequires: xorg-lib-libXxf86vm-devel
4bacd84c 120BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
41aca213 121BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
c6305e3e 122BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
b8e51e7a 123BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
c6305e3e 124BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
9850656e 125BuildRequires: xorg-util-makedepend
54147717 126%if %{with gallium}
3383c4da 127%{?with_lm_sensors:BuildRequires: lm_sensors-devel >= 4.0}
54147717 128BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
e22d206b 129BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
54147717 130%endif
9c1f9f63 131BuildRequires: zlib-devel >= %{zlib_ver}
ddde5931 132BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a0b2836a 133
52c8419a
JB
134# libGLESv1_CM, libGLESv2, libGL, libOSMesa:
135# _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
52c8419a 136# libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
c62acc62 137%define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.* libGLX_mesa.so.0.*
c1d2b5e2 138
04c3cb73 139# llvm build broken
462198da 140%define filterout_ld -Wl,--as-needed
04c3cb73 141
a0b2836a 142%description
a70fde83 143Mesa is a 3-D graphics library with an API which is very similar to
a5e5e963 144that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
a70fde83 145syntax or state machine, it is being used with authorization from
a5e5e963
JB
146Silicon Graphics, Inc. However, the author does not possess an OpenGL
147license from SGI, and makes no claim that Mesa is in any way a
148compatible replacement for OpenGL or associated with SGI.
a0b2836a 149
f77f03b8
JR
150%description -l pl.UTF-8
151Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
152tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
153autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
154OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
155OpenGL ani powiązana z SGI.
a0b2836a 156
bb686270 157%package libEGL
ae79139b
JB
158Summary: Mesa implementation of EGL Native Platform Graphics Interface library
159Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
160License: MIT
bb686270 161Group: Libraries
c7f22387 162Requires: %{name}-libglapi = %{version}-%{release}
bf8d2f73 163# glx driver in libEGL dlopens libGL.so
bb686270 164Requires: OpenGL >= 1.2
bf8d2f73 165Requires: libdrm >= %{libdrm_ver}
c7ad0447 166Requires: libxcb >= 1.13
fae799e6 167%{?with_wayland:Requires: wayland >= 1.11.0}
166bc93f
JB
168%if %{with gbm}
169Requires: %{name}-libgbm = %{version}-%{release}
170%endif
7731a383 171Provides: EGL = 1.5
bb686270
AM
172
173%description libEGL
ae79139b
JB
174This package contains shared libEGL - Mesa implementation of EGL
175Native Platform Graphics Interface as specified by Khronos Group:
176<http://www.khronos.org/egl/>.
bb686270
AM
177
178%description libEGL -l pl.UTF-8
ae79139b
JB
179Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
180Mesa standardu EGL Native Platform Graphics Interface (interfejsu
181graficznego platformy natywnej) wg specyfikacji Khronos Group:
182<http://www.khronos.org/egl/>.
bb686270
AM
183
184%package libEGL-devel
ae79139b
JB
185Summary: Header files for Mesa implementation of EGL library
186Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
187License: MIT
bb686270 188Group: Development/Libraries
166bc93f 189Requires: %{name}-khrplatform-devel = %{version}-%{release}
bb686270 190Requires: %{name}-libEGL = %{version}-%{release}
bf8d2f73
JB
191Requires: libdrm-devel >= %{libdrm_ver}
192Requires: xorg-lib-libX11-devel
9c1f9f63 193Requires: xorg-lib-libXdamage-devel >= 1.1
4bacd84c 194Requires: xorg-lib-libXext-devel >= 1.0.5
bf8d2f73
JB
195Requires: xorg-lib-libXfixes-devel
196Requires: xorg-lib-libXxf86vm-devel
197Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
198Requires: xorg-proto-glproto-devel >= %{glproto_ver}
7731a383 199Provides: EGL-devel = 1.5
bb686270
AM
200
201%description libEGL-devel
ae79139b 202Header files for Mesa implementation of EGL library.
bb686270
AM
203
204%description libEGL-devel -l pl.UTF-8
ae79139b 205Pliki nagłówkowe implementacji Mesa biblioteki EGL.
bb686270
AM
206
207%package libEGL-static
278406ce
JB
208Summary: Static Mesa EGL library
209Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
ae79139b 210License: MIT
bb686270
AM
211Group: Development/Libraries
212Requires: %{name}-libEGL-devel = %{version}-%{release}
7731a383 213Provides: EGL-static = 1.5
bb686270
AM
214
215%description libEGL-static
278406ce 216Static Mesa EGL library.
bb686270
AM
217
218%description libEGL-static -l pl.UTF-8
278406ce 219Statyczna biblioteka Mesa EGL.
c1d2b5e2 220
f445ed6c
JB
221%package libGL
222Summary: Free Mesa3D implementation of libGL OpenGL library
54181d82 223Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
f445ed6c
JB
224License: MIT
225Group: X11/Libraries
c7f22387 226Requires: %{name}-libglapi = %{version}-%{release}
38a2434c 227Requires: libdrm >= %{libdrm_ver}
61bd8431 228Requires: libxcb >= 1.13
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
a651d613
JB
633%package libxatracker
634Summary: Xorg Gallium3D accelleration library
635Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
636Group: X11/Libraries
c7f22387 637Requires: libdrm >= %{libdrm_ver}
9c1f9f63 638Requires: zlib >= %{zlib_ver}
a651d613
JB
639
640%description libxatracker
641Xorg Gallium3D accelleration library (used by new vmwgfx driver).
642
643%description libxatracker -l pl.UTF-8
644Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
645sterownik vmwgfx).
646
647%package libxatracker-devel
648Summary: Header files for Xorg Gallium3D accelleration library
649Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
650Group: X11/Development/Libraries
651Requires: %{name}-libxatracker = %{version}-%{release}
c7f22387 652Requires: libdrm-devel >= %{libdrm_ver}
a651d613
JB
653
654%description libxatracker-devel
655Header files for Xorg Gallium3D accelleration library.
656
657%description libxatracker-devel -l pl.UTF-8
658Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
659
166bc93f
JB
660%package khrplatform-devel
661Summary: Khronos platform header file
662Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
663Group: Development/Libraries
72a183c7 664Conflicts: Mesa-libEGL-devel < 8.0.1-2
166bc93f
JB
665
666%description khrplatform-devel
667Khronos platform header file.
668
669%description khrplatform-devel -l pl.UTF-8
670Plik nagłówkowy platformy Khronos.
671
afe33c03 672%package dri-driver-ati-radeon-R100
362c6f99
JB
673Summary: X.org DRI driver for ATI R100 card family
674Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
f4a8c5f6 675License: MIT
18da5046 676Group: X11/Libraries
83c21438 677Requires: xorg-driver-video-ati
d70abe90
JB
678Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
679Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 680Requires: zlib >= %{zlib_ver}
8e26093b 681Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 682
683%description dri-driver-ati-radeon-R100
9ea66b5e
JB
684X.org DRI driver for ATI R100 card family (Radeon 7000-7500). It
685supports R100, RV100, RS100, RV200, RS200, RS250.
afe33c03 686
f77f03b8 687%description dri-driver-ati-radeon-R100 -l pl.UTF-8
362c6f99 688Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
9ea66b5e 689Obsługuje układy R100, RV100, RS100, RV200, RS200, RS250.
afe33c03 690
691%package dri-driver-ati-radeon-R200
362c6f99
JB
692Summary: X.org DRI driver for ATI R200 card family
693Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
f4a8c5f6 694License: MIT
18da5046 695Group: X11/Libraries
83c21438 696Requires: xorg-driver-video-ati
d70abe90
JB
697Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
698Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 699Requires: zlib >= %{zlib_ver}
8e26093b 700Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 701
702%description dri-driver-ati-radeon-R200
9ea66b5e
JB
703X.org DRI driver for ATI R200 card family (Radeon 8500-92xx). It
704supports R200, RV250, RV280, RS300, RS350 chips.
afe33c03 705
f77f03b8 706%description dri-driver-ati-radeon-R200 -l pl.UTF-8
362c6f99 707Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
9ea66b5e 708Obsługuje układy R200, RV250, RV280, RS300, RS350.
afe33c03 709
710%package dri-driver-ati-radeon-R300
362c6f99
JB
711Summary: X.org DRI driver for ATI R300 card family
712Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
f4a8c5f6 713License: MIT
18da5046 714Group: X11/Libraries
83c21438 715Requires: xorg-driver-video-ati
d70abe90
JB
716Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
717Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 718Requires: zlib >= %{zlib_ver}
8e26093b 719Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 720
721%description dri-driver-ati-radeon-R300
9ea66b5e
JB
722X.org Gallium DRI driver for ATI R300/R400/RS690/R500 card family
723(Radeon 9600-9800, X300-X2300). It supports R300, R350, R360, RV350,
724RV370, RV380, R420, R423, R430, R480, R481, RV410, RS400, RC410,
725RS480, RS482, R520, RV515, RV530, RV560, RV570, R580, RS600, RS690,
726RS740 chips.
afe33c03 727
f77f03b8 728%description dri-driver-ati-radeon-R300 -l pl.UTF-8
9ea66b5e
JB
729Sterownik X.org DRI Gallium dla rodziny kart ATI R300/R400/RS690/R500
730(Radeon 9600-9800, X300-X2300). Obsługuje układy R300, R350, R360,
731RV350, RV370, RV380, R420, R423, R430, R480, R481, RV410, RS400,
732RC410, RS480, RS482, R520, RV515, RV530, RV560, RV570, R580, RS600,
733RS690, RS740.
afe33c03 734
e68936d0
AM
735%package dri-driver-ati-radeon-R600
736Summary: X.org DRI driver for ATI R600 card family
737Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
738License: MIT
739Group: X11/Libraries
740Requires: radeon-ucode
741Requires: xorg-driver-video-ati
742Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
743Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 744Requires: zlib >= %{zlib_ver}
e68936d0
AM
745
746%description dri-driver-ati-radeon-R600
9ea66b5e
JB
747X.org Gallium DRI driver for ATI R600/R700 card family (Radeon HD
7482400-7000). It supports R600, RV610, RV630, RV670, RV620, RV635,
749RS780, RS880, RV770, RV730, RV710, RV740, CEDAR, REDWOOD, JUNIPER,
750CYPRESS, HEMLOCK, PALM, SUMO/SUMO2, CAYMAN, BARTS, TURKS, CAICOS,
751ARUBA chips.
e68936d0
AM
752
753%description dri-driver-ati-radeon-R600 -l pl.UTF-8
9ea66b5e
JB
754Sterownik X.org DRI Gallium dla rodziny kart ATI R600/R700 (Radeon HD
7552400-7000). Obsługuje układy R600, RV610, RV630, RV670, RV620, RV635,
756RS780, RS880, RV770, RV730, RV710, RV740, CEDAR, REDWOOD, JUNIPER,
757CYPRESS, HEMLOCK, PALM, SUMO/SUMO2, CAYMAN, BARTS, TURKS, CAICOS,
758ARUBA.
e68936d0 759
3dc87f1a
AM
760%package dri-driver-ati-radeon-SI
761Summary: X.org DRI driver for ATI Southern Islands card family
762Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
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}
3dc87f1a
AM
770
771%description dri-driver-ati-radeon-SI
9ea66b5e
JB
772X.org Gallium DRI driver for ATI Southern Islands card family (Radeon
773HD 7700-8000, R9, APU). It supports TAHITI, PITCAIRN, VERDE, OLAND,
774HAINAN, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII, ICELAND, TONGA,
775CARRIZO, FIJI, POLARIS, STONEY chips.
3dc87f1a
AM
776
777%description dri-driver-ati-radeon-SI -l pl.UTF-8
9ea66b5e
JB
778Sterownik X.org DRI Gallium dla rodziny kart ATI Southern Islands
779(Radeon HD 7700-8000, R9, APU). Obsługuje układy TAHITI, PITCAIRN,
780VERDE, OLAND, HAINAN, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII,
781ICELAND, TONGA, CARRIZO, FIJI, POLARIS, STONEY.
3dc87f1a 782
fae799e6
JB
783%package dri-driver-etnaviv
784Summary: X.org DRI driver for Vivante 3D chips
785Summary(pl.UTF-8): Sterownik X.org DRI dla układów Vivante 3D
786License: MIT
787Group: X11/Libraries
788#Requires: xorg-driver-video-?
789Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
790Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 791Requires: zlib >= %{zlib_ver}
fae799e6
JB
792
793%description dri-driver-etnaviv
794X.org DRI driver for Vivante 3D chips.
795
796%description dri-driver-etnaviv -l pl.UTF-8
797Sterownik X.org DRI dla układów Vivante 3D.
798
f31a332e
JB
799%package dri-driver-freedreno
800Summary: X.org DRI driver for Adreno chips
801Summary(pl.UTF-8): Sterownik X.org DRI dla układów Adreno
802License: MIT
803Group: X11/Libraries
804Requires: xorg-driver-video-freedreno
805Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
806Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 807Requires: zlib >= %{zlib_ver}
f31a332e
JB
808
809%description dri-driver-freedreno
810X.org DRI driver for Adreno chips.
811
812%description dri-driver-freedreno -l pl.UTF-8
813Sterownik X.org DRI dla układów Adreno.
814
afe33c03 815%package dri-driver-intel-i915
362c6f99
JB
816Summary: X.org DRI driver for Intel i915 card family
817Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
f4a8c5f6 818License: MIT
18da5046 819Group: X11/Libraries
d70abe90
JB
820Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
821Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 822Requires: zlib >= %{zlib_ver}
2db432a2 823Obsoletes: Mesa-dri-driver-intel-i830
8e26093b 824Obsoletes: X11-driver-i810-dri < 1:7.0.0
afe33c03 825
826%description dri-driver-intel-i915
9ea66b5e
JB
827X.org DRI driver for Intel i915 card family (830, 845, 852/855, 865,
828915, 945, G33, Q33, Q35, Pineview).
afe33c03 829
f77f03b8 830%description dri-driver-intel-i915 -l pl.UTF-8
9ea66b5e
JB
831Sterownik X.org DRI dla rodziny kart Intel i915 (830, 845, 852/855,
832865, 915, 945, G33, Q33, Q35, Pineview).
afe33c03 833
b360f4f6 834%package dri-driver-intel-i965
362c6f99
JB
835Summary: X.org DRI driver for Intel i965 card family
836Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
f4a8c5f6 837License: MIT
b360f4f6 838Group: X11/Libraries
d70abe90
JB
839Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
840Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 841Requires: zlib >= %{zlib_ver}
b360f4f6 842Obsoletes: Mesa-dri-driver-intel-i830
8e26093b 843Obsoletes: X11-driver-i810-dri < 1:7.0.0
b360f4f6 844
845%description dri-driver-intel-i965
9ea66b5e
JB
846X.org (non-Gallium) DRI driver for Intel i965 card family (946GZ,
847965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
848Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
849Braswell, Cherryview, Skylake, Broxton, Kabylake, Geminilake);
b360f4f6 850
f77f03b8 851%description dri-driver-intel-i965 -l pl.UTF-8
9ea66b5e
JB
852Sterownik X.org DRI (nie Gallium) dla rodziny kart Intel i965 (946GZ,
853965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
854Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
855Braswell, Cherryview, Skylake, Broxton, Kabylake, Geminilake);
b360f4f6 856
3e88bc92
AM
857%package dri-driver-nouveau
858Summary: X.org DRI driver for NVIDIA card family
859Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
860License: MIT
861Group: X11/Libraries
862Requires: xorg-driver-video-nouveau
863Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
864Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 865Requires: zlib >= %{zlib_ver}
3e88bc92
AM
866
867%description dri-driver-nouveau
868X.org DRI drivers for NVIDIA card family.
869
870%description dri-driver-nouveau -l pl.UTF-8
871Sterowniki X.org DRI dla rodziny kart NVIDIA.
872
f3606317 873%package dri-driver-swrast
362c6f99
JB
874Summary: X.org DRI software rasterizer driver
875Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
f3606317
AM
876License: MIT
877Group: X11/Libraries
d70abe90
JB
878Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
879Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 880Requires: zlib >= %{zlib_ver}
f3606317
AM
881
882%description dri-driver-swrast
362c6f99 883X.org DRI software rasterizer driver.
f3606317
AM
884
885%description dri-driver-swrast -l pl.UTF-8
362c6f99 886Sterownik X.org DRI obsługujący rysowanie programowe.
f3606317 887
f31a332e
JB
888%package dri-driver-vc4
889Summary: X.org DRI driver for Broadcom VC4 chips
890Summary(pl.UTF-8): Sterownik X.org DRI dla układów Broadcom VC4
891License: MIT
892Group: X11/Libraries
893Requires: xorg-driver-video-modesetting
894Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
895Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 896Requires: zlib >= %{zlib_ver}
f31a332e
JB
897
898%description dri-driver-vc4
899X.org DRI driver for Broadcom VC4 chips.
900
901%description dri-driver-vc4 -l pl.UTF-8
902Sterownik X.org DRI dla układów Broadcom VC4.
903
6e049c9d
AM
904%package dri-driver-virgl
905Summary: X.org DRI driver for QEMU VirGL
906Summary(pl.UTF-8): Sterownik X.org DRI dla QEMU VirGL
907License: MIT
908Group: X11/Libraries
909Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
910Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 911Requires: zlib >= %{zlib_ver}
6e049c9d
AM
912
913%description dri-driver-virgl
914X.org DRI driver for QEMU VirGL.
915
916%description dri-driver-virgl -l pl.UTF-8
917Sterownik X.org DRI dla QEMU VirGL.
918
e68936d0
AM
919%package dri-driver-vmwgfx
920Summary: X.org DRI driver for VMware
921Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
922License: MIT
923Group: X11/Libraries
0f9ae6ae 924Requires: xorg-driver-video-vmware
e68936d0
AM
925Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
926Requires: xorg-xserver-server >= %{xserver_ver}
9c1f9f63 927Requires: zlib >= %{zlib_ver}
e68936d0
AM
928
929%description dri-driver-vmwgfx
930X.org DRI driver for VMWare.
931
932%description dri-driver-vmwgfx -l pl.UTF-8
933Sterownik X.org DRI dla VMware.
934
6f955018
JB
935%package pipe-driver-i915
936Summary: i915 driver for Mesa Gallium dynamic pipe loader
937Summary(pl.UTF-8): Sterownik i915 dla dynamicznego systemu potoków szkieletu Mesa Gallium
938Group: Libraries
9c1f9f63 939Requires: zlib >= %{zlib_ver}
6f955018
JB
940Obsoletes: Mesa-gbm-driver-i915
941Obsoletes: Mesa-opencl-driver-i915
942
943%description pipe-driver-i915
944i915 driver for Mesa Gallium dynamic pipe loader. It supports Intel
945915/945/G33/Q33/Q35/Pineview chips.
946
947%description pipe-driver-i915 -l pl.UTF-8
948Sterownik i915 dla dynamicznego systemu potoków szkieletu Mesa
949Gallium. Obsługuje układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
950
6f955018
JB
951%package pipe-driver-msm
952Summary: msm (freedreno) driver for Mesa Gallium dynamic pipe loader
953Summary(pl.UTF-8): Sterownik msm (freedreno) dla dynamicznego systemu potoków szkieletu Mesa Gallium
954Group: Libraries
9c1f9f63 955Requires: zlib >= %{zlib_ver}
6f955018
JB
956
957%description pipe-driver-msm
958msm (freedreno) driver for Mesa Gallium dynamic pipe loader. It
959supports Adreno chips.
960
961%description pipe-driver-msm -l pl.UTF-8
962Sterownik msm (freedreno) dla dynamicznego systemu potoków szkieletu
963Mesa Gallium. Obsługuje układy Adreno.
964
965%package pipe-driver-nouveau
966Summary: nouveau driver for Mesa Gallium dynamic pipe loader
967Summary(pl.UTF-8): Sterownik nouveau dla dynamicznego systemu potoków szkieletu Mesa Gallium
968Group: Libraries
9c1f9f63 969Requires: zlib >= %{zlib_ver}
6f955018
JB
970Obsoletes: Mesa-gbm-driver-nouveau
971Obsoletes: Mesa-opencl-driver-nouveau
972
973%description pipe-driver-nouveau
974nouveau driver for Mesa Gallium dynamic pipe loader. It supports
975NVidia adapters.
976
977%description pipe-driver-nouveau -l pl.UTF-8
978Sterownik nouveau dla dynamicznego systemu potoków szkieletu Mesa
979Gallium. Obsługuje karty graficzne firmy NVidia.
980
981%package pipe-driver-r300
982Summary: r300 driver for Mesa Gallium dynamic pipe loader
983Summary(pl.UTF-8): Sterownik r300 dla dynamicznego systemu potoków szkieletu Mesa Gallium
984Group: Libraries
9c1f9f63 985Requires: zlib >= %{zlib_ver}
6f955018
JB
986Obsoletes: Mesa-gbm-driver-r300
987Obsoletes: Mesa-opencl-driver-r300
988
989%description pipe-driver-r300
990r300 driver for Mesa Gallium dynamic pipe loader. It supports ATI
991Radeon adapters based on R300/R400/RS690/R500 chips.
992
993%description pipe-driver-r300 -l pl.UTF-8
994Sterownik r300 dla dynamicznego systemu potoków szkieletu Mesa
995Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
996R300/R400/RS690/R500.
997
998%package pipe-driver-r600
999Summary: r600 driver for Mesa Gallium dynamic pipe loader
1000Summary(pl.UTF-8): Sterownik r600 dla dynamicznego systemu potoków szkieletu Mesa Gallium
1001Group: Libraries
9c1f9f63 1002Requires: zlib >= %{zlib_ver}
6f955018
JB
1003Obsoletes: Mesa-gbm-driver-r600
1004Obsoletes: Mesa-libllvmradeon
1005Obsoletes: Mesa-opencl-driver-r600
1006
1007%description pipe-driver-r600
1008r600 driver for Mesa Gallium dynamic pipe loader. It supports ATI
1009Radeon adapters based on R600/R700 chips.
1010
1011%description pipe-driver-r600 -l pl.UTF-8
1012Sterownik r600 dla dynamicznego systemu potoków szkieletu Mesa
1013Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1014R600/R700.
1015
1016%package pipe-driver-radeonsi
1017Summary: radeonsi driver for Mesa Gallium dynamic pipe loader
1018Summary(pl.UTF-8): Sterownik radeonsi dla dynamicznego systemu potoków szkieletu Mesa Gallium
1019Group: Libraries
9c1f9f63 1020Requires: zlib >= %{zlib_ver}
6f955018
JB
1021Obsoletes: Mesa-gbm-driver-radeonsi
1022Obsoletes: Mesa-libllvmradeon
1023Obsoletes: Mesa-opencl-driver-radeonsi
1024
1025%description pipe-driver-radeonsi
1026radeonsi driver for Mesa Gallium dynamic pipe loader. It supports ATI
1027Radeon adapters based on Southern Islands chips.
1028
1029%description pipe-driver-radeonsi -l pl.UTF-8
1030Sterownik radeonsi dla dynamicznego systemu potoków szkieletu Mesa
1031Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1032Southern Islands.
1033
1034%package pipe-driver-swrast
1035Summary: Software (swrast) driver for Mesa Gallium dynamic pipe loader
1036Summary(pl.UTF-8): Sterownik programowy (swrast) dla dynamicznego systemu potoków szkieletu Mesa Gallium
1037Group: Libraries
9c1f9f63 1038Requires: zlib >= %{zlib_ver}
6f955018
JB
1039Obsoletes: Mesa-gbm-driver-swrast
1040Obsoletes: Mesa-opencl-driver-swrast
1041
1042%description pipe-driver-swrast
1043Software (swrast) driver for Mesa Gallium dynamic pipe loader.
1044
1045%description pipe-driver-swrast -l pl.UTF-8
1046Sterownik programowy (swrast) dla dynamicznego systemu potoków
1047szkieletu Mesa Gallium.
1048
1049%package pipe-driver-vmwgfx
1050Summary: vmwgfx driver for Mesa Gallium dynamic pipe loader
1051Summary(pl.UTF-8): Sterownik vmwgfx dla dynamicznego systemu potoków szkieletu Mesa Gallium
1052Group: Libraries
9c1f9f63 1053Requires: zlib >= %{zlib_ver}
6f955018
JB
1054Obsoletes: Mesa-gbm-driver-vmwgfx
1055Obsoletes: Mesa-opencl-driver-vmwgfx
1056
1057%description pipe-driver-vmwgfx
1058vmwgfx driver for Mesa Gallium dynamic pipe loader. It supports VMware
1059virtual video adapter.
1060
1061%description pipe-driver-vmwgfx -l pl.UTF-8
1062Sterownik vmwgfx dla dynamicznego systemu potoków szkieletu Mesa
1063Gallium. Obsługuje wirtualną kartę graficzną VMware.
1064
fae799e6
JB
1065%package swr
1066Summary: OpenSWR software rasterizer modules for Mesa
1067Summary(pl.UTF-8): Moduły programowego rasteryzera OpenSWR dla Mesy
1068Group: Libraries
1069Requires: cpuinfo(avx)
9c1f9f63 1070Requires: zlib >= %{zlib_ver}
fae799e6
JB
1071
1072%description swr
1073OpenSWR software rasterizer modules for Mesa, utilizing x86 AVX or
1074VX2 instruction sets. They can be loaded by swrast pipe driver or
1075OSMesa library.
1076
1077%description swr -l pl.UTF-8
1078Moduły programowego rasteryzera OpenSWR dla Mesy, wykorzystujące
1079zestawy instrukcji x86 AVX lub AVX2. Mogą być wczytywane przez
1080sterownik potoków swrast lub bibliotekę OSMesa.
1081
1f730540
JB
1082%package d3d
1083Summary: Nine Direct3D9 driver (for Wine)
1084Summary(pl.UTF-8): Sterownik Direct3D9 Nine (dla Wine)
1085Group: Libraries
1086Requires: libdrm >= %{libdrm_ver}
9c1f9f63 1087Requires: zlib >= %{zlib_ver}
1f730540
JB
1088
1089%description d3d
1090Nine Direct3D9 driver (for Wine).
1091
1092%description d3d -l pl.UTF-8
1093Sterownik Direct3D9 Nine (dla Wine).
1094
1095%package d3d-devel
1096Summary: Nine Direct3D9 driver API
1097Summary(pl.UTF-8): API sterownika Direct3D9 Nine
1098Group: Development/Libraries
1099Requires: libdrm-devel >= %{libdrm_ver}
1100
1101%description d3d-devel
1102Nine Direct3D9 driver API.
1103
1104%description d3d-devel -l pl.UTF-8
1105API sterownika Direct3D9 Nine.
1106
04c3cb73
JB
1107%package -n libvdpau-driver-mesa-nouveau
1108Summary: Mesa nouveau driver for the vdpau API
1109Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
9bfb354d
AM
1110License: MIT
1111Group: X11/Libraries
8eb275e9 1112Requires: libdrm >= %{libdrm_ver}
7731a383 1113Requires: libvdpau >= 1.1
9c1f9f63 1114Requires: zlib >= %{zlib_ver}
04c3cb73 1115Conflicts: libvdpau-driver-mesa
9bfb354d 1116
04c3cb73
JB
1117%description -n libvdpau-driver-mesa-nouveau
1118Mesa nouveau driver for the vdpau API. It supports NVidia adapters
1119(NV40-NV96, NVa0).
9bfb354d 1120
04c3cb73
JB
1121%description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
1122Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
1123(NV40-NV96, NVa0).
9bfb354d 1124
ebff9a35
AM
1125%package -n libvdpau-driver-mesa-r300
1126Summary: Mesa r300 driver for the vdpau API
1127Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
1128License: MIT
1129Group: X11/Libraries
1130Requires: libdrm >= %{libdrm_ver}
7731a383 1131Requires: libvdpau >= 1.1
9c1f9f63 1132Requires: zlib >= %{zlib_ver}
ebff9a35
AM
1133Conflicts: libvdpau-driver-mesa
1134
1135%description -n libvdpau-driver-mesa-r300
1136Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1137based on R300 chips.
1138
1139%description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1140Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1141na układach R300.
1142
04c3cb73
JB
1143%package -n libvdpau-driver-mesa-r600
1144Summary: Mesa r600 driver for the vdpau API
1145Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
1146License: MIT
1147Group: X11/Libraries
1148Requires: libdrm >= %{libdrm_ver}
7731a383 1149Requires: libvdpau >= 1.1
9c1f9f63 1150Requires: zlib >= %{zlib_ver}
04c3cb73
JB
1151Conflicts: libvdpau-driver-mesa
1152
1153%description -n libvdpau-driver-mesa-r600
1154Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1155based on R600/R700 chips.
1156
1157%description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1158Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1159na układach R600/R700.
1160
3dc87f1a
AM
1161%package -n libvdpau-driver-mesa-radeonsi
1162Summary: Mesa radeonsi driver for the vdpau API
1163Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
1164License: MIT
1165Group: X11/Libraries
1166Requires: libdrm >= %{libdrm_ver}
7731a383 1167Requires: libvdpau >= 1.1
9c1f9f63 1168Requires: zlib >= %{zlib_ver}
3dc87f1a 1169Conflicts: libvdpau-driver-mesa
5b8e9162 1170Obsoletes: Mesa-libllvmradeon
3dc87f1a
AM
1171
1172%description -n libvdpau-driver-mesa-radeonsi
0784ce78
JB
1173Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1174adapters based on Southern Islands chips.
3dc87f1a
AM
1175
1176%description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
0784ce78
JB
1177Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1178oparte na układach Southern Islands.
3dc87f1a 1179
56313830
AM
1180%package -n omxil-mesa
1181Summary: Mesa driver for Bellagio OpenMAX IL API
1182Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1183License: MIT
1184Group: X11/Libraries
1185Requires: libdrm >= %{libdrm_ver}
c7ad0447 1186Requires: libxcb >= 1.13
56313830 1187Requires: libomxil-bellagio
9c1f9f63 1188Requires: zlib >= %{zlib_ver}
c45391bc
JB
1189Obsoletes: omxil-mesa-nouveau
1190Obsoletes: omxil-mesa-r600
1191Obsoletes: omxil-mesa-radeonsi
56313830
AM
1192
1193%description -n omxil-mesa
1194Mesa driver for Bellagio OpenMAX IL API.
1195
1196%description -n omxil-mesa -l pl.UTF-8
1197Sterownik Mesa dla API Bellagio OpenMAX IL.
1198
075ec3a3
JK
1199%package vulkan-icd-intel
1200Summary: Mesa Vulkan driver for Intel GPUs
3b1b1d06 1201Summary(pl.UTF-8): Sterownik Vulkan dla GPU firmy Intel
075ec3a3
JK
1202License: MIT
1203Group: Libraries
075ec3a3 1204Requires: libdrm >= %{libdrm_ver}
c7ad0447
JB
1205Requires: libxcb >= 1.13
1206Requires: xorg-lib-libxshmfence >= 1.1
1207# wayland-client
1208Requires: wayland >= %{wayland_ver}
9c1f9f63
JB
1209Requires: zlib >= %{zlib_ver}
1210Suggests: vulkan(loader)
075ec3a3
JK
1211Provides: vulkan(icd) = 1.0.3
1212
1213%description vulkan-icd-intel
1214Mesa Vulkan driver for Intel GPUs.
1215
1216%description vulkan-icd-intel -l pl.UTF-8
1217Sterownik Vulkan dla GPU Intela.
1218
1219%package vulkan-icd-intel-devel
1220Summary: Header files for Mesa Intel GPU Vulkan driver
3b1b1d06 1221Summary(pl.UTF-8): Pliki nagłówkowe sterownika Vulkan dla GPU Intela
075ec3a3
JK
1222License: MIT
1223Group: Development/Libraries
1224Requires: %{name}-vulkan-icd-intel = %{version}-%{release}
1225
1226%description vulkan-icd-intel-devel
1227eader files for Mesa Intel GPU Vulkan driver.
1228
1229%description vulkan-icd-intel-devel -l pl.UTF-8
1230Pliki nagłówkowe sterownika Vulkan dla GPU Intel.
1231
90c5833c
JK
1232%package vulkan-icd-radeon
1233Summary: radv - experimental Mesa Vulkan driver for AMD Radeon GPUs
1234Summary(pl.UTF-8): radv - eksperymentalny sterownik Vulkan dla GPU firmy AMD
1235License: MIT
1236Group: Libraries
c7ad0447
JB
1237Requires: libdrm >= %{libdrm_ver}
1238Requires: libxcb >= 1.13
1239Requires: xorg-lib-libxshmfence >= 1.1
1240# wayland-client
1241Requires: wayland >= %{wayland_ver}
9c1f9f63 1242Requires: zlib >= %{zlib_ver}
90c5833c
JK
1243Suggests: vulkan(loader)
1244Provides: vulkan(icd) = 1.0.3
1245
1246%description vulkan-icd-radeon
1247radv - experimental Mesa Vulkan driver for AMD Radeon GPUs.
1248
1249%description vulkan-icd-radeon -l pl.UTF-8
1250radv - eksperymentalny sterownik Vulkan dla GPU firmy AMD.
1251
a0b2836a 1252%prep
bbece523 1253%setup -q -n mesa-%{version}
fae799e6 1254%patch0 -p1
a0b2836a 1255
1256%build
5853b3ab
JB
1257%{__libtoolize}
1258%{__aclocal} -I m4
bb686270 1259%{__autoconf}
5853b3ab 1260%{__automake}
a5afae62 1261
fae799e6
JB
1262dri_drivers="nouveau r200 radeon swrast \
1263%ifarch %{ix86} %{x8664} x32
1264i965 %{!?with_gallium_i915:i915} \
a5afae62 1265%endif
fae799e6 1266"
59f12de8
AM
1267
1268dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1269
fae799e6 1270gallium_drivers="svga swrast virgl \
2f0912c6
JK
1271%ifarch %{x8664}
1272swr
1273%endif
fae799e6 1274%ifarch %{ix86} %{x8664} x32
2f0912c6 1275%{?with_gallium_i915:i915} \
c1d2b5e2 1276%endif
56313830 1277%if %{with gallium_radeon}
fae799e6 1278r300 r600 radeonsi \
56313830 1279%endif
45300693 1280%if %{with gallium_nouveau}
0784ce78 1281nouveau
c1d2b5e2 1282%endif
415f6760 1283%ifarch %{arm}
fae799e6 1284etnaviv \
f31a332e 1285freedreno \
fae799e6 1286imx \
f31a332e
JB
1287vc4 \
1288%endif
c1d2b5e2
AM
1289"
1290
1291gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1292
fae799e6
JB
1293vulkan_drivers="%{?with_radv:radeon} \
1294%ifarch %{ix86} %{x8664} x32
1295intel \
1296%endif
1297"
1298
1299vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
075ec3a3 1300
700470bd 1301%configure \
4799b78a 1302 --disable-silent-rules \
9bfb354d 1303 %{__enable gbm} \
b4a5c074 1304 --enable-glx-tls \
415f6760 1305 %{?with_glvnd:--enable-libglvnd} \
700470bd 1306 --enable-osmesa \
c885f99e 1307 --enable-selinux \
1f730540 1308 --enable-shared \
f566cdfa 1309 --enable-shared-glapi \
c885f99e 1310 %{?with_static_libs:--enable-static} \
3f1b1b5d 1311 %{?with_texture_float:--enable-texture-float} \
c885f99e
JB
1312%if %{with egl}
1313 --enable-egl \
1314 --enable-gles1 \
1315 --enable-gles2 \
9c1f9f63 1316 --with-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
c885f99e 1317%endif
5f574b4b 1318%if %{with gallium}
415f6760 1319 %{?with_hud_extra:--enable-gallium-extra-hud} \
31bd116a 1320 --enable-llvm \
68ef4b3b 1321 %{__enable_disable shared_llvm llvm-shared-libs} \
ff879d59 1322 %{__enable ocl_icd opencl-icd} \
415f6760 1323 %{?with_lm_sensors:--enable-lmsensors} \
1f730540
JB
1324 %{?with_nine:--enable-nine} \
1325 %{__enable opencl} \
075ec3a3 1326 %{__enable va} \
9bfb354d 1327 --enable-vdpau \
3383c4da 1328 %{?with_omx:--enable-omx-bellagio} \
a651d613 1329 %{?with_xa:--enable-xa} \
9bfb354d 1330 --enable-xvmc \
c1d2b5e2 1331 --with-gallium-drivers=${gallium_drivers} \
5f574b4b 1332%else
5eb992a8 1333 --without-gallium-drivers \
5f574b4b 1334%endif
e481f96e
JR
1335 --with-dri-drivers=${dri_drivers} \
1336 --with-dri-driverdir=%{_libdir}/xorg/modules/dri \
075ec3a3
JK
1337 --with-vulkan-drivers=${vulkan_drivers} \
1338 --with-vulkan-icddir=/usr/share/vulkan/icd.d \
1f88045a
JB
1339 --with-sha1=libnettle \
1340 --with-va-libdir=%{_libdir}/libva/dri
59f12de8
AM
1341
1342%{__make}
59f12de8 1343
34f695f1
AM
1344%{?with_tests:%{__make} check}
1345
a0b2836a 1346%install
f5543b17 1347rm -rf $RPM_BUILD_ROOT
ddde5931 1348
59f12de8
AM
1349%{__make} install \
1350 DESTDIR=$RPM_BUILD_ROOT
ddde5931 1351
80fb8e4d 1352# dlopened by soname
e22d206b
JR
1353%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1354%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
c45391bc 1355# dlopened by soname or .so link
e22d206b 1356%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
c7f22387 1357# not used externally
0d8bac2a 1358%{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1cd368bc 1359# dlopened
4bacd84c 1360%{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1f730540 1361%{?with_nine:%{__rm} $RPM_BUILD_ROOT%{_libdir}/d3d/d3dadapter9.la}
e22d206b 1362%{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1cd368bc
JB
1363# not defined by standards; and not needed, there is pkg-config support
1364%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
075ec3a3 1365
415f6760 1366%if %{without glvnd}
f56e1323
JR
1367# remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1368# set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1369strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
415f6760 1370%endif
f56e1323 1371
abc9e15f
JB
1372%clean
1373rm -rf $RPM_BUILD_ROOT
1374
bb686270
AM
1375%post libEGL -p /sbin/ldconfig
1376%postun libEGL -p /sbin/ldconfig
1377
f445ed6c
JB
1378%post libGL -p /sbin/ldconfig
1379%postun libGL -p /sbin/ldconfig
1380
c1d2b5e2
AM
1381%post libGLES -p /sbin/ldconfig
1382%postun libGLES -p /sbin/ldconfig
1383
c1d2b5e2
AM
1384%post libOSMesa -p /sbin/ldconfig
1385%postun libOSMesa -p /sbin/ldconfig
1386
e5bc9334
JB
1387%post libOpenCL -p /sbin/ldconfig
1388%postun libOpenCL -p /sbin/ldconfig
1389
c1d2b5e2
AM
1390%post libOpenVG -p /sbin/ldconfig
1391%postun libOpenVG -p /sbin/ldconfig
1392
04c3cb73
JB
1393%post libXvMC-nouveau -p /sbin/ldconfig
1394%postun libXvMC-nouveau -p /sbin/ldconfig
04c3cb73
JB
1395%post libXvMC-r600 -p /sbin/ldconfig
1396%postun libXvMC-r600 -p /sbin/ldconfig
9bfb354d 1397
d3cd778a
JB
1398%post libgbm -p /sbin/ldconfig
1399%postun libgbm -p /sbin/ldconfig
1400
c7f22387
JB
1401%post libglapi -p /sbin/ldconfig
1402%postun libglapi -p /sbin/ldconfig
1403
a651d613
JB
1404%post libxatracker -p /sbin/ldconfig
1405%postun libxatracker -p /sbin/ldconfig
1406
bb686270
AM
1407%if %{with egl}
1408%files libEGL
1409%defattr(644,root,root,755)
b720826e
JP
1410%if %{with glvnd}
1411%attr(755,root,root) %{_libdir}/libEGL_mesa.so.*.*
1412%attr(755,root,root) %ghost %{_libdir}/libEGL_mesa.so.0
1413%{_datadir}/glvnd/egl_vendor.d/50_mesa.json
1414%else
bb686270 1415%attr(755,root,root) %{_libdir}/libEGL.so.*.*
c794b508 1416%attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
b720826e 1417%endif
bb686270
AM
1418
1419%files libEGL-devel
1420%defattr(644,root,root,755)
b720826e
JP
1421%if %{with glvnd}
1422%attr(755,root,root) %{_libdir}/libEGL_mesa.so
1423%else
bb686270 1424%attr(755,root,root) %{_libdir}/libEGL.so
b720826e 1425%endif
bb686270
AM
1426%dir %{_includedir}/EGL
1427%{_includedir}/EGL/egl.h
1428%{_includedir}/EGL/eglext.h
56313830 1429%{_includedir}/EGL/eglextchromium.h
9bfb354d 1430%{_includedir}/EGL/eglmesaext.h
bb686270 1431%{_includedir}/EGL/eglplatform.h
bb686270
AM
1432%{_pkgconfigdir}/egl.pc
1433
c885f99e 1434%if %{with static_libs}
bb686270
AM
1435%files libEGL-static
1436%defattr(644,root,root,755)
1437%{_libdir}/libEGL.a
1438%endif
1439%endif
1440
f445ed6c 1441%files libGL
e9b3ff7a 1442%defattr(644,root,root,755)
83ef4ff1 1443%doc docs/{*.html,README.UVD,features.txt,relnotes/*.html}
415f6760
JB
1444%if %{with glvnd}
1445%attr(755,root,root) %{_libdir}/libGLX_mesa.so.*.*
1446%attr(755,root,root) %ghost %{_libdir}/libGLX_mesa.so.0
1447%attr(755,root,root) %{_libdir}/libGLX_mesa.so
1448%else
9b0e6ebb
JB
1449%attr(755,root,root) %{_libdir}/libGL.so.*.*
1450%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
0cb33a09 1451# symlink for binary apps which fail to conform Linux OpenGL ABI
bf8d2f73 1452# (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
0cb33a09 1453%attr(755,root,root) %{_libdir}/libGL.so
415f6760 1454%endif
0d8bac2a 1455%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
a0b2836a 1456
f445ed6c 1457%files libGL-devel
e9b3ff7a 1458%defattr(644,root,root,755)
5b8e9162 1459%doc docs/specs/*
debcd977 1460%dir %{_includedir}/GL
d3dd48bf 1461%{_includedir}/GL/gl.h
56313830 1462%{_includedir}/GL/glcorearb.h
e1833810 1463%{_includedir}/GL/glext.h
d3dd48bf 1464%{_includedir}/GL/gl_mangle.h
d3dd48bf 1465%{_includedir}/GL/glx.h
abc9e15f 1466%{_includedir}/GL/glxext.h
d3dd48bf 1467%{_includedir}/GL/glx_mangle.h
1ec0796e
AM
1468%dir %{_includedir}/GL/internal
1469%{_includedir}/GL/internal/dri_interface.h
59f12de8 1470%{_pkgconfigdir}/dri.pc
f4a8c5f6 1471%{_pkgconfigdir}/gl.pc
a0b2836a 1472
c885f99e 1473%if %{with static_libs}
278406ce
JB
1474%files libGL-static
1475%defattr(644,root,root,755)
1476%{_libdir}/libGL.a
1477%endif
1478
c1d2b5e2
AM
1479%files libGLES
1480%defattr(644,root,root,755)
cc59a107
JB
1481%attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1482%attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1483%attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1484%attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
c1d2b5e2
AM
1485
1486%files libGLES-devel
1487%defattr(644,root,root,755)
cc59a107
JB
1488%attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1489%attr(755,root,root) %{_libdir}/libGLESv2.so
c1d2b5e2
AM
1490%{_includedir}/GLES
1491%{_includedir}/GLES2
46cee963 1492%{_includedir}/GLES3
cc59a107
JB
1493%{_pkgconfigdir}/glesv1_cm.pc
1494%{_pkgconfigdir}/glesv2.pc
c1d2b5e2 1495
f4a8c5f6
JB
1496%files libOSMesa
1497%defattr(644,root,root,755)
cc59a107 1498%attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
9bfb354d 1499%attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
f4a8c5f6
JB
1500
1501%files libOSMesa-devel
1502%defattr(644,root,root,755)
cc59a107 1503%attr(755,root,root) %{_libdir}/libOSMesa.so
f4a8c5f6 1504%{_includedir}/GL/osmesa.h
bf8d2f73 1505%{_pkgconfigdir}/osmesa.pc
f4a8c5f6 1506
c885f99e 1507%if %{with static_libs}
f4a8c5f6
JB
1508%files libOSMesa-static
1509%defattr(644,root,root,755)
cc59a107 1510%{_libdir}/libOSMesa.a
59f12de8 1511%endif
f4a8c5f6 1512
e5bc9334 1513%if %{with opencl}
ff879d59
JK
1514%if %{with ocl_icd}
1515%files OpenCL-icd
1516%defattr(644,root,root,755)
1517/etc/OpenCL/vendors/mesa.icd
1518%attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1519%attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1520%attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
6f955018
JB
1521# currently only OpenCL uses dynamic pipe loader
1522%dir %{_libdir}/gallium-pipe
ff879d59 1523%else
e5bc9334
JB
1524%files libOpenCL
1525%defattr(644,root,root,755)
1526%attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1527%attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
6f955018
JB
1528# currently only OpenCL uses dynamic pipe loader
1529%dir %{_libdir}/gallium-pipe
e5bc9334
JB
1530
1531%files libOpenCL-devel
1532%defattr(644,root,root,755)
1533%attr(755,root,root) %{_libdir}/libOpenCL.so
1534%{_includedir}/CL
e5bc9334 1535%endif
ff879d59 1536%endif
e5bc9334 1537
ebff9a35 1538%if %{with egl} && %{with openvg} && %{with gallium}
c1d2b5e2
AM
1539%files libOpenVG
1540%defattr(644,root,root,755)
cc59a107 1541%attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
278406ce 1542%attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
c1d2b5e2
AM
1543
1544%files libOpenVG-devel
1545%defattr(644,root,root,755)
278406ce 1546%attr(755,root,root) %{_libdir}/libOpenVG.so
c1d2b5e2 1547%{_includedir}/VG
c1d2b5e2
AM
1548%{_pkgconfigdir}/vg.pc
1549%endif
1550
c3f739d4 1551%if %{with gallium}
80fb8e4d 1552%if %{with gallium_nouveau}
04c3cb73 1553%files libXvMC-nouveau
875da849 1554%defattr(644,root,root,755)
46cee963 1555%attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
04c3cb73 1556%attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
80fb8e4d 1557%endif
04c3cb73 1558
56313830 1559%if %{with gallium_radeon}
04c3cb73
JB
1560%files libXvMC-r600
1561%defattr(644,root,root,755)
46cee963 1562%attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
04c3cb73 1563%attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
c3f739d4 1564%endif
ebff9a35 1565
3f1b1b5d 1566%if %{with va}
ebff9a35 1567%files -n libva-driver-gallium
3f1b1b5d 1568%defattr(644,root,root,755)
0b61c751
JK
1569
1570%if %{with gallium_radeon}
1571%files -n libva-driver-r600
1572%defattr(644,root,root,755)
1573%attr(755,root,root) %{_libdir}/libva/dri/r600_drv_video.so
1574
1575%files -n libva-driver-radeonsi
1576%defattr(644,root,root,755)
1577%attr(755,root,root) %{_libdir}/libva/dri/radeonsi_drv_video.so
1578%endif
1579
1580%if %{with gallium_nouveau}
1581%files -n libva-driver-nouveau
1582%defattr(644,root,root,755)
1583%attr(755,root,root) %{_libdir}/libva/dri/nouveau_drv_video.so
1584%endif
56313830 1585%endif
56313830 1586%endif
afe33c03 1587
d3cd778a
JB
1588%if %{with gbm}
1589%files libgbm
1590%defattr(644,root,root,755)
1591%attr(755,root,root) %{_libdir}/libgbm.so.*.*
1592%attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
d3cd778a
JB
1593
1594%files libgbm-devel
1595%defattr(644,root,root,755)
1596%attr(755,root,root) %{_libdir}/libgbm.so
1597%{_includedir}/gbm.h
1598%{_pkgconfigdir}/gbm.pc
1599%endif
1600
c7f22387
JB
1601%files libglapi
1602%defattr(644,root,root,755)
1603%attr(755,root,root) %{_libdir}/libglapi.so.*.*
1604%attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1605# libglapi-devel? nothing seems to need it atm.
1606#%attr(755,root,root) %{_libdir}/libglapi.so
1607
a651d613
JB
1608%if %{with xa}
1609%files libxatracker
1610%defattr(644,root,root,755)
1611%attr(755,root,root) %{_libdir}/libxatracker.so.*.*
0d8bac2a 1612%attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
a651d613
JB
1613
1614%files libxatracker-devel
1615%defattr(644,root,root,755)
1616%attr(755,root,root) %{_libdir}/libxatracker.so
1617%{_includedir}/xa_composite.h
1618%{_includedir}/xa_context.h
1619%{_includedir}/xa_tracker.h
1620%{_pkgconfigdir}/xatracker.pc
1621%endif
1622
166bc93f
JB
1623%if %{with egl}
1624%files khrplatform-devel
1625%defattr(644,root,root,755)
1626%dir %{_includedir}/KHR
1627%{_includedir}/KHR/khrplatform.h
1628%endif
1629
afe33c03 1630%files dri-driver-ati-radeon-R100
1631%defattr(644,root,root,755)
1632%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1633
1634%files dri-driver-ati-radeon-R200
1635%defattr(644,root,root,755)
1636%attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1637
c3f739d4 1638%if %{with gallium}
56313830 1639%if %{with gallium_radeon}
afe33c03 1640%files dri-driver-ati-radeon-R300
1641%defattr(644,root,root,755)
1642%attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1643
e68936d0
AM
1644%files dri-driver-ati-radeon-R600
1645%defattr(644,root,root,755)
1646%attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1647
3dc87f1a
AM
1648%files dri-driver-ati-radeon-SI
1649%defattr(644,root,root,755)
1650%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
56313830 1651%endif
b29ce0a4 1652%endif
6e049c9d 1653
afe33c03 1654%files dri-driver-intel-i915
1655%defattr(644,root,root,755)
5f574b4b 1656%attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
afe33c03 1657
b360f4f6 1658%files dri-driver-intel-i965
1659%defattr(644,root,root,755)
1660%attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1661
3e88bc92
AM
1662%files dri-driver-nouveau
1663%defattr(644,root,root,755)
5b103bd4
JB
1664%attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1665%if %{with gallium_nouveau}
3e88bc92 1666%attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
a7a3223c 1667%endif
3e88bc92 1668
f3606317
AM
1669%files dri-driver-swrast
1670%defattr(644,root,root,755)
e22d206b 1671%if %{with gallium}
56313830 1672%attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
e22d206b 1673%endif
f3606317
AM
1674%attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1675
bb5f0825 1676%if %{with gallium}
415f6760 1677%ifarch %{arm}
fae799e6
JB
1678%files dri-driver-etnaviv
1679%defattr(644,root,root,755)
1680%attr(755,root,root) %{_libdir}/xorg/modules/dri/etnaviv_dri.so
1681%attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-drm_dri.so
1682
1683%files dri-driver-freedreno
1684%defattr(644,root,root,755)
1685%attr(755,root,root) %{_libdir}/xorg/modules/dri/kgsl_dri.so
1686%attr(755,root,root) %{_libdir}/xorg/modules/dri/msm_dri.so
1687
f31a332e
JB
1688%files dri-driver-vc4
1689%defattr(644,root,root,755)
1690%attr(755,root,root) %{_libdir}/xorg/modules/dri/vc4_dri.so
1691%endif
1692
6e049c9d
AM
1693%files dri-driver-virgl
1694%defattr(644,root,root,755)
1695%attr(755,root,root) %{_libdir}/xorg/modules/dri/virtio_gpu_dri.so
1696
e68936d0
AM
1697%files dri-driver-vmwgfx
1698%defattr(644,root,root,755)
9c4e4073 1699%attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
bb5f0825 1700%endif
9bfb354d 1701
6f955018
JB
1702%if %{with gallium}
1703%if %{with gallium_i915}
1704%files pipe-driver-i915
1705%defattr(644,root,root,755)
1706%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1707%endif
1708
415f6760 1709%ifarch %{arm}
6f955018
JB
1710%files pipe-driver-msm
1711%defattr(644,root,root,755)
1712%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_msm.so
1713%endif
1714
1715%if %{with gallium_nouveau}
1716%files pipe-driver-nouveau
1717%defattr(644,root,root,755)
1718%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1719%endif
1720
1721%if %{with gallium_radeon}
1722%files pipe-driver-r300
1723%defattr(644,root,root,755)
1724%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1725
1726%files pipe-driver-r600
1727%defattr(644,root,root,755)
1728%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1729
1730%files pipe-driver-radeonsi
1731%defattr(644,root,root,755)
1732%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1733%endif
1734
1735%files pipe-driver-swrast
1736%defattr(644,root,root,755)
1737%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1738
1739%files pipe-driver-vmwgfx
1740%defattr(644,root,root,755)
1741%attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
fae799e6 1742
2f0912c6 1743%ifarch %{x8664}
fae799e6
JB
1744%files swr
1745%defattr(644,root,root,755)
1746%attr(755,root,root) %{_libdir}/libswrAVX.so
1747%attr(755,root,root) %{_libdir}/libswrAVX2.so
1748%endif
6f955018
JB
1749%endif
1750
1f730540
JB
1751%if %{with nine}
1752%files d3d
1753%defattr(644,root,root,755)
1754%dir %{_libdir}/d3d
1755%attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1756
1757%files d3d-devel
1758%defattr(644,root,root,755)
1759%{_includedir}/d3dadapter
1760%{_pkgconfigdir}/d3d.pc
1761%endif
1762
c3f739d4 1763%if %{with gallium}
04c3cb73
JB
1764# ldconfig is not used in vdpau tree, so package all symlinks
1765%if %{with gallium_nouveau}
1766%files -n libvdpau-driver-mesa-nouveau
1767%defattr(644,root,root,755)
46cee963 1768%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
04c3cb73
JB
1769%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1770%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1771%endif
1772
56313830 1773%if %{with gallium_radeon}
ebff9a35
AM
1774%files -n libvdpau-driver-mesa-r300
1775%defattr(644,root,root,755)
1776%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1777%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1778%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1779
04c3cb73
JB
1780%files -n libvdpau-driver-mesa-r600
1781%defattr(644,root,root,755)
46cee963 1782%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
9bfb354d
AM
1783%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1784%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
04c3cb73 1785
3dc87f1a
AM
1786%files -n libvdpau-driver-mesa-radeonsi
1787%defattr(644,root,root,755)
46cee963 1788%attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
3dc87f1a
AM
1789%attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1790%attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
c3f739d4 1791%endif
56313830 1792%endif
4bacd84c
JB
1793
1794%if %{with gallium} && %{with omx}
56313830
AM
1795%files -n omxil-mesa
1796%defattr(644,root,root,755)
1797%attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so
56313830 1798%endif
075ec3a3
JK
1799
1800%files vulkan-icd-intel
1801%defattr(644,root,root,755)
3b1b1d06 1802%attr(755,root,root) %{_libdir}/libvulkan_intel.so
415f6760 1803%{_datadir}/vulkan/icd.d/intel_icd.*.json
075ec3a3
JK
1804
1805%files vulkan-icd-intel-devel
1806%defattr(644,root,root,755)
1807%{_includedir}/vulkan/vulkan_intel.h
90c5833c
JK
1808
1809%if %{with radv}
1810%files vulkan-icd-radeon
1811%defattr(644,root,root,755)
1812%attr(755,root,root) %{_libdir}/libvulkan_radeon.so
bd9c0ee4 1813%{_datadir}/vulkan/icd.d/radeon_icd.*.json
90c5833c 1814%endif
This page took 0.540814 seconds and 4 git commands to generate.