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