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