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