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