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