]> git.pld-linux.org Git - packages/Mesa.git/blame - Mesa.spec
- -libglapi and -libgbm C: old -libEGL
[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
72a183c7 34Release: 2
9bfb354d 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
72a183c7 494Conflicts: Mesa-libEGL < 8.0.1-2
d3cd778a
JB
495
496%description libgbm
497Mesa Graphics Buffer Manager library.
498
499%description libgbm -l pl.UTF-8
500Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
501
502%package libgbm-devel
503Summary: Header file for Mesa Graphics Buffer Manager library
504Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
505Group: Development/Libraries
506Requires: %{name}-libgbm = %{version}-%{release}
507Requires: udev-devel >= 1:150
508
509%description libgbm-devel
510Header file for Mesa Graphics Buffer Manager library.
511
512%description libgbm-devel -l pl.UTF-8
513Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
514bufora graficznego).
515
516%package gbm-driver-i915
517Summary: i915 driver for Mesa GBM framework
518Summary(pl.UTF-8): Sterownik i915 dla szkieletu Mesa GBM
519Group: Libraries
520Requires: %{name}-libgbm = %{version}-%{release}
521
522%description gbm-driver-i915
523i915 driver for Mesa Graphics Buffer Manager. It supports Intel
524915/945/G33/Q33/Q35/Pineview chips.
525
526%description gbm-driver-i915 -l pl.UTF-8
527Sterownik i915 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
528bufora graficznego). Obsługuje układy Intela z serii
529915/945/G33/Q33/Q35/Pineview.
530
531%package gbm-driver-nouveau
532Summary: nouveau driver for Mesa GBM framework
533Summary(pl.UTF-8): Sterownik nouveau dla szkieletu Mesa GBM
534Group: Libraries
535Requires: %{name}-libgbm = %{version}-%{release}
536
537%description gbm-driver-nouveau
538nouveau driver for Mesa Graphics Buffer Manager. It supports NVidia
539adapters.
540
541%description gbm-driver-nouveau -l pl.UTF-8
542Sterownik nouveau dla szkieletu Mesa Graphics Buffer Manager (zarządcy
543bufora graficznego). Obsługuje karty graficzne firmy NVidia.
544
545%package gbm-driver-r300
546Summary: r300 driver for Mesa GBM framework
547Summary(pl.UTF-8): Sterownik r300 dla szkieletu Mesa GBM
548Group: Libraries
549Requires: %{name}-libgbm = %{version}-%{release}
550
551%description gbm-driver-r300
552r300 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
553adapters based on R300/R400/RS690/R500 chips.
554
555%description gbm-driver-r300 -l pl.UTF-8
556Sterownik r300 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
557bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
558układach R300/R400/RS690/R500.
559
560%package gbm-driver-r600
561Summary: r600 driver for Mesa GBM framework
562Summary(pl.UTF-8): Sterownik r600 dla szkieletu Mesa GBM
563Group: Libraries
564Requires: %{name}-libgbm = %{version}-%{release}
565
566%description gbm-driver-r600
567r600 driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
568adapters based on R600/R700 chips.
569
570%description gbm-driver-r600 -l pl.UTF-8
571Sterownik r600 dla szkieletu Mesa Graphics Buffer Manager (zarządcy
572bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
573układach R600/R700.
574
575%package gbm-driver-vmwgfx
576Summary: vmwgfx driver for Mesa GBM framework
577Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
578Group: Libraries
579Requires: %{name}-libgbm = %{version}-%{release}
580
581%description gbm-driver-vmwgfx
582vmwgfx driver for Mesa Graphics Buffer Manager. It supports VMware
583virtual video adapter.
584
585%description gbm-driver-vmwgfx -l pl.UTF-8
586Sterownik vmwgfx dla szkieletu Mesa Graphics Buffer Manager (zarządcy
587bufora graficznego). Obsługuje wirtualną kartę graficzną VMware.
588
c7f22387
JB
589%package libglapi
590Summary: Mesa GL API shared library
591Summary(pl.UTF-8): Biblioteka współdzielona Mesa GL API
592Group: Libraries
72a183c7 593Conflicts: Mesa-libEGL < 8.0.1-2
c7f22387
JB
594
595%description libglapi
596Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
597
598%description libglapi -l pl.UTF-8
599Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
600GL, GLES).
601
a651d613
JB
602%package libxatracker
603Summary: Xorg Gallium3D accelleration library
604Summary(pl.UTF-8): Biblioteka akceleracji Gallium3D dla Xorg
605Group: X11/Libraries
c7f22387 606Requires: libdrm >= %{libdrm_ver}
a651d613
JB
607
608%description libxatracker
609Xorg Gallium3D accelleration library (used by new vmwgfx driver).
610
611%description libxatracker -l pl.UTF-8
612Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
613sterownik vmwgfx).
614
615%package libxatracker-devel
616Summary: Header files for Xorg Gallium3D accelleration library
617Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
618Group: X11/Development/Libraries
619Requires: %{name}-libxatracker = %{version}-%{release}
c7f22387 620Requires: libdrm-devel >= %{libdrm_ver}
a651d613
JB
621
622%description libxatracker-devel
623Header files for Xorg Gallium3D accelleration library.
624
625%description libxatracker-devel -l pl.UTF-8
626Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
627
166bc93f
JB
628%package khrplatform-devel
629Summary: Khronos platform header file
630Summary(pl.UTF-8): Plik nagłówkowy platformy Khronos
631Group: Development/Libraries
72a183c7 632Conflicts: Mesa-libEGL-devel < 8.0.1-2
166bc93f
JB
633
634%description khrplatform-devel
635Khronos platform header file.
636
637%description khrplatform-devel -l pl.UTF-8
638Plik nagłówkowy platformy Khronos.
639
afe33c03 640%package dri-driver-ati-radeon-R100
362c6f99
JB
641Summary: X.org DRI driver for ATI R100 card family
642Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100
f4a8c5f6 643License: MIT
18da5046 644Group: X11/Libraries
83c21438 645Requires: xorg-driver-video-ati
d70abe90
JB
646Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
647Requires: xorg-xserver-server >= %{xserver_ver}
8e26093b 648Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 649
650%description dri-driver-ati-radeon-R100
362c6f99 651X.org DRI driver for ATI R100 card family (Radeon 7000-7500).
afe33c03 652
f77f03b8 653%description dri-driver-ati-radeon-R100 -l pl.UTF-8
362c6f99 654Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
afe33c03 655
656%package dri-driver-ati-radeon-R200
362c6f99
JB
657Summary: X.org DRI driver for ATI R200 card family
658Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200
f4a8c5f6 659License: MIT
18da5046 660Group: X11/Libraries
83c21438 661Requires: xorg-driver-video-ati
d70abe90
JB
662Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
663Requires: xorg-xserver-server >= %{xserver_ver}
8e26093b 664Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 665
666%description dri-driver-ati-radeon-R200
362c6f99 667X.org DRI driver for ATI R200 card family (Radeon 8500-92xx)
afe33c03 668
f77f03b8 669%description dri-driver-ati-radeon-R200 -l pl.UTF-8
362c6f99 670Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
afe33c03 671
672%package dri-driver-ati-radeon-R300
362c6f99
JB
673Summary: X.org DRI driver for ATI R300 card family
674Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300
f4a8c5f6 675License: MIT
18da5046 676Group: X11/Libraries
83c21438 677Requires: xorg-driver-video-ati
d70abe90
JB
678Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
679Requires: xorg-xserver-server >= %{xserver_ver}
8e26093b 680Obsoletes: X11-driver-radeon-dri < 1:7.0.0
afe33c03 681
682%description dri-driver-ati-radeon-R300
04c3cb73 683X.org DRI driver for ATI R300/R400/RS690/R500 card family.
afe33c03 684
f77f03b8 685%description dri-driver-ati-radeon-R300 -l pl.UTF-8
04c3cb73 686Sterownik X.org DRI dla rodziny kart ATI R300/R400/RS690/R500.
afe33c03 687
e68936d0
AM
688%package dri-driver-ati-radeon-R600
689Summary: X.org DRI driver for ATI R600 card family
690Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600
691License: MIT
692Group: X11/Libraries
693Requires: radeon-ucode
694Requires: xorg-driver-video-ati
695Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
696Requires: xorg-xserver-server >= %{xserver_ver}
697
698%description dri-driver-ati-radeon-R600
04c3cb73 699X.org DRI driver for ATI R600/R700 card family.
e68936d0
AM
700
701%description dri-driver-ati-radeon-R600 -l pl.UTF-8
04c3cb73 702Sterownik X.org DRI dla rodziny kart ATI R600/R700.
e68936d0 703
afe33c03 704%package dri-driver-intel-i915
362c6f99
JB
705Summary: X.org DRI driver for Intel i915 card family
706Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915
f4a8c5f6 707License: MIT
18da5046 708Group: X11/Libraries
d70abe90
JB
709Requires: xorg-driver-video-intel
710Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
711Requires: xorg-xserver-server >= %{xserver_ver}
2db432a2 712Obsoletes: Mesa-dri-driver-intel-i830
8e26093b 713Obsoletes: X11-driver-i810-dri < 1:7.0.0
afe33c03 714
715%description dri-driver-intel-i915
04c3cb73
JB
716X.org DRI driver for Intel i915 card family (915, 945, G33, Q33, Q35,
717Pineview).
afe33c03 718
f77f03b8 719%description dri-driver-intel-i915 -l pl.UTF-8
04c3cb73
JB
720Sterownik X.org DRI dla rodziny kart Intel i915 (915, 945, G33, Q33,
721Q35, Pineview).
afe33c03 722
b360f4f6 723%package dri-driver-intel-i965
362c6f99
JB
724Summary: X.org DRI driver for Intel i965 card family
725Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965
f4a8c5f6 726License: MIT
b360f4f6 727Group: X11/Libraries
d70abe90
JB
728Requires: xorg-driver-video-intel
729Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
730Requires: xorg-xserver-server >= %{xserver_ver}
b360f4f6 731Obsoletes: Mesa-dri-driver-intel-i830
8e26093b 732Obsoletes: X11-driver-i810-dri < 1:7.0.0
b360f4f6 733
734%description dri-driver-intel-i965
04c3cb73
JB
735X.org DRI driver for Intel i965 card family (946GZ, 965G, 965Q, 965GM,
736965GME, GM45, G41, B43, Q45, G45);
b360f4f6 737
f77f03b8 738%description dri-driver-intel-i965 -l pl.UTF-8
04c3cb73
JB
739Sterownik X.org DRI dla rodziny kart Intel i965 (946GZ, 965G, 965Q,
740965GM, 965GME, GM45, G41, B43, Q45, G45).
b360f4f6 741
3e88bc92
AM
742%package dri-driver-nouveau
743Summary: X.org DRI driver for NVIDIA card family
744Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA
745License: MIT
746Group: X11/Libraries
747Requires: xorg-driver-video-nouveau
748Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
749Requires: xorg-xserver-server >= %{xserver_ver}
750
751%description dri-driver-nouveau
752X.org DRI drivers for NVIDIA card family.
753
754%description dri-driver-nouveau -l pl.UTF-8
755Sterowniki X.org DRI dla rodziny kart NVIDIA.
756
f3606317 757%package dri-driver-swrast
362c6f99
JB
758Summary: X.org DRI software rasterizer driver
759Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe
f3606317
AM
760License: MIT
761Group: X11/Libraries
d70abe90
JB
762Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
763Requires: xorg-xserver-server >= %{xserver_ver}
f3606317
AM
764
765%description dri-driver-swrast
362c6f99 766X.org DRI software rasterizer driver.
f3606317
AM
767
768%description dri-driver-swrast -l pl.UTF-8
362c6f99 769Sterownik X.org DRI obsługujący rysowanie programowe.
f3606317 770
e68936d0
AM
771%package dri-driver-vmwgfx
772Summary: X.org DRI driver for VMware
773Summary(pl.UTF-8): Sterownik X.org DRI dla VMware
774License: MIT
775Group: X11/Libraries
0f9ae6ae 776Requires: xorg-driver-video-vmware
e68936d0
AM
777Requires: xorg-xserver-libglx(glapi) = %{glapi_ver}
778Requires: xorg-xserver-server >= %{xserver_ver}
779
780%description dri-driver-vmwgfx
781X.org DRI driver for VMWare.
782
783%description dri-driver-vmwgfx -l pl.UTF-8
784Sterownik X.org DRI dla VMware.
785
04c3cb73
JB
786%package -n libvdpau-driver-mesa-nouveau
787Summary: Mesa nouveau driver for the vdpau API
788Summary(pl.UTF-8): Sterownik Mesa nouveau dla API vdpau
9bfb354d
AM
789License: MIT
790Group: X11/Libraries
8eb275e9
JB
791Requires: libdrm >= %{libdrm_ver}
792Requires: libvdpau >= 0.4.1
04c3cb73 793Conflicts: libvdpau-driver-mesa
9bfb354d 794
04c3cb73
JB
795%description -n libvdpau-driver-mesa-nouveau
796Mesa nouveau driver for the vdpau API. It supports NVidia adapters
797(NV40-NV96, NVa0).
9bfb354d 798
04c3cb73
JB
799%description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
800Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
801(NV40-NV96, NVa0).
9bfb354d 802
04c3cb73
JB
803%package -n libvdpau-driver-mesa-r300
804Summary: Mesa r300 driver for the vdpau API
805Summary(pl.UTF-8): Sterownik Mesa r300 dla API vdpau
806License: MIT
807Group: X11/Libraries
808Requires: libdrm >= %{libdrm_ver}
809Requires: libvdpau >= 0.4.1
810Conflicts: libvdpau-driver-mesa
811
812%description -n libvdpau-driver-mesa-r300
813Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
814based on R300/R400/RS690/R500 chips.
815
816%description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
817Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
818na układach R300/R400/RS690/R500.
819
820%package -n libvdpau-driver-mesa-r600
821Summary: Mesa r600 driver for the vdpau API
822Summary(pl.UTF-8): Sterownik Mesa r600 dla API vdpau
823License: MIT
824Group: X11/Libraries
825Requires: libdrm >= %{libdrm_ver}
826Requires: libvdpau >= 0.4.1
827Conflicts: libvdpau-driver-mesa
828
829%description -n libvdpau-driver-mesa-r600
830Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
831based on R600/R700 chips.
832
833%description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
834Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
835na układach R600/R700.
836
837%package -n libvdpau-driver-mesa-softpipe
838Summary: Mesa softpipe driver for the vdpau API
839Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
840License: MIT
841Group: X11/Libraries
842Requires: libdrm >= %{libdrm_ver}
843Requires: libvdpau >= 0.4.1
844Conflicts: libvdpau-driver-mesa
845
846%description -n libvdpau-driver-mesa-softpipe
847Mesa softpipe driver for the vdpau API.
848
849%description -n libvdpau-driver-mesa-softpipe -l pl.UTF-8
850Sterownik Mesa softpipe dla API vdpau.
3d879b5c 851
a0b2836a 852%prep
bb686270 853%setup -q
6f53c8ab 854%patch0 -p0
a651d613 855%patch1 -p1
a0b2836a 856
857%build
bb686270
AM
858%{__aclocal}
859%{__autoconf}
a5afae62 860
9bfb354d 861dri_drivers="r200 radeon \
8060076f 862%if %{without gallium_intel}
04c3cb73 863i915 \
a5afae62 864%endif
04c3cb73 865i965
59f12de8
AM
866%ifarch sparc sparcv9 sparc64
867ffb \
6299b3cd 868%endif
9bfb354d 869swrast"
59f12de8
AM
870
871dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
872
c1d2b5e2
AM
873gallium_drivers="svga swrast \
874%if %{with gallium_intel}
875i915 \
c1d2b5e2 876%endif
b8e6b6d7 877r300 \
c1d2b5e2 878r600 \
c1d2b5e2
AM
879%if %{with gallium_nouveau}
880nouveau \
881%endif
882"
883
884gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
885
59f12de8 886common_flags="\
9bfb354d 887 --enable-shared \
b4a5c074 888 --enable-glx-tls \
c885f99e
JB
889 --enable-pic \
890 --enable-selinux \
891 %{?with_static_libs:--enable-static} \
c1d2b5e2 892"
59f12de8 893
74a7a0e1 894osmesa_common_flags="\
59f12de8
AM
895 --with-driver=osmesa \
896 --disable-asm \
bf8d2f73
JB
897 --disable-egl \
898 --disable-glu"
74a7a0e1
AM
899
900%if %{with osmesa}
74a7a0e1 901%configure $common_flags $osmesa_common_flags \
59f12de8 902 --with-osmesa-bits=8
74a7a0e1 903%{__make}
bf8d2f73 904%{__make} -C src/mesa osmesa.pc
59f12de8 905mv %{_lib} osmesa8
bf8d2f73 906cp -p src/mesa/osmesa.pc osmesa8
59f12de8 907%{__make} clean
cb97a1c3 908%endif
59f12de8
AM
909
910%configure $common_flags \
9bfb354d 911 %{__enable gbm} \
f566cdfa 912 --enable-shared-glapi \
c885f99e
JB
913%if %{with egl}
914 --enable-egl \
915 --enable-gles1 \
916 --enable-gles2 \
166bc93f 917 --with-egl-platforms=x11%{?with_gbm:,drm} \
c885f99e 918%endif
5f574b4b 919%if %{with gallium}
9bfb354d
AM
920 --enable-gallium-llvm \
921 %{__enable egl gallium-egl} \
922 %{__enable gbm gallium-gbm} \
166bc93f 923 %{?with_egl:--enable-openvg} \
9bfb354d 924 --enable-vdpau \
a651d613 925 %{?with_xa:--enable-xa} \
9bfb354d 926 --enable-xvmc \
c1d2b5e2 927 --with-gallium-drivers=${gallium_drivers} \
5f574b4b 928%else
5eb992a8 929 --without-gallium-drivers \
5f574b4b 930%endif
59f12de8
AM
931 --with-driver=dri \
932 --with-dri-drivers=${dri_drivers} \
933 --with-dri-driverdir=%{_libdir}/xorg/modules/dri
934
935%{__make}
59f12de8 936
a0b2836a 937%install
f5543b17 938rm -rf $RPM_BUILD_ROOT
ddde5931 939
59f12de8
AM
940%{__make} install \
941 DESTDIR=$RPM_BUILD_ROOT
ddde5931 942
cb97a1c3 943%if %{with osmesa}
f566cdfa 944cp -dp osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir}
bf8d2f73 945cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
cb97a1c3 946%endif
f4a8c5f6 947
59f12de8 948# strip out undesirable headers
9bfb354d 949%{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h
80fb8e4d
JB
950# dlopened by soname
951%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXvMC*.so
c7f22387
JB
952# not used externally
953%{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
c1d2b5e2 954
f56e1323
JR
955# remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
956# set up via /etc/ld.so.conf.d/*.conf will be preferred over this
957strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
958
abc9e15f
JB
959%clean
960rm -rf $RPM_BUILD_ROOT
961
bb686270
AM
962%post libEGL -p /sbin/ldconfig
963%postun libEGL -p /sbin/ldconfig
964
f445ed6c
JB
965%post libGL -p /sbin/ldconfig
966%postun libGL -p /sbin/ldconfig
967
c1d2b5e2
AM
968%post libGLES -p /sbin/ldconfig
969%postun libGLES -p /sbin/ldconfig
970
f445ed6c
JB
971%post libGLU -p /sbin/ldconfig
972%postun libGLU -p /sbin/ldconfig
973
c1d2b5e2
AM
974%post libOSMesa -p /sbin/ldconfig
975%postun libOSMesa -p /sbin/ldconfig
976
977%post libOpenVG -p /sbin/ldconfig
978%postun libOpenVG -p /sbin/ldconfig
979
04c3cb73
JB
980%post libXvMC-nouveau -p /sbin/ldconfig
981%postun libXvMC-nouveau -p /sbin/ldconfig
982%post libXvMC-r300 -p /sbin/ldconfig
983%postun libXvMC-r300 -p /sbin/ldconfig
984%post libXvMC-r600 -p /sbin/ldconfig
985%postun libXvMC-r600 -p /sbin/ldconfig
986%post libXvMC-softpipe -p /sbin/ldconfig
987%postun libXvMC-softpipe -p /sbin/ldconfig
9bfb354d 988
d3cd778a
JB
989%post libgbm -p /sbin/ldconfig
990%postun libgbm -p /sbin/ldconfig
991
c7f22387
JB
992%post libglapi -p /sbin/ldconfig
993%postun libglapi -p /sbin/ldconfig
994
a651d613
JB
995%post libxatracker -p /sbin/ldconfig
996%postun libxatracker -p /sbin/ldconfig
997
bb686270
AM
998%if %{with egl}
999%files libEGL
1000%defattr(644,root,root,755)
1001%attr(755,root,root) %{_libdir}/libEGL.so.*.*
c794b508 1002%attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
c1d2b5e2 1003%if %{with gallium}
bb686270 1004%dir %{_libdir}/egl
c1d2b5e2 1005%attr(755,root,root) %{_libdir}/egl/egl_gallium.so
9bfb354d 1006%endif
bb686270
AM
1007
1008%files libEGL-devel
1009%defattr(644,root,root,755)
1010%attr(755,root,root) %{_libdir}/libEGL.so
bb686270
AM
1011%dir %{_includedir}/EGL
1012%{_includedir}/EGL/egl.h
1013%{_includedir}/EGL/eglext.h
9bfb354d 1014%{_includedir}/EGL/eglmesaext.h
bb686270 1015%{_includedir}/EGL/eglplatform.h
bb686270
AM
1016%{_pkgconfigdir}/egl.pc
1017
c885f99e 1018%if %{with static_libs}
bb686270
AM
1019%files libEGL-static
1020%defattr(644,root,root,755)
1021%{_libdir}/libEGL.a
1022%endif
1023%endif
1024
f445ed6c 1025%files libGL
e9b3ff7a 1026%defattr(644,root,root,755)
9bfb354d 1027%doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*}
9b0e6ebb
JB
1028%attr(755,root,root) %{_libdir}/libGL.so.*.*
1029%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
0cb33a09 1030# symlink for binary apps which fail to conform Linux OpenGL ABI
bf8d2f73 1031# (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
0cb33a09 1032%attr(755,root,root) %{_libdir}/libGL.so
a0b2836a 1033
f445ed6c 1034%files libGL-devel
e9b3ff7a 1035%defattr(644,root,root,755)
ddde5931 1036%doc docs/*.spec
debcd977 1037%dir %{_includedir}/GL
d3dd48bf 1038%{_includedir}/GL/gl.h
e1833810 1039%{_includedir}/GL/glext.h
d3dd48bf 1040%{_includedir}/GL/gl_mangle.h
d3dd48bf 1041%{_includedir}/GL/glx.h
abc9e15f 1042%{_includedir}/GL/glxext.h
d3dd48bf 1043%{_includedir}/GL/glx_mangle.h
1ec0796e
AM
1044%dir %{_includedir}/GL/internal
1045%{_includedir}/GL/internal/dri_interface.h
59f12de8 1046%{_pkgconfigdir}/dri.pc
f4a8c5f6 1047%{_pkgconfigdir}/gl.pc
a0b2836a 1048
c885f99e 1049%if %{with static_libs}
278406ce
JB
1050%files libGL-static
1051%defattr(644,root,root,755)
1052%{_libdir}/libGL.a
1053%endif
1054
c1d2b5e2
AM
1055%files libGLES
1056%defattr(644,root,root,755)
cc59a107
JB
1057%attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1058%attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1059%attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1060%attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
c1d2b5e2
AM
1061
1062%files libGLES-devel
1063%defattr(644,root,root,755)
cc59a107
JB
1064%attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1065%attr(755,root,root) %{_libdir}/libGLESv2.so
c1d2b5e2
AM
1066%{_includedir}/GLES
1067%{_includedir}/GLES2
cc59a107
JB
1068%{_pkgconfigdir}/glesv1_cm.pc
1069%{_pkgconfigdir}/glesv2.pc
c1d2b5e2 1070
f445ed6c
JB
1071%files libGLU
1072%defattr(644,root,root,755)
9b0e6ebb 1073%attr(755,root,root) %{_libdir}/libGLU.so.*.*
c794b508 1074%attr(755,root,root) %ghost %{_libdir}/libGLU.so.1
f445ed6c
JB
1075
1076%files libGLU-devel
1077%defattr(644,root,root,755)
1078%attr(755,root,root) %{_libdir}/libGLU.so
1079%{_includedir}/GL/glu.h
1080%{_includedir}/GL/glu_mangle.h
f4a8c5f6 1081%{_pkgconfigdir}/glu.pc
f445ed6c 1082
c885f99e 1083%if %{with static_libs}
f445ed6c
JB
1084%files libGLU-static
1085%defattr(644,root,root,755)
11062ced 1086%{_libdir}/libGLU.a
59f12de8 1087%endif
f445ed6c 1088
cb97a1c3 1089%if %{with osmesa}
f4a8c5f6
JB
1090%files libOSMesa
1091%defattr(644,root,root,755)
cc59a107 1092%attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
9bfb354d 1093%attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
f4a8c5f6
JB
1094
1095%files libOSMesa-devel
1096%defattr(644,root,root,755)
cc59a107 1097%attr(755,root,root) %{_libdir}/libOSMesa.so
f4a8c5f6 1098%{_includedir}/GL/osmesa.h
bf8d2f73 1099%{_pkgconfigdir}/osmesa.pc
f4a8c5f6 1100
c885f99e 1101%if %{with static_libs}
f4a8c5f6
JB
1102%files libOSMesa-static
1103%defattr(644,root,root,755)
cc59a107 1104%{_libdir}/libOSMesa.a
59f12de8 1105%endif
cb97a1c3 1106%endif
f4a8c5f6 1107
166bc93f 1108%if %{with egl} && %{with gallium}
c1d2b5e2
AM
1109%files libOpenVG
1110%defattr(644,root,root,755)
cc59a107 1111%attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.*
278406ce 1112%attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1
c1d2b5e2
AM
1113
1114%files libOpenVG-devel
1115%defattr(644,root,root,755)
278406ce 1116%attr(755,root,root) %{_libdir}/libOpenVG.so
c1d2b5e2 1117%{_includedir}/VG
c1d2b5e2
AM
1118%{_pkgconfigdir}/vg.pc
1119%endif
1120
c3f739d4 1121%if %{with gallium}
80fb8e4d 1122%if %{with gallium_nouveau}
04c3cb73 1123%files libXvMC-nouveau
875da849 1124%defattr(644,root,root,755)
9bfb354d 1125%attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0
04c3cb73 1126%attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
80fb8e4d 1127%endif
04c3cb73
JB
1128
1129%files libXvMC-r300
1130%defattr(644,root,root,755)
9bfb354d 1131%attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0
04c3cb73
JB
1132%attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1
1133
1134%files libXvMC-r600
1135%defattr(644,root,root,755)
9bfb354d 1136%attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0
04c3cb73
JB
1137%attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1138
1139%files libXvMC-softpipe
1140%defattr(644,root,root,755)
9bfb354d 1141%attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0
04c3cb73 1142%attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1
c3f739d4 1143%endif
afe33c03 1144
d3cd778a
JB
1145%if %{with gbm}
1146%files libgbm
1147%defattr(644,root,root,755)
1148%attr(755,root,root) %{_libdir}/libgbm.so.*.*
1149%attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1150%if %{with gallium}
1151%dir %{_libdir}/gbm
1152%attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so
1153%endif
1154
1155%files libgbm-devel
1156%defattr(644,root,root,755)
1157%attr(755,root,root) %{_libdir}/libgbm.so
1158%{_includedir}/gbm.h
1159%{_pkgconfigdir}/gbm.pc
1160%endif
1161
1162%if %{with gallium}
1163%if %{with gallium_intel}
1164%files gbm-driver-i915
1165%defattr(644,root,root,755)
1166%attr(755,root,root) %{_libdir}/gbm/pipe_i915.so
1167%endif
1168
1169%if %{with gallium_nouveau}
1170%files gbm-driver-nouveau
1171%defattr(644,root,root,755)
1172%attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so
1173%endif
1174
1175%files gbm-driver-r300
1176%defattr(644,root,root,755)
1177%attr(755,root,root) %{_libdir}/gbm/pipe_r300.so
1178
1179%files gbm-driver-r600
1180%defattr(644,root,root,755)
1181%attr(755,root,root) %{_libdir}/gbm/pipe_r600.so
1182
1183%files gbm-driver-vmwgfx
1184%defattr(644,root,root,755)
1185%attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so
1186%endif
1187
c7f22387
JB
1188%files libglapi
1189%defattr(644,root,root,755)
1190%attr(755,root,root) %{_libdir}/libglapi.so.*.*
1191%attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1192# libglapi-devel? nothing seems to need it atm.
1193#%attr(755,root,root) %{_libdir}/libglapi.so
1194
a651d613
JB
1195%if %{with xa}
1196%files libxatracker
1197%defattr(644,root,root,755)
1198%attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1199%attr(755,root,root) %ghost %{_libdir}/libxatracker.so.1
1200
1201%files libxatracker-devel
1202%defattr(644,root,root,755)
1203%attr(755,root,root) %{_libdir}/libxatracker.so
1204%{_includedir}/xa_composite.h
1205%{_includedir}/xa_context.h
1206%{_includedir}/xa_tracker.h
1207%{_pkgconfigdir}/xatracker.pc
1208%endif
1209
166bc93f
JB
1210%if %{with egl}
1211%files khrplatform-devel
1212%defattr(644,root,root,755)
1213%dir %{_includedir}/KHR
1214%{_includedir}/KHR/khrplatform.h
1215%endif
1216
afe33c03 1217%files dri-driver-ati-radeon-R100
1218%defattr(644,root,root,755)
1219%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1220
1221%files dri-driver-ati-radeon-R200
1222%defattr(644,root,root,755)
1223%attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1224
c3f739d4 1225%if %{with gallium}
afe33c03 1226%files dri-driver-ati-radeon-R300
1227%defattr(644,root,root,755)
1228%attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1229
e68936d0
AM
1230%files dri-driver-ati-radeon-R600
1231%defattr(644,root,root,755)
1232%attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1233
afe33c03 1234%files dri-driver-intel-i915
1235%defattr(644,root,root,755)
5f574b4b 1236%attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
afe33c03 1237
b360f4f6 1238%files dri-driver-intel-i965
1239%defattr(644,root,root,755)
1240%attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1241
a3697dc6 1242%if %{with gallium_nouveau}
3e88bc92
AM
1243%files dri-driver-nouveau
1244%defattr(644,root,root,755)
1245%attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
a7a3223c 1246%endif
04c3cb73 1247%endif
3e88bc92 1248
f3606317
AM
1249%files dri-driver-swrast
1250%defattr(644,root,root,755)
1251%attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1252
bb5f0825 1253%if %{with gallium}
e68936d0
AM
1254%files dri-driver-vmwgfx
1255%defattr(644,root,root,755)
9c4e4073 1256%attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
bb5f0825 1257%endif
9bfb354d 1258
c3f739d4 1259%if %{with gallium}
04c3cb73
JB
1260# ldconfig is not used in vdpau tree, so package all symlinks
1261%if %{with gallium_nouveau}
1262%files -n libvdpau-driver-mesa-nouveau
1263%defattr(644,root,root,755)
1264%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
1265%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
1266%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
1267%endif
1268
1269%files -n libvdpau-driver-mesa-r300
9bfb354d 1270%defattr(644,root,root,755)
9bfb354d
AM
1271%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
1272%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
1273%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
04c3cb73
JB
1274
1275%files -n libvdpau-driver-mesa-r600
1276%defattr(644,root,root,755)
9bfb354d
AM
1277%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
1278%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
1279%attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
04c3cb73
JB
1280
1281%files -n libvdpau-driver-mesa-softpipe
1282%defattr(644,root,root,755)
1283%attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0
1284%attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1
1285%attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so
c3f739d4 1286%endif
This page took 0.359035 seconds and 4 git commands to generate.