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