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