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