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