3 # - check if gallium_intel note is still valid, switch the bcond if not
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)
9 %bcond_without gallium # gallium drivers
10 %bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
11 %bcond_without gallium_nouveau # gallium nouveau driver
12 %bcond_without gallium_radeon # gallium radeon drivers
13 %bcond_without egl # EGL libraries
14 # "Cannot enable OpenVG, because egl_gallium has been removed and
15 # OpenVG hasn't been integrated into standard libEGL yet"
16 %bcond_with openvg # OpenVG
17 %bcond_without gbm # Graphics Buffer Manager
18 %bcond_without opencl # OpenCL support
19 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
20 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
21 %bcond_without wayland # Wayland EGL
22 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
23 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
24 %bcond_with tests # tests
26 # glapi version (glapi tables in dri drivers and libglx must be in sync);
27 # set to current Mesa version on ABI break, when xserver tables get regenerated
28 # (until they start to be somehow versioned themselves)
29 %define glapi_ver 7.1.0
30 # minimal supported xserver version
31 %define xserver_ver 1.5.0
33 %define libdrm_ver 2.4.56
34 %define dri2proto_ver 2.6
35 %define dri3proto_ver 1.0
36 %define glproto_ver 1.4.14
37 %define presentproto_ver 1.0
39 Summary: Free OpenGL implementation
40 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
44 License: MIT (core) and others - see license.html file
46 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
47 # Source0-md5: 461ab299aa38937a679c57b401788a42
48 Patch0: missing-type.patch
49 URL: http://www.mesa3d.org/
50 BuildRequires: autoconf >= 2.60
51 BuildRequires: automake
52 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
53 BuildRequires: elfutils-devel
54 BuildRequires: expat-devel
55 BuildRequires: gcc >= 5:3.3
56 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
57 BuildRequires: libdrm-devel >= %{libdrm_ver}
58 BuildRequires: libselinux-devel
59 BuildRequires: libstdc++-devel >= 5:3.3.0
60 BuildRequires: libtalloc-devel >= 2:2.0.1
61 BuildRequires: libtool >= 2:2.2
62 BuildRequires: libvdpau-devel >= 0.4.1
63 BuildRequires: libxcb-devel >= 1.10
64 %{?with_gallium_radeon:BuildRequires: llvm-devel >= 3.4.2}
65 %{?with_opencl:BuildRequires: llvm-libclc}
66 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
67 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
68 BuildRequires: perl-base
69 BuildRequires: pixman-devel
70 BuildRequires: pkgconfig
71 BuildRequires: pkgconfig(talloc) >= 2.0.1
72 BuildRequires: pkgconfig(xcb-dri3)
73 BuildRequires: pkgconfig(xcb-present)
74 BuildRequires: python >= 2
75 BuildRequires: python-modules >= 2
76 BuildRequires: rpmbuild(macros) >= 1.470
77 BuildRequires: sed >= 4.0
78 %{?with_egl:BuildRequires: udev-devel >= 1:151}
79 # wayland-{client,server}
80 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
81 BuildRequires: xorg-lib-libXdamage-devel
82 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
83 BuildRequires: xorg-lib-libXfixes-devel
84 BuildRequires: xorg-lib-libXt-devel
85 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
86 BuildRequires: xorg-lib-libXxf86vm-devel
87 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
88 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
89 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
90 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
91 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
92 BuildRequires: xorg-util-makedepend
94 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
95 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
97 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
99 %if %{without gallium}
100 %undefine with_gallium_intel
101 %undefine with_gallium_nouveau
102 %undefine with_ocl_icd
103 %undefine with_opencl
109 %undefine with_wayland
112 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
113 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
114 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
115 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
118 %define filterout_ld -Wl,--as-needed
121 Mesa is a 3-D graphics library with an API which is very similar to
122 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
123 syntax or state machine, it is being used with authorization from
124 Silicon Graphics, Inc. However, the author does not possess an OpenGL
125 license from SGI, and makes no claim that Mesa is in any way a
126 compatible replacement for OpenGL or associated with SGI.
128 %description -l pl.UTF-8
129 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
130 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
131 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
132 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
133 OpenGL ani powiązana z SGI.
136 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
137 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
140 Requires: %{name}-libglapi = %{version}-%{release}
141 # glx driver in libEGL dlopens libGL.so
142 Requires: OpenGL >= 1.2
143 Requires: libdrm >= %{libdrm_ver}
144 Requires: libxcb >= 1.9
145 %{?with_wayland:Requires: wayland >= 1.2.0}
149 Requires: %{name}-libOpenVG = %{version}-%{release}
151 Requires: udev-libs >= 1:151
154 Requires: %{name}-libgbm = %{version}-%{release}
159 This package contains shared libEGL - Mesa implementation of EGL
160 Native Platform Graphics Interface as specified by Khronos Group:
161 <http://www.khronos.org/egl/>.
163 %description libEGL -l pl.UTF-8
164 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
165 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
166 graficznego platformy natywnej) wg specyfikacji Khronos Group:
167 <http://www.khronos.org/egl/>.
169 %package libEGL-devel
170 Summary: Header files for Mesa implementation of EGL library
171 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
173 Group: Development/Libraries
174 Requires: %{name}-khrplatform-devel = %{version}-%{release}
175 Requires: %{name}-libEGL = %{version}-%{release}
176 Requires: libdrm-devel >= %{libdrm_ver}
177 Requires: xorg-lib-libX11-devel
178 Requires: xorg-lib-libXdamage-devel
179 Requires: xorg-lib-libXext-devel >= 1.0.5
180 Requires: xorg-lib-libXfixes-devel
181 Requires: xorg-lib-libXxf86vm-devel
182 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
183 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
184 Provides: EGL-devel = 1.4
186 %description libEGL-devel
187 Header files for Mesa implementation of EGL library.
189 %description libEGL-devel -l pl.UTF-8
190 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
192 %package libEGL-static
193 Summary: Static Mesa EGL library
194 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
196 Group: Development/Libraries
197 Requires: %{name}-libEGL-devel = %{version}-%{release}
198 Provides: EGL-static = 1.4
200 %description libEGL-static
201 Static Mesa EGL library.
203 %description libEGL-static -l pl.UTF-8
204 Statyczna biblioteka Mesa EGL.
207 Summary: Free Mesa3D implementation of libGL OpenGL library
208 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
211 Requires: %{name}-libglapi = %{version}-%{release}
212 Requires: libdrm >= %{libdrm_ver}
213 Provides: OpenGL = 3.3
214 Provides: OpenGL-GLX = 1.4
217 Obsoletes: Mesa-dri-core < 10.0.0
218 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
219 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
222 Mesa is a 3-D graphics library with an API which is very similar to
223 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
224 syntax or state machine, it is being used with authorization from
225 Silicon Graphics, Inc. However, the author does not possess an OpenGL
226 license from SGI, and makes no claim that Mesa is in any way a
227 compatible replacement for OpenGL or associated with SGI.
229 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
230 specifications. It uses DRI for rendering.
232 %description libGL -l pl.UTF-8
233 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
234 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
235 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
236 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
237 OpenGL ani powiązana z SGI.
239 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
240 GLX 1.4. Używa DRI do renderowania.
243 Summary: Header files for Mesa3D libGL library
244 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
246 Group: X11/Development/Libraries
247 # loose dependency on libGL to use with other libGL binaries
248 Requires: OpenGL >= 1.5
249 Requires: libdrm-devel >= %{libdrm_ver}
250 Requires: xorg-lib-libX11-devel
251 Requires: xorg-lib-libXdamage-devel
252 Requires: xorg-lib-libXext-devel >= 1.0.5
253 Requires: xorg-lib-libXxf86vm-devel
254 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
255 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
256 Suggests: OpenGL-doc-man
257 Provides: OpenGL-GLX-devel = 1.4
258 Provides: OpenGL-devel = 3.3
259 Obsoletes: Mesa-devel
260 Obsoletes: X11-OpenGL-devel < 1:7.0.0
261 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
262 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
263 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
265 %description libGL-devel
266 Header files for Mesa3D libGL library.
268 %description libGL-devel -l pl.UTF-8
269 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
271 %package libGL-static
272 Summary: Static Mesa3D libGL library
273 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
275 Group: X11/Development/Libraries
276 Requires: %{name}-libGL-devel = %{version}-%{release}
277 Provides: OpenGL-static = 3.3
278 Obsoletes: Mesa-static
279 Obsoletes: X11-OpenGL-static < 1:7.0.0
280 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
282 %description libGL-static
283 Static Mesa3D libGL library. It uses software renderer.
285 %description libGL-static -l pl.UTF-8
286 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
290 Summary: Mesa implementation of GLES (OpenGL ES) libraries
291 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
293 Requires: %{name}-libglapi = %{version}-%{release}
295 Provides: OpenGLESv1 = 1.1
296 Provides: OpenGLESv2 = 2.0
299 This package contains shared libraries of Mesa implementation of GLES
300 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
301 on embedded systems. OpenGL ES specification can be found on Khronos
302 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
305 %description libGLES -l pl.UTF-8
306 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
307 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
308 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
309 OpenGL ES można znaleźć na stronie Khronos Group:
310 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
313 %package libGLES-devel
314 Summary: Header files for Mesa GLES libraries
315 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
316 Group: Development/Libraries
317 Requires: %{name}-khrplatform-devel = %{version}-%{release}
318 # <EGL/egl.h> for <GLES/egl.h>
319 Requires: %{name}-libEGL-devel = %{version}-%{release}
320 Requires: %{name}-libGLES = %{version}-%{release}
321 Provides: OpenGLES-devel
322 Provides: OpenGLESv1-devel = 1.1
323 Provides: OpenGLESv2-devel = 2.0
325 %description libGLES-devel
326 Header files for Mesa GLES libraries.
328 %description libGLES-devel -l pl.UTF-8
329 Pliki nagłówkowe bibliotek Mesa GLES.
332 Summary: OSMesa (off-screen renderer) library
333 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
337 %description libOSMesa
338 OSMesa (off-screen renderer) library.
340 %description libOSMesa -l pl.UTF-8
341 Biblioteka OSMesa (renderująca bitmapy w pamięci).
343 %package libOSMesa-devel
344 Summary: Header file for OSMesa (off-screen renderer) library
345 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
347 Group: Development/Libraries
348 Requires: %{name}-libOSMesa = %{version}-%{release}
350 Requires: OpenGL-devel
351 Requires: libselinux-devel
353 %description libOSMesa-devel
354 Header file for OSMesa (off-screen renderer) library.
356 %description libOSMesa-devel -l pl.UTF-8
357 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
359 %package libOSMesa-static
360 Summary: Static OSMesa (off-screen renderer) library
361 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
363 Group: Development/Libraries
364 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
365 # this static build of OSMesa needs static non-dri Mesa implementation
366 Requires: %{name}-libGL-static = %{version}-%{release}
368 %description libOSMesa-static
369 Static OSMesa (off-screen renderer) library.
371 %description libOSMesa-static -l pl.UTF-8
372 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
375 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
376 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
379 Requires: filesystem >= 4.0-29
380 Requires: libdrm >= %{libdrm_ver}
381 Requires: llvm-libclc
382 Requires: udev-libs >= 1:151
383 Provides: OpenCL = 1.1
385 %description OpenCL-icd
386 This package contains Mesa implementation of OpenCL - standard for
387 cross-platform, parallel programming of modern processors found in
388 personal computers, servers and handheld/embedded devices. OpenCL
389 specification can be found on Khronos Group site:
390 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
392 The implementation is provided as an installable client driver (ICD)
393 for use with the ocl-icd loader.
395 %description OpenCL-icd -l pl.UTF-8
396 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
397 wieloplatformowego, równoległego programowania nowoczesnych
398 procesorów, jakie znajdują się w komputerach osobistych, serwerach
399 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
400 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
401 Mesa zawiera implementację OpenCL w wersji 1.1.
403 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
404 (ICD), który może być użyty z loaderem ocl-icd.
407 Summary: Mesa implementation of OpenCL (Compuing Language) API
408 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
411 Requires: libdrm >= %{libdrm_ver}
412 Requires: llvm-libclc
413 Requires: udev-libs >= 1:151
414 Provides: OpenCL = 1.1
416 %description libOpenCL
417 This package contains Mesa implementation of OpenCL - standard for
418 cross-platform, parallel programming of modern processors found in
419 personal computers, servers and handheld/embedded devices. OpenCL
420 specification can be found on Khronos Group site:
421 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
423 %description libOpenCL -l pl.UTF-8
424 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
425 wieloplatformowego, równoległego programowania nowoczesnych
426 procesorów, jakie znajdują się w komputerach osobistych, serwerach
427 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
428 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
429 Mesa zawiera implementację OpenCL w wersji 1.1.
431 %package libOpenCL-devel
432 Summary: Header files for Mesa OpenCL library
433 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
435 Group: Development/Libraries
436 Requires: %{name}-libOpenCL = %{version}-%{release}
437 Provides: OpenCL-devel = 1.1
439 %description libOpenCL-devel
440 Header files for Mesa OpenCL library.
442 %description libOpenCL-devel -l pl.UTF-8
443 Pliki nagłówkowe biblioteki Mesa OpenCL.
446 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
447 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
450 Provides: OpenVG = 1.1
452 %description libOpenVG
453 This package contains Mesa implementation of OpenVG - cross-platform
454 API that provides a low-level hardware acceleration interface for
455 vector graphics libraries such as Flash and SVG. OpenVG specification
456 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
457 Mesa implements OpenVG 1.1.
459 %description libOpenVG -l pl.UTF-8
460 Ten pakiet zawiera implementację Mesa standardu OpenVG -
461 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
462 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
463 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
464 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
467 %package libOpenVG-devel
468 Summary: Header file for Mesa OpenVG library
469 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
471 Group: Development/Libraries
472 Requires: %{name}-khrplatform-devel = %{version}-%{release}
473 Requires: %{name}-libOpenVG = %{version}-%{release}
474 Provides: OpenVG-devel = 1.1
476 %description libOpenVG-devel
477 Header file for Mesa OpenVG library.
479 %description libOpenVG-devel -l pl.UTF-8
480 Plik nagłówkowy biblioteki Mesa OpenVG.
482 %package libXvMC-nouveau
483 Summary: Mesa implementation of XvMC API for NVidia adapters
484 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
487 Requires: libdrm >= %{libdrm_ver}
488 Requires: xorg-lib-libXvMC >= 1.0.6
489 Conflicts: Mesa-libXvMC
491 %description libXvMC-nouveau
492 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
494 %description libXvMC-nouveau -l pl.UTF-8
495 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
497 %package libXvMC-r600
498 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
499 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
502 Requires: libdrm >= %{libdrm_ver}
503 Requires: xorg-lib-libXvMC >= 1.0.6
504 Conflicts: Mesa-libXvMC
506 %description libXvMC-r600
507 Mesa implementation of XvMC API for ATI Radeon adapters based on
510 %description libXvMC-r600 -l pl.UTF-8
511 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
514 %package -n libva-driver-gallium
515 Summary: VA driver for Gallium State Tracker
516 Summary(pl.UTF-8): Sterownik VA do Gallium
519 %description -n libva-driver-gallium
520 VA driver for Gallium State Tracker.
522 %description -n libva-driver-gallium -l pl.UTF-8
523 Sterownik VA do Gallium.
526 Summary: Mesa Graphics Buffer Manager library
527 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
529 Requires: %{name}-libglapi = %{version}-%{release}
530 Requires: udev-libs >= 1:151
531 Conflicts: Mesa-libEGL < 8.0.1-2
534 Mesa Graphics Buffer Manager library.
536 %description libgbm -l pl.UTF-8
537 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
539 %package libgbm-devel
540 Summary: Header file for Mesa Graphics Buffer Manager library
541 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
542 Group: Development/Libraries
543 Requires: %{name}-libgbm = %{version}-%{release}
544 Requires: udev-devel >= 1:151
546 %description libgbm-devel
547 Header file for Mesa Graphics Buffer Manager library.
549 %description libgbm-devel -l pl.UTF-8
550 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
553 %package gbm-driver-i915
554 Summary: i915 driver for Mesa GBM framework
555 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
557 Requires: %{name}-libgbm = %{version}-%{release}
558 Obsoletes: Mesa-opencl-driver-i915
560 %description gbm-driver-i915
561 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
562 915/945/G33/Q33/Q35/Pineview chips.
564 %description gbm-driver-i915 -l pl.UTF-8
565 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
566 bufora graficznego). Obsługuje układy Intela z serii
567 915/945/G33/Q33/Q35/Pineview.
569 %package gbm-driver-nouveau
570 Summary: nouveau driver for Mesa GBM framework
571 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
573 Requires: %{name}-libgbm = %{version}-%{release}
574 Obsoletes: Mesa-opencl-driver-nouveau
576 %description gbm-driver-nouveau
577 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
580 %description gbm-driver-nouveau -l pl.UTF-8
581 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
582 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
584 %package gbm-driver-r300
585 Summary: r300 driver for Mesa GBM framework
586 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
588 Requires: %{name}-libgbm = %{version}-%{release}
589 Obsoletes: Mesa-opencl-driver-r300
591 %description gbm-driver-r300
592 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
593 adapters based on R300/R400/RS690/R500 chips.
595 %description gbm-driver-r300 -l pl.UTF-8
596 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
597 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
598 układach R300/R400/RS690/R500.
600 %package gbm-driver-r600
601 Summary: r600 driver for Mesa GBM framework
602 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
604 Requires: %{name}-libgbm = %{version}-%{release}
605 Obsoletes: Mesa-libllvmradeon
606 Obsoletes: Mesa-opencl-driver-r600
608 %description gbm-driver-r600
609 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
610 adapters based on R600/R700 chips.
612 %description gbm-driver-r600 -l pl.UTF-8
613 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
614 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
617 %package gbm-driver-radeonsi
618 Summary: radeonsi driver for Mesa GBM framework
619 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
621 Requires: %{name}-libgbm = %{version}-%{release}
622 Obsoletes: Mesa-libllvmradeon
623 Obsoletes: Mesa-opencl-driver-radeonsi
625 %description gbm-driver-radeonsi
626 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
627 Radeon adapters based on Southern Islands chips.
629 %description gbm-driver-radeonsi -l pl.UTF-8
630 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
631 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
632 oparte na układach Southern Islands.
634 %package gbm-driver-swrast
635 Summary: Software (swrast) driver for Mesa GBM framework
636 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
638 Requires: %{name}-libgbm = %{version}-%{release}
639 Obsoletes: Mesa-opencl-driver-swrast
641 %description gbm-driver-swrast
642 Software (swrast) driver for Mesa Graphics Buffer Manager.
644 %description gbm-driver-swrast -l pl.UTF-8
645 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
646 Manager (zarządcy bufora graficznego).
648 %package gbm-driver-vmwgfx
649 Summary: vmwgfx driver for Mesa GBM framework
650 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
652 Requires: %{name}-libgbm = %{version}-%{release}
653 Obsoletes: Mesa-opencl-driver-vmwgfx
655 %description gbm-driver-vmwgfx
656 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
657 virtual video adapter.
659 %description gbm-driver-vmwgfx -l pl.UTF-8
660 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
661 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
664 Summary: Mesa GL API shared library
665 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
667 Conflicts: Mesa-libEGL < 8.0.1-2
669 %description libglapi
670 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
672 %description libglapi -l pl.UTF-8
673 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
676 %package libwayland-egl
677 Summary: Wayland EGL library
678 Summary(pl.UTF-8): Biblioteka Wayland EGL
680 Requires: libdrm >= %{libdrm_ver}
682 %description libwayland-egl
683 Wayland EGL platform library.
685 %description libwayland-egl -l pl.UTF-8
686 Biblioteka platformy EGL Wayland.
688 %package libwayland-egl-devel
689 Summary: Development files for Wayland EGL library
690 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
691 Group: Development/Libraries
692 Requires: %{name}-libwayland-egl = %{version}-%{release}
693 Requires: libdrm-devel >= %{libdrm_ver}
695 %description libwayland-egl-devel
696 Development files for Wayland EGL platform library.
698 %description libwayland-egl-devel -l pl.UTF-8
699 Pliki programistyczne biblioteki platformy EGL Wayland.
701 %package libxatracker
702 Summary: Xorg Gallium3D accelleration library
703 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
705 Requires: libdrm >= %{libdrm_ver}
707 %description libxatracker
708 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
710 %description libxatracker -l pl.UTF-8
711 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
714 %package libxatracker-devel
715 Summary: Header files for Xorg Gallium3D accelleration library
716 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
717 Group: X11/Development/Libraries
718 Requires: %{name}-libxatracker = %{version}-%{release}
719 Requires: libdrm-devel >= %{libdrm_ver}
721 %description libxatracker-devel
722 Header files for Xorg Gallium3D accelleration library.
724 %description libxatracker-devel -l pl.UTF-8
725 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
727 %package khrplatform-devel
728 Summary: Khronos platform header file
729 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
730 Group: Development/Libraries
731 Conflicts: Mesa-libEGL-devel < 8.0.1-2
733 %description khrplatform-devel
734 Khronos platform header file.
736 %description khrplatform-devel -l pl.UTF-8
737 Plik nagłówkowy platformy Khronos.
739 %package dri-driver-ati-radeon-R100
740 Summary: X.org DRI driver for ATI R100 card family
741 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
744 Requires: xorg-driver-video-ati
745 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
746 Requires: xorg-xserver-server >= %{xserver_ver}
747 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
749 %description dri-driver-ati-radeon-R100
750 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
752 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
753 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
755 %package dri-driver-ati-radeon-R200
756 Summary: X.org DRI driver for ATI R200 card family
757 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
760 Requires: xorg-driver-video-ati
761 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
762 Requires: xorg-xserver-server >= %{xserver_ver}
763 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
765 %description dri-driver-ati-radeon-R200
766 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
768 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
769 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
771 %package dri-driver-ati-radeon-R300
772 Summary: X.org DRI driver for ATI R300 card family
773 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
776 Requires: xorg-driver-video-ati
777 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
778 Requires: xorg-xserver-server >= %{xserver_ver}
779 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
781 %description dri-driver-ati-radeon-R300
782 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
784 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
785 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
787 %package dri-driver-ati-radeon-R600
788 Summary: X.org DRI driver for ATI R600 card family
789 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
792 Requires: radeon-ucode
793 Requires: xorg-driver-video-ati
794 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
795 Requires: xorg-xserver-server >= %{xserver_ver}
797 %description dri-driver-ati-radeon-R600
798 X.org DRI driver for ATI R600/R700 card family.
800 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
801 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
803 %package dri-driver-ati-radeon-SI
804 Summary: X.org DRI driver for ATI Southern Islands card family
805 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
808 Requires: radeon-ucode
809 Requires: xorg-driver-video-ati
810 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
811 Requires: xorg-xserver-server >= %{xserver_ver}
813 %description dri-driver-ati-radeon-SI
814 X.org DRI driver for ATI Southern Islands card family.
816 %description dri-driver-ati-radeon-SI -l pl.UTF-8
817 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
819 %package dri-driver-intel-i915
820 Summary: X.org DRI driver for Intel i915 card family
821 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
824 Requires: xorg-driver-video-intel
825 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
826 Requires: xorg-xserver-server >= %{xserver_ver}
827 Obsoletes: Mesa-dri-driver-intel-i830
828 Obsoletes: X11-driver-i810-dri < 1:7.0.0
830 %description dri-driver-intel-i915
831 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
834 %description dri-driver-intel-i915 -l pl.UTF-8
835 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
838 %package dri-driver-intel-i965
839 Summary: X.org DRI driver for Intel i965 card family
840 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
843 Requires: xorg-driver-video-intel
844 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
845 Requires: xorg-xserver-server >= %{xserver_ver}
846 Obsoletes: Mesa-dri-driver-intel-i830
847 Obsoletes: X11-driver-i810-dri < 1:7.0.0
849 %description dri-driver-intel-i965
850 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
851 965GME, GM45, G41, B43, Q45, G45);
853 %description dri-driver-intel-i965 -l pl.UTF-8
854 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
855 965GM, 965GME, GM45, G41, B43, Q45, G45).
857 %package dri-driver-nouveau
858 Summary: X.org DRI driver for NVIDIA card family
859 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
862 Requires: xorg-driver-video-nouveau
863 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
864 Requires: xorg-xserver-server >= %{xserver_ver}
866 %description dri-driver-nouveau
867 X.org DRI drivers for NVIDIA card family.
869 %description dri-driver-nouveau -l pl.UTF-8
870 Sterowniki X.org DRI dla rodziny kart NVIDIA.
872 %package dri-driver-swrast
873 Summary: X.org DRI software rasterizer driver
874 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
877 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
878 Requires: xorg-xserver-server >= %{xserver_ver}
880 %description dri-driver-swrast
881 X.org DRI software rasterizer driver.
883 %description dri-driver-swrast -l pl.UTF-8
884 Sterownik X.org DRI obsługujący rysowanie programowe.
886 %package dri-driver-vmwgfx
887 Summary: X.org DRI driver for VMware
888 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
891 Requires: xorg-driver-video-vmware
892 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
893 Requires: xorg-xserver-server >= %{xserver_ver}
895 %description dri-driver-vmwgfx
896 X.org DRI driver for VMWare.
898 %description dri-driver-vmwgfx -l pl.UTF-8
899 Sterownik X.org DRI dla VMware.
901 %package -n libvdpau-driver-mesa-nouveau
902 Summary: Mesa nouveau driver for the vdpau API
903 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
906 Requires: libdrm >= %{libdrm_ver}
907 Requires: libvdpau >= 0.4.1
908 Conflicts: libvdpau-driver-mesa
910 %description -n libvdpau-driver-mesa-nouveau
911 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
914 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
915 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
918 %package -n libvdpau-driver-mesa-r300
919 Summary: Mesa r300 driver for the vdpau API
920 Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
923 Requires: libdrm >= %{libdrm_ver}
924 Requires: libvdpau >= 0.4.1
925 Conflicts: libvdpau-driver-mesa
927 %description -n libvdpau-driver-mesa-r300
928 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
931 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
932 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
935 %package -n libvdpau-driver-mesa-r600
936 Summary: Mesa r600 driver for the vdpau API
937 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
940 Requires: libdrm >= %{libdrm_ver}
941 Requires: libvdpau >= 0.4.1
942 Conflicts: libvdpau-driver-mesa
944 %description -n libvdpau-driver-mesa-r600
945 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
946 based on R600/R700 chips.
948 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
949 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
950 na układach R600/R700.
952 %package -n libvdpau-driver-mesa-radeonsi
953 Summary: Mesa radeonsi driver for the vdpau API
954 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
957 Requires: libdrm >= %{libdrm_ver}
958 Requires: libvdpau >= 0.4.1
959 Conflicts: libvdpau-driver-mesa
960 Obsoletes: Mesa-libllvmradeon
962 %description -n libvdpau-driver-mesa-radeonsi
963 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
964 adapters based on Southern Islands chips.
966 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
967 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
968 oparte na układach Southern Islands.
970 %package -n omxil-mesa
971 Summary: Mesa driver for Bellagio OpenMAX IL API
972 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
975 Requires: libdrm >= %{libdrm_ver}
976 Requires: libxcb >= 1.8
977 Requires: libomxil-bellagio
978 Obsoletes: omxil-mesa-nouveau
979 Obsoletes: omxil-mesa-r600
980 Obsoletes: omxil-mesa-radeonsi
982 %description -n omxil-mesa
983 Mesa driver for Bellagio OpenMAX IL API.
985 %description -n omxil-mesa -l pl.UTF-8
986 Sterownik Mesa dla API Bellagio OpenMAX IL.
988 %package -n omxil-mesa-nouveau
989 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
990 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
993 Requires: libdrm >= %{libdrm_ver}
994 Requires: libxcb >= 1.8
995 Requires: libomxil-bellagio
997 %description -n omxil-mesa-nouveau
998 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
999 adapters (NV40-NV96, NVa0).
1001 %description -n omxil-mesa-nouveau -l pl.UTF-8
1002 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
1003 NVidia (NV40-NV96, NVa0).
1005 %package -n omxil-mesa-r600
1006 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
1007 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
1009 Group: X11/Libraries
1010 Requires: libdrm >= %{libdrm_ver}
1011 Requires: libxcb >= 1.8
1012 Requires: libomxil-bellagio
1014 %description -n omxil-mesa-r600
1015 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
1016 adapters based on R600/R700 chips.
1018 %description -n omxil-mesa-r600 -l pl.UTF-8
1019 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
1020 Radeon oparte na układach R600/R700.
1022 %package -n omxil-mesa-radeonsi
1023 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
1024 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
1026 Group: X11/Libraries
1027 Requires: libdrm >= %{libdrm_ver}
1028 Requires: libxcb >= 1.8
1029 Requires: libomxil-bellagio
1031 %description -n omxil-mesa-radeonsi
1032 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
1033 Radeon adapters based on Southern Islands chips.
1035 %description -n omxil-mesa-radeonsi -l pl.UTF-8
1036 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
1037 ATI Radeon oparte na układach Southern Islands.
1049 dri_drivers="r200 radeon \
1050 %if %{without gallium_intel}
1055 %ifarch sparc sparcv9 sparc64
1060 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1062 gallium_drivers="svga swrast \
1063 %if %{with gallium_intel}
1066 %if %{with gallium_radeon}
1071 %if %{with gallium_nouveau}
1076 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1079 --disable-silent-rules \
1083 %{?with_static_libs:--enable-static} \
1086 --enable-shared-glapi \
1091 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1094 --enable-gallium-llvm \
1095 --enable-llvm-shared-libs \
1096 %{__enable egl gallium-egl} \
1097 %{__enable gbm gallium-gbm} \
1098 %{__enable ocl_icd opencl-icd} \
1099 %{__enable opencl opencl} \
1100 %{?with_egl:%{?with_openvg:--enable-openvg}} \
1102 %{?with_omx:--enable-omx} \
1103 %{?with_xa:--enable-xa} \
1105 --with-gallium-drivers=${gallium_drivers} \
1107 --without-gallium-drivers \
1109 --with-va-libdir=%{_libdir}/libva/dri \
1110 --with-dri-drivers=${dri_drivers} \
1111 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1115 %{?with_tests:%{__make} check}
1118 rm -rf $RPM_BUILD_ROOT
1121 DESTDIR=$RPM_BUILD_ROOT
1123 # strip out undesirable headers
1124 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1125 # dlopened by soname
1126 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so}
1127 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so.1.0}
1128 # dlopened by soname or .so link
1129 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.so.1.0}
1130 # not used externally
1131 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1133 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1134 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la}
1135 # not defined by standards; and not needed, there is pkg-config support
1136 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1137 %{?with_gallium:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libva/dri/gallium_drv_video.la}
1139 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1140 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1141 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1144 rm -rf $RPM_BUILD_ROOT
1146 %post libEGL -p /sbin/ldconfig
1147 %postun libEGL -p /sbin/ldconfig
1149 %post libGL -p /sbin/ldconfig
1150 %postun libGL -p /sbin/ldconfig
1152 %post libGLES -p /sbin/ldconfig
1153 %postun libGLES -p /sbin/ldconfig
1155 %post libOSMesa -p /sbin/ldconfig
1156 %postun libOSMesa -p /sbin/ldconfig
1158 %post libOpenCL -p /sbin/ldconfig
1159 %postun libOpenCL -p /sbin/ldconfig
1161 %post libOpenVG -p /sbin/ldconfig
1162 %postun libOpenVG -p /sbin/ldconfig
1164 %post libXvMC-nouveau -p /sbin/ldconfig
1165 %postun libXvMC-nouveau -p /sbin/ldconfig
1166 %post libXvMC-r600 -p /sbin/ldconfig
1167 %postun libXvMC-r600 -p /sbin/ldconfig
1169 %post libgbm -p /sbin/ldconfig
1170 %postun libgbm -p /sbin/ldconfig
1172 %post libglapi -p /sbin/ldconfig
1173 %postun libglapi -p /sbin/ldconfig
1175 %post libwayland-egl -p /sbin/ldconfig
1176 %postun libwayland-egl -p /sbin/ldconfig
1178 %post libxatracker -p /sbin/ldconfig
1179 %postun libxatracker -p /sbin/ldconfig
1183 %defattr(644,root,root,755)
1184 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1185 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1188 %defattr(644,root,root,755)
1189 %attr(755,root,root) %{_libdir}/libEGL.so
1190 %dir %{_includedir}/EGL
1191 %{_includedir}/EGL/egl.h
1192 %{_includedir}/EGL/eglext.h
1193 %{_includedir}/EGL/eglextchromium.h
1194 %{_includedir}/EGL/eglmesaext.h
1195 %{_includedir}/EGL/eglplatform.h
1196 %{_pkgconfigdir}/egl.pc
1198 %if %{with static_libs}
1199 %files libEGL-static
1200 %defattr(644,root,root,755)
1206 %defattr(644,root,root,755)
1207 %doc docs/{*.html,README.UVD,relnotes/*.html}
1208 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1209 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1210 # symlink for binary apps which fail to conform Linux OpenGL ABI
1211 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1212 %attr(755,root,root) %{_libdir}/libGL.so
1213 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1216 %defattr(644,root,root,755)
1218 %dir %{_includedir}/GL
1219 %{_includedir}/GL/gl.h
1220 %{_includedir}/GL/glcorearb.h
1221 %{_includedir}/GL/glext.h
1222 %{_includedir}/GL/gl_mangle.h
1223 %{_includedir}/GL/glx.h
1224 %{_includedir}/GL/glxext.h
1225 %{_includedir}/GL/glx_mangle.h
1226 %dir %{_includedir}/GL/internal
1227 %{_includedir}/GL/internal/dri_interface.h
1228 %{_pkgconfigdir}/dri.pc
1229 %{_pkgconfigdir}/gl.pc
1231 %if %{with static_libs}
1233 %defattr(644,root,root,755)
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1240 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1241 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1242 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1244 %files libGLES-devel
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1247 %attr(755,root,root) %{_libdir}/libGLESv2.so
1249 %{_includedir}/GLES2
1250 %{_includedir}/GLES3
1251 %{_pkgconfigdir}/glesv1_cm.pc
1252 %{_pkgconfigdir}/glesv2.pc
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1257 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1259 %files libOSMesa-devel
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libOSMesa.so
1262 %{_includedir}/GL/osmesa.h
1263 %{_pkgconfigdir}/osmesa.pc
1265 %if %{with static_libs}
1266 %files libOSMesa-static
1267 %defattr(644,root,root,755)
1268 %{_libdir}/libOSMesa.a
1274 %defattr(644,root,root,755)
1275 /etc/OpenCL/vendors/mesa.icd
1276 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1277 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1278 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1283 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1285 %files libOpenCL-devel
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) %{_libdir}/libOpenCL.so
1292 %if %{with egl} && %{with openvg} && %{with gallium}
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1296 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1298 %files libOpenVG-devel
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/libOpenVG.so
1302 %{_pkgconfigdir}/vg.pc
1306 %if %{with gallium_nouveau}
1307 %files libXvMC-nouveau
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1310 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1313 %if %{with gallium_radeon}
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1317 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1320 %files -n libva-driver-gallium
1321 %attr(755,root,root) %{_libdir}/libva/dri/gallium_drv_video.so
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1328 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1330 %dir %{_libdir}/gallium-pipe
1333 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libgbm.so
1340 %{_includedir}/gbm.h
1341 %{_pkgconfigdir}/gbm.pc
1345 %if %{with gallium_intel}
1346 %files gbm-driver-i915
1347 %defattr(644,root,root,755)
1348 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1351 %if %{with gallium_nouveau}
1352 %files gbm-driver-nouveau
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1357 %if %{with gallium_radeon}
1358 %files gbm-driver-r300
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1362 %files gbm-driver-r600
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1366 %files gbm-driver-radeonsi
1367 %defattr(644,root,root,755)
1368 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1371 %files gbm-driver-swrast
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1375 %files gbm-driver-vmwgfx
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1383 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1384 # libglapi-devel? nothing seems to need it atm.
1385 #%attr(755,root,root) %{_libdir}/libglapi.so
1388 %files libwayland-egl
1389 %defattr(644,root,root,755)
1390 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1391 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1393 %files libwayland-egl-devel
1394 %defattr(644,root,root,755)
1395 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1396 %{_pkgconfigdir}/wayland-egl.pc
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1403 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1405 %files libxatracker-devel
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/libxatracker.so
1408 %{_includedir}/xa_composite.h
1409 %{_includedir}/xa_context.h
1410 %{_includedir}/xa_tracker.h
1411 %{_pkgconfigdir}/xatracker.pc
1415 %files khrplatform-devel
1416 %defattr(644,root,root,755)
1417 %dir %{_includedir}/KHR
1418 %{_includedir}/KHR/khrplatform.h
1421 %files dri-driver-ati-radeon-R100
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1425 %files dri-driver-ati-radeon-R200
1426 %defattr(644,root,root,755)
1427 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1430 %if %{with gallium_radeon}
1431 %files dri-driver-ati-radeon-R300
1432 %defattr(644,root,root,755)
1433 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1435 %files dri-driver-ati-radeon-R600
1436 %defattr(644,root,root,755)
1437 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1439 %files dri-driver-ati-radeon-SI
1440 %defattr(644,root,root,755)
1441 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1445 %files dri-driver-intel-i915
1446 %defattr(644,root,root,755)
1447 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1449 %files dri-driver-intel-i965
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1453 %files dri-driver-nouveau
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1456 %if %{with gallium_nouveau}
1457 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1460 %files dri-driver-swrast
1461 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1465 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1468 %files dri-driver-vmwgfx
1469 %defattr(644,root,root,755)
1470 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1474 # ldconfig is not used in vdpau tree, so package all symlinks
1475 %if %{with gallium_nouveau}
1476 %files -n libvdpau-driver-mesa-nouveau
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1479 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1480 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1483 %if %{with gallium_radeon}
1484 %files -n libvdpau-driver-mesa-r300
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
1487 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1488 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
1490 %files -n libvdpau-driver-mesa-r600
1491 %defattr(644,root,root,755)
1492 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1493 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1494 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1496 %files -n libvdpau-driver-mesa-radeonsi
1497 %defattr(644,root,root,755)
1498 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1499 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1500 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1504 %if %{with gallium} && %{with omx}
1505 %files -n omxil-mesa
1506 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so