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 egl # EGL libraries
13 %bcond_without gbm # Graphics Buffer Manager
14 %bcond_without opencl # OpenCL support
15 %bcond_without ocl_icd # OpenCL as ICD (installable client driver)
16 %bcond_without omx # OpenMAX (Bellagio OMXIL) support
17 %bcond_without wayland # Wayland EGL
18 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
19 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
20 %bcond_with tests # tests
22 # glapi version (glapi tables in dri drivers and libglx must be in sync);
23 # set to current Mesa version on ABI break, when xserver tables get regenerated
24 # (until they start to be somehow versioned themselves)
25 %define glapi_ver 7.1.0
26 # minimal supported xserver version
27 %define xserver_ver 1.5.0
29 %define libdrm_ver 2.4.54
30 %define dri2proto_ver 2.6
31 %define dri3proto_ver 1.0
32 %define glproto_ver 1.4.14
33 %define presentproto_ver 1.0
35 Summary: Free OpenGL implementation
36 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
40 License: MIT (core) and others - see license.html file
42 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
43 # Source0-md5: 959c3ec8124fb6652994ec4a51cc049e
44 URL: http://www.mesa3d.org/
45 BuildRequires: autoconf >= 2.60
46 BuildRequires: automake
47 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
48 BuildRequires: elfutils-devel
49 BuildRequires: expat-devel
50 BuildRequires: gcc >= 5:3.3
51 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
52 BuildRequires: libdrm-devel >= %{libdrm_ver}
53 BuildRequires: libselinux-devel
54 BuildRequires: libstdc++-devel >= 5:3.3.0
55 BuildRequires: libtalloc-devel >= 2:2.0.1
56 BuildRequires: libtool >= 2:2.2
57 BuildRequires: libvdpau-devel >= 0.4.1
58 BuildRequires: libxcb-devel >= 1.10
59 BuildRequires: llvm-devel >= 3.3
60 %{?with_opencl:BuildRequires: llvm-libclc}
61 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
62 %{?with_omx:BuildRequires: libomxil-bellagio-devel}
63 BuildRequires: perl-base
64 BuildRequires: pixman-devel
65 BuildRequires: pkgconfig
66 BuildRequires: pkgconfig(talloc) >= 2.0.1
67 BuildRequires: pkgconfig(xcb-dri3)
68 BuildRequires: pkgconfig(xcb-present)
69 BuildRequires: python >= 2
70 BuildRequires: python-modules >= 2
71 BuildRequires: rpmbuild(macros) >= 1.470
72 BuildRequires: sed >= 4.0
73 %{?with_egl:BuildRequires: udev-devel >= 1:151}
74 # wayland-{client,server}
75 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
76 BuildRequires: xorg-lib-libXdamage-devel
77 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
78 BuildRequires: xorg-lib-libXfixes-devel
79 BuildRequires: xorg-lib-libXt-devel
80 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
81 BuildRequires: xorg-lib-libXxf86vm-devel
82 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
83 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
84 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
85 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
86 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
87 BuildRequires: xorg-util-makedepend
88 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
90 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
91 BuildRequires: xorg-xserver-server-devel >= 1.6.0
93 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
95 %if %{without gallium}
96 %undefine with_gallium_intel
97 %undefine with_gallium_nouveau
98 %undefine with_ocl_icd
105 %undefine with_wayland
108 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
109 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
110 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
111 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
114 %define filterout_ld -Wl,--as-needed
117 Mesa is a 3-D graphics library with an API which is very similar to
118 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
119 syntax or state machine, it is being used with authorization from
120 Silicon Graphics, Inc. However, the author does not possess an OpenGL
121 license from SGI, and makes no claim that Mesa is in any way a
122 compatible replacement for OpenGL or associated with SGI.
124 %description -l pl.UTF-8
125 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
126 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
127 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
128 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
129 OpenGL ani powiązana z SGI.
132 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
133 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
136 Requires: %{name}-libglapi = %{version}-%{release}
137 # glx driver in libEGL dlopens libGL.so
138 Requires: OpenGL >= 1.2
139 Requires: libdrm >= %{libdrm_ver}
140 Requires: libxcb >= 1.9
141 %{?with_wayland:Requires: wayland >= 1.2.0}
144 Requires: %{name}-libOpenVG = %{version}-%{release}
145 Requires: udev-libs >= 1:151
148 Requires: %{name}-libgbm = %{version}-%{release}
153 This package contains shared libEGL - Mesa implementation of EGL
154 Native Platform Graphics Interface as specified by Khronos Group:
155 <http://www.khronos.org/egl/>.
157 %description libEGL -l pl.UTF-8
158 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
159 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
160 graficznego platformy natywnej) wg specyfikacji Khronos Group:
161 <http://www.khronos.org/egl/>.
163 %package libEGL-devel
164 Summary: Header files for Mesa implementation of EGL library
165 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
167 Group: Development/Libraries
168 Requires: %{name}-khrplatform-devel = %{version}-%{release}
169 Requires: %{name}-libEGL = %{version}-%{release}
170 Requires: libdrm-devel >= %{libdrm_ver}
171 Requires: xorg-lib-libX11-devel
172 Requires: xorg-lib-libXdamage-devel
173 Requires: xorg-lib-libXext-devel >= 1.0.5
174 Requires: xorg-lib-libXfixes-devel
175 Requires: xorg-lib-libXxf86vm-devel
176 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
177 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
178 Provides: EGL-devel = 1.4
180 %description libEGL-devel
181 Header files for Mesa implementation of EGL library.
183 %description libEGL-devel -l pl.UTF-8
184 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
186 %package libEGL-static
187 Summary: Static Mesa EGL library
188 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
190 Group: Development/Libraries
191 Requires: %{name}-libEGL-devel = %{version}-%{release}
192 Provides: EGL-static = 1.4
194 %description libEGL-static
195 Static Mesa EGL library.
197 %description libEGL-static -l pl.UTF-8
198 Statyczna biblioteka Mesa EGL.
201 Summary: Free Mesa3D implementation of libGL OpenGL library
202 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
205 Requires: %{name}-libglapi = %{version}-%{release}
206 Requires: libdrm >= %{libdrm_ver}
207 Provides: OpenGL = 3.3
208 Provides: OpenGL-GLX = 1.4
211 Obsoletes: Mesa-dri-core < 10.0.0
212 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
213 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
216 Mesa is a 3-D graphics library with an API which is very similar to
217 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
218 syntax or state machine, it is being used with authorization from
219 Silicon Graphics, Inc. However, the author does not possess an OpenGL
220 license from SGI, and makes no claim that Mesa is in any way a
221 compatible replacement for OpenGL or associated with SGI.
223 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
224 specifications. It uses DRI for rendering.
226 %description libGL -l pl.UTF-8
227 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
228 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
229 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
230 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
231 OpenGL ani powiązana z SGI.
233 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
234 GLX 1.4. Używa DRI do renderowania.
237 Summary: Header files for Mesa3D libGL library
238 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
240 Group: X11/Development/Libraries
241 # loose dependency on libGL to use with other libGL binaries
242 Requires: OpenGL >= 1.5
243 Requires: libdrm-devel >= %{libdrm_ver}
244 Requires: xorg-lib-libX11-devel
245 Requires: xorg-lib-libXdamage-devel
246 Requires: xorg-lib-libXext-devel >= 1.0.5
247 Requires: xorg-lib-libXxf86vm-devel
248 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
249 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
250 Suggests: OpenGL-doc-man
251 Provides: OpenGL-GLX-devel = 1.4
252 Provides: OpenGL-devel = 3.3
253 Obsoletes: Mesa-devel
254 Obsoletes: X11-OpenGL-devel < 1:7.0.0
255 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
256 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
257 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
259 %description libGL-devel
260 Header files for Mesa3D libGL library.
262 %description libGL-devel -l pl.UTF-8
263 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
265 %package libGL-static
266 Summary: Static Mesa3D libGL library
267 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
269 Group: X11/Development/Libraries
270 Requires: %{name}-libGL-devel = %{version}-%{release}
271 Provides: OpenGL-static = 3.3
272 Obsoletes: Mesa-static
273 Obsoletes: X11-OpenGL-static < 1:7.0.0
274 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
276 %description libGL-static
277 Static Mesa3D libGL library. It uses software renderer.
279 %description libGL-static -l pl.UTF-8
280 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
284 Summary: Mesa implementation of GLES (OpenGL ES) libraries
285 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
287 Requires: %{name}-libglapi = %{version}-%{release}
289 Provides: OpenGLESv1 = 1.1
290 Provides: OpenGLESv2 = 2.0
293 This package contains shared libraries of Mesa implementation of GLES
294 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
295 on embedded systems. OpenGL ES specification can be found on Khronos
296 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
299 %description libGLES -l pl.UTF-8
300 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
301 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
302 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
303 OpenGL ES można znaleźć na stronie Khronos Group:
304 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
307 %package libGLES-devel
308 Summary: Header files for Mesa GLES libraries
309 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
310 Group: Development/Libraries
311 Requires: %{name}-khrplatform-devel = %{version}-%{release}
312 # <EGL/egl.h> for <GLES/egl.h>
313 Requires: %{name}-libEGL-devel = %{version}-%{release}
314 Requires: %{name}-libGLES = %{version}-%{release}
315 Provides: OpenGLES-devel
316 Provides: OpenGLESv1-devel = 1.1
317 Provides: OpenGLESv2-devel = 2.0
319 %description libGLES-devel
320 Header files for Mesa GLES libraries.
322 %description libGLES-devel -l pl.UTF-8
323 Pliki nagłówkowe bibliotek Mesa GLES.
326 Summary: OSMesa (off-screen renderer) library
327 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
331 %description libOSMesa
332 OSMesa (off-screen renderer) library.
334 %description libOSMesa -l pl.UTF-8
335 Biblioteka OSMesa (renderująca bitmapy w pamięci).
337 %package libOSMesa-devel
338 Summary: Header file for OSMesa (off-screen renderer) library
339 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
341 Group: Development/Libraries
342 Requires: %{name}-libOSMesa = %{version}-%{release}
344 Requires: OpenGL-devel
345 Requires: libselinux-devel
347 %description libOSMesa-devel
348 Header file for OSMesa (off-screen renderer) library.
350 %description libOSMesa-devel -l pl.UTF-8
351 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
353 %package libOSMesa-static
354 Summary: Static OSMesa (off-screen renderer) library
355 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
357 Group: Development/Libraries
358 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
359 # this static build of OSMesa needs static non-dri Mesa implementation
360 Requires: %{name}-libGL-static = %{version}-%{release}
362 %description libOSMesa-static
363 Static OSMesa (off-screen renderer) library.
365 %description libOSMesa-static -l pl.UTF-8
366 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
369 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
370 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
373 Requires: filesystem >= 4.0-29
374 Requires: libdrm >= %{libdrm_ver}
375 Requires: llvm-libclc
376 Requires: udev-libs >= 1:151
377 Provides: OpenCL = 1.1
379 %description OpenCL-icd
380 This package contains Mesa implementation of OpenCL - standard for
381 cross-platform, parallel programming of modern processors found in
382 personal computers, servers and handheld/embedded devices. OpenCL
383 specification can be found on Khronos Group site:
384 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
386 The implementation is provided as an installable client driver (ICD)
387 for use with the ocl-icd loader.
389 %description OpenCL-icd -l pl.UTF-8
390 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
391 wieloplatformowego, równoległego programowania nowoczesnych
392 procesorów, jakie znajdują się w komputerach osobistych, serwerach
393 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
394 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
395 Mesa zawiera implementację OpenCL w wersji 1.1.
397 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
398 (ICD), który może być użyty z loaderem ocl-icd.
401 Summary: Mesa implementation of OpenCL (Compuing Language) API
402 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
405 Requires: libdrm >= %{libdrm_ver}
406 Requires: llvm-libclc
407 Requires: udev-libs >= 1:151
408 Provides: OpenCL = 1.1
410 %description libOpenCL
411 This package contains Mesa implementation of OpenCL - standard for
412 cross-platform, parallel programming of modern processors found in
413 personal computers, servers and handheld/embedded devices. OpenCL
414 specification can be found on Khronos Group site:
415 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
417 %description libOpenCL -l pl.UTF-8
418 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
419 wieloplatformowego, równoległego programowania nowoczesnych
420 procesorów, jakie znajdują się w komputerach osobistych, serwerach
421 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
422 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
423 Mesa zawiera implementację OpenCL w wersji 1.1.
425 %package libOpenCL-devel
426 Summary: Header files for Mesa OpenCL library
427 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
429 Group: Development/Libraries
430 Requires: %{name}-libOpenCL = %{version}-%{release}
431 Provides: OpenCL-devel = 1.1
433 %description libOpenCL-devel
434 Header files for Mesa OpenCL library.
436 %description libOpenCL-devel -l pl.UTF-8
437 Pliki nagłówkowe biblioteki Mesa OpenCL.
440 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
441 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
444 Provides: OpenVG = 1.1
446 %description libOpenVG
447 This package contains Mesa implementation of OpenVG - cross-platform
448 API that provides a low-level hardware acceleration interface for
449 vector graphics libraries such as Flash and SVG. OpenVG specification
450 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
451 Mesa implements OpenVG 1.1.
453 %description libOpenVG -l pl.UTF-8
454 Ten pakiet zawiera implementację Mesa standardu OpenVG -
455 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
456 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
457 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
458 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
461 %package libOpenVG-devel
462 Summary: Header file for Mesa OpenVG library
463 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
465 Group: Development/Libraries
466 Requires: %{name}-khrplatform-devel = %{version}-%{release}
467 Requires: %{name}-libOpenVG = %{version}-%{release}
468 Provides: OpenVG-devel = 1.1
470 %description libOpenVG-devel
471 Header file for Mesa OpenVG library.
473 %description libOpenVG-devel -l pl.UTF-8
474 Plik nagłówkowy biblioteki Mesa OpenVG.
476 %package libXvMC-nouveau
477 Summary: Mesa implementation of XvMC API for NVidia adapters
478 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
481 Requires: libdrm >= %{libdrm_ver}
482 Requires: xorg-lib-libXvMC >= 1.0.6
483 Conflicts: Mesa-libXvMC
485 %description libXvMC-nouveau
486 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
488 %description libXvMC-nouveau -l pl.UTF-8
489 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
491 %package libXvMC-r600
492 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
493 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
496 Requires: libdrm >= %{libdrm_ver}
497 Requires: xorg-lib-libXvMC >= 1.0.6
498 Conflicts: Mesa-libXvMC
500 %description libXvMC-r600
501 Mesa implementation of XvMC API for ATI Radeon adapters based on
504 %description libXvMC-r600 -l pl.UTF-8
505 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
509 Summary: Mesa Graphics Buffer Manager library
510 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
512 Requires: %{name}-libglapi = %{version}-%{release}
513 Requires: udev-libs >= 1:151
514 Conflicts: Mesa-libEGL < 8.0.1-2
517 Mesa Graphics Buffer Manager library.
519 %description libgbm -l pl.UTF-8
520 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
522 %package libgbm-devel
523 Summary: Header file for Mesa Graphics Buffer Manager library
524 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
525 Group: Development/Libraries
526 Requires: %{name}-libgbm = %{version}-%{release}
527 Requires: udev-devel >= 1:151
529 %description libgbm-devel
530 Header file for Mesa Graphics Buffer Manager library.
532 %description libgbm-devel -l pl.UTF-8
533 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
536 %package gbm-driver-i915
537 Summary: i915 driver for Mesa GBM framework
538 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
540 Requires: %{name}-libgbm = %{version}-%{release}
541 Obsoletes: Mesa-opencl-driver-i915
543 %description gbm-driver-i915
544 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
545 915/945/G33/Q33/Q35/Pineview chips.
547 %description gbm-driver-i915 -l pl.UTF-8
548 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
549 bufora graficznego). Obsługuje układy Intela z serii
550 915/945/G33/Q33/Q35/Pineview.
552 %package gbm-driver-nouveau
553 Summary: nouveau driver for Mesa GBM framework
554 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
556 Requires: %{name}-libgbm = %{version}-%{release}
557 Obsoletes: Mesa-opencl-driver-nouveau
559 %description gbm-driver-nouveau
560 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
563 %description gbm-driver-nouveau -l pl.UTF-8
564 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
565 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
567 %package gbm-driver-r300
568 Summary: r300 driver for Mesa GBM framework
569 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
571 Requires: %{name}-libgbm = %{version}-%{release}
572 Obsoletes: Mesa-opencl-driver-r300
574 %description gbm-driver-r300
575 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
576 adapters based on R300/R400/RS690/R500 chips.
578 %description gbm-driver-r300 -l pl.UTF-8
579 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
580 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
581 układach R300/R400/RS690/R500.
583 %package gbm-driver-r600
584 Summary: r600 driver for Mesa GBM framework
585 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
587 Requires: %{name}-libgbm = %{version}-%{release}
588 Obsoletes: Mesa-libllvmradeon
589 Obsoletes: Mesa-opencl-driver-r600
591 %description gbm-driver-r600
592 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
593 adapters based on R600/R700 chips.
595 %description gbm-driver-r600 -l pl.UTF-8
596 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
597 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
600 %package gbm-driver-radeonsi
601 Summary: radeonsi driver for Mesa GBM framework
602 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
604 Requires: %{name}-libgbm = %{version}-%{release}
605 Obsoletes: Mesa-libllvmradeon
606 Obsoletes: Mesa-opencl-driver-radeonsi
608 %description gbm-driver-radeonsi
609 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
610 Radeon adapters based on Southern Islands chips.
612 %description gbm-driver-radeonsi -l pl.UTF-8
613 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
614 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
615 oparte na układach Southern Islands.
617 %package gbm-driver-swrast
618 Summary: Software (swrast) driver for Mesa GBM framework
619 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
621 Requires: %{name}-libgbm = %{version}-%{release}
622 Obsoletes: Mesa-opencl-driver-swrast
624 %description gbm-driver-swrast
625 Software (swrast) driver for Mesa Graphics Buffer Manager.
627 %description gbm-driver-swrast -l pl.UTF-8
628 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
629 Manager (zarządcy bufora graficznego).
631 %package gbm-driver-vmwgfx
632 Summary: vmwgfx driver for Mesa GBM framework
633 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
635 Requires: %{name}-libgbm = %{version}-%{release}
636 Obsoletes: Mesa-opencl-driver-vmwgfx
638 %description gbm-driver-vmwgfx
639 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
640 virtual video adapter.
642 %description gbm-driver-vmwgfx -l pl.UTF-8
643 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
644 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
647 Summary: Mesa GL API shared library
648 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
650 Conflicts: Mesa-libEGL < 8.0.1-2
652 %description libglapi
653 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
655 %description libglapi -l pl.UTF-8
656 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
659 %package libwayland-egl
660 Summary: Wayland EGL library
661 Summary(pl.UTF-8): Biblioteka Wayland EGL
663 Requires: libdrm >= %{libdrm_ver}
665 %description libwayland-egl
666 Wayland EGL platform library.
668 %description libwayland-egl -l pl.UTF-8
669 Biblioteka platformy EGL Wayland.
671 %package libwayland-egl-devel
672 Summary: Development files for Wayland EGL library
673 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
674 Group: Development/Libraries
675 Requires: %{name}-libwayland-egl = %{version}-%{release}
676 Requires: libdrm-devel >= %{libdrm_ver}
678 %description libwayland-egl-devel
679 Development files for Wayland EGL platform library.
681 %description libwayland-egl-devel -l pl.UTF-8
682 Pliki programistyczne biblioteki platformy EGL Wayland.
684 %package libxatracker
685 Summary: Xorg Gallium3D accelleration library
686 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
688 Requires: libdrm >= %{libdrm_ver}
690 %description libxatracker
691 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
693 %description libxatracker -l pl.UTF-8
694 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
697 %package libxatracker-devel
698 Summary: Header files for Xorg Gallium3D accelleration library
699 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
700 Group: X11/Development/Libraries
701 Requires: %{name}-libxatracker = %{version}-%{release}
702 Requires: libdrm-devel >= %{libdrm_ver}
704 %description libxatracker-devel
705 Header files for Xorg Gallium3D accelleration library.
707 %description libxatracker-devel -l pl.UTF-8
708 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
710 %package khrplatform-devel
711 Summary: Khronos platform header file
712 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
713 Group: Development/Libraries
714 Conflicts: Mesa-libEGL-devel < 8.0.1-2
716 %description khrplatform-devel
717 Khronos platform header file.
719 %description khrplatform-devel -l pl.UTF-8
720 Plik nagłówkowy platformy Khronos.
722 %package dri-driver-ati-radeon-R100
723 Summary: X.org DRI driver for ATI R100 card family
724 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
727 Requires: xorg-driver-video-ati
728 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
729 Requires: xorg-xserver-server >= %{xserver_ver}
730 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
732 %description dri-driver-ati-radeon-R100
733 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
735 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
736 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
738 %package dri-driver-ati-radeon-R200
739 Summary: X.org DRI driver for ATI R200 card family
740 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
743 Requires: xorg-driver-video-ati
744 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
745 Requires: xorg-xserver-server >= %{xserver_ver}
746 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
748 %description dri-driver-ati-radeon-R200
749 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
751 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
752 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
754 %package dri-driver-ati-radeon-R300
755 Summary: X.org DRI driver for ATI R300 card family
756 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
759 Requires: xorg-driver-video-ati
760 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
761 Requires: xorg-xserver-server >= %{xserver_ver}
762 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
764 %description dri-driver-ati-radeon-R300
765 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
767 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
768 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
770 %package dri-driver-ati-radeon-R600
771 Summary: X.org DRI driver for ATI R600 card family
772 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
775 Requires: radeon-ucode
776 Requires: xorg-driver-video-ati
777 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
778 Requires: xorg-xserver-server >= %{xserver_ver}
780 %description dri-driver-ati-radeon-R600
781 X.org DRI driver for ATI R600/R700 card family.
783 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
784 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
786 %package dri-driver-ati-radeon-SI
787 Summary: X.org DRI driver for ATI Southern Islands card family
788 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
791 Requires: radeon-ucode
792 Requires: xorg-driver-video-ati
793 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
794 Requires: xorg-xserver-server >= %{xserver_ver}
796 %description dri-driver-ati-radeon-SI
797 X.org DRI driver for ATI Southern Islands card family.
799 %description dri-driver-ati-radeon-SI -l pl.UTF-8
800 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
802 %package dri-driver-intel-i915
803 Summary: X.org DRI driver for Intel i915 card family
804 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
807 Requires: xorg-driver-video-intel
808 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
809 Requires: xorg-xserver-server >= %{xserver_ver}
810 Obsoletes: Mesa-dri-driver-intel-i830
811 Obsoletes: X11-driver-i810-dri < 1:7.0.0
813 %description dri-driver-intel-i915
814 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
817 %description dri-driver-intel-i915 -l pl.UTF-8
818 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
821 %package dri-driver-intel-i965
822 Summary: X.org DRI driver for Intel i965 card family
823 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
826 Requires: xorg-driver-video-intel
827 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
828 Requires: xorg-xserver-server >= %{xserver_ver}
829 Obsoletes: Mesa-dri-driver-intel-i830
830 Obsoletes: X11-driver-i810-dri < 1:7.0.0
832 %description dri-driver-intel-i965
833 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
834 965GME, GM45, G41, B43, Q45, G45);
836 %description dri-driver-intel-i965 -l pl.UTF-8
837 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
838 965GM, 965GME, GM45, G41, B43, Q45, G45).
840 %package dri-driver-nouveau
841 Summary: X.org DRI driver for NVIDIA card family
842 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
845 Requires: xorg-driver-video-nouveau
846 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
847 Requires: xorg-xserver-server >= %{xserver_ver}
849 %description dri-driver-nouveau
850 X.org DRI drivers for NVIDIA card family.
852 %description dri-driver-nouveau -l pl.UTF-8
853 Sterowniki X.org DRI dla rodziny kart NVIDIA.
855 %package dri-driver-swrast
856 Summary: X.org DRI software rasterizer driver
857 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
860 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
861 Requires: xorg-xserver-server >= %{xserver_ver}
863 %description dri-driver-swrast
864 X.org DRI software rasterizer driver.
866 %description dri-driver-swrast -l pl.UTF-8
867 Sterownik X.org DRI obsługujący rysowanie programowe.
869 %package dri-driver-vmwgfx
870 Summary: X.org DRI driver for VMware
871 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
874 Requires: xorg-driver-video-vmware
875 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
876 Requires: xorg-xserver-server >= %{xserver_ver}
878 %description dri-driver-vmwgfx
879 X.org DRI driver for VMWare.
881 %description dri-driver-vmwgfx -l pl.UTF-8
882 Sterownik X.org DRI dla VMware.
884 %package -n libvdpau-driver-mesa-nouveau
885 Summary: Mesa nouveau driver for the vdpau API
886 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
889 Requires: libdrm >= %{libdrm_ver}
890 Requires: libvdpau >= 0.4.1
891 Conflicts: libvdpau-driver-mesa
893 %description -n libvdpau-driver-mesa-nouveau
894 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
897 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
898 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
901 %package -n libvdpau-driver-mesa-r600
902 Summary: Mesa r600 driver for the vdpau API
903 Summary(pl.UTF-8): Sterownik Mesa r600 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-r600
911 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
912 based on R600/R700 chips.
914 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
915 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
916 na układach R600/R700.
918 %package -n libvdpau-driver-mesa-radeonsi
919 Summary: Mesa radeonsi driver for the vdpau API
920 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
923 Requires: libdrm >= %{libdrm_ver}
924 Requires: libvdpau >= 0.4.1
925 Conflicts: libvdpau-driver-mesa
926 Obsoletes: Mesa-libllvmradeon
928 %description -n libvdpau-driver-mesa-radeonsi
929 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
930 adapters based on Southern Islands chips.
932 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
933 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
934 oparte na układach Southern Islands.
936 %package -n omxil-mesa-nouveau
937 Summary: Mesa nouveau driver for Bellagio OpenMAX IL API
938 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
941 Requires: libdrm >= %{libdrm_ver}
942 Requires: libxcb >= 1.8
943 Requires: libomxil-bellagio
945 %description -n omxil-mesa-nouveau
946 Mesa nouveau driver for Bellagio OpenMAX IL API. It supports NVidia
947 adapters (NV40-NV96, NVa0).
949 %description -n omxil-mesa-nouveau -l pl.UTF-8
950 Sterownik Mesa nouveau dla API Bellagio OpenMAX IL. Obsługuje karty
951 NVidia (NV40-NV96, NVa0).
953 %package -n omxil-mesa-r600
954 Summary: Mesa r600 driver for Bellagio OpenMAX IL API
955 Summary(pl.UTF-8): Sterownik Mesa r600 dla API Bellagio OpenMAX IL
958 Requires: libdrm >= %{libdrm_ver}
959 Requires: libxcb >= 1.8
960 Requires: libomxil-bellagio
962 %description -n omxil-mesa-r600
963 Mesa r600 driver for Bellagio OpenMAX IL API. It supports ATI Radeon
964 adapters based on R600/R700 chips.
966 %description -n omxil-mesa-r600 -l pl.UTF-8
967 Sterownik Mesa r600 dla API Bellagio OpenMAX IL. Obsługuje karty ATI
968 Radeon oparte na układach R600/R700.
970 %package -n omxil-mesa-radeonsi
971 Summary: Mesa radeonsi driver for Bellagio OpenMAX IL API
972 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL
975 Requires: libdrm >= %{libdrm_ver}
976 Requires: libxcb >= 1.8
977 Requires: libomxil-bellagio
979 %description -n omxil-mesa-radeonsi
980 Mesa radeonsi driver for Bellagio OpenMAX IL API. It supports ATI
981 Radeon adapters based on Southern Islands chips.
983 %description -n omxil-mesa-radeonsi -l pl.UTF-8
984 Sterownik Mesa radeonsi dla API Bellagio OpenMAX IL. Obsługuje karty
985 ATI Radeon oparte na układach Southern Islands.
996 dri_drivers="r200 radeon \
997 %if %{without gallium_intel}
1002 %ifarch sparc sparcv9 sparc64
1007 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1009 gallium_drivers="svga swrast \
1010 %if %{with gallium_intel}
1016 %if %{with gallium_nouveau}
1021 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1024 --disable-silent-rules \
1028 %{?with_static_libs:--enable-static} \
1031 --enable-shared-glapi \
1036 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
1039 --enable-gallium-llvm \
1040 --enable-llvm-shared-libs \
1041 %{__enable egl gallium-egl} \
1042 %{__enable gbm gallium-gbm} \
1043 %{__enable ocl_icd opencl-icd} \
1044 %{__enable opencl opencl} \
1045 %{?with_egl:--enable-openvg} \
1047 %{?with_omx:--enable-omx} \
1048 %{?with_xa:--enable-xa} \
1050 --with-gallium-drivers=${gallium_drivers} \
1052 --without-gallium-drivers \
1054 --with-dri-drivers=${dri_drivers} \
1055 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1059 %{?with_tests:%{__make} check}
1062 rm -rf $RPM_BUILD_ROOT
1065 DESTDIR=$RPM_BUILD_ROOT
1067 # strip out undesirable headers
1068 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1069 # dlopened by soname
1070 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1071 # not used externally
1072 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1074 %{?with_omx:%{__rm} $RPM_BUILD_ROOT%{_libdir}/bellagio/libomx_*.la}
1075 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1076 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1077 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1078 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.la
1079 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1080 # not defined by standards; and not needed, there is pkg-config support
1081 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1083 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1084 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1085 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1088 rm -rf $RPM_BUILD_ROOT
1090 %post libEGL -p /sbin/ldconfig
1091 %postun libEGL -p /sbin/ldconfig
1093 %post libGL -p /sbin/ldconfig
1094 %postun libGL -p /sbin/ldconfig
1096 %post libGLES -p /sbin/ldconfig
1097 %postun libGLES -p /sbin/ldconfig
1099 %post libOSMesa -p /sbin/ldconfig
1100 %postun libOSMesa -p /sbin/ldconfig
1102 %post libOpenCL -p /sbin/ldconfig
1103 %postun libOpenCL -p /sbin/ldconfig
1105 %post libOpenVG -p /sbin/ldconfig
1106 %postun libOpenVG -p /sbin/ldconfig
1108 %post libXvMC-nouveau -p /sbin/ldconfig
1109 %postun libXvMC-nouveau -p /sbin/ldconfig
1110 %post libXvMC-r600 -p /sbin/ldconfig
1111 %postun libXvMC-r600 -p /sbin/ldconfig
1113 %post libgbm -p /sbin/ldconfig
1114 %postun libgbm -p /sbin/ldconfig
1116 %post libglapi -p /sbin/ldconfig
1117 %postun libglapi -p /sbin/ldconfig
1119 %post libwayland-egl -p /sbin/ldconfig
1120 %postun libwayland-egl -p /sbin/ldconfig
1122 %post libxatracker -p /sbin/ldconfig
1123 %postun libxatracker -p /sbin/ldconfig
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1129 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1132 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) %{_libdir}/libEGL.so
1138 %dir %{_includedir}/EGL
1139 %{_includedir}/EGL/egl.h
1140 %{_includedir}/EGL/eglext.h
1141 %{_includedir}/EGL/eglmesaext.h
1142 %{_includedir}/EGL/eglplatform.h
1143 %{_pkgconfigdir}/egl.pc
1145 %if %{with static_libs}
1146 %files libEGL-static
1147 %defattr(644,root,root,755)
1153 %defattr(644,root,root,755)
1154 %doc docs/{*.html,README.UVD,relnotes/*.html}
1155 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1156 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1157 # symlink for binary apps which fail to conform Linux OpenGL ABI
1158 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1159 %attr(755,root,root) %{_libdir}/libGL.so
1160 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1163 %defattr(644,root,root,755)
1165 %dir %{_includedir}/GL
1166 %{_includedir}/GL/gl.h
1167 %{_includedir}/GL/glext.h
1168 %{_includedir}/GL/gl_mangle.h
1169 %{_includedir}/GL/glx.h
1170 %{_includedir}/GL/glxext.h
1171 %{_includedir}/GL/glx_mangle.h
1172 %dir %{_includedir}/GL/internal
1173 %{_includedir}/GL/internal/dri_interface.h
1174 %{_pkgconfigdir}/dri.pc
1175 %{_pkgconfigdir}/gl.pc
1177 %if %{with static_libs}
1179 %defattr(644,root,root,755)
1184 %defattr(644,root,root,755)
1185 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1186 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1187 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1188 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1190 %files libGLES-devel
1191 %defattr(644,root,root,755)
1192 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1193 %attr(755,root,root) %{_libdir}/libGLESv2.so
1195 %{_includedir}/GLES2
1196 %{_includedir}/GLES3
1197 %{_pkgconfigdir}/glesv1_cm.pc
1198 %{_pkgconfigdir}/glesv2.pc
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1203 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1205 %files libOSMesa-devel
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_libdir}/libOSMesa.so
1208 %{_includedir}/GL/osmesa.h
1209 %{_pkgconfigdir}/osmesa.pc
1211 %if %{with static_libs}
1212 %files libOSMesa-static
1213 %defattr(644,root,root,755)
1214 %{_libdir}/libOSMesa.a
1220 %defattr(644,root,root,755)
1221 /etc/OpenCL/vendors/mesa.icd
1222 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1223 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1224 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1229 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1231 %files libOpenCL-devel
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_libdir}/libOpenCL.so
1238 %if %{with egl} && %{with gallium}
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1242 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1244 %files libOpenVG-devel
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libdir}/libOpenVG.so
1248 %{_pkgconfigdir}/vg.pc
1252 %if %{with gallium_nouveau}
1253 %files libXvMC-nouveau
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1256 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1262 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1269 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1272 %dir %{_libdir}/gallium-pipe
1273 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libdir}/libgbm.so
1279 %{_includedir}/gbm.h
1280 %{_pkgconfigdir}/gbm.pc
1284 %if %{with gallium_intel}
1285 %files gbm-driver-i915
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1290 %if %{with gallium_nouveau}
1291 %files gbm-driver-nouveau
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1296 %files gbm-driver-r300
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1300 %files gbm-driver-r600
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1304 %files gbm-driver-radeonsi
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1308 %files gbm-driver-swrast
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1312 %files gbm-driver-vmwgfx
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1318 %defattr(644,root,root,755)
1319 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1320 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1321 # libglapi-devel? nothing seems to need it atm.
1322 #%attr(755,root,root) %{_libdir}/libglapi.so
1325 %files libwayland-egl
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1328 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1330 %files libwayland-egl-devel
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1333 %{_pkgconfigdir}/wayland-egl.pc
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1340 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1342 %files libxatracker-devel
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/libxatracker.so
1345 %{_includedir}/xa_composite.h
1346 %{_includedir}/xa_context.h
1347 %{_includedir}/xa_tracker.h
1348 %{_pkgconfigdir}/xatracker.pc
1352 %files khrplatform-devel
1353 %defattr(644,root,root,755)
1354 %dir %{_includedir}/KHR
1355 %{_includedir}/KHR/khrplatform.h
1358 %files dri-driver-ati-radeon-R100
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1362 %files dri-driver-ati-radeon-R200
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1367 %files dri-driver-ati-radeon-R300
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1371 %files dri-driver-ati-radeon-R600
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1376 %files dri-driver-ati-radeon-SI
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1380 %files dri-driver-intel-i915
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1384 %files dri-driver-intel-i965
1385 %defattr(644,root,root,755)
1386 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1388 %files dri-driver-nouveau
1389 %defattr(644,root,root,755)
1390 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1391 %if %{with gallium_nouveau}
1392 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1395 %files dri-driver-swrast
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1400 %files dri-driver-vmwgfx
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1406 # ldconfig is not used in vdpau tree, so package all symlinks
1407 %if %{with gallium_nouveau}
1408 %files -n libvdpau-driver-mesa-nouveau
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1411 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1412 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1415 %files -n libvdpau-driver-mesa-r600
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1418 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1419 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1421 %files -n libvdpau-driver-mesa-radeonsi
1422 %defattr(644,root,root,755)
1423 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1424 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1425 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
1428 %if %{with gallium} && %{with omx}
1429 %if %{with gallium_nouveau}
1430 %files -n omxil-mesa-nouveau
1431 %defattr(644,root,root,755)
1432 %attr(755,root,root) %{_libdir}/bellagio/libomx_nouveau.so
1435 %files -n omxil-mesa-r600
1436 %defattr(644,root,root,755)
1437 %attr(755,root,root) %{_libdir}/bellagio/libomx_r600.so
1439 %files -n omxil-mesa-radeonsi
1440 %defattr(644,root,root,755)
1441 %attr(755,root,root) %{_libdir}/bellagio/libomx_radeonsi.so