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