]>
Commit | Line | Data |
---|---|---|
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? |
59f12de8 | 6 | # - resurrect static if it's useful |
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 JB |
13 | %bcond_without osmesa # OSMesa libraries |
14 | %bcond_without gbm # with Graphics Buffer Manager | |
c885f99e | 15 | %bcond_with static_libs # static libraries |
d70abe90 JB |
16 | # |
17 | # minimal supported xserver version | |
18 | %define xserver_ver 1.5.0 | |
19 | # glapi version (glapi tables in dri drivers and libglx must be in sync); | |
20 | # set to current Mesa version on ABI break, when xserver tables get regenerated | |
21 | # (until they start to be somehow versioned themselves) | |
57ae29d5 | 22 | %define glapi_ver 7.1.0 |
797c6091 | 23 | # |
9bfb354d | 24 | %define libdrm_ver 2.4.30 |
c1d2b5e2 | 25 | %define dri2proto_ver 2.6 |
8eb275e9 | 26 | %define glproto_ver 1.4.14 |
41aca213 | 27 | # |
e1833810 | 28 | Summary: Free OpenGL implementation |
54181d82 | 29 | Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL |
e9b3ff7a | 30 | Name: Mesa |
fd5942b2 | 31 | Version: 8.0.1 |
9bfb354d AM |
32 | Release: 1 |
33 | License: MIT (core), SGI (GLU) and others - see license.html file | |
e9b3ff7a | 34 | Group: X11/Libraries |
17c01040 | 35 | Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2 |
fd5942b2 | 36 | # Source0-md5: 24eeebf66971809d8f40775a379b36c9 |
6f53c8ab | 37 | Patch0: %{name}-realclean.patch |
50e22bbf | 38 | URL: http://www.mesa3d.org/ |
54147717 | 39 | BuildRequires: autoconf >= 2.59 |
a6c5fc6c | 40 | BuildRequires: automake |
0cb33a09 | 41 | BuildRequires: expat-devel |
686d3d0d | 42 | BuildRequires: gcc >= 5:3.3 |
41aca213 | 43 | BuildRequires: libdrm-devel >= %{libdrm_ver} |
59f12de8 | 44 | BuildRequires: libselinux-devel |
3c26b076 | 45 | BuildRequires: libstdc++-devel >= 5:3.3.0 |
54147717 | 46 | BuildRequires: libtalloc-devel >= 2:2.0.1 |
6b372055 | 47 | BuildRequires: libtool >= 2:1.4d |
8eb275e9 | 48 | BuildRequires: libvdpau-devel >= 0.4.1 |
c1d2b5e2 | 49 | BuildRequires: llvm-devel >= 2.9 |
f35aa06e | 50 | BuildRequires: pixman-devel |
a6c5fc6c | 51 | BuildRequires: pkgconfig |
c1d2b5e2 | 52 | BuildRequires: pkgconfig(talloc) >= 2.0.1 |
7eda8496 | 53 | BuildRequires: python |
11f03809 | 54 | BuildRequires: python-libxml2 |
d9fd49b8 | 55 | BuildRequires: python-modules |
f6afd89c | 56 | BuildRequires: rpmbuild(macros) >= 1.470 |
7cbe00f8 | 57 | BuildRequires: sed >= 4.0 |
cd8f367a | 58 | BuildRequires: xorg-lib-libXdamage-devel |
994fa6a5 | 59 | BuildRequires: xorg-lib-libXext-devel >= 1.0.5 |
1b597036 | 60 | BuildRequires: xorg-lib-libXt-devel |
8eb275e9 | 61 | BuildRequires: xorg-lib-libXvMC-devel >= 1.0.6 |
9850656e | 62 | BuildRequires: xorg-lib-libXxf86vm-devel |
41aca213 | 63 | BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} |
b8e51e7a | 64 | BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver} |
9850656e | 65 | BuildRequires: xorg-util-makedepend |
bb686270 | 66 | BuildRequires: xorg-xserver-server-devel |
54147717 JB |
67 | %if %{with egl} |
68 | BuildRequires: libxcb-devel | |
8eb275e9 | 69 | BuildRequires: udev-devel >= 1:150 |
54147717 JB |
70 | %endif |
71 | %if %{with gallium} | |
72 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1 | |
73 | BuildRequires: xorg-xserver-server-devel >= 1.6.0 | |
74 | %endif | |
ddde5931 | 75 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a0b2836a | 76 | |
8060076f AM |
77 | %if %{without gallium} |
78 | %undefine with_gallium_intel | |
9bfb354d AM |
79 | %endif |
80 | ||
81 | %if %{without egl} | |
82 | %undefine with_gbm | |
8060076f AM |
83 | %endif |
84 | ||
bf8d2f73 | 85 | # _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?) |
9bfb354d | 86 | %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libXvMCnouveau.so.1.* libXvMCr300.so.1.* libXvMCr600.so.1.* libXvMCsoftpipe.so.1.* libvdpau_nouveau.so.1.* |
c1d2b5e2 | 87 | |
a0b2836a | 88 | %description |
a70fde83 | 89 | Mesa is a 3-D graphics library with an API which is very similar to |
a5e5e963 | 90 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command |
a70fde83 | 91 | syntax or state machine, it is being used with authorization from |
a5e5e963 JB |
92 | Silicon Graphics, Inc. However, the author does not possess an OpenGL |
93 | license from SGI, and makes no claim that Mesa is in any way a | |
94 | compatible replacement for OpenGL or associated with SGI. | |
a0b2836a | 95 | |
f77f03b8 JR |
96 | %description -l pl.UTF-8 |
97 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
98 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
99 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
100 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
101 | OpenGL ani powiązana z SGI. | |
a0b2836a | 102 | |
bb686270 | 103 | %package libEGL |
ae79139b JB |
104 | Summary: Mesa implementation of EGL Native Platform Graphics Interface library |
105 | Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL | |
106 | License: MIT | |
bb686270 | 107 | Group: Libraries |
bf8d2f73 | 108 | # glx driver in libEGL dlopens libGL.so |
bb686270 | 109 | Requires: OpenGL >= 1.2 |
bf8d2f73 JB |
110 | Requires: libdrm >= %{libdrm_ver} |
111 | %if %{with gallium} | |
112 | # for egl_gallium.so | |
113 | Requires: Mesa-libOpenVG = %{version}-%{release} | |
8eb275e9 | 114 | Requires: udev-libs >= 1:150 |
bf8d2f73 | 115 | %endif |
ae79139b | 116 | Provides: EGL = 1.4 |
bb686270 AM |
117 | |
118 | %description libEGL | |
ae79139b JB |
119 | This package contains shared libEGL - Mesa implementation of EGL |
120 | Native Platform Graphics Interface as specified by Khronos Group: | |
121 | <http://www.khronos.org/egl/>. | |
bb686270 AM |
122 | |
123 | %description libEGL -l pl.UTF-8 | |
ae79139b JB |
124 | Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację |
125 | Mesa standardu EGL Native Platform Graphics Interface (interfejsu | |
126 | graficznego platformy natywnej) wg specyfikacji Khronos Group: | |
127 | <http://www.khronos.org/egl/>. | |
bb686270 AM |
128 | |
129 | %package libEGL-devel | |
ae79139b JB |
130 | Summary: Header files for Mesa implementation of EGL library |
131 | Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL | |
132 | License: MIT | |
bb686270 AM |
133 | Group: Development/Libraries |
134 | Requires: %{name}-libEGL = %{version}-%{release} | |
bf8d2f73 JB |
135 | Requires: libdrm-devel >= %{libdrm_ver} |
136 | Requires: xorg-lib-libX11-devel | |
137 | Requires: xorg-lib-libXdamage-devel | |
138 | Requires: xorg-lib-libXext-devel | |
139 | Requires: xorg-lib-libXfixes-devel | |
140 | Requires: xorg-lib-libXxf86vm-devel | |
141 | Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
142 | Requires: xorg-proto-glproto-devel >= %{glproto_ver} | |
ae79139b | 143 | Provides: EGL-devel = 1.4 |
bb686270 AM |
144 | |
145 | %description libEGL-devel | |
ae79139b | 146 | Header files for Mesa implementation of EGL library. |
bb686270 AM |
147 | |
148 | %description libEGL-devel -l pl.UTF-8 | |
ae79139b | 149 | Pliki nagłówkowe implementacji Mesa biblioteki EGL. |
bb686270 AM |
150 | |
151 | %package libEGL-static | |
278406ce JB |
152 | Summary: Static Mesa EGL library |
153 | Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL | |
ae79139b | 154 | License: MIT |
bb686270 AM |
155 | Group: Development/Libraries |
156 | Requires: %{name}-libEGL-devel = %{version}-%{release} | |
ae79139b | 157 | Provides: EGL-static = 1.4 |
bb686270 AM |
158 | |
159 | %description libEGL-static | |
278406ce | 160 | Static Mesa EGL library. |
bb686270 AM |
161 | |
162 | %description libEGL-static -l pl.UTF-8 | |
278406ce | 163 | Statyczna biblioteka Mesa EGL. |
c1d2b5e2 | 164 | |
f445ed6c JB |
165 | %package libGL |
166 | Summary: Free Mesa3D implementation of libGL OpenGL library | |
54181d82 | 167 | Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL |
f445ed6c JB |
168 | License: MIT |
169 | Group: X11/Libraries | |
38a2434c | 170 | Requires: libdrm >= %{libdrm_ver} |
237cb2a3 | 171 | Provides: OpenGL = 2.1 |
f445ed6c | 172 | Provides: OpenGL-GLX = 1.4 |
b7a76370 | 173 | Obsoletes: Mesa |
884f6d35 | 174 | Obsoletes: Mesa-dri |
b18f0f46 AM |
175 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 |
176 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
f445ed6c JB |
177 | |
178 | %description libGL | |
179 | Mesa is a 3-D graphics library with an API which is very similar to | |
180 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
181 | syntax or state machine, it is being used with authorization from | |
182 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
183 | license from SGI, and makes no claim that Mesa is in any way a | |
184 | compatible replacement for OpenGL or associated with SGI. | |
185 | ||
186 | This package contains libGL which implements OpenGL 1.5 and GLX 1.4 | |
187 | specifications. It uses DRI for rendering. | |
188 | ||
f77f03b8 JR |
189 | %description libGL -l pl.UTF-8 |
190 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
191 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
192 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
193 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
194 | OpenGL ani powiązana z SGI. | |
f445ed6c | 195 | |
f77f03b8 JR |
196 | Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz |
197 | GLX 1.4. Używa DRI do renderowania. | |
f445ed6c JB |
198 | |
199 | %package libGL-devel | |
200 | Summary: Header files for Mesa3D libGL library | |
54181d82 | 201 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D |
f445ed6c JB |
202 | License: MIT |
203 | Group: X11/Development/Libraries | |
204 | # loose dependency on libGL to use with other libGL binaries | |
205 | Requires: OpenGL >= 1.5 | |
41aca213 | 206 | Requires: libdrm-devel >= %{libdrm_ver} |
875da849 | 207 | Requires: xorg-lib-libX11-devel |
9489410a | 208 | Requires: xorg-lib-libXdamage-devel |
209 | Requires: xorg-lib-libXext-devel | |
41aca213 | 210 | Requires: xorg-lib-libXxf86vm-devel |
211 | Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
b8e51e7a | 212 | Requires: xorg-proto-glproto-devel >= %{glproto_ver} |
e261c0c1 | 213 | Suggests: OpenGL-doc-man |
6299b3cd | 214 | Provides: OpenGL-GLX-devel = 1.4 |
3e88bc92 | 215 | Provides: OpenGL-devel = 2.1 |
f445ed6c | 216 | Obsoletes: Mesa-devel |
b18f0f46 AM |
217 | Obsoletes: X11-OpenGL-devel < 1:7.0.0 |
218 | Obsoletes: X11-OpenGL-devel-base < 1:7.0.0 | |
219 | Obsoletes: XFree86-OpenGL-devel < 1:7.0.0 | |
220 | Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0 | |
a0b2836a | 221 | |
f445ed6c JB |
222 | %description libGL-devel |
223 | Header files for Mesa3D libGL library. | |
a0b2836a | 224 | |
f77f03b8 JR |
225 | %description libGL-devel -l pl.UTF-8 |
226 | Pliki nagłówkowe biblioteki libGL z projektu Mesa3D. | |
e31e9d24 | 227 | |
f445ed6c JB |
228 | %package libGL-static |
229 | Summary: Static Mesa3D libGL library | |
54181d82 | 230 | Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D |
f445ed6c JB |
231 | License: MIT |
232 | Group: X11/Development/Libraries | |
233 | Requires: %{name}-libGL-devel = %{version}-%{release} | |
237cb2a3 | 234 | Provides: OpenGL-static = 2.1 |
f445ed6c | 235 | Obsoletes: Mesa-static |
b18f0f46 AM |
236 | Obsoletes: X11-OpenGL-static < 1:7.0.0 |
237 | Obsoletes: XFree86-OpenGL-static < 1:7.0.0 | |
f445ed6c JB |
238 | |
239 | %description libGL-static | |
240 | Static Mesa3D libGL library. It uses software renderer. | |
241 | ||
f77f03b8 JR |
242 | %description libGL-static -l pl.UTF-8 |
243 | Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego | |
f445ed6c JB |
244 | renderingu. |
245 | ||
278406ce JB |
246 | %package libGLES |
247 | Summary: Mesa implementation of GLES (OpenGL ES) libraries | |
248 | Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES) | |
249 | Group: Libraries | |
bf8d2f73 JB |
250 | # only for libglapi.so.0 |
251 | Requires: %{name}-libEGL = %{version}-%{release} | |
278406ce JB |
252 | |
253 | %description libGLES | |
254 | This package contains shared libraries of Mesa implementation of GLES | |
255 | (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics | |
256 | on embedded systems. OpenGL ES specification can be found on Khronos | |
cc59a107 JB |
257 | Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL |
258 | ES 1.1 and 2.0. | |
278406ce JB |
259 | |
260 | %description libGLES -l pl.UTF-8 | |
261 | Ten pakiet zawiera biblioteki współdzielone implementacji Mesa | |
262 | standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni | |
263 | funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację | |
264 | OpenGL ES można znaleźć na stronie Khronos Group: | |
cc59a107 JB |
265 | <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL |
266 | ES 1.1 i 2.0. | |
278406ce JB |
267 | |
268 | %package libGLES-devel | |
269 | Summary: Header files for Mesa GLES libraries | |
270 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES | |
271 | Group: Development/Libraries | |
bf8d2f73 JB |
272 | # EGL for libglapi.so, <KHR/khrplatform.h> always required, <EGL/egl.h> for <GLES/egl.h> |
273 | Requires: %{name}-libEGL-devel = %{version}-%{release} | |
278406ce JB |
274 | Requires: %{name}-libGLES = %{version}-%{release} |
275 | ||
276 | %description libGLES-devel | |
277 | Header files for Mesa GLES libraries. | |
278 | ||
279 | %description libGLES-devel -l pl.UTF-8 | |
280 | Pliki nagłówkowe bibliotek Mesa GLES. | |
281 | ||
f445ed6c JB |
282 | %package libGLU |
283 | Summary: SGI implementation of libGLU OpenGL library | |
54181d82 | 284 | Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL |
9ae30a4c | 285 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
286 | Group: Libraries |
287 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
288 | Requires: OpenGL >= 1.2 | |
289 | Provides: OpenGL-GLU = 1.3 | |
290 | Obsoletes: Mesa-devel | |
b18f0f46 AM |
291 | Obsoletes: X11-OpenGL-libs < 1:7.0.0 |
292 | Obsoletes: XFree86-OpenGL-libs < 1:7.0.0 | |
f445ed6c JB |
293 | |
294 | %description libGLU | |
295 | SGI implementation of libGLU OpenGL library. It implements OpenGL GLU | |
296 | 1.3 specifications. | |
297 | ||
f77f03b8 | 298 | %description libGLU -l pl.UTF-8 |
f445ed6c | 299 | Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje |
f77f03b8 | 300 | specyfikację OpenGL GLU 1.3. |
f445ed6c JB |
301 | |
302 | %package libGLU-devel | |
303 | Summary: Header files for SGI libGLU library | |
54181d82 | 304 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU |
9ae30a4c | 305 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
306 | Group: Development/Libraries |
307 | Requires: %{name}-libGLU = %{version}-%{release} | |
308 | Requires: OpenGL-devel >= 1.2 | |
309 | Requires: libstdc++-devel | |
310 | Provides: OpenGL-GLU-devel = 1.3 | |
311 | ||
312 | %description libGLU-devel | |
313 | Header files for SGI libGLU library. | |
314 | ||
f77f03b8 JR |
315 | %description libGLU-devel -l pl.UTF-8 |
316 | Pliki nagłówkowe biblioteki SGI libGLU. | |
f445ed6c JB |
317 | |
318 | %package libGLU-static | |
319 | Summary: Static SGI libGLU library | |
54181d82 | 320 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU |
9ae30a4c | 321 | License: SGI Free Software License B v2.0 (MIT-like) |
f445ed6c JB |
322 | Group: Development/Libraries |
323 | Requires: %{name}-libGLU-devel = %{version}-%{release} | |
6299b3cd | 324 | Provides: OpenGL-GLU-static = 1.3 |
e31e9d24 | 325 | |
f445ed6c JB |
326 | %description libGLU-static |
327 | Static SGI libGLU library. | |
328 | ||
f77f03b8 | 329 | %description libGLU-static -l pl.UTF-8 |
f445ed6c JB |
330 | Statyczna biblioteka SGI libGLU. |
331 | ||
f4a8c5f6 JB |
332 | %package libOSMesa |
333 | Summary: OSMesa (off-screen renderer) library | |
334 | Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci) | |
335 | License: MIT | |
336 | Group: Libraries | |
337 | # doesn't require base | |
338 | ||
339 | %description libOSMesa | |
340 | OSMesa (off-screen renderer) library. | |
341 | ||
342 | %description libOSMesa -l pl.UTF-8 | |
343 | Biblioteka OSMesa (renderująca bitmapy w pamięci). | |
344 | ||
345 | %package libOSMesa-devel | |
346 | Summary: Header file for OSMesa (off-screen renderer) library | |
347 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci) | |
348 | License: MIT | |
349 | Group: Development/Libraries | |
350 | Requires: %{name}-libOSMesa = %{version}-%{release} | |
351 | # for <GL/gl.h> only | |
352 | Requires: OpenGL-devel | |
bf8d2f73 | 353 | Requires: libselinux-devel |
f4a8c5f6 JB |
354 | |
355 | %description libOSMesa-devel | |
356 | Header file for OSMesa (off-screen renderer) library. | |
357 | ||
358 | %description libOSMesa-devel -l pl.UTF-8 | |
359 | Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci). | |
360 | ||
361 | %package libOSMesa-static | |
362 | Summary: Static OSMesa (off-screen renderer) library | |
363 | Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci) | |
364 | License: MIT | |
365 | Group: Development/Libraries | |
366 | Requires: %{name}-libOSMesa-devel = %{version}-%{release} | |
367 | # this static build of OSMesa needs static non-dri Mesa implementation | |
368 | Requires: %{name}-libGL-static = %{version}-%{release} | |
369 | ||
370 | %description libOSMesa-static | |
371 | Static OSMesa (off-screen renderer) library. | |
372 | ||
373 | %description libOSMesa-static -l pl.UTF-8 | |
374 | Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci). | |
375 | ||
c1d2b5e2 | 376 | %package libOpenVG |
278406ce JB |
377 | Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API |
378 | Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej) | |
c1d2b5e2 AM |
379 | License: MIT |
380 | Group: Libraries | |
381 | # doesn't require base | |
382 | ||
383 | %description libOpenVG | |
278406ce JB |
384 | This package contains Mesa implementation of OpenVG - cross-platform |
385 | API that provides a low-level hardware acceleration interface for | |
386 | vector graphics libraries such as Flash and SVG. OpenVG specification | |
387 | can be found on Khronos Group site: <http://www.khronos.org/openvg/>. | |
cc59a107 | 388 | Mesa implements OpenVG 1.1. |
c1d2b5e2 AM |
389 | |
390 | %description libOpenVG -l pl.UTF-8 | |
278406ce JB |
391 | Ten pakiet zawiera implementację Mesa standardu OpenVG - |
392 | wieloplatfomowego API zapewniającego niskopoziomowy interfejs | |
9bfb354d AM |
393 | akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej jak |
394 | Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie Khronos | |
395 | Group: <http://www.khronos.org/openvg/>. Mesa zawiera implementację | |
396 | OpenVG w wersji 1.1. | |
c1d2b5e2 AM |
397 | |
398 | %package libOpenVG-devel | |
278406ce JB |
399 | Summary: Header file for Mesa OpenVG library |
400 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG | |
c1d2b5e2 AM |
401 | License: MIT |
402 | Group: Development/Libraries | |
bf8d2f73 | 403 | # EGL headers for <KHR/khrplatform.h> |
c1d2b5e2 AM |
404 | Requires: %{name}-libEGL-devel = %{version}-%{release} |
405 | Requires: %{name}-libOpenVG = %{version}-%{release} | |
406 | ||
407 | %description libOpenVG-devel | |
278406ce | 408 | Header file for Mesa OpenVG library. |
c1d2b5e2 AM |
409 | |
410 | %description libOpenVG-devel -l pl.UTF-8 | |
278406ce | 411 | Plik nagłówkowy biblioteki Mesa OpenVG. |
c1d2b5e2 | 412 | |
9bfb354d | 413 | %package libXvMC |
a03101e6 JB |
414 | Summary: Mesa implementations of XvMC API |
415 | Summary(pl.UTF-8): Implementacje Mesa API XvMC | |
f4a8c5f6 | 416 | License: MIT |
9bfb354d | 417 | Group: Libraries |
8eb275e9 | 418 | Requires: libdrm >= %{libdrm_ver} |
9bfb354d | 419 | # doesn't require base |
875da849 | 420 | |
9bfb354d | 421 | %description libXvMC |
a03101e6 | 422 | Mesa implementations of XvMC API. |
875da849 | 423 | |
9bfb354d | 424 | %description libXvMC -l pl.UTF-8 |
a03101e6 | 425 | Implementacje Mesa API XvMC. |
875da849 | 426 | |
afe33c03 | 427 | %package dri-driver-ati-radeon-R100 |
362c6f99 JB |
428 | Summary: X.org DRI driver for ATI R100 card family |
429 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100 | |
f4a8c5f6 | 430 | License: MIT |
18da5046 | 431 | Group: X11/Libraries |
83c21438 | 432 | Requires: xorg-driver-video-ati |
d70abe90 JB |
433 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
434 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 435 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 436 | |
437 | %description dri-driver-ati-radeon-R100 | |
362c6f99 | 438 | X.org DRI driver for ATI R100 card family (Radeon 7000-7500). |
afe33c03 | 439 | |
f77f03b8 | 440 | %description dri-driver-ati-radeon-R100 -l pl.UTF-8 |
362c6f99 | 441 | Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500). |
afe33c03 | 442 | |
443 | %package dri-driver-ati-radeon-R200 | |
362c6f99 JB |
444 | Summary: X.org DRI driver for ATI R200 card family |
445 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200 | |
f4a8c5f6 | 446 | License: MIT |
18da5046 | 447 | Group: X11/Libraries |
83c21438 | 448 | Requires: xorg-driver-video-ati |
d70abe90 JB |
449 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
450 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 451 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 452 | |
453 | %description dri-driver-ati-radeon-R200 | |
362c6f99 | 454 | X.org DRI driver for ATI R200 card family (Radeon 8500-92xx) |
afe33c03 | 455 | |
f77f03b8 | 456 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 |
362c6f99 | 457 | Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). |
afe33c03 | 458 | |
459 | %package dri-driver-ati-radeon-R300 | |
362c6f99 JB |
460 | Summary: X.org DRI driver for ATI R300 card family |
461 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300 | |
f4a8c5f6 | 462 | License: MIT |
18da5046 | 463 | Group: X11/Libraries |
83c21438 | 464 | Requires: xorg-driver-video-ati |
d70abe90 JB |
465 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
466 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 467 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 468 | |
469 | %description dri-driver-ati-radeon-R300 | |
362c6f99 | 470 | X.org DRI driver for ATI R300 card family. |
afe33c03 | 471 | |
f77f03b8 | 472 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 |
362c6f99 | 473 | Sterownik X.org DRI dla rodziny kart ATI R300. |
afe33c03 | 474 | |
e68936d0 AM |
475 | %package dri-driver-ati-radeon-R600 |
476 | Summary: X.org DRI driver for ATI R600 card family | |
477 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600 | |
478 | License: MIT | |
479 | Group: X11/Libraries | |
480 | Requires: radeon-ucode | |
481 | Requires: xorg-driver-video-ati | |
482 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
483 | Requires: xorg-xserver-server >= %{xserver_ver} | |
484 | ||
485 | %description dri-driver-ati-radeon-R600 | |
486 | X.org DRI driver for ATI R600 card family. | |
487 | ||
488 | %description dri-driver-ati-radeon-R600 -l pl.UTF-8 | |
489 | Sterownik X.org DRI dla rodziny kart ATI R600. | |
490 | ||
afe33c03 | 491 | %package dri-driver-intel-i915 |
362c6f99 JB |
492 | Summary: X.org DRI driver for Intel i915 card family |
493 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915 | |
f4a8c5f6 | 494 | License: MIT |
18da5046 | 495 | Group: X11/Libraries |
d70abe90 JB |
496 | Requires: xorg-driver-video-intel |
497 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
498 | Requires: xorg-xserver-server >= %{xserver_ver} | |
2db432a2 | 499 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 500 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 501 | |
502 | %description dri-driver-intel-i915 | |
362c6f99 | 503 | X.org DRI driver for Intel i915 card family. |
afe33c03 | 504 | |
f77f03b8 | 505 | %description dri-driver-intel-i915 -l pl.UTF-8 |
362c6f99 | 506 | Sterownik X.org DRI dla rodziny kart Intel i915. |
afe33c03 | 507 | |
b360f4f6 | 508 | %package dri-driver-intel-i965 |
362c6f99 JB |
509 | Summary: X.org DRI driver for Intel i965 card family |
510 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965 | |
f4a8c5f6 | 511 | License: MIT |
b360f4f6 | 512 | Group: X11/Libraries |
d70abe90 JB |
513 | Requires: xorg-driver-video-intel |
514 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
515 | Requires: xorg-xserver-server >= %{xserver_ver} | |
b360f4f6 | 516 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 517 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
b360f4f6 | 518 | |
519 | %description dri-driver-intel-i965 | |
362c6f99 | 520 | X.org DRI driver for Intel i965 card family. |
b360f4f6 | 521 | |
f77f03b8 | 522 | %description dri-driver-intel-i965 -l pl.UTF-8 |
362c6f99 | 523 | Sterownik X.org DRI dla rodziny kart Intel i965. |
b360f4f6 | 524 | |
3e88bc92 AM |
525 | %package dri-driver-nouveau |
526 | Summary: X.org DRI driver for NVIDIA card family | |
527 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA | |
528 | License: MIT | |
529 | Group: X11/Libraries | |
530 | Requires: xorg-driver-video-nouveau | |
531 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
532 | Requires: xorg-xserver-server >= %{xserver_ver} | |
533 | ||
534 | %description dri-driver-nouveau | |
535 | X.org DRI drivers for NVIDIA card family. | |
536 | ||
537 | %description dri-driver-nouveau -l pl.UTF-8 | |
538 | Sterowniki X.org DRI dla rodziny kart NVIDIA. | |
539 | ||
f3606317 | 540 | %package dri-driver-swrast |
362c6f99 JB |
541 | Summary: X.org DRI software rasterizer driver |
542 | Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe | |
f3606317 AM |
543 | License: MIT |
544 | Group: X11/Libraries | |
d70abe90 JB |
545 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
546 | Requires: xorg-xserver-server >= %{xserver_ver} | |
f3606317 AM |
547 | |
548 | %description dri-driver-swrast | |
362c6f99 | 549 | X.org DRI software rasterizer driver. |
f3606317 AM |
550 | |
551 | %description dri-driver-swrast -l pl.UTF-8 | |
362c6f99 | 552 | Sterownik X.org DRI obsługujący rysowanie programowe. |
f3606317 | 553 | |
e68936d0 AM |
554 | %package dri-driver-vmwgfx |
555 | Summary: X.org DRI driver for VMware | |
556 | Summary(pl.UTF-8): Sterownik X.org DRI dla VMware | |
557 | License: MIT | |
558 | Group: X11/Libraries | |
0f9ae6ae | 559 | Requires: xorg-driver-video-vmware |
e68936d0 AM |
560 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
561 | Requires: xorg-xserver-server >= %{xserver_ver} | |
562 | ||
563 | %description dri-driver-vmwgfx | |
564 | X.org DRI driver for VMWare. | |
565 | ||
566 | %description dri-driver-vmwgfx -l pl.UTF-8 | |
567 | Sterownik X.org DRI dla VMware. | |
568 | ||
9bfb354d | 569 | %package -n libvdpau-driver-mesa |
a03101e6 JB |
570 | Summary: Mesa drivers for the vdpau API |
571 | Summary(pl.UTF-8): Sterowniki Mesa dla API vdpau | |
9bfb354d AM |
572 | License: MIT |
573 | Group: X11/Libraries | |
8eb275e9 JB |
574 | Requires: libdrm >= %{libdrm_ver} |
575 | Requires: libvdpau >= 0.4.1 | |
9bfb354d AM |
576 | |
577 | %description -n libvdpau-driver-mesa | |
a03101e6 | 578 | Mesa drivers for the vdpau API. |
9bfb354d AM |
579 | |
580 | %description -n libvdpau-driver-mesa -l pl.UTF-8 | |
a03101e6 | 581 | Sterowniki Mesa dla API vdpau. |
9bfb354d | 582 | |
3d879b5c AM |
583 | # llvm build broken |
584 | %define filterout_ld -Wl,--as-needed | |
585 | ||
a0b2836a | 586 | %prep |
bb686270 | 587 | %setup -q |
6f53c8ab | 588 | %patch0 -p0 |
a0b2836a | 589 | |
590 | %build | |
bb686270 AM |
591 | %{__aclocal} |
592 | %{__autoconf} | |
a5afae62 | 593 | |
9bfb354d | 594 | dri_drivers="r200 radeon \ |
8060076f | 595 | %if %{without gallium_intel} |
c1d2b5e2 | 596 | i915 i965 \ |
a5afae62 | 597 | %endif |
59f12de8 AM |
598 | %ifarch sparc sparcv9 sparc64 |
599 | ffb \ | |
6299b3cd | 600 | %endif |
9bfb354d | 601 | swrast" |
59f12de8 AM |
602 | |
603 | dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',') | |
604 | ||
c1d2b5e2 AM |
605 | gallium_drivers="svga swrast \ |
606 | %if %{with gallium_intel} | |
607 | i915 \ | |
608 | i965 \ | |
609 | %endif | |
b8e6b6d7 | 610 | r300 \ |
c1d2b5e2 | 611 | r600 \ |
c1d2b5e2 AM |
612 | %if %{with gallium_nouveau} |
613 | nouveau \ | |
614 | %endif | |
615 | " | |
616 | ||
617 | gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',') | |
618 | ||
59f12de8 | 619 | common_flags="\ |
9bfb354d | 620 | --enable-shared \ |
b4a5c074 | 621 | --enable-glx-tls \ |
c885f99e JB |
622 | --enable-pic \ |
623 | --enable-selinux \ | |
624 | %{?with_static_libs:--enable-static} \ | |
c1d2b5e2 | 625 | " |
59f12de8 | 626 | |
74a7a0e1 | 627 | osmesa_common_flags="\ |
59f12de8 AM |
628 | --with-driver=osmesa \ |
629 | --disable-asm \ | |
bf8d2f73 JB |
630 | --disable-egl \ |
631 | --disable-glu" | |
74a7a0e1 AM |
632 | |
633 | %if %{with osmesa} | |
74a7a0e1 | 634 | %configure $common_flags $osmesa_common_flags \ |
59f12de8 | 635 | --with-osmesa-bits=8 |
74a7a0e1 | 636 | %{__make} |
bf8d2f73 | 637 | %{__make} -C src/mesa osmesa.pc |
59f12de8 | 638 | mv %{_lib} osmesa8 |
bf8d2f73 | 639 | cp -p src/mesa/osmesa.pc osmesa8 |
59f12de8 | 640 | %{__make} clean |
cb97a1c3 | 641 | %endif |
59f12de8 AM |
642 | |
643 | %configure $common_flags \ | |
9bfb354d AM |
644 | --enable-shared-glapi \ |
645 | %{__enable gbm} \ | |
c885f99e JB |
646 | %if %{with egl} |
647 | --enable-egl \ | |
648 | --enable-gles1 \ | |
649 | --enable-gles2 \ | |
650 | %endif | |
5f574b4b | 651 | %if %{with gallium} |
c1d2b5e2 | 652 | --enable-openvg \ |
9bfb354d AM |
653 | --enable-gallium-llvm \ |
654 | %{__enable egl gallium-egl} \ | |
655 | %{__enable gbm gallium-gbm} \ | |
656 | --enable-vdpau \ | |
657 | --enable-xvmc \ | |
c1d2b5e2 | 658 | --with-gallium-drivers=${gallium_drivers} \ |
5f574b4b | 659 | %else |
5eb992a8 | 660 | --without-gallium-drivers \ |
5f574b4b | 661 | %endif |
59f12de8 AM |
662 | --with-driver=dri \ |
663 | --with-dri-drivers=${dri_drivers} \ | |
664 | --with-dri-driverdir=%{_libdir}/xorg/modules/dri | |
665 | ||
666 | %{__make} | |
59f12de8 | 667 | |
a0b2836a | 668 | %install |
f5543b17 | 669 | rm -rf $RPM_BUILD_ROOT |
ddde5931 | 670 | |
59f12de8 AM |
671 | # libs without drivers |
672 | %{__make} install \ | |
673 | DESTDIR=$RPM_BUILD_ROOT | |
ddde5931 | 674 | |
cb97a1c3 | 675 | %if %{with osmesa} |
bf8d2f73 JB |
676 | cp -p osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir} |
677 | cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir} | |
cb97a1c3 | 678 | %endif |
f4a8c5f6 | 679 | |
59f12de8 | 680 | # strip out undesirable headers |
9bfb354d | 681 | %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h |
c1d2b5e2 | 682 | |
f56e1323 JR |
683 | # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx), |
684 | # set up via /etc/ld.so.conf.d/*.conf will be preferred over this | |
685 | strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.* | |
686 | ||
abc9e15f JB |
687 | %clean |
688 | rm -rf $RPM_BUILD_ROOT | |
689 | ||
bb686270 AM |
690 | %post libEGL -p /sbin/ldconfig |
691 | %postun libEGL -p /sbin/ldconfig | |
692 | ||
f445ed6c JB |
693 | %post libGL -p /sbin/ldconfig |
694 | %postun libGL -p /sbin/ldconfig | |
695 | ||
c1d2b5e2 AM |
696 | %post libGLES -p /sbin/ldconfig |
697 | %postun libGLES -p /sbin/ldconfig | |
698 | ||
f445ed6c JB |
699 | %post libGLU -p /sbin/ldconfig |
700 | %postun libGLU -p /sbin/ldconfig | |
701 | ||
c1d2b5e2 AM |
702 | %post libOSMesa -p /sbin/ldconfig |
703 | %postun libOSMesa -p /sbin/ldconfig | |
704 | ||
705 | %post libOpenVG -p /sbin/ldconfig | |
706 | %postun libOpenVG -p /sbin/ldconfig | |
707 | ||
9bfb354d AM |
708 | %post libXvMC -p /sbin/ldconfig |
709 | %postun libXvMC -p /sbin/ldconfig | |
710 | ||
bb686270 AM |
711 | %if %{with egl} |
712 | %files libEGL | |
713 | %defattr(644,root,root,755) | |
714 | %attr(755,root,root) %{_libdir}/libEGL.so.*.* | |
c794b508 | 715 | %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1 |
c1d2b5e2 AM |
716 | %attr(755,root,root) %{_libdir}/libglapi.so.*.* |
717 | %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0 | |
9bfb354d AM |
718 | %if %{with gbm} |
719 | %dir %{_libdir}/gbm | |
720 | %attr(755,root,root) %{_libdir}/libgbm.so.*.* | |
721 | %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1 | |
722 | %endif | |
c1d2b5e2 | 723 | %if %{with gallium} |
bb686270 | 724 | %dir %{_libdir}/egl |
c1d2b5e2 | 725 | %attr(755,root,root) %{_libdir}/egl/egl_gallium.so |
9bfb354d AM |
726 | %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so |
727 | %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so | |
728 | %if %{with gbm} | |
729 | %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so | |
730 | %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so | |
731 | %if %{with gallium_nouveau} | |
732 | %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so | |
733 | %endif | |
c1d2b5e2 AM |
734 | %if %{with gallium_intel} |
735 | %attr(755,root,root) %{_libdir}/egl/pipe_i915.so | |
736 | %attr(755,root,root) %{_libdir}/egl/pipe_i965.so | |
737 | %endif | |
738 | %endif | |
9bfb354d | 739 | %endif |
bb686270 AM |
740 | |
741 | %files libEGL-devel | |
742 | %defattr(644,root,root,755) | |
743 | %attr(755,root,root) %{_libdir}/libEGL.so | |
c1d2b5e2 | 744 | %attr(755,root,root) %{_libdir}/libglapi.so |
bb686270 AM |
745 | %dir %{_includedir}/EGL |
746 | %{_includedir}/EGL/egl.h | |
747 | %{_includedir}/EGL/eglext.h | |
9bfb354d | 748 | %{_includedir}/EGL/eglmesaext.h |
bb686270 AM |
749 | %{_includedir}/EGL/eglplatform.h |
750 | %dir %{_includedir}/KHR | |
751 | %{_includedir}/KHR/khrplatform.h | |
752 | %{_pkgconfigdir}/egl.pc | |
9bfb354d AM |
753 | %if %{with gbm} |
754 | %attr(755,root,root) %{_libdir}/libgbm.so | |
755 | %{_includedir}/gbm.h | |
756 | %{_pkgconfigdir}/gbm.pc | |
757 | %endif | |
bb686270 | 758 | |
c885f99e | 759 | %if %{with static_libs} |
bb686270 AM |
760 | %files libEGL-static |
761 | %defattr(644,root,root,755) | |
762 | %{_libdir}/libEGL.a | |
763 | %endif | |
764 | %endif | |
765 | ||
f445ed6c | 766 | %files libGL |
e9b3ff7a | 767 | %defattr(644,root,root,755) |
9bfb354d | 768 | %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*} |
9b0e6ebb JB |
769 | %attr(755,root,root) %{_libdir}/libGL.so.*.* |
770 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
0cb33a09 | 771 | # symlink for binary apps which fail to conform Linux OpenGL ABI |
bf8d2f73 | 772 | # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL) |
0cb33a09 | 773 | %attr(755,root,root) %{_libdir}/libGL.so |
a0b2836a | 774 | |
f445ed6c | 775 | %files libGL-devel |
e9b3ff7a | 776 | %defattr(644,root,root,755) |
ddde5931 | 777 | %doc docs/*.spec |
debcd977 | 778 | %dir %{_includedir}/GL |
d3dd48bf | 779 | %{_includedir}/GL/gl.h |
e1833810 | 780 | %{_includedir}/GL/glext.h |
d3dd48bf | 781 | %{_includedir}/GL/gl_mangle.h |
d3dd48bf | 782 | %{_includedir}/GL/glx.h |
abc9e15f | 783 | %{_includedir}/GL/glxext.h |
d3dd48bf | 784 | %{_includedir}/GL/glx_mangle.h |
1ec0796e AM |
785 | %dir %{_includedir}/GL/internal |
786 | %{_includedir}/GL/internal/dri_interface.h | |
59f12de8 | 787 | %{_pkgconfigdir}/dri.pc |
f4a8c5f6 | 788 | %{_pkgconfigdir}/gl.pc |
a0b2836a | 789 | |
c885f99e | 790 | %if %{with static_libs} |
278406ce JB |
791 | %files libGL-static |
792 | %defattr(644,root,root,755) | |
793 | %{_libdir}/libGL.a | |
794 | %endif | |
795 | ||
c1d2b5e2 AM |
796 | %files libGLES |
797 | %defattr(644,root,root,755) | |
cc59a107 JB |
798 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.* |
799 | %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1 | |
800 | %attr(755,root,root) %{_libdir}/libGLESv2.so.*.* | |
801 | %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2 | |
c1d2b5e2 AM |
802 | |
803 | %files libGLES-devel | |
804 | %defattr(644,root,root,755) | |
cc59a107 JB |
805 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so |
806 | %attr(755,root,root) %{_libdir}/libGLESv2.so | |
c1d2b5e2 AM |
807 | %{_includedir}/GLES |
808 | %{_includedir}/GLES2 | |
cc59a107 JB |
809 | %{_pkgconfigdir}/glesv1_cm.pc |
810 | %{_pkgconfigdir}/glesv2.pc | |
c1d2b5e2 | 811 | |
f445ed6c JB |
812 | %files libGLU |
813 | %defattr(644,root,root,755) | |
9b0e6ebb | 814 | %attr(755,root,root) %{_libdir}/libGLU.so.*.* |
c794b508 | 815 | %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1 |
f445ed6c JB |
816 | |
817 | %files libGLU-devel | |
818 | %defattr(644,root,root,755) | |
819 | %attr(755,root,root) %{_libdir}/libGLU.so | |
820 | %{_includedir}/GL/glu.h | |
821 | %{_includedir}/GL/glu_mangle.h | |
f4a8c5f6 | 822 | %{_pkgconfigdir}/glu.pc |
f445ed6c | 823 | |
c885f99e | 824 | %if %{with static_libs} |
f445ed6c JB |
825 | %files libGLU-static |
826 | %defattr(644,root,root,755) | |
11062ced | 827 | %{_libdir}/libGLU.a |
59f12de8 | 828 | %endif |
f445ed6c | 829 | |
cb97a1c3 | 830 | %if %{with osmesa} |
f4a8c5f6 JB |
831 | %files libOSMesa |
832 | %defattr(644,root,root,755) | |
cc59a107 | 833 | %attr(755,root,root) %{_libdir}/libOSMesa.so.*.* |
9bfb354d | 834 | %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8 |
f4a8c5f6 JB |
835 | |
836 | %files libOSMesa-devel | |
837 | %defattr(644,root,root,755) | |
cc59a107 | 838 | %attr(755,root,root) %{_libdir}/libOSMesa.so |
f4a8c5f6 | 839 | %{_includedir}/GL/osmesa.h |
bf8d2f73 | 840 | %{_pkgconfigdir}/osmesa.pc |
f4a8c5f6 | 841 | |
c885f99e | 842 | %if %{with static_libs} |
f4a8c5f6 JB |
843 | %files libOSMesa-static |
844 | %defattr(644,root,root,755) | |
cc59a107 | 845 | %{_libdir}/libOSMesa.a |
59f12de8 | 846 | %endif |
cb97a1c3 | 847 | %endif |
f4a8c5f6 | 848 | |
c1d2b5e2 AM |
849 | %if %{with gallium} |
850 | %files libOpenVG | |
851 | %defattr(644,root,root,755) | |
cc59a107 | 852 | %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.* |
278406ce | 853 | %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1 |
c1d2b5e2 AM |
854 | |
855 | %files libOpenVG-devel | |
856 | %defattr(644,root,root,755) | |
278406ce | 857 | %attr(755,root,root) %{_libdir}/libOpenVG.so |
c1d2b5e2 | 858 | %{_includedir}/VG |
c1d2b5e2 AM |
859 | %{_pkgconfigdir}/vg.pc |
860 | %endif | |
861 | ||
9bfb354d | 862 | %files libXvMC |
875da849 | 863 | %defattr(644,root,root,755) |
9bfb354d AM |
864 | %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1 |
865 | %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0 | |
866 | %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1 | |
867 | %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0 | |
868 | %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1 | |
869 | %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0 | |
870 | %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1 | |
871 | %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0 | |
afe33c03 | 872 | |
873 | %files dri-driver-ati-radeon-R100 | |
874 | %defattr(644,root,root,755) | |
875 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
876 | ||
877 | %files dri-driver-ati-radeon-R200 | |
878 | %defattr(644,root,root,755) | |
879 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
880 | ||
881 | %files dri-driver-ati-radeon-R300 | |
882 | %defattr(644,root,root,755) | |
883 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
884 | ||
e68936d0 AM |
885 | %files dri-driver-ati-radeon-R600 |
886 | %defattr(644,root,root,755) | |
887 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so | |
888 | ||
afe33c03 | 889 | %files dri-driver-intel-i915 |
890 | %defattr(644,root,root,755) | |
5f574b4b | 891 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so |
afe33c03 | 892 | |
b360f4f6 | 893 | %files dri-driver-intel-i965 |
894 | %defattr(644,root,root,755) | |
895 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
c1d2b5e2 AM |
896 | %if %{with gallium_intel} |
897 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/i965g_drv.so | |
898 | %endif | |
b360f4f6 | 899 | |
a3697dc6 | 900 | %if %{with gallium_nouveau} |
3e88bc92 AM |
901 | %files dri-driver-nouveau |
902 | %defattr(644,root,root,755) | |
903 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so | |
a7a3223c | 904 | %endif |
3e88bc92 | 905 | |
f3606317 AM |
906 | %files dri-driver-swrast |
907 | %defattr(644,root,root,755) | |
908 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so | |
909 | ||
bb5f0825 | 910 | %if %{with gallium} |
e68936d0 AM |
911 | %files dri-driver-vmwgfx |
912 | %defattr(644,root,root,755) | |
9c4e4073 | 913 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so |
bb5f0825 | 914 | %endif |
9bfb354d AM |
915 | |
916 | %files -n libvdpau-driver-mesa | |
917 | %defattr(644,root,root,755) | |
918 | # there is no ldconfig here | |
919 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0 | |
920 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1 | |
921 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so | |
922 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0 | |
923 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1 | |
924 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so | |
925 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0 | |
926 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1 | |
927 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so | |
928 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0 | |
929 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1 | |
930 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so |