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