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