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