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