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