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 (instalable client driver)
16 %bcond_without wayland # Wayland EGL
17 %bcond_without xa # XA state tracker (for vmwgfx xorg driver)
18 %bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
19 %bcond_with tests # tests
21 # glapi version (glapi tables in dri drivers and libglx must be in sync);
22 # set to current Mesa version on ABI break, when xserver tables get regenerated
23 # (until they start to be somehow versioned themselves)
24 %define glapi_ver 7.1.0
25 # minimal supported xserver version
26 %define xserver_ver 1.5.0
28 %define libdrm_ver 2.4.52
29 %define dri2proto_ver 2.6
30 %define dri3proto_ver 1.0
31 %define glproto_ver 1.4.14
32 %define presentproto_ver 1.0
34 Summary: Free OpenGL implementation
35 Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
39 License: MIT (core) and others - see license.html file
41 Source0: ftp://ftp.freedesktop.org/pub/mesa/10.1/%{name}Lib-%{version}.tar.bz2
42 # Source0-md5: 3ec43f79dbcd9aa2a4a27bf1f51655b6
43 Patch0: %{name}-link.patch
44 URL: http://www.mesa3d.org/
45 BuildRequires: autoconf >= 2.60
46 BuildRequires: automake
47 %{?with_opencl:BuildRequires: clang-devel >= 3.1}
48 BuildRequires: expat-devel
49 BuildRequires: gcc >= 5:3.3
50 %{?with_opencl:BuildRequires: gcc-c++ >= 6:4.7}
51 BuildRequires: libdrm-devel >= %{libdrm_ver}
52 BuildRequires: libselinux-devel
53 BuildRequires: libstdc++-devel >= 5:3.3.0
54 BuildRequires: libtalloc-devel >= 2:2.0.1
55 BuildRequires: libtool >= 2:2.2
56 BuildRequires: libvdpau-devel >= 0.4.1
57 BuildRequires: libxcb-devel >= 1.10
58 BuildRequires: llvm-devel >= 3.3
59 %{?with_opencl:BuildRequires: llvm-libclc}
60 %{?with_ocl_icd:BuildRequires: ocl-icd-devel}
61 BuildRequires: perl-base
62 BuildRequires: pixman-devel
63 BuildRequires: pkgconfig
64 BuildRequires: pkgconfig(talloc) >= 2.0.1
65 BuildRequires: pkgconfig(xcb-dri3)
66 BuildRequires: pkgconfig(xcb-present)
67 BuildRequires: python >= 2
68 BuildRequires: python-libxml2
69 BuildRequires: python-modules >= 2
70 BuildRequires: rpmbuild(macros) >= 1.470
71 BuildRequires: sed >= 4.0
72 %{?with_egl:BuildRequires: udev-devel >= 1:151}
73 # wayland-{client,server}
74 %{?with_wayland:BuildRequires: wayland-devel >= 1.2.0}
75 BuildRequires: xorg-lib-libXdamage-devel
76 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
77 BuildRequires: xorg-lib-libXfixes-devel
78 BuildRequires: xorg-lib-libXt-devel
79 BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
80 BuildRequires: xorg-lib-libXxf86vm-devel
81 BuildRequires: xorg-lib-libxshmfence-devel
82 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
83 BuildRequires: xorg-proto-dri3proto-devel >= %{dri3proto_ver}
84 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
85 BuildRequires: xorg-proto-presentproto-devel >= %{presentproto_ver}
86 BuildRequires: xorg-util-makedepend
87 BuildRequires: xorg-xserver-server-devel >= %{xserver_ver}
89 BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
90 BuildRequires: xorg-xserver-server-devel >= 1.6.0
92 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
94 %if %{without gallium}
95 %undefine with_gallium_intel
96 %undefine with_gallium_nouveau
97 %undefine with_ocl_icd
104 %undefine with_wayland
107 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
108 # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
109 # libgbm: circular dependency with libEGL (wayland_buffer_is_drm symbol)
110 %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libgbm.*.so.*
113 %define filterout_ld -Wl,--as-needed
115 %define specflags %{!?with_debug:-DNDEBUG}
118 Mesa is a 3-D graphics library with an API which is very similar to
119 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
120 syntax or state machine, it is being used with authorization from
121 Silicon Graphics, Inc. However, the author does not possess an OpenGL
122 license from SGI, and makes no claim that Mesa is in any way a
123 compatible replacement for OpenGL or associated with SGI.
125 %description -l pl.UTF-8
126 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
127 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
128 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
129 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
130 OpenGL ani powiązana z SGI.
133 Summary: Mesa implementation of EGL Native Platform Graphics Interface library
134 Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
137 Requires: %{name}-libglapi = %{version}-%{release}
138 # glx driver in libEGL dlopens libGL.so
139 Requires: OpenGL >= 1.2
140 Requires: libdrm >= %{libdrm_ver}
141 Requires: libxcb >= 1.9
142 %{?with_wayland:Requires: wayland >= 1.2.0}
145 Requires: %{name}-libOpenVG = %{version}-%{release}
146 Requires: udev-libs >= 1:151
149 Requires: %{name}-libgbm = %{version}-%{release}
154 This package contains shared libEGL - Mesa implementation of EGL
155 Native Platform Graphics Interface as specified by Khronos Group:
156 <http://www.khronos.org/egl/>.
158 %description libEGL -l pl.UTF-8
159 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
160 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
161 graficznego platformy natywnej) wg specyfikacji Khronos Group:
162 <http://www.khronos.org/egl/>.
164 %package libEGL-devel
165 Summary: Header files for Mesa implementation of EGL library
166 Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
168 Group: Development/Libraries
169 Requires: %{name}-khrplatform-devel = %{version}-%{release}
170 Requires: %{name}-libEGL = %{version}-%{release}
171 Requires: libdrm-devel >= %{libdrm_ver}
172 Requires: xorg-lib-libX11-devel
173 Requires: xorg-lib-libXdamage-devel
174 Requires: xorg-lib-libXext-devel
175 Requires: xorg-lib-libXfixes-devel
176 Requires: xorg-lib-libXxf86vm-devel
177 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
178 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
179 Provides: EGL-devel = 1.4
181 %description libEGL-devel
182 Header files for Mesa implementation of EGL library.
184 %description libEGL-devel -l pl.UTF-8
185 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
187 %package libEGL-static
188 Summary: Static Mesa EGL library
189 Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
191 Group: Development/Libraries
192 Requires: %{name}-libEGL-devel = %{version}-%{release}
193 Provides: EGL-static = 1.4
195 %description libEGL-static
196 Static Mesa EGL library.
198 %description libEGL-static -l pl.UTF-8
199 Statyczna biblioteka Mesa EGL.
202 Summary: Free Mesa3D implementation of libGL OpenGL library
203 Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
206 Requires: %{name}-libglapi = %{version}-%{release}
207 Requires: libdrm >= %{libdrm_ver}
208 Provides: OpenGL = 3.3
209 Provides: OpenGL-GLX = 1.4
212 Obsoletes: Mesa-dri-core < 10.0.0
213 Obsoletes: X11-OpenGL-libGL < 1:7.0.0
214 Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
217 Mesa is a 3-D graphics library with an API which is very similar to
218 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
219 syntax or state machine, it is being used with authorization from
220 Silicon Graphics, Inc. However, the author does not possess an OpenGL
221 license from SGI, and makes no claim that Mesa is in any way a
222 compatible replacement for OpenGL or associated with SGI.
224 This package contains libGL which implements OpenGL 1.5 and GLX 1.4
225 specifications. It uses DRI for rendering.
227 %description libGL -l pl.UTF-8
228 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
229 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
230 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
231 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
232 OpenGL ani powiązana z SGI.
234 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
235 GLX 1.4. Używa DRI do renderowania.
238 Summary: Header files for Mesa3D libGL library
239 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
241 Group: X11/Development/Libraries
242 # loose dependency on libGL to use with other libGL binaries
243 Requires: OpenGL >= 1.5
244 Requires: libdrm-devel >= %{libdrm_ver}
245 Requires: xorg-lib-libX11-devel
246 Requires: xorg-lib-libXdamage-devel
247 Requires: xorg-lib-libXext-devel
248 Requires: xorg-lib-libXxf86vm-devel
249 Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
250 Requires: xorg-proto-glproto-devel >= %{glproto_ver}
251 Suggests: OpenGL-doc-man
252 Provides: OpenGL-GLX-devel = 1.4
253 Provides: OpenGL-devel = 3.3
254 Obsoletes: Mesa-devel
255 Obsoletes: X11-OpenGL-devel < 1:7.0.0
256 Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
257 Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
258 Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
260 %description libGL-devel
261 Header files for Mesa3D libGL library.
263 %description libGL-devel -l pl.UTF-8
264 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
266 %package libGL-static
267 Summary: Static Mesa3D libGL library
268 Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
270 Group: X11/Development/Libraries
271 Requires: %{name}-libGL-devel = %{version}-%{release}
272 Provides: OpenGL-static = 3.3
273 Obsoletes: Mesa-static
274 Obsoletes: X11-OpenGL-static < 1:7.0.0
275 Obsoletes: XFree86-OpenGL-static < 1:7.0.0
277 %description libGL-static
278 Static Mesa3D libGL library. It uses software renderer.
280 %description libGL-static -l pl.UTF-8
281 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
285 Summary: Mesa implementation of GLES (OpenGL ES) libraries
286 Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
288 Requires: %{name}-libglapi = %{version}-%{release}
290 Provides: OpenGLESv1 = 1.1
291 Provides: OpenGLESv2 = 2.0
294 This package contains shared libraries of Mesa implementation of GLES
295 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
296 on embedded systems. OpenGL ES specification can be found on Khronos
297 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
300 %description libGLES -l pl.UTF-8
301 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
302 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
303 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
304 OpenGL ES można znaleźć na stronie Khronos Group:
305 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
308 %package libGLES-devel
309 Summary: Header files for Mesa GLES libraries
310 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
311 Group: Development/Libraries
312 Requires: %{name}-khrplatform-devel = %{version}-%{release}
313 # <EGL/egl.h> for <GLES/egl.h>
314 Requires: %{name}-libEGL-devel = %{version}-%{release}
315 Requires: %{name}-libGLES = %{version}-%{release}
316 Provides: OpenGLES-devel
317 Provides: OpenGLESv1-devel = 1.1
318 Provides: OpenGLESv2-devel = 2.0
320 %description libGLES-devel
321 Header files for Mesa GLES libraries.
323 %description libGLES-devel -l pl.UTF-8
324 Pliki nagłówkowe bibliotek Mesa GLES.
327 Summary: OSMesa (off-screen renderer) library
328 Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
332 %description libOSMesa
333 OSMesa (off-screen renderer) library.
335 %description libOSMesa -l pl.UTF-8
336 Biblioteka OSMesa (renderująca bitmapy w pamięci).
338 %package libOSMesa-devel
339 Summary: Header file for OSMesa (off-screen renderer) library
340 Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
342 Group: Development/Libraries
343 Requires: %{name}-libOSMesa = %{version}-%{release}
345 Requires: OpenGL-devel
346 Requires: libselinux-devel
348 %description libOSMesa-devel
349 Header file for OSMesa (off-screen renderer) library.
351 %description libOSMesa-devel -l pl.UTF-8
352 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
354 %package libOSMesa-static
355 Summary: Static OSMesa (off-screen renderer) library
356 Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
358 Group: Development/Libraries
359 Requires: %{name}-libOSMesa-devel = %{version}-%{release}
360 # this static build of OSMesa needs static non-dri Mesa implementation
361 Requires: %{name}-libGL-static = %{version}-%{release}
363 %description libOSMesa-static
364 Static OSMesa (off-screen renderer) library.
366 %description libOSMesa-static -l pl.UTF-8
367 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
370 Summary: Mesa implementation of OpenCL (Compuing Language) API ICD
371 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń) ICD
374 Requires: filesystem >= 4.0-29
375 Requires: libdrm >= %{libdrm_ver}
376 Requires: llvm-libclc
377 Requires: udev-libs >= 1:151
378 Provides: OpenCL = 1.1
380 %description OpenCL-icd
381 This package contains Mesa implementation of OpenCL - standard for
382 cross-platform, parallel programming of modern processors found in
383 personal computers, servers and handheld/embedded devices. OpenCL
384 specification can be found on Khronos Group site:
385 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
387 The implementation is provided as an installable client driver (ICD)
388 for use with the ocl-icd loader.
390 %description OpenCL-icd -l pl.UTF-8
391 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
392 wieloplatformowego, równoległego programowania nowoczesnych
393 procesorów, jakie znajdują się w komputerach osobistych, serwerach
394 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
395 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
396 Mesa zawiera implementację OpenCL w wersji 1.1.
398 Implementacja dostarczona jest w postaci instalowalnego sterownika klienta
399 (ICD), który może być użyty z loaderem ocl-icd.
402 Summary: Mesa implementation of OpenCL (Compuing Language) API
403 Summary(pl.UTF-8): Implementacja Mesa API OpenCL (języka obliczeń)
406 Requires: libdrm >= %{libdrm_ver}
407 Requires: llvm-libclc
408 Requires: udev-libs >= 1:151
409 Provides: OpenCL = 1.1
411 %description libOpenCL
412 This package contains Mesa implementation of OpenCL - standard for
413 cross-platform, parallel programming of modern processors found in
414 personal computers, servers and handheld/embedded devices. OpenCL
415 specification can be found on Khronos Group site:
416 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
418 %description libOpenCL -l pl.UTF-8
419 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
420 wieloplatformowego, równoległego programowania nowoczesnych
421 procesorów, jakie znajdują się w komputerach osobistych, serwerach
422 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
423 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
424 Mesa zawiera implementację OpenCL w wersji 1.1.
426 %package libOpenCL-devel
427 Summary: Header files for Mesa OpenCL library
428 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mesa OpenCL
430 Group: Development/Libraries
431 Requires: %{name}-libOpenCL = %{version}-%{release}
432 Provides: OpenCL-devel = 1.1
434 %description libOpenCL-devel
435 Header files for Mesa OpenCL library.
437 %description libOpenCL-devel -l pl.UTF-8
438 Pliki nagłówkowe biblioteki Mesa OpenCL.
441 Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
442 Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
445 Provides: OpenVG = 1.1
447 %description libOpenVG
448 This package contains Mesa implementation of OpenVG - cross-platform
449 API that provides a low-level hardware acceleration interface for
450 vector graphics libraries such as Flash and SVG. OpenVG specification
451 can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
452 Mesa implements OpenVG 1.1.
454 %description libOpenVG -l pl.UTF-8
455 Ten pakiet zawiera implementację Mesa standardu OpenVG -
456 wieloplatfomowego API zapewniającego niskopoziomowy interfejs
457 akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
458 Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
459 Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
462 %package libOpenVG-devel
463 Summary: Header file for Mesa OpenVG library
464 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
466 Group: Development/Libraries
467 Requires: %{name}-khrplatform-devel = %{version}-%{release}
468 Requires: %{name}-libOpenVG = %{version}-%{release}
469 Provides: OpenVG-devel = 1.1
471 %description libOpenVG-devel
472 Header file for Mesa OpenVG library.
474 %description libOpenVG-devel -l pl.UTF-8
475 Plik nagłówkowy biblioteki Mesa OpenVG.
477 %package libXvMC-nouveau
478 Summary: Mesa implementation of XvMC API for NVidia adapters
479 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
482 Requires: libdrm >= %{libdrm_ver}
483 Requires: xorg-lib-libXvMC >= 1.0.6
484 Conflicts: Mesa-libXvMC
486 %description libXvMC-nouveau
487 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
489 %description libXvMC-nouveau -l pl.UTF-8
490 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
492 %package libXvMC-r600
493 Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
494 Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
497 Requires: libdrm >= %{libdrm_ver}
498 Requires: xorg-lib-libXvMC >= 1.0.6
499 Conflicts: Mesa-libXvMC
501 %description libXvMC-r600
502 Mesa implementation of XvMC API for ATI Radeon adapters based on
505 %description libXvMC-r600 -l pl.UTF-8
506 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
510 Summary: Mesa Graphics Buffer Manager library
511 Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
513 Requires: %{name}-libglapi = %{version}-%{release}
514 Requires: udev-libs >= 1:151
515 Conflicts: Mesa-libEGL < 8.0.1-2
518 Mesa Graphics Buffer Manager library.
520 %description libgbm -l pl.UTF-8
521 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
523 %package libgbm-devel
524 Summary: Header file for Mesa Graphics Buffer Manager library
525 Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
526 Group: Development/Libraries
527 Requires: %{name}-libgbm = %{version}-%{release}
528 Requires: udev-devel >= 1:151
530 %description libgbm-devel
531 Header file for Mesa Graphics Buffer Manager library.
533 %description libgbm-devel -l pl.UTF-8
534 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
537 %package gbm-driver-i915
538 Summary: i915 driver for Mesa GBM framework
539 Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
541 Requires: %{name}-libgbm = %{version}-%{release}
542 Obsoletes: Mesa-opencl-driver-i915
544 %description gbm-driver-i915
545 i915 driver for Mesa Graphics Buffer Manager. It supports Intel
546 915/945/G33/Q33/Q35/Pineview chips.
548 %description gbm-driver-i915 -l pl.UTF-8
549 Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
550 bufora graficznego). Obsługuje układy Intela z serii
551 915/945/G33/Q33/Q35/Pineview.
553 %package gbm-driver-nouveau
554 Summary: nouveau driver for Mesa GBM framework
555 Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
557 Requires: %{name}-libgbm = %{version}-%{release}
558 Obsoletes: Mesa-opencl-driver-nouveau
560 %description gbm-driver-nouveau
561 nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
564 %description gbm-driver-nouveau -l pl.UTF-8
565 Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
566 bufora graficznego). Obsługuje karty graficzne firmy NVidia.
568 %package gbm-driver-r300
569 Summary: r300 driver for Mesa GBM framework
570 Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
572 Requires: %{name}-libgbm = %{version}-%{release}
573 Obsoletes: Mesa-opencl-driver-r300
575 %description gbm-driver-r300
576 r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
577 adapters based on R300/R400/RS690/R500 chips.
579 %description gbm-driver-r300 -l pl.UTF-8
580 Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
581 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
582 układach R300/R400/RS690/R500.
584 %package gbm-driver-r600
585 Summary: r600 driver for Mesa GBM framework
586 Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
588 Requires: %{name}-libgbm = %{version}-%{release}
589 Obsoletes: Mesa-libllvmradeon
590 Obsoletes: Mesa-opencl-driver-r600
592 %description gbm-driver-r600
593 r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
594 adapters based on R600/R700 chips.
596 %description gbm-driver-r600 -l pl.UTF-8
597 Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
598 bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
601 %package gbm-driver-radeonsi
602 Summary: radeonsi driver for Mesa GBM framework
603 Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
605 Requires: %{name}-libgbm = %{version}-%{release}
606 Obsoletes: Mesa-libllvmradeon
607 Obsoletes: Mesa-opencl-driver-radeonsi
609 %description gbm-driver-radeonsi
610 radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
611 Radeon adapters based on Southern Islands chips.
613 %description gbm-driver-radeonsi -l pl.UTF-8
614 Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
615 (zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
616 oparte na układach Southern Islands.
618 %package gbm-driver-swrast
619 Summary: Software (swrast) driver for Mesa GBM framework
620 Summary(pl.UTF-8): Sterownik programowy (swrast) dla szkieletu Mesa GBM
622 Requires: %{name}-libgbm = %{version}-%{release}
623 Obsoletes: Mesa-opencl-driver-swrast
625 %description gbm-driver-swrast
626 Software (swrast) driver for Mesa Graphics Buffer Manager.
628 %description gbm-driver-swrast -l pl.UTF-8
629 Sterownik programowy (swrast) dla szkieletu Mesa Graphics Buffer
630 Manager (zarządcy bufora graficznego).
632 %package gbm-driver-vmwgfx
633 Summary: vmwgfx driver for Mesa GBM framework
634 Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
636 Requires: %{name}-libgbm = %{version}-%{release}
637 Obsoletes: Mesa-opencl-driver-vmwgfx
639 %description gbm-driver-vmwgfx
640 vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
641 virtual video adapter.
643 %description gbm-driver-vmwgfx -l pl.UTF-8
644 Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
645 bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
648 Summary: Mesa GL API shared library
649 Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
651 Conflicts: Mesa-libEGL < 8.0.1-2
653 %description libglapi
654 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
656 %description libglapi -l pl.UTF-8
657 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
660 %package libwayland-egl
661 Summary: Wayland EGL library
662 Summary(pl.UTF-8): Biblioteka Wayland EGL
664 Requires: libdrm >= %{libdrm_ver}
666 %description libwayland-egl
667 Wayland EGL platform library.
669 %description libwayland-egl -l pl.UTF-8
670 Biblioteka platformy EGL Wayland.
672 %package libwayland-egl-devel
673 Summary: Development files for Wayland EGL library
674 Summary(pl.UTF-8): Pliki programistyczne biblioteki Wayland EGL
675 Group: Development/Libraries
676 Requires: %{name}-libwayland-egl = %{version}-%{release}
677 Requires: libdrm-devel >= %{libdrm_ver}
679 %description libwayland-egl-devel
680 Development files for Wayland EGL platform library.
682 %description libwayland-egl-devel -l pl.UTF-8
683 Pliki programistyczne biblioteki platformy EGL Wayland.
685 %package libxatracker
686 Summary: Xorg Gallium3D accelleration library
687 Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
689 Requires: libdrm >= %{libdrm_ver}
691 %description libxatracker
692 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
694 %description libxatracker -l pl.UTF-8
695 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
698 %package libxatracker-devel
699 Summary: Header files for Xorg Gallium3D accelleration library
700 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
701 Group: X11/Development/Libraries
702 Requires: %{name}-libxatracker = %{version}-%{release}
703 Requires: libdrm-devel >= %{libdrm_ver}
705 %description libxatracker-devel
706 Header files for Xorg Gallium3D accelleration library.
708 %description libxatracker-devel -l pl.UTF-8
709 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
711 %package khrplatform-devel
712 Summary: Khronos platform header file
713 Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
714 Group: Development/Libraries
715 Conflicts: Mesa-libEGL-devel < 8.0.1-2
717 %description khrplatform-devel
718 Khronos platform header file.
720 %description khrplatform-devel -l pl.UTF-8
721 Plik nagłówkowy platformy Khronos.
723 %package dri-driver-ati-radeon-R100
724 Summary: X.org DRI driver for ATI R100 card family
725 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
728 Requires: xorg-driver-video-ati
729 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
730 Requires: xorg-xserver-server >= %{xserver_ver}
731 Obsoletes: X11-driver-radeon-dri < 1:7.0.0
733 %description dri-driver-ati-radeon-R100
734 X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
736 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
737 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
739 %package dri-driver-ati-radeon-R200
740 Summary: X.org DRI driver for ATI R200 card family
741 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
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-R200
750 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
752 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
753 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
755 %package dri-driver-ati-radeon-R300
756 Summary: X.org DRI driver for ATI R300 card family
757 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
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-R300
766 X.org DRI driver for ATI R300/R400/RS690/R500 card family.
768 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
769 Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
771 %package dri-driver-ati-radeon-R600
772 Summary: X.org DRI driver for ATI R600 card family
773 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
776 Requires: radeon-ucode
777 Requires: xorg-driver-video-ati
778 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
779 Requires: xorg-xserver-server >= %{xserver_ver}
781 %description dri-driver-ati-radeon-R600
782 X.org DRI driver for ATI R600/R700 card family.
784 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
785 Sterownik X.org DRI dla rodziny kart ATI R600/R700.
787 %package dri-driver-ati-radeon-SI
788 Summary: X.org DRI driver for ATI Southern Islands card family
789 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Southern Islands
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-SI
798 X.org DRI driver for ATI Southern Islands card family.
800 %description dri-driver-ati-radeon-SI -l pl.UTF-8
801 Sterownik X.org DRI dla rodziny kart ATI Southern Islands.
803 %package dri-driver-intel-i915
804 Summary: X.org DRI driver for Intel i915 card family
805 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
808 Requires: xorg-driver-video-intel
809 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
810 Requires: xorg-xserver-server >= %{xserver_ver}
811 Obsoletes: Mesa-dri-driver-intel-i830
812 Obsoletes: X11-driver-i810-dri < 1:7.0.0
814 %description dri-driver-intel-i915
815 X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
818 %description dri-driver-intel-i915 -l pl.UTF-8
819 Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
822 %package dri-driver-intel-i965
823 Summary: X.org DRI driver for Intel i965 card family
824 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
827 Requires: xorg-driver-video-intel
828 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
829 Requires: xorg-xserver-server >= %{xserver_ver}
830 Obsoletes: Mesa-dri-driver-intel-i830
831 Obsoletes: X11-driver-i810-dri < 1:7.0.0
833 %description dri-driver-intel-i965
834 X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
835 965GME, GM45, G41, B43, Q45, G45);
837 %description dri-driver-intel-i965 -l pl.UTF-8
838 Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
839 965GM, 965GME, GM45, G41, B43, Q45, G45).
841 %package dri-driver-nouveau
842 Summary: X.org DRI driver for NVIDIA card family
843 Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
846 Requires: xorg-driver-video-nouveau
847 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
848 Requires: xorg-xserver-server >= %{xserver_ver}
850 %description dri-driver-nouveau
851 X.org DRI drivers for NVIDIA card family.
853 %description dri-driver-nouveau -l pl.UTF-8
854 Sterowniki X.org DRI dla rodziny kart NVIDIA.
856 %package dri-driver-swrast
857 Summary: X.org DRI software rasterizer driver
858 Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
861 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
862 Requires: xorg-xserver-server >= %{xserver_ver}
864 %description dri-driver-swrast
865 X.org DRI software rasterizer driver.
867 %description dri-driver-swrast -l pl.UTF-8
868 Sterownik X.org DRI obsługujący rysowanie programowe.
870 %package dri-driver-vmwgfx
871 Summary: X.org DRI driver for VMware
872 Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
875 Requires: xorg-driver-video-vmware
876 Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
877 Requires: xorg-xserver-server >= %{xserver_ver}
879 %description dri-driver-vmwgfx
880 X.org DRI driver for VMWare.
882 %description dri-driver-vmwgfx -l pl.UTF-8
883 Sterownik X.org DRI dla VMware.
885 %package -n libvdpau-driver-mesa-nouveau
886 Summary: Mesa nouveau driver for the vdpau API
887 Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
890 Requires: libdrm >= %{libdrm_ver}
891 Requires: libvdpau >= 0.4.1
892 Conflicts: libvdpau-driver-mesa
894 %description -n libvdpau-driver-mesa-nouveau
895 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
898 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
899 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
902 %package -n libvdpau-driver-mesa-r600
903 Summary: Mesa r600 driver for the vdpau API
904 Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
907 Requires: libdrm >= %{libdrm_ver}
908 Requires: libvdpau >= 0.4.1
909 Conflicts: libvdpau-driver-mesa
911 %description -n libvdpau-driver-mesa-r600
912 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
913 based on R600/R700 chips.
915 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
916 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
917 na układach R600/R700.
919 %package -n libvdpau-driver-mesa-radeonsi
920 Summary: Mesa radeonsi driver for the vdpau API
921 Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
924 Requires: libdrm >= %{libdrm_ver}
925 Requires: libvdpau >= 0.4.1
926 Conflicts: libvdpau-driver-mesa
927 Obsoletes: Mesa-libllvmradeon
929 %description -n libvdpau-driver-mesa-radeonsi
930 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
931 adapters based on Southern Islands chips.
933 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
934 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
935 oparte na układach Southern Islands.
947 dri_drivers="r200 radeon \
948 %if %{without gallium_intel}
953 %ifarch sparc sparcv9 sparc64
958 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
960 gallium_drivers="svga swrast \
961 %if %{with gallium_intel}
967 %if %{with gallium_nouveau}
972 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
975 --disable-silent-rules \
979 %{?with_static_libs:--enable-static} \
982 --enable-shared-glapi \
987 --with-egl-platforms=x11%{?with_gbm:,drm}%{?with_wayland:,wayland} \
990 --enable-gallium-llvm \
991 --with-llvm-shared-libs \
992 %{__enable egl gallium-egl} \
993 %{__enable gbm gallium-gbm} \
994 %{__enable ocl_icd opencl-icd} \
995 %{__enable opencl opencl} \
996 %{?with_egl:--enable-openvg} \
998 %{?with_xa:--enable-xa} \
1000 --with-gallium-drivers=${gallium_drivers} \
1002 --without-gallium-drivers \
1004 --with-dri-drivers=${dri_drivers} \
1005 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
1009 %{?with_tests:%{__make} check}
1012 rm -rf $RPM_BUILD_ROOT
1015 DESTDIR=$RPM_BUILD_ROOT
1017 # strip out undesirable headers
1018 %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{wglext,wmesa}.h
1019 # dlopened by soname
1020 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
1021 # not used externally
1022 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1024 %{__rm} $RPM_BUILD_ROOT%{_libdir}/egl/egl_*.la
1025 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gallium-pipe/pipe_*.la
1026 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gbm/gbm_*.la
1027 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_*.la
1028 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/*.la
1029 # not defined by standards; and not needed, there is pkg-config support
1030 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
1032 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1033 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1034 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1037 rm -rf $RPM_BUILD_ROOT
1039 %post libEGL -p /sbin/ldconfig
1040 %postun libEGL -p /sbin/ldconfig
1042 %post libGL -p /sbin/ldconfig
1043 %postun libGL -p /sbin/ldconfig
1045 %post libGLES -p /sbin/ldconfig
1046 %postun libGLES -p /sbin/ldconfig
1048 %post libOSMesa -p /sbin/ldconfig
1049 %postun libOSMesa -p /sbin/ldconfig
1051 %post libOpenCL -p /sbin/ldconfig
1052 %postun libOpenCL -p /sbin/ldconfig
1054 %post libOpenVG -p /sbin/ldconfig
1055 %postun libOpenVG -p /sbin/ldconfig
1057 %post libXvMC-nouveau -p /sbin/ldconfig
1058 %postun libXvMC-nouveau -p /sbin/ldconfig
1059 %post libXvMC-r600 -p /sbin/ldconfig
1060 %postun libXvMC-r600 -p /sbin/ldconfig
1062 %post libgbm -p /sbin/ldconfig
1063 %postun libgbm -p /sbin/ldconfig
1065 %post libglapi -p /sbin/ldconfig
1066 %postun libglapi -p /sbin/ldconfig
1068 %post libwayland-egl -p /sbin/ldconfig
1069 %postun libwayland-egl -p /sbin/ldconfig
1071 %post libxatracker -p /sbin/ldconfig
1072 %postun libxatracker -p /sbin/ldconfig
1076 %defattr(644,root,root,755)
1077 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1078 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1081 %attr(755,root,root) %{_libdir}/egl/egl_gallium.so
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{_libdir}/libEGL.so
1087 %dir %{_includedir}/EGL
1088 %{_includedir}/EGL/egl.h
1089 %{_includedir}/EGL/eglext.h
1090 %{_includedir}/EGL/eglmesaext.h
1091 %{_includedir}/EGL/eglplatform.h
1092 %{_pkgconfigdir}/egl.pc
1094 %if %{with static_libs}
1095 %files libEGL-static
1096 %defattr(644,root,root,755)
1102 %defattr(644,root,root,755)
1103 %doc docs/{*.html,README.UVD,relnotes/*.html}
1104 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1105 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1106 # symlink for binary apps which fail to conform Linux OpenGL ABI
1107 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1108 %attr(755,root,root) %{_libdir}/libGL.so
1109 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/drirc
1112 %defattr(644,root,root,755)
1114 %dir %{_includedir}/GL
1115 %{_includedir}/GL/gl.h
1116 %{_includedir}/GL/glext.h
1117 %{_includedir}/GL/gl_mangle.h
1118 %{_includedir}/GL/glx.h
1119 %{_includedir}/GL/glxext.h
1120 %{_includedir}/GL/glx_mangle.h
1121 %dir %{_includedir}/GL/internal
1122 %{_includedir}/GL/internal/dri_interface.h
1123 %{_pkgconfigdir}/dri.pc
1124 %{_pkgconfigdir}/gl.pc
1126 %if %{with static_libs}
1128 %defattr(644,root,root,755)
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1135 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1136 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1137 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1139 %files libGLES-devel
1140 %defattr(644,root,root,755)
1141 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1142 %attr(755,root,root) %{_libdir}/libGLESv2.so
1144 %{_includedir}/GLES2
1145 %{_includedir}/GLES3
1146 %{_pkgconfigdir}/glesv1_cm.pc
1147 %{_pkgconfigdir}/glesv2.pc
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1152 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1154 %files libOSMesa-devel
1155 %defattr(644,root,root,755)
1156 %attr(755,root,root) %{_libdir}/libOSMesa.so
1157 %{_includedir}/GL/osmesa.h
1158 %{_pkgconfigdir}/osmesa.pc
1160 %if %{with static_libs}
1161 %files libOSMesa-static
1162 %defattr(644,root,root,755)
1163 %{_libdir}/libOSMesa.a
1169 %defattr(644,root,root,755)
1170 /etc/OpenCL/vendors/mesa.icd
1171 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1172 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1173 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1178 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1180 %files libOpenCL-devel
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_libdir}/libOpenCL.so
1187 %if %{with egl} && %{with gallium}
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
1191 %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
1193 %files libOpenVG-devel
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/libOpenVG.so
1197 %{_pkgconfigdir}/vg.pc
1201 %if %{with gallium_nouveau}
1202 %files libXvMC-nouveau
1203 %defattr(644,root,root,755)
1204 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0.0
1205 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0.0
1211 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1218 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1221 %dir %{_libdir}/gallium-pipe
1222 %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_libdir}/libgbm.so
1228 %{_includedir}/gbm.h
1229 %{_pkgconfigdir}/gbm.pc
1233 %if %{with gallium_intel}
1234 %files gbm-driver-i915
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1239 %if %{with gallium_nouveau}
1240 %files gbm-driver-nouveau
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1245 %files gbm-driver-r300
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1249 %files gbm-driver-r600
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1253 %files gbm-driver-radeonsi
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1257 %files gbm-driver-swrast
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1261 %files gbm-driver-vmwgfx
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1269 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1270 # libglapi-devel? nothing seems to need it atm.
1271 #%attr(755,root,root) %{_libdir}/libglapi.so
1274 %files libwayland-egl
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/libwayland-egl.so.*.*
1277 %attr(755,root,root) %ghost %{_libdir}/libwayland-egl.so.1
1279 %files libwayland-egl-devel
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/libwayland-egl.so
1282 %{_pkgconfigdir}/wayland-egl.pc
1287 %defattr(644,root,root,755)
1288 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1289 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1291 %files libxatracker-devel
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/libxatracker.so
1294 %{_includedir}/xa_composite.h
1295 %{_includedir}/xa_context.h
1296 %{_includedir}/xa_tracker.h
1297 %{_pkgconfigdir}/xatracker.pc
1301 %files khrplatform-devel
1302 %defattr(644,root,root,755)
1303 %dir %{_includedir}/KHR
1304 %{_includedir}/KHR/khrplatform.h
1307 %files dri-driver-ati-radeon-R100
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1311 %files dri-driver-ati-radeon-R200
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1316 %files dri-driver-ati-radeon-R300
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1320 %files dri-driver-ati-radeon-R600
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1325 %files dri-driver-ati-radeon-SI
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1329 %files dri-driver-intel-i915
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1333 %files dri-driver-intel-i965
1334 %defattr(644,root,root,755)
1335 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1337 %files dri-driver-nouveau
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1340 %if %{with gallium_nouveau}
1341 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1344 %files dri-driver-swrast
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1349 %files dri-driver-vmwgfx
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1355 # ldconfig is not used in vdpau tree, so package all symlinks
1356 %if %{with gallium_nouveau}
1357 %files -n libvdpau-driver-mesa-nouveau
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
1360 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1361 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1364 %files -n libvdpau-driver-mesa-r600
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
1367 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1368 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
1370 %files -n libvdpau-driver-mesa-radeonsi
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
1373 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
1374 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so