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