]> git.pld-linux.org Git - packages/Mesa.git/blame - Mesa.spec
- added -khrplatform-devel subpackage (like in Fedora; common for EGL/GLES/OpenVG)
[packages/Mesa.git] / Mesa.spec
CommitLineData
e1833810 1#
0cb33a09 2# TODO:
bf8d2f73 3# - consider:
bf8d2f73 4# --enable-shared-dricore
166bc93f 5# --with-egl-platforms=...,wayland (BR: pkgconfig(wayland-{client,server}))
0e4c97b7 6# - subpackage with non-dri libGL for use with X-servers with missing GLX extension?
67dbaca7 7# - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
0cb33a09 8#
6299b3cd 9# Conditional build:
5eb992a8
JB
10%bcond_without egl # EGL libraries
11%bcond_without gallium # gallium drivers
be7de8ed 12%bcond_with gallium_intel # gallium i915 driver (but doesn't work with AIGLX)
be7de8ed 13%bcond_without gallium_nouveau # gallium nouveau driver
5eb992a8 14%bcond_without osmesa # OSMesa libraries
a651d613
JB
15%bcond_without gbm # Graphics Buffer Manager
16%bcond_with xa # XA state tracker (for future vmwgfx xorg driver)
67dbaca7 17%bcond_with static_libs # static libraries [not supported for DRI, thus broken currently]
d70abe90
JB
18#
19# minimal supported xserver version
20%define xserver_ver 1.5.0
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)
57ae29d5 24%define glapi_ver 7.1.0
797c6091 25#
9bfb354d 26%define libdrm_ver 2.4.30
c1d2b5e2 27%define dri2proto_ver 2.6
8eb275e9 28%define glproto_ver 1.4.14
41aca213 29#
e1833810 30Summary: Free OpenGL implementation
54181d82 31Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
e9b3ff7a 32Name: Mesa
fd5942b2 33Version: 8.0.1
9bfb354d
AM
34Release: 1
35License: MIT (core), SGI (GLU) and others - see license.html file
e9b3ff7a 36Group: X11/Libraries
17c01040 37Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
fd5942b2 38# Source0-md5: 24eeebf66971809d8f40775a379b36c9
6f53c8ab 39Patch0: %{name}-realclean.patch
a651d613 40Patch1: %{name}-link.patch
50e22bbf 41URL: http://www.mesa3d.org/
54147717 42BuildRequires: autoconf >= 2.59
a6c5fc6c 43BuildRequires: automake
0cb33a09 44BuildRequires: expat-devel
686d3d0d 45BuildRequires: gcc >= 5:3.3
41aca213 46BuildRequires: libdrm-devel >= %{libdrm_ver}
59f12de8 47BuildRequires: libselinux-devel
3c26b076 48BuildRequires: libstdc++-devel >= 5:3.3.0
54147717 49BuildRequires: libtalloc-devel >= 2:2.0.1
6b372055 50BuildRequires: libtool >= 2:1.4d
8eb275e9 51BuildRequires: libvdpau-devel >= 0.4.1
c1d2b5e2 52BuildRequires: llvm-devel >= 2.9
f35aa06e 53BuildRequires: pixman-devel
a6c5fc6c 54BuildRequires: pkgconfig
c1d2b5e2 55BuildRequires: pkgconfig(talloc) >= 2.0.1
7eda8496 56BuildRequires: python
11f03809 57BuildRequires: python-libxml2
d9fd49b8 58BuildRequires: python-modules
f6afd89c 59BuildRequires: rpmbuild(macros) >= 1.470
7cbe00f8 60BuildRequires: sed >= 4.0
cd8f367a 61BuildRequires: xorg-lib-libXdamage-devel
994fa6a5 62BuildRequires: xorg-lib-libXext-devel >= 1.0.5
a651d613 63BuildRequires: xorg-lib-libXfixes-devel
1b597036 64BuildRequires: xorg-lib-libXt-devel
8eb275e9 65BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6
9850656e 66BuildRequires: xorg-lib-libXxf86vm-devel
41aca213 67BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
b8e51e7a 68BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
9850656e 69BuildRequires: xorg-util-makedepend
bb686270 70BuildRequires: xorg-xserver-server-devel
54147717
JB
71%if %{with egl}
72BuildRequires: libxcb-devel
8eb275e9 73BuildRequires: udev-devel >= 1:150
54147717
JB
74%endif
75%if %{with gallium}
76BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
77BuildRequires: xorg-xserver-server-devel >= 1.6.0
78%endif
ddde5931 79BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a0b2836a 80
8060076f
AM
81%if %{without gallium}
82%undefine with_gallium_intel
13f5098f 83%undefine with_gallium_nouveau
a651d613 84%undefine with_xa
9bfb354d
AM
85%endif
86
87%if %{without egl}
88%undefine with_gbm
8060076f
AM
89%endif
90
bf8d2f73 91# _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
a651d613 92%define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.*
c1d2b5e2 93
04c3cb73
JB
94# llvm build broken
95%define filterout_ld -Wl,--as-needed
96
a0b2836a 97%description
a70fde83 98Mesa is a 3-D graphics library with an API which is very similar to
a5e5e963 99that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
a70fde83 100syntax or state machine, it is being used with authorization from
a5e5e963
JB
101Silicon Graphics, Inc. However, the author does not possess an OpenGL
102license from SGI, and makes no claim that Mesa is in any way a
103compatible replacement for OpenGL or associated with SGI.
a0b2836a 104
f77f03b8
JR
105%description -l pl.UTF-8
106Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
107tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
108autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
109OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
110OpenGL ani powiązana z SGI.
a0b2836a 111
bb686270 112%package libEGL
ae79139b
JB
113Summary: Mesa implementation of EGL Native Platform Graphics Interface library
114Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL
115License: MIT
bb686270 116Group: Libraries
c7f22387 117Requires: %{name}-libglapi = %{version}-%{release}
bf8d2f73 118# glx driver in libEGL dlopens libGL.so
bb686270 119Requires: OpenGL >= 1.2
bf8d2f73
JB
120Requires: libdrm >= %{libdrm_ver}
121%if %{with gallium}
122# for egl_gallium.so
c7f22387 123Requires: %{name}-libOpenVG = %{version}-%{release}
8eb275e9 124Requires: udev-libs >= 1:150
bf8d2f73 125%endif
166bc93f
JB
126%if %{with gbm}
127Requires: %{name}-libgbm = %{version}-%{release}
128%endif
ae79139b 129Provides: EGL = 1.4
bb686270
AM
130
131%description libEGL
ae79139b
JB
132This package contains shared libEGL - Mesa implementation of EGL
133Native Platform Graphics Interface as specified by Khronos Group:
134<http://www.khronos.org/egl/>.
bb686270
AM
135
136%description libEGL -l pl.UTF-8
ae79139b
JB
137Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
138Mesa standardu EGL Native Platform Graphics Interface (interfejsu
139graficznego platformy natywnej) wg specyfikacji Khronos Group:
140<http://www.khronos.org/egl/>.
bb686270
AM
141
142%package libEGL-devel
ae79139b
JB
143Summary: Header files for Mesa implementation of EGL library
144Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL
145License: MIT
bb686270 146Group: Development/Libraries
166bc93f 147Requires: %{name}-khrplatform-devel = %{version}-%{release}
bb686270 148Requires: %{name}-libEGL = %{version}-%{release}
bf8d2f73
JB
149Requires: libdrm-devel >= %{libdrm_ver}
150Requires: xorg-lib-libX11-devel
151Requires: xorg-lib-libXdamage-devel
152Requires: xorg-lib-libXext-devel
153Requires: xorg-lib-libXfixes-devel
154Requires: xorg-lib-libXxf86vm-devel
155Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
156Requires: xorg-proto-glproto-devel >= %{glproto_ver}
ae79139b 157Provides: EGL-devel = 1.4
bb686270
AM
158
159%description libEGL-devel
ae79139b 160Header files for Mesa implementation of EGL library.
bb686270
AM
161
162%description libEGL-devel -l pl.UTF-8
ae79139b 163Pliki nagłówkowe implementacji Mesa biblioteki EGL.
bb686270
AM
164
165%package libEGL-static
278406ce
JB
166Summary: Static Mesa EGL library
167Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL
ae79139b 168License: MIT
bb686270
AM
169Group: Development/Libraries
170Requires: %{name}-libEGL-devel = %{version}-%{release}
ae79139b 171Provides: EGL-static = 1.4
bb686270
AM
172
173%description libEGL-static
278406ce 174Static Mesa EGL library.
bb686270
AM
175
176%description libEGL-static -l pl.UTF-8
278406ce 177Statyczna biblioteka Mesa EGL.
c1d2b5e2 178
f445ed6c
JB
179%package libGL
180Summary: Free Mesa3D implementation of libGL OpenGL library
54181d82 181Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
f445ed6c
JB
182License: MIT
183Group: X11/Libraries
c7f22387 184Requires: %{name}-libglapi = %{version}-%{release}
38a2434c 185Requires: libdrm >= %{libdrm_ver}
237cb2a3 186Provides: OpenGL = 2.1
f445ed6c 187Provides: OpenGL-GLX = 1.4
b7a76370 188Obsoletes: Mesa
884f6d35 189Obsoletes: Mesa-dri
b18f0f46
AM
190Obsoletes: X11-OpenGL-libGL < 1:7.0.0
191Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
f445ed6c
JB
192
193%description libGL
194Mesa is a 3-D graphics library with an API which is very similar to
195that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
196syntax or state machine, it is being used with authorization from
197Silicon Graphics, Inc. However, the author does not possess an OpenGL
198license from SGI, and makes no claim that Mesa is in any way a
199compatible replacement for OpenGL or associated with SGI.
200
201This package contains libGL which implements OpenGL 1.5 and GLX 1.4
202specifications. It uses DRI for rendering.
203
f77f03b8
JR
204%description libGL -l pl.UTF-8
205Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
206tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
207autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
208OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
209OpenGL ani powiązana z SGI.
f445ed6c 210
f77f03b8
JR
211Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz
212GLX 1.4. Używa DRI do renderowania.
f445ed6c
JB
213
214%package libGL-devel
215Summary: Header files for Mesa3D libGL library
54181d82 216Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
f445ed6c
JB
217License: MIT
218Group: X11/Development/Libraries
219# loose dependency on libGL to use with other libGL binaries
220Requires: OpenGL >= 1.5
41aca213 221Requires: libdrm-devel >= %{libdrm_ver}
875da849 222Requires: xorg-lib-libX11-devel
9489410a 223Requires: xorg-lib-libXdamage-devel
224Requires: xorg-lib-libXext-devel
41aca213 225Requires: xorg-lib-libXxf86vm-devel
226Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
b8e51e7a 227Requires: xorg-proto-glproto-devel >= %{glproto_ver}
e261c0c1 228Suggests: OpenGL-doc-man
6299b3cd 229Provides: OpenGL-GLX-devel = 1.4
3e88bc92 230Provides: OpenGL-devel = 2.1
f445ed6c 231Obsoletes: Mesa-devel
b18f0f46
AM
232Obsoletes: X11-OpenGL-devel < 1:7.0.0
233Obsoletes: X11-OpenGL-devel-base < 1:7.0.0
234Obsoletes: XFree86-OpenGL-devel < 1:7.0.0
235Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0
a0b2836a 236
f445ed6c
JB
237%description libGL-devel
238Header files for Mesa3D libGL library.
a0b2836a 239
f77f03b8
JR
240%description libGL-devel -l pl.UTF-8
241Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
e31e9d24 242
f445ed6c
JB
243%package libGL-static
244Summary: Static Mesa3D libGL library
54181d82 245Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D
f445ed6c
JB
246License: MIT
247Group: X11/Development/Libraries
248Requires: %{name}-libGL-devel = %{version}-%{release}
237cb2a3 249Provides: OpenGL-static = 2.1
f445ed6c 250Obsoletes: Mesa-static
b18f0f46
AM
251Obsoletes: X11-OpenGL-static < 1:7.0.0
252Obsoletes: XFree86-OpenGL-static < 1:7.0.0
f445ed6c
JB
253
254%description libGL-static
255Static Mesa3D libGL library. It uses software renderer.
256
f77f03b8
JR
257%description libGL-static -l pl.UTF-8
258Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
f445ed6c
JB
259renderingu.
260
278406ce
JB
261%package libGLES
262Summary: Mesa implementation of GLES (OpenGL ES) libraries
263Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES)
264Group: Libraries
c7f22387 265Requires: %{name}-libglapi = %{version}-%{release}
278406ce
JB
266
267%description libGLES
268This package contains shared libraries of Mesa implementation of GLES
269(OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
270on embedded systems. OpenGL ES specification can be found on Khronos
cc59a107
JB
271Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
272ES 1.1 and 2.0.
278406ce
JB
273
274%description libGLES -l pl.UTF-8
275Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
276standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
277funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
278OpenGL ES można znaleźć na stronie Khronos Group:
cc59a107
JB
279<http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
280ES 1.1 i 2.0.
278406ce
JB
281
282%package libGLES-devel
283Summary: Header files for Mesa GLES libraries
284Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES
285Group: Development/Libraries
166bc93f
JB
286Requires: %{name}-khrplatform-devel = %{version}-%{release}
287# <EGL/egl.h> for <GLES/egl.h>
bf8d2f73 288Requires: %{name}-libEGL-devel = %{version}-%{release}
278406ce
JB
289Requires: %{name}-libGLES = %{version}-%{release}
290
291%description libGLES-devel
292Header files for Mesa GLES libraries.
293
294%description libGLES-devel -l pl.UTF-8
295Pliki nagłówkowe bibliotek Mesa GLES.
296
f445ed6c
JB
297%package libGLU
298Summary: SGI implementation of libGLU OpenGL library
54181d82 299Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL
9ae30a4c 300License: SGI Free Software License B v2.0 (MIT-like)
f445ed6c
JB
301Group: Libraries
302# loose dependency on libGL.so.1 to use with other libGL binaries
303Requires: OpenGL >= 1.2
304Provides: OpenGL-GLU = 1.3
305Obsoletes: Mesa-devel
b18f0f46
AM
306Obsoletes: X11-OpenGL-libs < 1:7.0.0
307Obsoletes: XFree86-OpenGL-libs < 1:7.0.0
f445ed6c
JB
308
309%description libGLU
310SGI implementation of libGLU OpenGL library. It implements OpenGL GLU
3111.3 specifications.
312
f77f03b8 313%description libGLU -l pl.UTF-8
f445ed6c 314Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje
f77f03b8 315specyfikację OpenGL GLU 1.3.
f445ed6c
JB
316
317%package libGLU-devel
318Summary: Header files for SGI libGLU library
54181d82 319Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU
9ae30a4c 320License: SGI Free Software License B v2.0 (MIT-like)
f445ed6c
JB
321Group: Development/Libraries
322Requires: %{name}-libGLU = %{version}-%{release}
323Requires: OpenGL-devel >= 1.2
324Requires: libstdc++-devel
325Provides: OpenGL-GLU-devel = 1.3
326
327%description libGLU-devel
328Header files for SGI libGLU library.
329
f77f03b8
JR
330%description libGLU-devel -l pl.UTF-8
331Pliki nagłówkowe biblioteki SGI libGLU.
f445ed6c
JB
332
333%package libGLU-static
334Summary: Static SGI libGLU library
54181d82 335Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU
9ae30a4c 336License: SGI Free Software License B v2.0 (MIT-like)
f445ed6c
JB
337Group: Development/Libraries
338Requires: %{name}-libGLU-devel = %{version}-%{release}
6299b3cd 339Provides: OpenGL-GLU-static = 1.3
e31e9d24 340
f445ed6c
JB
341%description libGLU-static
342Static SGI libGLU library.
343
f77f03b8 344%description libGLU-static -l pl.UTF-8
f445ed6c
JB
345Statyczna biblioteka SGI libGLU.
346
f4a8c5f6
JB
347%package libOSMesa
348Summary: OSMesa (off-screen renderer) library
349Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci)
350License: MIT
351Group: Libraries
f4a8c5f6
JB
352
353%description libOSMesa
354OSMesa (off-screen renderer) library.
355
356%description libOSMesa -l pl.UTF-8
357Biblioteka OSMesa (renderująca bitmapy w pamięci).
358
359%package libOSMesa-devel
360Summary: Header file for OSMesa (off-screen renderer) library
361Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
362License: MIT
363Group: Development/Libraries
364Requires: %{name}-libOSMesa = %{version}-%{release}
365# for <GL/gl.h> only
366Requires: OpenGL-devel
bf8d2f73 367Requires: libselinux-devel
f4a8c5f6
JB
368
369%description libOSMesa-devel
370Header file for OSMesa (off-screen renderer) library.
371
372%description libOSMesa-devel -l pl.UTF-8
373Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
374
375%package libOSMesa-static
376Summary: Static OSMesa (off-screen renderer) library
377Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
378License: MIT
379Group: Development/Libraries
380Requires: %{name}-libOSMesa-devel = %{version}-%{release}
381# this static build of OSMesa needs static non-dri Mesa implementation
382Requires: %{name}-libGL-static = %{version}-%{release}
383
384%description libOSMesa-static
385Static OSMesa (off-screen renderer) library.
386
387%description libOSMesa-static -l pl.UTF-8
388Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
389
c1d2b5e2 390%package libOpenVG
278406ce
JB
391Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API
392Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej)
c1d2b5e2
AM
393License: MIT
394Group: Libraries
c1d2b5e2
AM
395
396%description libOpenVG
278406ce
JB
397This package contains Mesa implementation of OpenVG - cross-platform
398API that provides a low-level hardware acceleration interface for
399vector graphics libraries such as Flash and SVG. OpenVG specification
400can be found on Khronos Group site: <http://www.khronos.org/openvg/>.
cc59a107 401Mesa implements OpenVG 1.1.
c1d2b5e2
AM
402
403%description libOpenVG -l pl.UTF-8
278406ce
JB
404Ten pakiet zawiera implementację Mesa standardu OpenVG -
405wieloplatfomowego API zapewniającego niskopoziomowy interfejs
9bfb354d
AM
406akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak
407Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos
408Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację
409OpenVG w wersji 1.1.
c1d2b5e2
AM
410
411%package libOpenVG-devel
278406ce
JB
412Summary: Header file for Mesa OpenVG library
413Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG
c1d2b5e2
AM
414License: MIT
415Group: Development/Libraries
166bc93f 416Requires: %{name}-khrplatform-devel = %{version}-%{release}
c1d2b5e2
AM
417Requires: %{name}-libOpenVG = %{version}-%{release}
418
419%description libOpenVG-devel
278406ce 420Header file for Mesa OpenVG library.
c1d2b5e2
AM
421
422%description libOpenVG-devel -l pl.UTF-8
278406ce 423Plik nagłówkowy biblioteki Mesa OpenVG.
c1d2b5e2 424
04c3cb73
JB
425%package libXvMC-nouveau
426Summary: Mesa implementation of XvMC API for NVidia adapters
427Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart NVidia
f4a8c5f6 428License: MIT
9bfb354d 429Group: Libraries
8eb275e9 430Requires: libdrm >= %{libdrm_ver}
a651d613 431Requires: xorg-lib-libXvMC >= 1.0.6
04c3cb73
JB
432Conflicts: Mesa-libXvMC
433
434%description libXvMC-nouveau
435Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
436
437%description libXvMC-nouveau -l pl.UTF-8
438Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
439
440%package libXvMC-r300
441Summary: Mesa implementation of XvMC API for ATI Radeon R300 series adapters
442Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R300
443License: MIT
444Group: Libraries
445Requires: libdrm >= %{libdrm_ver}
a651d613 446Requires: xorg-lib-libXvMC >= 1.0.6
04c3cb73 447Conflicts: Mesa-libXvMC
875da849 448
04c3cb73
JB
449%description libXvMC-r300
450Mesa implementation of XvMC API for ATI Radeon adapters based on
451R300/R400/RS690/R500 chips.
875da849 452
04c3cb73
JB
453%description libXvMC-r300 -l pl.UTF-8
454Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
455R300/R400/RS690/R500.
456
457%package libXvMC-r600
458Summary: Mesa implementation of XvMC API for ATI Radeon R600 series adapters
459Summary(pl.UTF-8): Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
460License: MIT
461Group: Libraries
462Requires: libdrm >= %{libdrm_ver}
a651d613 463Requires: xorg-lib-libXvMC >= 1.0.6
04c3cb73
JB
464Conflicts: Mesa-libXvMC
465
466%description libXvMC-r600
467Mesa implementation of XvMC API for ATI Radeon adapters based on
468R600/R700 chips.
469
470%description libXvMC-r600 -l pl.UTF-8
471Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
472R600/R700.
473
474%package libXvMC-softpipe
475Summary: Mesa softpipe implementation of XvMC API
476Summary(pl.UTF-8): Implementacja Mesa softpipe API XvMC
477License: MIT
478Group: Libraries
479Requires: libdrm >= %{libdrm_ver}
a651d613 480Requires: xorg-lib-libXvMC >= 1.0.6
04c3cb73
JB
481Conflicts: Mesa-libXvMC
482
483%description libXvMC-softpipe
484Mesa softpipe implementation of XvMC API.
485
486%description libXvMC-softpipe -l pl.UTF-8
487Implementacja Mesa softpipe API XvMC.
875da849 488
d3cd778a
JB
489%package libgbm
490Summary: Mesa Graphics Buffer Manager library
491Summary(pl.UTF-8): Biblioteka Mesa Graphics Buffer Manager
492Group: Libraries
493Requires: udev-libs >= 1:150
494
495%description libgbm
496Mesa Graphics Buffer Manager library.
497
498%description libgbm -l pl.UTF-8
499Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
500
501%package libgbm-devel
502Summary: Header file for Mesa Graphics Buffer Manager library
503Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
504Group: Development/Libraries
505Requires: %{name}-libgbm = %{version}-%{release}
506Requires: udev-devel >= 1:150
507
508%description libgbm-devel
509Header file for Mesa Graphics Buffer Manager library.
510
511%description libgbm-devel -l pl.UTF-8
512Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
513bufora graficznego).
514
515%package gbm-driver-i915
516Summary: i915 driver for Mesa GBM framework
517Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
518Group: Libraries
519Requires: %{name}-libgbm = %{version}-%{release}
520
521%description gbm-driver-i915
522i915 driver for Mesa Graphics Buffer Manager. It supports Intel
523915/945/G33/Q33/Q35/Pineview chips.
524
525%description gbm-driver-i915 -l pl.UTF-8
526Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
527bufora graficznego). Obsługuje układy Intela z serii
528915/945/G33/Q33/Q35/Pineview.
529
530%package gbm-driver-nouveau
531Summary: nouveau driver for Mesa GBM framework
532Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
533Group: Libraries
534Requires: %{name}-libgbm = %{version}-%{release}
535
536%description gbm-driver-nouveau
537nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
538adapters.
539
540%description gbm-driver-nouveau -l pl.UTF-8
541Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
542bufora graficznego). Obsługuje karty graficzne firmy NVidia.
543
544%package gbm-driver-r300
545Summary: r300 driver for Mesa GBM framework
546Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
547Group: Libraries
548Requires: %{name}-libgbm = %{version}-%{release}
549
550%description gbm-driver-r300
551r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
552adapters based on R300/R400/RS690/R500 chips.
553
554%description gbm-driver-r300 -l pl.UTF-8
555Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
556bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
557układach R300/R400/RS690/R500.
558
559%package gbm-driver-r600
560Summary: r600 driver for Mesa GBM framework
561Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
562Group: Libraries
563Requires: %{name}-libgbm = %{version}-%{release}
564
565%description gbm-driver-r600
566r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
567adapters based on R600/R700 chips.
568
569%description gbm-driver-r600 -l pl.UTF-8
570Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
571bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
572układach R600/R700.
573
574%package gbm-driver-vmwgfx
575Summary: vmwgfx driver for Mesa GBM framework
576Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
577Group: Libraries
578Requires: %{name}-libgbm = %{version}-%{release}
579
580%description gbm-driver-vmwgfx
581vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
582virtual video adapter.
583
584%description gbm-driver-vmwgfx -l pl.UTF-8
585Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
586bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
587
c7f22387
JB
588%package libglapi
589Summary: Mesa GL API shared library
590Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
591Group: Libraries
592
593%description libglapi
594Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
595
596%description libglapi -l pl.UTF-8
597Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
598GL, GLES).
599
a651d613
JB
600%package libxatracker
601Summary: Xorg Gallium3D accelleration library
602Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
603Group: X11/Libraries
c7f22387 604Requires: libdrm >= %{libdrm_ver}
a651d613
JB
605
606%description libxatracker
607Xorg Gallium3D accelleration library (used by new vmwgfx driver).
608
609%description libxatracker -l pl.UTF-8
610Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
611sterownik vmwgfx).
612
613%package libxatracker-devel
614Summary: Header files for Xorg Gallium3D accelleration library
615Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
616Group: X11/Development/Libraries
617Requires: %{name}-libxatracker = %{version}-%{release}
c7f22387 618Requires: libdrm-devel >= %{libdrm_ver}
a651d613
JB
619
620%description libxatracker-devel
621Header files for Xorg Gallium3D accelleration library.
622
623%description libxatracker-devel -l pl.UTF-8
624Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
625
166bc93f
JB
626%package khrplatform-devel
627Summary: Khronos platform header file
628Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
629Group: Development/Libraries
630
631%description khrplatform-devel
632Khronos platform header file.
633
634%description khrplatform-devel -l pl.UTF-8
635Plik nagłówkowy platformy Khronos.
636
afe33c03 637%package dri-driver-ati-radeon-R100
362c6f99
JB
638Summary: X.org DRI driver for ATI R100 card family
639Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
f4a8c5f6 640License: MIT
18da5046 641Group: X11/Libraries
83c21438 642Requires: xorg-driver-video-ati
d70abe90
JB
643Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
644Requires: xorg-xserver-server >= %{xserver_ver}
8e26093b 645Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 646
647%description dri-driver-ati-radeon-R100
362c6f99 648X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
afe33c03 649
f77f03b8 650%description dri-driver-ati-radeon-R100 -l pl.UTF-8
362c6f99 651Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
afe33c03 652
653%package dri-driver-ati-radeon-R200
362c6f99
JB
654Summary: X.org DRI driver for ATI R200 card family
655Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
f4a8c5f6 656License: MIT
18da5046 657Group: X11/Libraries
83c21438 658Requires: xorg-driver-video-ati
d70abe90
JB
659Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
660Requires: xorg-xserver-server >= %{xserver_ver}
8e26093b 661Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 662
663%description dri-driver-ati-radeon-R200
362c6f99 664X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
afe33c03 665
f77f03b8 666%description dri-driver-ati-radeon-R200 -l pl.UTF-8
362c6f99 667Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
afe33c03 668
669%package dri-driver-ati-radeon-R300
362c6f99
JB
670Summary: X.org DRI driver for ATI R300 card family
671Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
f4a8c5f6 672License: MIT
18da5046 673Group: X11/Libraries
83c21438 674Requires: xorg-driver-video-ati
d70abe90
JB
675Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
676Requires: xorg-xserver-server >= %{xserver_ver}
8e26093b 677Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 678
679%description dri-driver-ati-radeon-R300
04c3cb73 680X.org DRI driver for ATI R300/R400/RS690/R500 card family.
afe33c03 681
f77f03b8 682%description dri-driver-ati-radeon-R300 -l pl.UTF-8
04c3cb73 683Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
afe33c03 684
e68936d0
AM
685%package dri-driver-ati-radeon-R600
686Summary: X.org DRI driver for ATI R600 card family
687Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
688License: MIT
689Group: X11/Libraries
690Requires: radeon-ucode
691Requires: xorg-driver-video-ati
692Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
693Requires: xorg-xserver-server >= %{xserver_ver}
694
695%description dri-driver-ati-radeon-R600
04c3cb73 696X.org DRI driver for ATI R600/R700 card family.
e68936d0
AM
697
698%description dri-driver-ati-radeon-R600 -l pl.UTF-8
04c3cb73 699Sterownik X.org DRI dla rodziny kart ATI R600/R700.
e68936d0 700
afe33c03 701%package dri-driver-intel-i915
362c6f99
JB
702Summary: X.org DRI driver for Intel i915 card family
703Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
f4a8c5f6 704License: MIT
18da5046 705Group: X11/Libraries
d70abe90
JB
706Requires: xorg-driver-video-intel
707Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
708Requires: xorg-xserver-server >= %{xserver_ver}
2db432a2 709Obsoletes: Mesa-dri-driver-intel-i830
8e26093b 710Obsoletes: X11-driver-i810-dri < 1:7.0.0
afe33c03 711
712%description dri-driver-intel-i915
04c3cb73
JB
713X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
714Pineview).
afe33c03 715
f77f03b8 716%description dri-driver-intel-i915 -l pl.UTF-8
04c3cb73
JB
717Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
718Q35, Pineview).
afe33c03 719
b360f4f6 720%package dri-driver-intel-i965
362c6f99
JB
721Summary: X.org DRI driver for Intel i965 card family
722Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
f4a8c5f6 723License: MIT
b360f4f6 724Group: X11/Libraries
d70abe90
JB
725Requires: xorg-driver-video-intel
726Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
727Requires: xorg-xserver-server >= %{xserver_ver}
b360f4f6 728Obsoletes: Mesa-dri-driver-intel-i830
8e26093b 729Obsoletes: X11-driver-i810-dri < 1:7.0.0
b360f4f6 730
731%description dri-driver-intel-i965
04c3cb73
JB
732X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
733965GME, GM45, G41, B43, Q45, G45);
b360f4f6 734
f77f03b8 735%description dri-driver-intel-i965 -l pl.UTF-8
04c3cb73
JB
736Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
737965GM, 965GME, GM45, G41, B43, Q45, G45).
b360f4f6 738
3e88bc92
AM
739%package dri-driver-nouveau
740Summary: X.org DRI driver for NVIDIA card family
741Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
742License: MIT
743Group: X11/Libraries
744Requires: xorg-driver-video-nouveau
745Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
746Requires: xorg-xserver-server >= %{xserver_ver}
747
748%description dri-driver-nouveau
749X.org DRI drivers for NVIDIA card family.
750
751%description dri-driver-nouveau -l pl.UTF-8
752Sterowniki X.org DRI dla rodziny kart NVIDIA.
753
f3606317 754%package dri-driver-swrast
362c6f99
JB
755Summary: X.org DRI software rasterizer driver
756Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
f3606317
AM
757License: MIT
758Group: X11/Libraries
d70abe90
JB
759Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
760Requires: xorg-xserver-server >= %{xserver_ver}
f3606317
AM
761
762%description dri-driver-swrast
362c6f99 763X.org DRI software rasterizer driver.
f3606317
AM
764
765%description dri-driver-swrast -l pl.UTF-8
362c6f99 766Sterownik X.org DRI obsługujący rysowanie programowe.
f3606317 767
e68936d0
AM
768%package dri-driver-vmwgfx
769Summary: X.org DRI driver for VMware
770Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
771License: MIT
772Group: X11/Libraries
0f9ae6ae 773Requires: xorg-driver-video-vmware
e68936d0
AM
774Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
775Requires: xorg-xserver-server >= %{xserver_ver}
776
777%description dri-driver-vmwgfx
778X.org DRI driver for VMWare.
779
780%description dri-driver-vmwgfx -l pl.UTF-8
781Sterownik X.org DRI dla VMware.
782
04c3cb73
JB
783%package -n libvdpau-driver-mesa-nouveau
784Summary: Mesa nouveau driver for the vdpau API
785Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
9bfb354d
AM
786License: MIT
787Group: X11/Libraries
8eb275e9
JB
788Requires: libdrm >= %{libdrm_ver}
789Requires: libvdpau >= 0.4.1
04c3cb73 790Conflicts: libvdpau-driver-mesa
9bfb354d 791
04c3cb73
JB
792%description -n libvdpau-driver-mesa-nouveau
793Mesa nouveau driver for the vdpau API. It supports NVidia adapters
794(NV40-NV96, NVa0).
9bfb354d 795
04c3cb73
JB
796%description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
797Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
798(NV40-NV96, NVa0).
9bfb354d 799
04c3cb73
JB
800%package -n libvdpau-driver-mesa-r300
801Summary: Mesa r300 driver for the vdpau API
802Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
803License: MIT
804Group: X11/Libraries
805Requires: libdrm >= %{libdrm_ver}
806Requires: libvdpau >= 0.4.1
807Conflicts: libvdpau-driver-mesa
808
809%description -n libvdpau-driver-mesa-r300
810Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
811based on R300/R400/RS690/R500 chips.
812
813%description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
814Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
815na układach R300/R400/RS690/R500.
816
817%package -n libvdpau-driver-mesa-r600
818Summary: Mesa r600 driver for the vdpau API
819Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
820License: MIT
821Group: X11/Libraries
822Requires: libdrm >= %{libdrm_ver}
823Requires: libvdpau >= 0.4.1
824Conflicts: libvdpau-driver-mesa
825
826%description -n libvdpau-driver-mesa-r600
827Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
828based on R600/R700 chips.
829
830%description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
831Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
832na układach R600/R700.
833
834%package -n libvdpau-driver-mesa-softpipe
835Summary: Mesa softpipe driver for the vdpau API
836Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
837License: MIT
838Group: X11/Libraries
839Requires: libdrm >= %{libdrm_ver}
840Requires: libvdpau >= 0.4.1
841Conflicts: libvdpau-driver-mesa
842
843%description -n libvdpau-driver-mesa-softpipe
844Mesa softpipe driver for the vdpau API.
845
846%description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
847Sterownik Mesa softpipe dla API vdpau.
3d879b5c 848
a0b2836a 849%prep
bb686270 850%setup -q
6f53c8ab 851%patch0 -p0
a651d613 852%patch1 -p1
a0b2836a 853
854%build
bb686270
AM
855%{__aclocal}
856%{__autoconf}
a5afae62 857
9bfb354d 858dri_drivers="r200 radeon \
8060076f 859%if %{without gallium_intel}
04c3cb73 860i915 \
a5afae62 861%endif
04c3cb73 862i965
59f12de8
AM
863%ifarch sparc sparcv9 sparc64
864ffb \
6299b3cd 865%endif
9bfb354d 866swrast"
59f12de8
AM
867
868dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
869
c1d2b5e2
AM
870gallium_drivers="svga swrast \
871%if %{with gallium_intel}
872i915 \
c1d2b5e2 873%endif
b8e6b6d7 874r300 \
c1d2b5e2 875r600 \
c1d2b5e2
AM
876%if %{with gallium_nouveau}
877nouveau \
878%endif
879"
880
881gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
882
59f12de8 883common_flags="\
9bfb354d 884 --enable-shared \
b4a5c074 885 --enable-glx-tls \
c885f99e
JB
886 --enable-pic \
887 --enable-selinux \
888 %{?with_static_libs:--enable-static} \
c1d2b5e2 889"
59f12de8 890
74a7a0e1 891osmesa_common_flags="\
59f12de8
AM
892 --with-driver=osmesa \
893 --disable-asm \
bf8d2f73
JB
894 --disable-egl \
895 --disable-glu"
74a7a0e1
AM
896
897%if %{with osmesa}
74a7a0e1 898%configure $common_flags $osmesa_common_flags \
59f12de8 899 --with-osmesa-bits=8
74a7a0e1 900%{__make}
bf8d2f73 901%{__make} -C src/mesa osmesa.pc
59f12de8 902mv %{_lib} osmesa8
bf8d2f73 903cp -p src/mesa/osmesa.pc osmesa8
59f12de8 904%{__make} clean
cb97a1c3 905%endif
59f12de8
AM
906
907%configure $common_flags \
9bfb354d 908 %{__enable gbm} \
f566cdfa 909 --enable-shared-glapi \
c885f99e
JB
910%if %{with egl}
911 --enable-egl \
912 --enable-gles1 \
913 --enable-gles2 \
166bc93f 914 --with-egl-platforms=x11%{?with_gbm:,drm} \
c885f99e 915%endif
5f574b4b 916%if %{with gallium}
9bfb354d
AM
917 --enable-gallium-llvm \
918 %{__enable egl gallium-egl} \
919 %{__enable gbm gallium-gbm} \
166bc93f 920 %{?with_egl:--enable-openvg} \
9bfb354d 921 --enable-vdpau \
a651d613 922 %{?with_xa:--enable-xa} \
9bfb354d 923 --enable-xvmc \
c1d2b5e2 924 --with-gallium-drivers=${gallium_drivers} \
5f574b4b 925%else
5eb992a8 926 --without-gallium-drivers \
5f574b4b 927%endif
59f12de8
AM
928 --with-driver=dri \
929 --with-dri-drivers=${dri_drivers} \
930 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
931
932%{__make}
59f12de8 933
a0b2836a 934%install
f5543b17 935rm -rf $RPM_BUILD_ROOT
ddde5931 936
59f12de8
AM
937%{__make} install \
938 DESTDIR=$RPM_BUILD_ROOT
ddde5931 939
cb97a1c3 940%if %{with osmesa}
f566cdfa 941cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
bf8d2f73 942cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
cb97a1c3 943%endif
f4a8c5f6 944
59f12de8 945# strip out undesirable headers
9bfb354d 946%{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
80fb8e4d
JB
947# dlopened by soname
948%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
c7f22387
JB
949# not used externally
950%{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
c1d2b5e2 951
f56e1323
JR
952# remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
953# set up via /etc/ld.so.conf.d/*.conf will be preferred over this
954strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
955
abc9e15f
JB
956%clean
957rm -rf $RPM_BUILD_ROOT
958
bb686270
AM
959%post libEGL -p /sbin/ldconfig
960%postun libEGL -p /sbin/ldconfig
961
f445ed6c
JB
962%post libGL -p /sbin/ldconfig
963%postun libGL -p /sbin/ldconfig
964
c1d2b5e2
AM
965%post libGLES -p /sbin/ldconfig
966%postun libGLES -p /sbin/ldconfig
967
f445ed6c
JB
968%post libGLU -p /sbin/ldconfig
969%postun libGLU -p /sbin/ldconfig
970
c1d2b5e2
AM
971%post libOSMesa -p /sbin/ldconfig
972%postun libOSMesa -p /sbin/ldconfig
973
974%post libOpenVG -p /sbin/ldconfig
975%postun libOpenVG -p /sbin/ldconfig
976
04c3cb73
JB
977%post libXvMC-nouveau -p /sbin/ldconfig
978%postun libXvMC-nouveau -p /sbin/ldconfig
979%post libXvMC-r300 -p /sbin/ldconfig
980%postun libXvMC-r300 -p /sbin/ldconfig
981%post libXvMC-r600 -p /sbin/ldconfig
982%postun libXvMC-r600 -p /sbin/ldconfig
983%post libXvMC-softpipe -p /sbin/ldconfig
984%postun libXvMC-softpipe -p /sbin/ldconfig
9bfb354d 985
d3cd778a
JB
986%post libgbm -p /sbin/ldconfig
987%postun libgbm -p /sbin/ldconfig
988
c7f22387
JB
989%post libglapi -p /sbin/ldconfig
990%postun libglapi -p /sbin/ldconfig
991
a651d613
JB
992%post libxatracker -p /sbin/ldconfig
993%postun libxatracker -p /sbin/ldconfig
994
bb686270
AM
995%if %{with egl}
996%files libEGL
997%defattr(644,root,root,755)
998%attr(755,root,root) %{_libdir}/libEGL.so.*.*
c794b508 999%attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
c1d2b5e2 1000%if %{with gallium}
bb686270 1001%dir %{_libdir}/egl
c1d2b5e2 1002%attr(755,root,root) %{_libdir}/egl/egl_gallium.so
9bfb354d 1003%endif
bb686270
AM
1004
1005%files libEGL-devel
1006%defattr(644,root,root,755)
1007%attr(755,root,root) %{_libdir}/libEGL.so
bb686270
AM
1008%dir %{_includedir}/EGL
1009%{_includedir}/EGL/egl.h
1010%{_includedir}/EGL/eglext.h
9bfb354d 1011%{_includedir}/EGL/eglmesaext.h
bb686270 1012%{_includedir}/EGL/eglplatform.h
bb686270
AM
1013%{_pkgconfigdir}/egl.pc
1014
c885f99e 1015%if %{with static_libs}
bb686270
AM
1016%files libEGL-static
1017%defattr(644,root,root,755)
1018%{_libdir}/libEGL.a
1019%endif
1020%endif
1021
f445ed6c 1022%files libGL
e9b3ff7a 1023%defattr(644,root,root,755)
9bfb354d 1024%doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
9b0e6ebb
JB
1025%attr(755,root,root) %{_libdir}/libGL.so.*.*
1026%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
0cb33a09 1027# symlink for binary apps which fail to conform Linux OpenGL ABI
bf8d2f73 1028# (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
0cb33a09 1029%attr(755,root,root) %{_libdir}/libGL.so
a0b2836a 1030
f445ed6c 1031%files libGL-devel
e9b3ff7a 1032%defattr(644,root,root,755)
ddde5931 1033%doc docs/*.spec
debcd977 1034%dir %{_includedir}/GL
d3dd48bf 1035%{_includedir}/GL/gl.h
e1833810 1036%{_includedir}/GL/glext.h
d3dd48bf 1037%{_includedir}/GL/gl_mangle.h
d3dd48bf 1038%{_includedir}/GL/glx.h
abc9e15f 1039%{_includedir}/GL/glxext.h
d3dd48bf 1040%{_includedir}/GL/glx_mangle.h
1ec0796e
AM
1041%dir %{_includedir}/GL/internal
1042%{_includedir}/GL/internal/dri_interface.h
59f12de8 1043%{_pkgconfigdir}/dri.pc
f4a8c5f6 1044%{_pkgconfigdir}/gl.pc
a0b2836a 1045
c885f99e 1046%if %{with static_libs}
278406ce
JB
1047%files libGL-static
1048%defattr(644,root,root,755)
1049%{_libdir}/libGL.a
1050%endif
1051
c1d2b5e2
AM
1052%files libGLES
1053%defattr(644,root,root,755)
cc59a107
JB
1054%attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1055%attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1056%attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1057%attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
c1d2b5e2
AM
1058
1059%files libGLES-devel
1060%defattr(644,root,root,755)
cc59a107
JB
1061%attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1062%attr(755,root,root) %{_libdir}/libGLESv2.so
c1d2b5e2
AM
1063%{_includedir}/GLES
1064%{_includedir}/GLES2
cc59a107
JB
1065%{_pkgconfigdir}/glesv1_cm.pc
1066%{_pkgconfigdir}/glesv2.pc
c1d2b5e2 1067
f445ed6c
JB
1068%files libGLU
1069%defattr(644,root,root,755)
9b0e6ebb 1070%attr(755,root,root) %{_libdir}/libGLU.so.*.*
c794b508 1071%attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
f445ed6c
JB
1072
1073%files libGLU-devel
1074%defattr(644,root,root,755)
1075%attr(755,root,root) %{_libdir}/libGLU.so
1076%{_includedir}/GL/glu.h
1077%{_includedir}/GL/glu_mangle.h
f4a8c5f6 1078%{_pkgconfigdir}/glu.pc
f445ed6c 1079
c885f99e 1080%if %{with static_libs}
f445ed6c
JB
1081%files libGLU-static
1082%defattr(644,root,root,755)
11062ced 1083%{_libdir}/libGLU.a
59f12de8 1084%endif
f445ed6c 1085
cb97a1c3 1086%if %{with osmesa}
f4a8c5f6
JB
1087%files libOSMesa
1088%defattr(644,root,root,755)
cc59a107 1089%attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
9bfb354d 1090%attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
f4a8c5f6
JB
1091
1092%files libOSMesa-devel
1093%defattr(644,root,root,755)
cc59a107 1094%attr(755,root,root) %{_libdir}/libOSMesa.so
f4a8c5f6 1095%{_includedir}/GL/osmesa.h
bf8d2f73 1096%{_pkgconfigdir}/osmesa.pc
f4a8c5f6 1097
c885f99e 1098%if %{with static_libs}
f4a8c5f6
JB
1099%files libOSMesa-static
1100%defattr(644,root,root,755)
cc59a107 1101%{_libdir}/libOSMesa.a
59f12de8 1102%endif
cb97a1c3 1103%endif
f4a8c5f6 1104
166bc93f 1105%if %{with egl} && %{with gallium}
c1d2b5e2
AM
1106%files libOpenVG
1107%defattr(644,root,root,755)
cc59a107 1108%attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
278406ce 1109%attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
c1d2b5e2
AM
1110
1111%files libOpenVG-devel
1112%defattr(644,root,root,755)
278406ce 1113%attr(755,root,root) %{_libdir}/libOpenVG.so
c1d2b5e2 1114%{_includedir}/VG
c1d2b5e2
AM
1115%{_pkgconfigdir}/vg.pc
1116%endif
1117
c3f739d4 1118%if %{with gallium}
80fb8e4d 1119%if %{with gallium_nouveau}
04c3cb73 1120%files libXvMC-nouveau
875da849 1121%defattr(644,root,root,755)
9bfb354d 1122%attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
04c3cb73 1123%attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
80fb8e4d 1124%endif
04c3cb73
JB
1125
1126%files libXvMC-r300
1127%defattr(644,root,root,755)
9bfb354d 1128%attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
04c3cb73
JB
1129%attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1130
1131%files libXvMC-r600
1132%defattr(644,root,root,755)
9bfb354d 1133%attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
04c3cb73
JB
1134%attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1135
1136%files libXvMC-softpipe
1137%defattr(644,root,root,755)
9bfb354d 1138%attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
04c3cb73 1139%attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
c3f739d4 1140%endif
afe33c03 1141
d3cd778a
JB
1142%if %{with gbm}
1143%files libgbm
1144%defattr(644,root,root,755)
1145%attr(755,root,root) %{_libdir}/libgbm.so.*.*
1146%attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1147%if %{with gallium}
1148%dir %{_libdir}/gbm
1149%attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1150%endif
1151
1152%files libgbm-devel
1153%defattr(644,root,root,755)
1154%attr(755,root,root) %{_libdir}/libgbm.so
1155%{_includedir}/gbm.h
1156%{_pkgconfigdir}/gbm.pc
1157%endif
1158
1159%if %{with gallium}
1160%if %{with gallium_intel}
1161%files gbm-driver-i915
1162%defattr(644,root,root,755)
1163%attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1164%endif
1165
1166%if %{with gallium_nouveau}
1167%files gbm-driver-nouveau
1168%defattr(644,root,root,755)
1169%attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1170%endif
1171
1172%files gbm-driver-r300
1173%defattr(644,root,root,755)
1174%attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1175
1176%files gbm-driver-r600
1177%defattr(644,root,root,755)
1178%attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1179
1180%files gbm-driver-vmwgfx
1181%defattr(644,root,root,755)
1182%attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1183%endif
1184
c7f22387
JB
1185%files libglapi
1186%defattr(644,root,root,755)
1187%attr(755,root,root) %{_libdir}/libglapi.so.*.*
1188%attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1189# libglapi-devel? nothing seems to need it atm.
1190#%attr(755,root,root) %{_libdir}/libglapi.so
1191
a651d613
JB
1192%if %{with xa}
1193%files libxatracker
1194%defattr(644,root,root,755)
1195%attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1196%attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1197
1198%files libxatracker-devel
1199%defattr(644,root,root,755)
1200%attr(755,root,root) %{_libdir}/libxatracker.so
1201%{_includedir}/xa_composite.h
1202%{_includedir}/xa_context.h
1203%{_includedir}/xa_tracker.h
1204%{_pkgconfigdir}/xatracker.pc
1205%endif
1206
166bc93f
JB
1207%if %{with egl}
1208%files khrplatform-devel
1209%defattr(644,root,root,755)
1210%dir %{_includedir}/KHR
1211%{_includedir}/KHR/khrplatform.h
1212%endif
1213
afe33c03 1214%files dri-driver-ati-radeon-R100
1215%defattr(644,root,root,755)
1216%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1217
1218%files dri-driver-ati-radeon-R200
1219%defattr(644,root,root,755)
1220%attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1221
c3f739d4 1222%if %{with gallium}
afe33c03 1223%files dri-driver-ati-radeon-R300
1224%defattr(644,root,root,755)
1225%attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1226
e68936d0
AM
1227%files dri-driver-ati-radeon-R600
1228%defattr(644,root,root,755)
1229%attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1230
afe33c03 1231%files dri-driver-intel-i915
1232%defattr(644,root,root,755)
5f574b4b 1233%attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
afe33c03 1234
b360f4f6 1235%files dri-driver-intel-i965
1236%defattr(644,root,root,755)
1237%attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1238
a3697dc6 1239%if %{with gallium_nouveau}
3e88bc92
AM
1240%files dri-driver-nouveau
1241%defattr(644,root,root,755)
1242%attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
a7a3223c 1243%endif
04c3cb73 1244%endif
3e88bc92 1245
f3606317
AM
1246%files dri-driver-swrast
1247%defattr(644,root,root,755)
1248%attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1249
bb5f0825 1250%if %{with gallium}
e68936d0
AM
1251%files dri-driver-vmwgfx
1252%defattr(644,root,root,755)
9c4e4073 1253%attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
bb5f0825 1254%endif
9bfb354d 1255
c3f739d4 1256%if %{with gallium}
04c3cb73
JB
1257# ldconfig is not used in vdpau tree, so package all symlinks
1258%if %{with gallium_nouveau}
1259%files -n libvdpau-driver-mesa-nouveau
1260%defattr(644,root,root,755)
1261%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1262%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1263%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1264%endif
1265
1266%files -n libvdpau-driver-mesa-r300
9bfb354d 1267%defattr(644,root,root,755)
9bfb354d
AM
1268%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1269%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1270%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
04c3cb73
JB
1271
1272%files -n libvdpau-driver-mesa-r600
1273%defattr(644,root,root,755)
9bfb354d
AM
1274%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1275%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1276%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
04c3cb73
JB
1277
1278%files -n libvdpau-driver-mesa-softpipe
1279%defattr(644,root,root,755)
1280%attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1281%attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1282%attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so
c3f739d4 1283%endif
This page took 0.343325 seconds and 4 git commands to generate.