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