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