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