]>
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 |
b8e51e7a | 26 | %define glproto_ver 1.4.11 |
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 |
9bfb354d | 48 | BuildRequires: libvdpau-devel |
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 |
9bfb354d | 61 | BuildRequires: xorg-lib-libXvMC-devel |
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 | |
69 | BuildRequires: udev-devel >= 150 | |
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} | |
54147717 | 114 | Requires: udev-libs >= 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 AM |
417 | Group: Libraries |
418 | # doesn't require base | |
875da849 | 419 | |
9bfb354d | 420 | %description libXvMC |
a03101e6 | 421 | Mesa implementations of XvMC API. |
875da849 | 422 | |
9bfb354d | 423 | %description libXvMC -l pl.UTF-8 |
a03101e6 | 424 | Implementacje Mesa API XvMC. |
875da849 | 425 | |
afe33c03 | 426 | %package dri-driver-ati-radeon-R100 |
362c6f99 JB |
427 | Summary: X.org DRI driver for ATI R100 card family |
428 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100 | |
f4a8c5f6 | 429 | License: MIT |
18da5046 | 430 | Group: X11/Libraries |
83c21438 | 431 | Requires: xorg-driver-video-ati |
d70abe90 JB |
432 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
433 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 434 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 435 | |
436 | %description dri-driver-ati-radeon-R100 | |
362c6f99 | 437 | X.org DRI driver for ATI R100 card family (Radeon 7000-7500). |
afe33c03 | 438 | |
f77f03b8 | 439 | %description dri-driver-ati-radeon-R100 -l pl.UTF-8 |
362c6f99 | 440 | Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500). |
afe33c03 | 441 | |
442 | %package dri-driver-ati-radeon-R200 | |
362c6f99 JB |
443 | Summary: X.org DRI driver for ATI R200 card family |
444 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200 | |
f4a8c5f6 | 445 | License: MIT |
18da5046 | 446 | Group: X11/Libraries |
83c21438 | 447 | Requires: xorg-driver-video-ati |
d70abe90 JB |
448 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
449 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 450 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 451 | |
452 | %description dri-driver-ati-radeon-R200 | |
362c6f99 | 453 | X.org DRI driver for ATI R200 card family (Radeon 8500-92xx) |
afe33c03 | 454 | |
f77f03b8 | 455 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 |
362c6f99 | 456 | Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). |
afe33c03 | 457 | |
458 | %package dri-driver-ati-radeon-R300 | |
362c6f99 JB |
459 | Summary: X.org DRI driver for ATI R300 card family |
460 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300 | |
f4a8c5f6 | 461 | License: MIT |
18da5046 | 462 | Group: X11/Libraries |
83c21438 | 463 | Requires: xorg-driver-video-ati |
d70abe90 JB |
464 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
465 | Requires: xorg-xserver-server >= %{xserver_ver} | |
8e26093b | 466 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 |
afe33c03 | 467 | |
468 | %description dri-driver-ati-radeon-R300 | |
362c6f99 | 469 | X.org DRI driver for ATI R300 card family. |
afe33c03 | 470 | |
f77f03b8 | 471 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 |
362c6f99 | 472 | Sterownik X.org DRI dla rodziny kart ATI R300. |
afe33c03 | 473 | |
e68936d0 AM |
474 | %package dri-driver-ati-radeon-R600 |
475 | Summary: X.org DRI driver for ATI R600 card family | |
476 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600 | |
477 | License: MIT | |
478 | Group: X11/Libraries | |
479 | Requires: radeon-ucode | |
480 | Requires: xorg-driver-video-ati | |
481 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
482 | Requires: xorg-xserver-server >= %{xserver_ver} | |
483 | ||
484 | %description dri-driver-ati-radeon-R600 | |
485 | X.org DRI driver for ATI R600 card family. | |
486 | ||
487 | %description dri-driver-ati-radeon-R600 -l pl.UTF-8 | |
488 | Sterownik X.org DRI dla rodziny kart ATI R600. | |
489 | ||
afe33c03 | 490 | %package dri-driver-intel-i915 |
362c6f99 JB |
491 | Summary: X.org DRI driver for Intel i915 card family |
492 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915 | |
f4a8c5f6 | 493 | License: MIT |
18da5046 | 494 | Group: X11/Libraries |
d70abe90 JB |
495 | Requires: xorg-driver-video-intel |
496 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
497 | Requires: xorg-xserver-server >= %{xserver_ver} | |
2db432a2 | 498 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 499 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
afe33c03 | 500 | |
501 | %description dri-driver-intel-i915 | |
362c6f99 | 502 | X.org DRI driver for Intel i915 card family. |
afe33c03 | 503 | |
f77f03b8 | 504 | %description dri-driver-intel-i915 -l pl.UTF-8 |
362c6f99 | 505 | Sterownik X.org DRI dla rodziny kart Intel i915. |
afe33c03 | 506 | |
b360f4f6 | 507 | %package dri-driver-intel-i965 |
362c6f99 JB |
508 | Summary: X.org DRI driver for Intel i965 card family |
509 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965 | |
f4a8c5f6 | 510 | License: MIT |
b360f4f6 | 511 | Group: X11/Libraries |
d70abe90 JB |
512 | Requires: xorg-driver-video-intel |
513 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
514 | Requires: xorg-xserver-server >= %{xserver_ver} | |
b360f4f6 | 515 | Obsoletes: Mesa-dri-driver-intel-i830 |
8e26093b | 516 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 |
b360f4f6 | 517 | |
518 | %description dri-driver-intel-i965 | |
362c6f99 | 519 | X.org DRI driver for Intel i965 card family. |
b360f4f6 | 520 | |
f77f03b8 | 521 | %description dri-driver-intel-i965 -l pl.UTF-8 |
362c6f99 | 522 | Sterownik X.org DRI dla rodziny kart Intel i965. |
b360f4f6 | 523 | |
3e88bc92 AM |
524 | %package dri-driver-nouveau |
525 | Summary: X.org DRI driver for NVIDIA card family | |
526 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA | |
527 | License: MIT | |
528 | Group: X11/Libraries | |
529 | Requires: xorg-driver-video-nouveau | |
530 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
531 | Requires: xorg-xserver-server >= %{xserver_ver} | |
532 | ||
533 | %description dri-driver-nouveau | |
534 | X.org DRI drivers for NVIDIA card family. | |
535 | ||
536 | %description dri-driver-nouveau -l pl.UTF-8 | |
537 | Sterowniki X.org DRI dla rodziny kart NVIDIA. | |
538 | ||
f3606317 | 539 | %package dri-driver-swrast |
362c6f99 JB |
540 | Summary: X.org DRI software rasterizer driver |
541 | Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe | |
f3606317 AM |
542 | License: MIT |
543 | Group: X11/Libraries | |
d70abe90 JB |
544 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
545 | Requires: xorg-xserver-server >= %{xserver_ver} | |
f3606317 AM |
546 | |
547 | %description dri-driver-swrast | |
362c6f99 | 548 | X.org DRI software rasterizer driver. |
f3606317 AM |
549 | |
550 | %description dri-driver-swrast -l pl.UTF-8 | |
362c6f99 | 551 | Sterownik X.org DRI obsługujący rysowanie programowe. |
f3606317 | 552 | |
e68936d0 AM |
553 | %package dri-driver-vmwgfx |
554 | Summary: X.org DRI driver for VMware | |
555 | Summary(pl.UTF-8): Sterownik X.org DRI dla VMware | |
556 | License: MIT | |
557 | Group: X11/Libraries | |
0f9ae6ae | 558 | Requires: xorg-driver-video-vmware |
e68936d0 AM |
559 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} |
560 | Requires: xorg-xserver-server >= %{xserver_ver} | |
561 | ||
562 | %description dri-driver-vmwgfx | |
563 | X.org DRI driver for VMWare. | |
564 | ||
565 | %description dri-driver-vmwgfx -l pl.UTF-8 | |
566 | Sterownik X.org DRI dla VMware. | |
567 | ||
9bfb354d | 568 | %package -n libvdpau-driver-mesa |
a03101e6 JB |
569 | Summary: Mesa drivers for the vdpau API |
570 | Summary(pl.UTF-8): Sterowniki Mesa dla API vdpau | |
9bfb354d AM |
571 | License: MIT |
572 | Group: X11/Libraries | |
573 | ||
574 | %description -n libvdpau-driver-mesa | |
a03101e6 | 575 | Mesa drivers for the vdpau API. |
9bfb354d AM |
576 | |
577 | %description -n libvdpau-driver-mesa -l pl.UTF-8 | |
a03101e6 | 578 | Sterowniki Mesa dla API vdpau. |
9bfb354d | 579 | |
3d879b5c AM |
580 | # llvm build broken |
581 | %define filterout_ld -Wl,--as-needed | |
582 | ||
a0b2836a | 583 | %prep |
bb686270 | 584 | %setup -q |
6f53c8ab | 585 | %patch0 -p0 |
a0b2836a | 586 | |
587 | %build | |
bb686270 AM |
588 | %{__aclocal} |
589 | %{__autoconf} | |
a5afae62 | 590 | |
9bfb354d | 591 | dri_drivers="r200 radeon \ |
8060076f | 592 | %if %{without gallium_intel} |
c1d2b5e2 | 593 | i915 i965 \ |
a5afae62 | 594 | %endif |
59f12de8 AM |
595 | %ifarch sparc sparcv9 sparc64 |
596 | ffb \ | |
6299b3cd | 597 | %endif |
9bfb354d | 598 | swrast" |
59f12de8 AM |
599 | |
600 | dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',') | |
601 | ||
c1d2b5e2 AM |
602 | gallium_drivers="svga swrast \ |
603 | %if %{with gallium_intel} | |
604 | i915 \ | |
605 | i965 \ | |
606 | %endif | |
b8e6b6d7 | 607 | r300 \ |
c1d2b5e2 | 608 | r600 \ |
c1d2b5e2 AM |
609 | %if %{with gallium_nouveau} |
610 | nouveau \ | |
611 | %endif | |
612 | " | |
613 | ||
614 | gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',') | |
615 | ||
59f12de8 | 616 | common_flags="\ |
9bfb354d | 617 | --enable-shared \ |
b4a5c074 | 618 | --enable-glx-tls \ |
c885f99e JB |
619 | --enable-pic \ |
620 | --enable-selinux \ | |
621 | %{?with_static_libs:--enable-static} \ | |
c1d2b5e2 | 622 | " |
59f12de8 | 623 | |
74a7a0e1 | 624 | osmesa_common_flags="\ |
59f12de8 AM |
625 | --with-driver=osmesa \ |
626 | --disable-asm \ | |
bf8d2f73 JB |
627 | --disable-egl \ |
628 | --disable-glu" | |
74a7a0e1 AM |
629 | |
630 | %if %{with osmesa} | |
74a7a0e1 | 631 | %configure $common_flags $osmesa_common_flags \ |
59f12de8 | 632 | --with-osmesa-bits=8 |
74a7a0e1 | 633 | %{__make} |
bf8d2f73 | 634 | %{__make} -C src/mesa osmesa.pc |
59f12de8 | 635 | mv %{_lib} osmesa8 |
bf8d2f73 | 636 | cp -p src/mesa/osmesa.pc osmesa8 |
59f12de8 | 637 | %{__make} clean |
cb97a1c3 | 638 | %endif |
59f12de8 AM |
639 | |
640 | %configure $common_flags \ | |
9bfb354d AM |
641 | --enable-shared-glapi \ |
642 | %{__enable gbm} \ | |
c885f99e JB |
643 | %if %{with egl} |
644 | --enable-egl \ | |
645 | --enable-gles1 \ | |
646 | --enable-gles2 \ | |
647 | %endif | |
5f574b4b | 648 | %if %{with gallium} |
c1d2b5e2 | 649 | --enable-openvg \ |
9bfb354d AM |
650 | --enable-gallium-llvm \ |
651 | %{__enable egl gallium-egl} \ | |
652 | %{__enable gbm gallium-gbm} \ | |
653 | --enable-vdpau \ | |
654 | --enable-xvmc \ | |
c1d2b5e2 | 655 | --with-gallium-drivers=${gallium_drivers} \ |
5f574b4b | 656 | %else |
5eb992a8 | 657 | --without-gallium-drivers \ |
5f574b4b | 658 | %endif |
59f12de8 AM |
659 | --with-driver=dri \ |
660 | --with-dri-drivers=${dri_drivers} \ | |
661 | --with-dri-driverdir=%{_libdir}/xorg/modules/dri | |
662 | ||
663 | %{__make} | |
59f12de8 | 664 | |
a0b2836a | 665 | %install |
f5543b17 | 666 | rm -rf $RPM_BUILD_ROOT |
ddde5931 | 667 | |
59f12de8 AM |
668 | # libs without drivers |
669 | %{__make} install \ | |
670 | DESTDIR=$RPM_BUILD_ROOT | |
ddde5931 | 671 | |
cb97a1c3 | 672 | %if %{with osmesa} |
bf8d2f73 JB |
673 | cp -p osmesa8/libOSMesa* $RPM_BUILD_ROOT%{_libdir} |
674 | cp -p osmesa8/osmesa.pc $RPM_BUILD_ROOT%{_pkgconfigdir} | |
cb97a1c3 | 675 | %endif |
f4a8c5f6 | 676 | |
59f12de8 | 677 | # strip out undesirable headers |
9bfb354d | 678 | %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{vms_x_fix,wglext,wmesa}.h |
c1d2b5e2 | 679 | |
f56e1323 JR |
680 | # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx), |
681 | # set up via /etc/ld.so.conf.d/*.conf will be preferred over this | |
682 | strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.* | |
683 | ||
abc9e15f JB |
684 | %clean |
685 | rm -rf $RPM_BUILD_ROOT | |
686 | ||
bb686270 AM |
687 | %post libEGL -p /sbin/ldconfig |
688 | %postun libEGL -p /sbin/ldconfig | |
689 | ||
f445ed6c JB |
690 | %post libGL -p /sbin/ldconfig |
691 | %postun libGL -p /sbin/ldconfig | |
692 | ||
c1d2b5e2 AM |
693 | %post libGLES -p /sbin/ldconfig |
694 | %postun libGLES -p /sbin/ldconfig | |
695 | ||
f445ed6c JB |
696 | %post libGLU -p /sbin/ldconfig |
697 | %postun libGLU -p /sbin/ldconfig | |
698 | ||
c1d2b5e2 AM |
699 | %post libOSMesa -p /sbin/ldconfig |
700 | %postun libOSMesa -p /sbin/ldconfig | |
701 | ||
702 | %post libOpenVG -p /sbin/ldconfig | |
703 | %postun libOpenVG -p /sbin/ldconfig | |
704 | ||
9bfb354d AM |
705 | %post libXvMC -p /sbin/ldconfig |
706 | %postun libXvMC -p /sbin/ldconfig | |
707 | ||
bb686270 AM |
708 | %if %{with egl} |
709 | %files libEGL | |
710 | %defattr(644,root,root,755) | |
711 | %attr(755,root,root) %{_libdir}/libEGL.so.*.* | |
c794b508 | 712 | %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1 |
c1d2b5e2 AM |
713 | %attr(755,root,root) %{_libdir}/libglapi.so.*.* |
714 | %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0 | |
9bfb354d AM |
715 | %if %{with gbm} |
716 | %dir %{_libdir}/gbm | |
717 | %attr(755,root,root) %{_libdir}/libgbm.so.*.* | |
718 | %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1 | |
719 | %endif | |
c1d2b5e2 | 720 | %if %{with gallium} |
bb686270 | 721 | %dir %{_libdir}/egl |
c1d2b5e2 | 722 | %attr(755,root,root) %{_libdir}/egl/egl_gallium.so |
9bfb354d AM |
723 | %attr(755,root,root) %{_libdir}/gbm/pipe_r300.so |
724 | %attr(755,root,root) %{_libdir}/gbm/pipe_r600.so | |
725 | %if %{with gbm} | |
726 | %attr(755,root,root) %{_libdir}/gbm/gbm_gallium_drm.so | |
727 | %attr(755,root,root) %{_libdir}/gbm/pipe_vmwgfx.so | |
728 | %if %{with gallium_nouveau} | |
729 | %attr(755,root,root) %{_libdir}/gbm/pipe_nouveau.so | |
730 | %endif | |
c1d2b5e2 AM |
731 | %if %{with gallium_intel} |
732 | %attr(755,root,root) %{_libdir}/egl/pipe_i915.so | |
733 | %attr(755,root,root) %{_libdir}/egl/pipe_i965.so | |
734 | %endif | |
735 | %endif | |
9bfb354d | 736 | %endif |
bb686270 AM |
737 | |
738 | %files libEGL-devel | |
739 | %defattr(644,root,root,755) | |
740 | %attr(755,root,root) %{_libdir}/libEGL.so | |
c1d2b5e2 | 741 | %attr(755,root,root) %{_libdir}/libglapi.so |
bb686270 AM |
742 | %dir %{_includedir}/EGL |
743 | %{_includedir}/EGL/egl.h | |
744 | %{_includedir}/EGL/eglext.h | |
9bfb354d | 745 | %{_includedir}/EGL/eglmesaext.h |
bb686270 AM |
746 | %{_includedir}/EGL/eglplatform.h |
747 | %dir %{_includedir}/KHR | |
748 | %{_includedir}/KHR/khrplatform.h | |
749 | %{_pkgconfigdir}/egl.pc | |
9bfb354d AM |
750 | %if %{with gbm} |
751 | %attr(755,root,root) %{_libdir}/libgbm.so | |
752 | %{_includedir}/gbm.h | |
753 | %{_pkgconfigdir}/gbm.pc | |
754 | %endif | |
bb686270 | 755 | |
c885f99e | 756 | %if %{with static_libs} |
bb686270 AM |
757 | %files libEGL-static |
758 | %defattr(644,root,root,755) | |
759 | %{_libdir}/libEGL.a | |
760 | %endif | |
761 | %endif | |
762 | ||
f445ed6c | 763 | %files libGL |
e9b3ff7a | 764 | %defattr(644,root,root,755) |
9bfb354d | 765 | %doc docs/{*.html,README.{MITS,QUAKE,THREADS},RELNOTES*} |
9b0e6ebb JB |
766 | %attr(755,root,root) %{_libdir}/libGL.so.*.* |
767 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
0cb33a09 | 768 | # symlink for binary apps which fail to conform Linux OpenGL ABI |
bf8d2f73 | 769 | # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL) |
0cb33a09 | 770 | %attr(755,root,root) %{_libdir}/libGL.so |
a0b2836a | 771 | |
f445ed6c | 772 | %files libGL-devel |
e9b3ff7a | 773 | %defattr(644,root,root,755) |
ddde5931 | 774 | %doc docs/*.spec |
debcd977 | 775 | %dir %{_includedir}/GL |
d3dd48bf | 776 | %{_includedir}/GL/gl.h |
e1833810 | 777 | %{_includedir}/GL/glext.h |
d3dd48bf | 778 | %{_includedir}/GL/gl_mangle.h |
d3dd48bf | 779 | %{_includedir}/GL/glx.h |
abc9e15f | 780 | %{_includedir}/GL/glxext.h |
d3dd48bf | 781 | %{_includedir}/GL/glx_mangle.h |
1ec0796e AM |
782 | %dir %{_includedir}/GL/internal |
783 | %{_includedir}/GL/internal/dri_interface.h | |
59f12de8 | 784 | %{_pkgconfigdir}/dri.pc |
f4a8c5f6 | 785 | %{_pkgconfigdir}/gl.pc |
a0b2836a | 786 | |
c885f99e | 787 | %if %{with static_libs} |
278406ce JB |
788 | %files libGL-static |
789 | %defattr(644,root,root,755) | |
790 | %{_libdir}/libGL.a | |
791 | %endif | |
792 | ||
c1d2b5e2 AM |
793 | %files libGLES |
794 | %defattr(644,root,root,755) | |
cc59a107 JB |
795 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.* |
796 | %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1 | |
797 | %attr(755,root,root) %{_libdir}/libGLESv2.so.*.* | |
798 | %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2 | |
c1d2b5e2 AM |
799 | |
800 | %files libGLES-devel | |
801 | %defattr(644,root,root,755) | |
cc59a107 JB |
802 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so |
803 | %attr(755,root,root) %{_libdir}/libGLESv2.so | |
c1d2b5e2 AM |
804 | %{_includedir}/GLES |
805 | %{_includedir}/GLES2 | |
cc59a107 JB |
806 | %{_pkgconfigdir}/glesv1_cm.pc |
807 | %{_pkgconfigdir}/glesv2.pc | |
c1d2b5e2 | 808 | |
f445ed6c JB |
809 | %files libGLU |
810 | %defattr(644,root,root,755) | |
9b0e6ebb | 811 | %attr(755,root,root) %{_libdir}/libGLU.so.*.* |
c794b508 | 812 | %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1 |
f445ed6c JB |
813 | |
814 | %files libGLU-devel | |
815 | %defattr(644,root,root,755) | |
816 | %attr(755,root,root) %{_libdir}/libGLU.so | |
817 | %{_includedir}/GL/glu.h | |
818 | %{_includedir}/GL/glu_mangle.h | |
f4a8c5f6 | 819 | %{_pkgconfigdir}/glu.pc |
f445ed6c | 820 | |
c885f99e | 821 | %if %{with static_libs} |
f445ed6c JB |
822 | %files libGLU-static |
823 | %defattr(644,root,root,755) | |
11062ced | 824 | %{_libdir}/libGLU.a |
59f12de8 | 825 | %endif |
f445ed6c | 826 | |
cb97a1c3 | 827 | %if %{with osmesa} |
f4a8c5f6 JB |
828 | %files libOSMesa |
829 | %defattr(644,root,root,755) | |
cc59a107 | 830 | %attr(755,root,root) %{_libdir}/libOSMesa.so.*.* |
9bfb354d | 831 | %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8 |
f4a8c5f6 JB |
832 | |
833 | %files libOSMesa-devel | |
834 | %defattr(644,root,root,755) | |
cc59a107 | 835 | %attr(755,root,root) %{_libdir}/libOSMesa.so |
f4a8c5f6 | 836 | %{_includedir}/GL/osmesa.h |
bf8d2f73 | 837 | %{_pkgconfigdir}/osmesa.pc |
f4a8c5f6 | 838 | |
c885f99e | 839 | %if %{with static_libs} |
f4a8c5f6 JB |
840 | %files libOSMesa-static |
841 | %defattr(644,root,root,755) | |
cc59a107 | 842 | %{_libdir}/libOSMesa.a |
59f12de8 | 843 | %endif |
cb97a1c3 | 844 | %endif |
f4a8c5f6 | 845 | |
c1d2b5e2 AM |
846 | %if %{with gallium} |
847 | %files libOpenVG | |
848 | %defattr(644,root,root,755) | |
cc59a107 | 849 | %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.* |
278406ce | 850 | %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1 |
c1d2b5e2 AM |
851 | |
852 | %files libOpenVG-devel | |
853 | %defattr(644,root,root,755) | |
278406ce | 854 | %attr(755,root,root) %{_libdir}/libOpenVG.so |
c1d2b5e2 | 855 | %{_includedir}/VG |
c1d2b5e2 AM |
856 | %{_pkgconfigdir}/vg.pc |
857 | %endif | |
858 | ||
9bfb354d | 859 | %files libXvMC |
875da849 | 860 | %defattr(644,root,root,755) |
9bfb354d AM |
861 | %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1 |
862 | %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.0 | |
863 | %attr(755,root,root) %ghost %{_libdir}/libXvMCr300.so.1 | |
864 | %attr(755,root,root) %{_libdir}/libXvMCr300.so.1.0 | |
865 | %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1 | |
866 | %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.0 | |
867 | %attr(755,root,root) %ghost %{_libdir}/libXvMCsoftpipe.so.1 | |
868 | %attr(755,root,root) %{_libdir}/libXvMCsoftpipe.so.1.0 | |
afe33c03 | 869 | |
870 | %files dri-driver-ati-radeon-R100 | |
871 | %defattr(644,root,root,755) | |
872 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
873 | ||
874 | %files dri-driver-ati-radeon-R200 | |
875 | %defattr(644,root,root,755) | |
876 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
877 | ||
878 | %files dri-driver-ati-radeon-R300 | |
879 | %defattr(644,root,root,755) | |
880 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
881 | ||
e68936d0 AM |
882 | %files dri-driver-ati-radeon-R600 |
883 | %defattr(644,root,root,755) | |
884 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so | |
885 | ||
afe33c03 | 886 | %files dri-driver-intel-i915 |
887 | %defattr(644,root,root,755) | |
5f574b4b | 888 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so |
afe33c03 | 889 | |
b360f4f6 | 890 | %files dri-driver-intel-i965 |
891 | %defattr(644,root,root,755) | |
892 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
c1d2b5e2 AM |
893 | %if %{with gallium_intel} |
894 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/i965g_drv.so | |
895 | %endif | |
b360f4f6 | 896 | |
a3697dc6 | 897 | %if %{with gallium_nouveau} |
3e88bc92 AM |
898 | %files dri-driver-nouveau |
899 | %defattr(644,root,root,755) | |
900 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so | |
a7a3223c | 901 | %endif |
3e88bc92 | 902 | |
f3606317 AM |
903 | %files dri-driver-swrast |
904 | %defattr(644,root,root,755) | |
905 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so | |
906 | ||
bb5f0825 | 907 | %if %{with gallium} |
e68936d0 AM |
908 | %files dri-driver-vmwgfx |
909 | %defattr(644,root,root,755) | |
9c4e4073 | 910 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so |
bb5f0825 | 911 | %endif |
9bfb354d AM |
912 | |
913 | %files -n libvdpau-driver-mesa | |
914 | %defattr(644,root,root,755) | |
915 | # there is no ldconfig here | |
916 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1.0 | |
917 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so.1 | |
918 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_softpipe.so | |
919 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0 | |
920 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1 | |
921 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so | |
922 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0 | |
923 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1 | |
924 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so | |
925 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0 | |
926 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1 | |
927 | %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so |