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