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