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