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