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