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