]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: | |
3 | # - subpackage with non-dri libGL for use with X-servers with missing GLX extension? | |
4 | # - resurrect static if it's useful | |
5 | # | |
6 | # Conditional build: | |
7 | %bcond_without egl # build egl | |
8 | %bcond_without gallium # don't build gallium | |
9 | %bcond_with gallium_intel # gallium i915 driver (but doesn't work with AIGLX) | |
10 | %bcond_with gallium_radeon # gallium radeon driver | |
11 | %bcond_without gallium_nouveau # gallium nouveau driver | |
12 | %bcond_without motif # build static libGLw without Motif interface | |
13 | %bcond_with multigl # package libGL in a way allowing concurrent install with nvidia/fglrx drivers | |
14 | %bcond_without osmesa # don't build osmesa | |
15 | %bcond_with static_libs # static libraries | |
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) | |
22 | %define glapi_ver 7.1.0 | |
23 | # | |
24 | %define libdrm_ver 2.4.25 | |
25 | %define dri2proto_ver 2.6 | |
26 | %define glproto_ver 1.4.11 | |
27 | # | |
28 | %define rel 4 | |
29 | # | |
30 | Summary: Free OpenGL implementation | |
31 | Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL | |
32 | Name: Mesa | |
33 | Version: 7.11 | |
34 | Release: %{rel}%{?with_multigl:.mgl} | |
35 | License: MIT (core), SGI (GLU,libGLw) and others - see license.html file | |
36 | Group: X11/Libraries | |
37 | Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2 | |
38 | # Source0-md5: ff03aca82d0560009a076a87c888cf13 | |
39 | Patch0: %{name}-realclean.patch | |
40 | Patch1: %{name}-git.patch | |
41 | Patch2: %{name}-selinux.patch | |
42 | URL: http://www.mesa3d.org/ | |
43 | BuildRequires: autoconf >= 2.59 | |
44 | BuildRequires: automake | |
45 | BuildRequires: expat-devel | |
46 | BuildRequires: libdrm-devel >= %{libdrm_ver} | |
47 | BuildRequires: libselinux-devel | |
48 | BuildRequires: libstdc++-devel >= 5:3.3.0 | |
49 | BuildRequires: libtalloc-devel >= 2:2.0.1 | |
50 | BuildRequires: libtool >= 2:1.4d | |
51 | # for Gallium R300 | |
52 | BuildRequires: llvm-devel >= 2.9 | |
53 | %{?with_motif:BuildRequires: motif-devel} | |
54 | BuildRequires: pixman-devel | |
55 | BuildRequires: pkgconfig | |
56 | BuildRequires: pkgconfig(talloc) >= 2.0.1 | |
57 | BuildRequires: python | |
58 | BuildRequires: python-libxml2 | |
59 | BuildRequires: python-modules | |
60 | BuildRequires: rpmbuild(macros) >= 1.470 | |
61 | BuildRequires: sed >= 4.0 | |
62 | BuildRequires: xorg-lib-libXdamage-devel | |
63 | BuildRequires: xorg-lib-libXext-devel >= 1.0.5 | |
64 | BuildRequires: xorg-lib-libXt-devel | |
65 | BuildRequires: xorg-lib-libXxf86vm-devel | |
66 | BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
67 | BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver} | |
68 | BuildRequires: xorg-util-makedepend | |
69 | BuildRequires: xorg-xserver-server-devel | |
70 | %if %{with egl} | |
71 | BuildRequires: libxcb-devel | |
72 | BuildRequires: udev-devel >= 150 | |
73 | %endif | |
74 | %if %{with gallium} | |
75 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1 | |
76 | BuildRequires: xorg-xserver-server-devel >= 1.6.0 | |
77 | %endif | |
78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
79 | ||
80 | %if %{without gallium} | |
81 | %undefine with_gallium_intel | |
82 | %undefine with_gallium_nouveau | |
83 | %undefine with_gallium_radeon | |
84 | %endif | |
85 | ||
86 | # unresolved symbol _glapi_tls_Dispatch | |
87 | %define skip_post_check_so libGLESv1_CM.so.1.* libGLESv2.so.2.* | |
88 | ||
89 | %description | |
90 | Mesa is a 3-D graphics library with an API which is very similar to | |
91 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
92 | syntax or state machine, it is being used with authorization from | |
93 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
94 | license from SGI, and makes no claim that Mesa is in any way a | |
95 | compatible replacement for OpenGL or associated with SGI. | |
96 | ||
97 | %description -l pl.UTF-8 | |
98 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
99 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
100 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
101 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
102 | OpenGL ani powiązana z SGI. | |
103 | ||
104 | %package libEGL | |
105 | Summary: Mesa implementation of EGL Native Platform Graphics Interface library | |
106 | Summary(pl.UTF-8): Implementacja Mesa biblioteki interfejsu EGL | |
107 | License: MIT | |
108 | Group: Libraries | |
109 | Requires: OpenGL >= 1.2 | |
110 | Requires: udev-libs >= 150 | |
111 | Provides: EGL = 1.4 | |
112 | ||
113 | %description libEGL | |
114 | This package contains shared libEGL - Mesa implementation of EGL | |
115 | Native Platform Graphics Interface as specified by Khronos Group: | |
116 | <http://www.khronos.org/egl/>. | |
117 | ||
118 | %description libEGL -l pl.UTF-8 | |
119 | Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację | |
120 | Mesa standardu EGL Native Platform Graphics Interface (interfejsu | |
121 | graficznego platformy natywnej) wg specyfikacji Khronos Group: | |
122 | <http://www.khronos.org/egl/>. | |
123 | ||
124 | %package libEGL-devel | |
125 | Summary: Header files for Mesa implementation of EGL library | |
126 | Summary(pl.UTF-8): Pliki nagłówkowe implementacji Mesa biblioteki EGL | |
127 | License: MIT | |
128 | Group: Development/Libraries | |
129 | Requires: %{name}-libEGL = %{version}-%{release} | |
130 | Requires: OpenGL-devel >= 1.2 | |
131 | Requires: libstdc++-devel | |
132 | Provides: EGL-devel = 1.4 | |
133 | ||
134 | %description libEGL-devel | |
135 | Header files for Mesa implementation of EGL library. | |
136 | ||
137 | %description libEGL-devel -l pl.UTF-8 | |
138 | Pliki nagłówkowe implementacji Mesa biblioteki EGL. | |
139 | ||
140 | %package libEGL-static | |
141 | Summary: Static Mesa EGL library | |
142 | Summary(pl.UTF-8): Statyczna biblioteka Mesa EGL | |
143 | License: MIT | |
144 | Group: Development/Libraries | |
145 | Requires: %{name}-libEGL-devel = %{version}-%{release} | |
146 | Provides: EGL-static = 1.4 | |
147 | ||
148 | %description libEGL-static | |
149 | Static Mesa EGL library. | |
150 | ||
151 | %description libEGL-static -l pl.UTF-8 | |
152 | Statyczna biblioteka Mesa EGL. | |
153 | ||
154 | %package libGL | |
155 | Summary: Free Mesa3D implementation of libGL OpenGL library | |
156 | Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL | |
157 | License: MIT | |
158 | Group: X11/Libraries | |
159 | Requires: libdrm >= %{libdrm_ver} | |
160 | Provides: OpenGL = 2.1 | |
161 | Provides: OpenGL-GLX = 1.4 | |
162 | Obsoletes: Mesa | |
163 | Obsoletes: Mesa-dri | |
164 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 | |
165 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
166 | ||
167 | %description libGL | |
168 | Mesa is a 3-D graphics library with an API which is very similar to | |
169 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
170 | syntax or state machine, it is being used with authorization from | |
171 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
172 | license from SGI, and makes no claim that Mesa is in any way a | |
173 | compatible replacement for OpenGL or associated with SGI. | |
174 | ||
175 | This package contains libGL which implements OpenGL 1.5 and GLX 1.4 | |
176 | specifications. It uses DRI for rendering. | |
177 | ||
178 | %description libGL -l pl.UTF-8 | |
179 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
180 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
181 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
182 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
183 | OpenGL ani powiązana z SGI. | |
184 | ||
185 | Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz | |
186 | GLX 1.4. Używa DRI do renderowania. | |
187 | ||
188 | %package libGL-devel | |
189 | Summary: Header files for Mesa3D libGL library | |
190 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D | |
191 | License: MIT | |
192 | Group: X11/Development/Libraries | |
193 | # loose dependency on libGL to use with other libGL binaries | |
194 | Requires: OpenGL >= 1.5 | |
195 | Requires: libdrm-devel >= %{libdrm_ver} | |
196 | Requires: xorg-lib-libX11-devel | |
197 | Requires: xorg-lib-libXdamage-devel | |
198 | Requires: xorg-lib-libXext-devel | |
199 | Requires: xorg-lib-libXxf86vm-devel | |
200 | Requires: xorg-proto-dri2proto-devel >= %{dri2proto_ver} | |
201 | Requires: xorg-proto-glproto-devel >= %{glproto_ver} | |
202 | Suggests: OpenGL-doc-man | |
203 | Provides: OpenGL-GLX-devel = 1.4 | |
204 | Provides: OpenGL-devel = 2.1 | |
205 | Obsoletes: Mesa-devel | |
206 | Obsoletes: X11-OpenGL-devel < 1:7.0.0 | |
207 | Obsoletes: X11-OpenGL-devel-base < 1:7.0.0 | |
208 | Obsoletes: XFree86-OpenGL-devel < 1:7.0.0 | |
209 | Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0 | |
210 | ||
211 | %description libGL-devel | |
212 | Header files for Mesa3D libGL library. | |
213 | ||
214 | %description libGL-devel -l pl.UTF-8 | |
215 | Pliki nagłówkowe biblioteki libGL z projektu Mesa3D. | |
216 | ||
217 | %package libGL-static | |
218 | Summary: Static Mesa3D libGL library | |
219 | Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D | |
220 | License: MIT | |
221 | Group: X11/Development/Libraries | |
222 | Requires: %{name}-libGL-devel = %{version}-%{release} | |
223 | Provides: OpenGL-static = 2.1 | |
224 | Obsoletes: Mesa-static | |
225 | Obsoletes: X11-OpenGL-static < 1:7.0.0 | |
226 | Obsoletes: XFree86-OpenGL-static < 1:7.0.0 | |
227 | ||
228 | %description libGL-static | |
229 | Static Mesa3D libGL library. It uses software renderer. | |
230 | ||
231 | %description libGL-static -l pl.UTF-8 | |
232 | Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego | |
233 | renderingu. | |
234 | ||
235 | %package libGLES | |
236 | Summary: Mesa implementation of GLES (OpenGL ES) libraries | |
237 | Summary(pl.UTF-8): Implementacja Mesa bibliotek GLES (OpenGL ES) | |
238 | Group: Libraries | |
239 | ||
240 | %description libGLES | |
241 | This package contains shared libraries of Mesa implementation of GLES | |
242 | (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics | |
243 | on embedded systems. OpenGL ES specification can be found on Khronos | |
244 | Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL | |
245 | ES 1.1 and 2.0. | |
246 | ||
247 | %description libGLES -l pl.UTF-8 | |
248 | Ten pakiet zawiera biblioteki współdzielone implementacji Mesa | |
249 | standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni | |
250 | funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację | |
251 | OpenGL ES można znaleźć na stronie Khronos Group: | |
252 | <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL | |
253 | ES 1.1 i 2.0. | |
254 | ||
255 | %package libGLES-devel | |
256 | Summary: Header files for Mesa GLES libraries | |
257 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Mesa GLES | |
258 | Group: Development/Libraries | |
259 | Requires: %{name}-libGLES = %{version}-%{release} | |
260 | ||
261 | %description libGLES-devel | |
262 | Header files for Mesa GLES libraries. | |
263 | ||
264 | %description libGLES-devel -l pl.UTF-8 | |
265 | Pliki nagłówkowe bibliotek Mesa GLES. | |
266 | ||
267 | %package libGLU | |
268 | Summary: SGI implementation of libGLU OpenGL library | |
269 | Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL | |
270 | License: SGI Free Software License B v2.0 (MIT-like) | |
271 | Group: Libraries | |
272 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
273 | Requires: OpenGL >= 1.2 | |
274 | Provides: OpenGL-GLU = 1.3 | |
275 | Obsoletes: Mesa-devel | |
276 | Obsoletes: X11-OpenGL-libs < 1:7.0.0 | |
277 | Obsoletes: XFree86-OpenGL-libs < 1:7.0.0 | |
278 | ||
279 | %description libGLU | |
280 | SGI implementation of libGLU OpenGL library. It implements OpenGL GLU | |
281 | 1.3 specifications. | |
282 | ||
283 | %description libGLU -l pl.UTF-8 | |
284 | Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje | |
285 | specyfikację OpenGL GLU 1.3. | |
286 | ||
287 | %package libGLU-devel | |
288 | Summary: Header files for SGI libGLU library | |
289 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU | |
290 | License: SGI Free Software License B v2.0 (MIT-like) | |
291 | Group: Development/Libraries | |
292 | Requires: %{name}-libGLU = %{version}-%{release} | |
293 | Requires: OpenGL-devel >= 1.2 | |
294 | Requires: libstdc++-devel | |
295 | Provides: OpenGL-GLU-devel = 1.3 | |
296 | ||
297 | %description libGLU-devel | |
298 | Header files for SGI libGLU library. | |
299 | ||
300 | %description libGLU-devel -l pl.UTF-8 | |
301 | Pliki nagłówkowe biblioteki SGI libGLU. | |
302 | ||
303 | %package libGLU-static | |
304 | Summary: Static SGI libGLU library | |
305 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU | |
306 | License: SGI Free Software License B v2.0 (MIT-like) | |
307 | Group: Development/Libraries | |
308 | Requires: %{name}-libGLU-devel = %{version}-%{release} | |
309 | Provides: OpenGL-GLU-static = 1.3 | |
310 | ||
311 | %description libGLU-static | |
312 | Static SGI libGLU library. | |
313 | ||
314 | %description libGLU-static -l pl.UTF-8 | |
315 | Statyczna biblioteka SGI libGLU. | |
316 | ||
317 | %package libGLw | |
318 | Summary: SGI OpenGL Xt widgets library | |
319 | Summary(pl.UTF-8): Biblioteka SGI widgetów Xt dla OpenGL-a | |
320 | License: SGI MIT-like | |
321 | Group: Libraries | |
322 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
323 | Requires: OpenGL >= 1.1 | |
324 | Provides: OpenGL-GLw | |
325 | ||
326 | %description libGLw | |
327 | SGI OpenGL Xt widgets library. | |
328 | ||
329 | %description libGLw -l pl.UTF-8 | |
330 | Biblioteka SGI widgetów Xt dla OpenGL-a. | |
331 | ||
332 | %package libGLw-devel | |
333 | Summary: Header files for SGI libGLw library | |
334 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLw | |
335 | License: SGI MIT-like | |
336 | Group: Development/Libraries | |
337 | Requires: %{name}-libGLw = %{version}-%{release} | |
338 | Requires: OpenGL-devel >= 1.2 | |
339 | Provides: OpenGL-GLw-devel | |
340 | ||
341 | %description libGLw-devel | |
342 | Header files for SGI libGLw library. | |
343 | ||
344 | %description libGLw-devel -l pl.UTF-8 | |
345 | Pliki nagłówkowe biblioteki SGI libGLw. | |
346 | ||
347 | %package libGLw-static | |
348 | Summary: Static SGI libGLw library | |
349 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLw | |
350 | License: SGI MIT-like | |
351 | Group: Development/Libraries | |
352 | Requires: %{name}-libGLw-devel = %{version}-%{release} | |
353 | Provides: OpenGL-GLw-static | |
354 | ||
355 | %description libGLw-static | |
356 | Static SGI libGLw library. | |
357 | ||
358 | %description libGLw-static -l pl.UTF-8 | |
359 | Statyczna biblioteka SGI libGLw. | |
360 | ||
361 | %package libOSMesa | |
362 | Summary: OSMesa (off-screen renderer) library | |
363 | Summary(pl.UTF-8): Biblioteka OSMesa (renderująca bitmapy w pamięci) | |
364 | License: MIT | |
365 | Group: Libraries | |
366 | # doesn't require base | |
367 | ||
368 | %description libOSMesa | |
369 | OSMesa (off-screen renderer) library. | |
370 | ||
371 | %description libOSMesa -l pl.UTF-8 | |
372 | Biblioteka OSMesa (renderująca bitmapy w pamięci). | |
373 | ||
374 | %package libOSMesa-devel | |
375 | Summary: Header file for OSMesa (off-screen renderer) library | |
376 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci) | |
377 | License: MIT | |
378 | Group: Development/Libraries | |
379 | Requires: %{name}-libOSMesa = %{version}-%{release} | |
380 | # for <GL/gl.h> only | |
381 | Requires: OpenGL-devel | |
382 | ||
383 | %description libOSMesa-devel | |
384 | Header file for OSMesa (off-screen renderer) library. | |
385 | ||
386 | %description libOSMesa-devel -l pl.UTF-8 | |
387 | Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci). | |
388 | ||
389 | %package libOSMesa-static | |
390 | Summary: Static OSMesa (off-screen renderer) library | |
391 | Summary(pl.UTF-8): Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci) | |
392 | License: MIT | |
393 | Group: Development/Libraries | |
394 | Requires: %{name}-libOSMesa-devel = %{version}-%{release} | |
395 | # this static build of OSMesa needs static non-dri Mesa implementation | |
396 | Requires: %{name}-libGL-static = %{version}-%{release} | |
397 | ||
398 | %description libOSMesa-static | |
399 | Static OSMesa (off-screen renderer) library. | |
400 | ||
401 | %description libOSMesa-static -l pl.UTF-8 | |
402 | Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci). | |
403 | ||
404 | %package libOpenVG | |
405 | Summary: Mesa implementation of OpenVG (Vector Graphics Accelleration) API | |
406 | Summary(pl.UTF-8): Implementacja Mesa API OpenVG (akceleracji grafiki wektorowej) | |
407 | License: MIT | |
408 | Group: Libraries | |
409 | # doesn't require base | |
410 | ||
411 | %description libOpenVG | |
412 | This package contains Mesa implementation of OpenVG - cross-platform | |
413 | API that provides a low-level hardware acceleration interface for | |
414 | vector graphics libraries such as Flash and SVG. OpenVG specification | |
415 | can be found on Khronos Group site: <http://www.khronos.org/openvg/>. | |
416 | Mesa implements OpenVG 1.1. | |
417 | ||
418 | %description libOpenVG -l pl.UTF-8 | |
419 | Ten pakiet zawiera implementację Mesa standardu OpenVG - | |
420 | wieloplatfomowego API zapewniającego niskopoziomowy interfejs | |
421 | akceleracji sprzętowej dla bibliotek grafiki wektorowej, takiej | |
422 | jak Flash czy SVG. Specyfikację OpenVG można znaleźć na stronie | |
423 | Khronos Group: <http://www.khronos.org/openvg/>. Mesa zawiera | |
424 | implementację OpenVG w wersji 1.1. | |
425 | ||
426 | %package libOpenVG-devel | |
427 | Summary: Header file for Mesa OpenVG library | |
428 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki Mesa OpenVG | |
429 | License: MIT | |
430 | Group: Development/Libraries | |
431 | # for <KHR/khrplatform.h> | |
432 | Requires: %{name}-libEGL-devel = %{version}-%{release} | |
433 | Requires: %{name}-libOpenVG = %{version}-%{release} | |
434 | ||
435 | %description libOpenVG-devel | |
436 | Header file for Mesa OpenVG library. | |
437 | ||
438 | %description libOpenVG-devel -l pl.UTF-8 | |
439 | Plik nagłówkowy biblioteki Mesa OpenVG. | |
440 | ||
441 | %package utils | |
442 | Summary: OpenGL utilities from Mesa3D | |
443 | Summary(pl.UTF-8): Programy narzędziowe OpenGL z projektu Mesa3D | |
444 | License: MIT | |
445 | Group: X11/Applications/Graphics | |
446 | # loose deps on libGL/libGLU | |
447 | ||
448 | %description utils | |
449 | OpenGL utilities from Mesa3D: glxgears and glxinfo. | |
450 | ||
451 | %description utils -l pl.UTF-8 | |
452 | Programy narzędziowe OpenGL z projektu Mesa3D: glxgears i glxinfo. | |
453 | ||
454 | %package dri-driver-ati-mach64 | |
455 | Summary: X.org DRI driver for ATI Mach64 card family | |
456 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Mach64 | |
457 | License: MIT | |
458 | Group: X11/Libraries | |
459 | Requires: xorg-driver-video-mach64 | |
460 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
461 | Requires: xorg-xserver-server >= %{xserver_ver} | |
462 | ||
463 | %description dri-driver-ati-mach64 | |
464 | X.org DRI driver for ATI Mach64 card family. | |
465 | ||
466 | %description dri-driver-ati-mach64 -l pl.UTF-8 | |
467 | Sterownik X.org DRI dla rodziny kart ATI Mach64. | |
468 | ||
469 | %package dri-driver-ati-radeon-R100 | |
470 | Summary: X.org DRI driver for ATI R100 card family | |
471 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R100 | |
472 | License: MIT | |
473 | Group: X11/Libraries | |
474 | Requires: xorg-driver-video-ati | |
475 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
476 | Requires: xorg-xserver-server >= %{xserver_ver} | |
477 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 | |
478 | ||
479 | %description dri-driver-ati-radeon-R100 | |
480 | X.org DRI driver for ATI R100 card family (Radeon 7000-7500). | |
481 | ||
482 | %description dri-driver-ati-radeon-R100 -l pl.UTF-8 | |
483 | Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500). | |
484 | ||
485 | %package dri-driver-ati-radeon-R200 | |
486 | Summary: X.org DRI driver for ATI R200 card family | |
487 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R200 | |
488 | License: MIT | |
489 | Group: X11/Libraries | |
490 | Requires: xorg-driver-video-ati | |
491 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
492 | Requires: xorg-xserver-server >= %{xserver_ver} | |
493 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 | |
494 | ||
495 | %description dri-driver-ati-radeon-R200 | |
496 | X.org DRI driver for ATI R200 card family (Radeon 8500-92xx) | |
497 | ||
498 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 | |
499 | Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). | |
500 | ||
501 | %package dri-driver-ati-radeon-R300 | |
502 | Summary: X.org DRI driver for ATI R300 card family | |
503 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R300 | |
504 | License: MIT | |
505 | Group: X11/Libraries | |
506 | Requires: xorg-driver-video-ati | |
507 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
508 | Requires: xorg-xserver-server >= %{xserver_ver} | |
509 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 | |
510 | ||
511 | %description dri-driver-ati-radeon-R300 | |
512 | X.org DRI driver for ATI R300 card family. | |
513 | ||
514 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 | |
515 | Sterownik X.org DRI dla rodziny kart ATI R300. | |
516 | ||
517 | %package dri-driver-ati-radeon-R600 | |
518 | Summary: X.org DRI driver for ATI R600 card family | |
519 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI R600 | |
520 | License: MIT | |
521 | Group: X11/Libraries | |
522 | Requires: radeon-ucode | |
523 | Requires: xorg-driver-video-ati | |
524 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
525 | Requires: xorg-xserver-server >= %{xserver_ver} | |
526 | ||
527 | %description dri-driver-ati-radeon-R600 | |
528 | X.org DRI driver for ATI R600 card family. | |
529 | ||
530 | %description dri-driver-ati-radeon-R600 -l pl.UTF-8 | |
531 | Sterownik X.org DRI dla rodziny kart ATI R600. | |
532 | ||
533 | %package dri-driver-ati-rage128 | |
534 | Summary: X.org DRI driver for ATI Rage128 card family | |
535 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart ATI Rage128 | |
536 | License: MIT | |
537 | Group: X11/Libraries | |
538 | Requires: xorg-driver-video-r128 | |
539 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
540 | Requires: xorg-xserver-server >= %{xserver_ver} | |
541 | Obsoletes: X11-driver-r128-dri < 1:7.0.0 | |
542 | ||
543 | %description dri-driver-ati-rage128 | |
544 | X.org DRI driver for ATI Rage128 card family. | |
545 | ||
546 | %description dri-driver-ati-rage128 -l pl.UTF-8 | |
547 | Sterownik X.org DRI dla rodziny kart ATI Rage128. | |
548 | ||
549 | %package dri-driver-ffb | |
550 | Summary: X.org DRI driver for Sun FFB card family | |
551 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Sun FFB | |
552 | License: MIT | |
553 | Group: X11/Libraries | |
554 | Requires: xorg-driver-video-sunffb | |
555 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
556 | Requires: xorg-xserver-server >= %{xserver_ver} | |
557 | ||
558 | %description dri-driver-ffb | |
559 | X.org DRI driver for SUN Creator3D and Elite3D card family. | |
560 | ||
561 | %description dri-driver-ffb -l pl.UTF-8 | |
562 | Sterownik X.org DRI dla rodziny kart SUN Creator3D i Elite3D. | |
563 | ||
564 | %package dri-driver-glint | |
565 | Summary: X.org DRI driver for GLINT/Permedia card family | |
566 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart GLINT/Permedia | |
567 | License: MIT | |
568 | Group: X11/Libraries | |
569 | Requires: xorg-driver-video-glint | |
570 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
571 | Requires: xorg-xserver-server >= %{xserver_ver} | |
572 | Obsoletes: X11-driver-glint-dri < 1:7.0.0 | |
573 | ||
574 | %description dri-driver-glint | |
575 | X.org DRI driver for GLINT/Permedia card family. | |
576 | ||
577 | %description dri-driver-glint -l pl.UTF-8 | |
578 | Sterownik X.org DRI dla rodziny kart GLINT/Permedia. | |
579 | ||
580 | %package dri-driver-intel-i810 | |
581 | Summary: X.org DRI driver for Intel i810 card family | |
582 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i810 | |
583 | License: MIT | |
584 | Group: X11/Libraries | |
585 | Requires: xorg-driver-video-intel | |
586 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
587 | Requires: xorg-xserver-server >= %{xserver_ver} | |
588 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 | |
589 | ||
590 | %description dri-driver-intel-i810 | |
591 | X.org DRI driver for Intel i810 card family. | |
592 | ||
593 | %description dri-driver-intel-i810 -l pl.UTF-8 | |
594 | Sterownik X.org DRI dla rodziny kart Intel i810. | |
595 | ||
596 | %package dri-driver-intel-i915 | |
597 | Summary: X.org DRI driver for Intel i915 card family | |
598 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i915 | |
599 | License: MIT | |
600 | Group: X11/Libraries | |
601 | Requires: xorg-driver-video-intel | |
602 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
603 | Requires: xorg-xserver-server >= %{xserver_ver} | |
604 | Obsoletes: Mesa-dri-driver-intel-i830 | |
605 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 | |
606 | ||
607 | %description dri-driver-intel-i915 | |
608 | X.org DRI driver for Intel i915 card family. | |
609 | ||
610 | %description dri-driver-intel-i915 -l pl.UTF-8 | |
611 | Sterownik X.org DRI dla rodziny kart Intel i915. | |
612 | ||
613 | %package dri-driver-intel-i965 | |
614 | Summary: X.org DRI driver for Intel i965 card family | |
615 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Intel i965 | |
616 | License: MIT | |
617 | Group: X11/Libraries | |
618 | Requires: xorg-driver-video-intel | |
619 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
620 | Requires: xorg-xserver-server >= %{xserver_ver} | |
621 | Obsoletes: Mesa-dri-driver-intel-i830 | |
622 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 | |
623 | ||
624 | %description dri-driver-intel-i965 | |
625 | X.org DRI driver for Intel i965 card family. | |
626 | ||
627 | %description dri-driver-intel-i965 -l pl.UTF-8 | |
628 | Sterownik X.org DRI dla rodziny kart Intel i965. | |
629 | ||
630 | %package dri-driver-matrox | |
631 | Summary: X.org DRI driver for Matrox G card family | |
632 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart Matrox G | |
633 | License: MIT | |
634 | Group: X11/Libraries | |
635 | Requires: xorg-driver-video-mga | |
636 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
637 | Requires: xorg-xserver-server >= %{xserver_ver} | |
638 | Obsoletes: X11-driver-mga-dri < 1:7.0.0 | |
639 | ||
640 | %description dri-driver-matrox | |
641 | X.org DRI drivers for Matrox G card family. | |
642 | ||
643 | %description dri-driver-matrox -l pl.UTF-8 | |
644 | Sterowniki X.org DRI dla rodziny kart Matrox G. | |
645 | ||
646 | %package dri-driver-nouveau | |
647 | Summary: X.org DRI driver for NVIDIA card family | |
648 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart NVIDIA | |
649 | License: MIT | |
650 | Group: X11/Libraries | |
651 | Requires: xorg-driver-video-nouveau | |
652 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
653 | Requires: xorg-xserver-server >= %{xserver_ver} | |
654 | ||
655 | %description dri-driver-nouveau | |
656 | X.org DRI drivers for NVIDIA card family. | |
657 | ||
658 | %description dri-driver-nouveau -l pl.UTF-8 | |
659 | Sterowniki X.org DRI dla rodziny kart NVIDIA. | |
660 | ||
661 | %package dri-driver-savage | |
662 | Summary: X.org DRI driver for S3 Savage card family | |
663 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart S3 Savage | |
664 | License: MIT | |
665 | Group: X11/Libraries | |
666 | Requires: xorg-driver-video-savage | |
667 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
668 | Requires: xorg-xserver-server >= %{xserver_ver} | |
669 | ||
670 | %description dri-driver-savage | |
671 | X.org DRI driver for S3 Savage card family. | |
672 | ||
673 | %description dri-driver-savage -l pl.UTF-8 | |
674 | Sterownik X.org DRI dla rodziny kart S3 Savage. | |
675 | ||
676 | %package dri-driver-sis | |
677 | Summary: X.org DRI driver for SiS card family | |
678 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart SiS | |
679 | License: MIT | |
680 | Group: X11/Libraries | |
681 | Requires: xorg-driver-video-sis | |
682 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
683 | Requires: xorg-xserver-server >= %{xserver_ver} | |
684 | Obsoletes: X11-driver-sis-dri < 1:7.0.0 | |
685 | ||
686 | %description dri-driver-sis | |
687 | X.org DRI driver for SiS card family. | |
688 | ||
689 | %description dri-driver-sis -l pl.UTF-8 | |
690 | Sterownik X.org DRI dla rodziny kart SiS. | |
691 | ||
692 | %package dri-driver-swrast | |
693 | Summary: X.org DRI software rasterizer driver | |
694 | Summary(pl.UTF-8): Sterownik X.org DRI obsługujący rysowanie programowe | |
695 | License: MIT | |
696 | Group: X11/Libraries | |
697 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
698 | Requires: xorg-xserver-server >= %{xserver_ver} | |
699 | ||
700 | %description dri-driver-swrast | |
701 | X.org DRI software rasterizer driver. | |
702 | ||
703 | %description dri-driver-swrast -l pl.UTF-8 | |
704 | Sterownik X.org DRI obsługujący rysowanie programowe. | |
705 | ||
706 | %package dri-driver-tdfx | |
707 | Summary: X.org DRI driver for 3DFX Voodoo card family | |
708 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart 3DFX Voodoo | |
709 | License: MIT | |
710 | Group: X11/Libraries | |
711 | Requires: Glide3-DRI | |
712 | Requires: xorg-driver-video-tdfx | |
713 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
714 | Requires: xorg-xserver-server >= %{xserver_ver} | |
715 | Obsoletes: X11-driver-tdfx-dri < 1:7.0.0 | |
716 | ||
717 | %description dri-driver-tdfx | |
718 | X.org DRI driver for 3DFX Voodoo card family (Voodoo 3,4,5, Banshee | |
719 | and Velocity 100/200). | |
720 | ||
721 | %description dri-driver-tdfx -l pl.UTF-8 | |
722 | Sterownik X.org DRI dla rodziny kart 3DFX Voodoo. (Voodoo 3,4,5, | |
723 | Banshee i Velocity 100/200). | |
724 | ||
725 | %package dri-driver-via-unichrome | |
726 | Summary: X.org DRI driver for VIA Unichrome card family | |
727 | Summary(pl.UTF-8): Sterownik X.org DRI dla rodziny kart VIA Unichrome | |
728 | License: MIT | |
729 | Group: X11/Libraries | |
730 | Requires: xorg-driver-video-openchrome | |
731 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
732 | Requires: xorg-xserver-server >= %{xserver_ver} | |
733 | ||
734 | %description dri-driver-via-unichrome | |
735 | X.org DRI driver for VIA Unichrome card family. | |
736 | ||
737 | %description dri-driver-via-unichrome -l pl.UTF-8 | |
738 | Sterownik X.org DRI dla rodziny kart VIA Unichrome. | |
739 | ||
740 | %package dri-driver-vmwgfx | |
741 | Summary: X.org DRI driver for VMware | |
742 | Summary(pl.UTF-8): Sterownik X.org DRI dla VMware | |
743 | License: MIT | |
744 | Group: X11/Libraries | |
745 | Requires: xorg-xserver-libglx(glapi) = %{glapi_ver} | |
746 | Requires: xorg-xserver-server >= %{xserver_ver} | |
747 | ||
748 | %description dri-driver-vmwgfx | |
749 | X.org DRI driver for VMWare. | |
750 | ||
751 | %description dri-driver-vmwgfx -l pl.UTF-8 | |
752 | Sterownik X.org DRI dla VMware. | |
753 | ||
754 | %prep | |
755 | %setup -q | |
756 | %patch0 -p0 | |
757 | %patch1 -p1 | |
758 | %patch2 -p1 | |
759 | ||
760 | %build | |
761 | %{__aclocal} | |
762 | %{__autoconf} | |
763 | ||
764 | dri_drivers="i810 mach64 mga r128 r200 radeon \ | |
765 | %if %{without gallium_radeon} | |
766 | r300 r600 \ | |
767 | %endif | |
768 | savage \ | |
769 | %if %{without gallium_intel} | |
770 | i915 i965 \ | |
771 | %endif | |
772 | %ifarch sparc sparcv9 sparc64 | |
773 | ffb \ | |
774 | %endif | |
775 | %ifarch %{ix86} %{x8664} | |
776 | sis \ | |
777 | %endif | |
778 | swrast tdfx unichrome" | |
779 | ||
780 | dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',') | |
781 | ||
782 | gallium_drivers="svga swrast \ | |
783 | %if %{with gallium_intel} | |
784 | i915 \ | |
785 | i965 \ | |
786 | %endif | |
787 | %if %{with gallium_radeon} | |
788 | radeon \ | |
789 | r600 \ | |
790 | %endif | |
791 | %if %{with gallium_nouveau} | |
792 | nouveau \ | |
793 | %endif | |
794 | " | |
795 | ||
796 | gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',') | |
797 | ||
798 | common_flags="\ | |
799 | --enable-glx-tls \ | |
800 | --enable-pic \ | |
801 | --enable-selinux \ | |
802 | %{?with_static_libs:--enable-static} \ | |
803 | --disable-glut \ | |
804 | " | |
805 | ||
806 | osmesa_common_flags="\ | |
807 | --with-driver=osmesa \ | |
808 | --disable-asm \ | |
809 | --disable-glu \ | |
810 | --disable-egl" | |
811 | ||
812 | %if %{with osmesa} | |
813 | %configure $common_flags $osmesa_common_flags \ | |
814 | --with-osmesa-bits=8 | |
815 | %{__make} | |
816 | mv %{_lib} osmesa8 | |
817 | %{__make} clean | |
818 | %endif | |
819 | ||
820 | %configure $common_flags \ | |
821 | %if %{with egl} | |
822 | --enable-egl \ | |
823 | --enable-gles1 \ | |
824 | --enable-gles2 \ | |
825 | %endif | |
826 | %if %{with gallium} | |
827 | --enable-openvg \ | |
828 | --enable-gallium-egl \ | |
829 | --with-gallium-drivers=${gallium_drivers} \ | |
830 | %else | |
831 | --disable-gallium \ | |
832 | %endif | |
833 | --with-driver=dri \ | |
834 | --with-dri-drivers=${dri_drivers} \ | |
835 | --with-dri-driverdir=%{_libdir}/xorg/modules/dri | |
836 | ||
837 | %{__make} | |
838 | ||
839 | %install | |
840 | rm -rf $RPM_BUILD_ROOT | |
841 | ||
842 | # libs without drivers | |
843 | %{__make} install \ | |
844 | DESTDIR=$RPM_BUILD_ROOT | |
845 | ||
846 | %if %{with osmesa} | |
847 | cp -Pp osmesa*/libOSMesa* $RPM_BUILD_ROOT%{_libdir} | |
848 | %endif | |
849 | ||
850 | # strip out undesirable headers | |
851 | %{__rm} $RPM_BUILD_ROOT%{_includedir}/GL/{glfbdev,mesa_wgl,vms_x_fix,wglext,wmesa}.h | |
852 | ||
853 | %if %{with gallium} | |
854 | # use gallium swrastg as swrast | |
855 | mv $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/swrastg_dri.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri/swrast_dri.so | |
856 | %endif | |
857 | ||
858 | %if %{with multigl} | |
859 | install -d $RPM_BUILD_ROOT{%{_libdir}/Mesa,%{_sysconfdir}/ld.so.conf.d} | |
860 | ||
861 | mv -f $RPM_BUILD_ROOT%{_libdir}/libGL.so.* $RPM_BUILD_ROOT%{_libdir}/Mesa | |
862 | ln -sf Mesa/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
863 | ||
864 | echo %{_libdir}/Mesa >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/Mesa.conf | |
865 | %endif | |
866 | ||
867 | %clean | |
868 | rm -rf $RPM_BUILD_ROOT | |
869 | ||
870 | %post libEGL -p /sbin/ldconfig | |
871 | %postun libEGL -p /sbin/ldconfig | |
872 | ||
873 | %post libGL -p /sbin/ldconfig | |
874 | %postun libGL -p /sbin/ldconfig | |
875 | ||
876 | %post libGLES -p /sbin/ldconfig | |
877 | %postun libGLES -p /sbin/ldconfig | |
878 | ||
879 | %post libGLU -p /sbin/ldconfig | |
880 | %postun libGLU -p /sbin/ldconfig | |
881 | ||
882 | %post libGLw -p /sbin/ldconfig | |
883 | %postun libGLw -p /sbin/ldconfig | |
884 | ||
885 | %post libOSMesa -p /sbin/ldconfig | |
886 | %postun libOSMesa -p /sbin/ldconfig | |
887 | ||
888 | %post libOpenVG -p /sbin/ldconfig | |
889 | %postun libOpenVG -p /sbin/ldconfig | |
890 | ||
891 | %if %{with egl} | |
892 | %files libEGL | |
893 | %defattr(644,root,root,755) | |
894 | %attr(755,root,root) %{_libdir}/libEGL.so.*.* | |
895 | %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1 | |
896 | %attr(755,root,root) %{_libdir}/libglapi.so.*.* | |
897 | %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0 | |
898 | %if %{with gallium} | |
899 | %dir %{_libdir}/egl | |
900 | %attr(755,root,root) %{_libdir}/egl/egl_gallium.so | |
901 | %attr(755,root,root) %{_libdir}/egl/st_GL.so | |
902 | %if %{with gallium_radeon} | |
903 | %attr(755,root,root) %{_libdir}/egl/pipe_r300.so | |
904 | %attr(755,root,root) %{_libdir}/egl/pipe_r600.so | |
905 | %endif | |
906 | %if %{with gallium_intel} | |
907 | %attr(755,root,root) %{_libdir}/egl/pipe_i915.so | |
908 | %attr(755,root,root) %{_libdir}/egl/pipe_i965.so | |
909 | %endif | |
910 | %endif | |
911 | ||
912 | %files libEGL-devel | |
913 | %defattr(644,root,root,755) | |
914 | %attr(755,root,root) %{_libdir}/libEGL.so | |
915 | %attr(755,root,root) %{_libdir}/libglapi.so | |
916 | %dir %{_includedir}/EGL | |
917 | %{_includedir}/EGL/egl.h | |
918 | %{_includedir}/EGL/eglext.h | |
919 | %{_includedir}/EGL/eglplatform.h | |
920 | %dir %{_includedir}/KHR | |
921 | %{_includedir}/KHR/khrplatform.h | |
922 | %{_pkgconfigdir}/egl.pc | |
923 | ||
924 | %if %{with static_libs} | |
925 | %files libEGL-static | |
926 | %defattr(644,root,root,755) | |
927 | %{_libdir}/libEGL.a | |
928 | %endif | |
929 | %endif | |
930 | ||
931 | %files libGL | |
932 | %defattr(644,root,root,755) | |
933 | %doc docs/{*.html,README.{3DFX,GGI,MITS,QUAKE,THREADS},RELNOTES*} | |
934 | %if %{with multigl} | |
935 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/Mesa.conf | |
936 | %dir %{_libdir}/Mesa | |
937 | %attr(755,root,root) %{_libdir}/Mesa/libGL.so.*.* | |
938 | %attr(755,root,root) %ghost %{_libdir}/Mesa/libGL.so.1 | |
939 | %else | |
940 | %attr(755,root,root) %{_libdir}/libGL.so.*.* | |
941 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
942 | # symlink for binary apps which fail to conform Linux OpenGL ABI | |
943 | # (and dlopen libGL.so instead of libGL.so.1) | |
944 | %attr(755,root,root) %{_libdir}/libGL.so | |
945 | %endif | |
946 | ||
947 | %files libGL-devel | |
948 | %defattr(644,root,root,755) | |
949 | %doc docs/*.spec | |
950 | %if %{with multigl} | |
951 | %attr(755,root,root) %{_libdir}/libGL.so | |
952 | %endif | |
953 | %dir %{_includedir}/GL | |
954 | %{_includedir}/GL/gl.h | |
955 | %{_includedir}/GL/glext.h | |
956 | %{_includedir}/GL/gl_mangle.h | |
957 | %{_includedir}/GL/glx.h | |
958 | %{_includedir}/GL/glxext.h | |
959 | %{_includedir}/GL/glx_mangle.h | |
960 | %dir %{_includedir}/GL/internal | |
961 | %{_includedir}/GL/internal/dri_interface.h | |
962 | %{_pkgconfigdir}/dri.pc | |
963 | %{_pkgconfigdir}/gl.pc | |
964 | ||
965 | %if %{with static_libs} | |
966 | %files libGL-static | |
967 | %defattr(644,root,root,755) | |
968 | %{_libdir}/libGL.a | |
969 | %endif | |
970 | ||
971 | %files libGLES | |
972 | %defattr(644,root,root,755) | |
973 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.* | |
974 | %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1 | |
975 | %attr(755,root,root) %{_libdir}/libGLESv2.so.*.* | |
976 | %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2 | |
977 | ||
978 | %files libGLES-devel | |
979 | %defattr(644,root,root,755) | |
980 | %attr(755,root,root) %{_libdir}/libGLESv1_CM.so | |
981 | %attr(755,root,root) %{_libdir}/libGLESv2.so | |
982 | %{_includedir}/GLES | |
983 | %{_includedir}/GLES2 | |
984 | %{_pkgconfigdir}/glesv1_cm.pc | |
985 | %{_pkgconfigdir}/glesv2.pc | |
986 | ||
987 | %files libGLU | |
988 | %defattr(644,root,root,755) | |
989 | %attr(755,root,root) %{_libdir}/libGLU.so.*.* | |
990 | %attr(755,root,root) %ghost %{_libdir}/libGLU.so.1 | |
991 | ||
992 | %files libGLU-devel | |
993 | %defattr(644,root,root,755) | |
994 | %attr(755,root,root) %{_libdir}/libGLU.so | |
995 | %{_includedir}/GL/glu.h | |
996 | %{_includedir}/GL/glu_mangle.h | |
997 | %{_pkgconfigdir}/glu.pc | |
998 | ||
999 | %if %{with static_libs} | |
1000 | %files libGLU-static | |
1001 | %defattr(644,root,root,755) | |
1002 | %{_libdir}/libGLU.a | |
1003 | %endif | |
1004 | ||
1005 | %files libGLw | |
1006 | %defattr(644,root,root,755) | |
1007 | %attr(755,root,root) %{_libdir}/libGLw.so.*.* | |
1008 | %attr(755,root,root) %ghost %{_libdir}/libGLw.so.1 | |
1009 | ||
1010 | %files libGLw-devel | |
1011 | %defattr(644,root,root,755) | |
1012 | %attr(755,root,root) %{_libdir}/libGLw.so | |
1013 | %{_includedir}/GL/GLwDrawA.h | |
1014 | %{_includedir}/GL/GLwDrawAP.h | |
1015 | %{_includedir}/GL/GLwMDrawA.h | |
1016 | %{_includedir}/GL/GLwMDrawAP.h | |
1017 | %{_pkgconfigdir}/glw.pc | |
1018 | ||
1019 | %if %{with static_libs} | |
1020 | %files libGLw-static | |
1021 | %defattr(644,root,root,755) | |
1022 | %{_libdir}/libGLw.a | |
1023 | %endif | |
1024 | ||
1025 | %if %{with osmesa} | |
1026 | %files libOSMesa | |
1027 | %defattr(644,root,root,755) | |
1028 | %attr(755,root,root) %{_libdir}/libOSMesa.so.*.* | |
1029 | %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.7 | |
1030 | ||
1031 | %files libOSMesa-devel | |
1032 | %defattr(644,root,root,755) | |
1033 | %attr(755,root,root) %{_libdir}/libOSMesa.so | |
1034 | %{_includedir}/GL/osmesa.h | |
1035 | ||
1036 | %if %{with static_libs} | |
1037 | %files libOSMesa-static | |
1038 | %defattr(644,root,root,755) | |
1039 | %{_libdir}/libOSMesa.a | |
1040 | %endif | |
1041 | %endif | |
1042 | ||
1043 | %if %{with gallium} | |
1044 | %files libOpenVG | |
1045 | %defattr(644,root,root,755) | |
1046 | %attr(755,root,root) %{_libdir}/libOpenVG.so.*.*.* | |
1047 | %attr(755,root,root) %ghost %{_libdir}/libOpenVG.so.1 | |
1048 | ||
1049 | %files libOpenVG-devel | |
1050 | %defattr(644,root,root,755) | |
1051 | %attr(755,root,root) %{_libdir}/libOpenVG.so | |
1052 | %{_includedir}/VG | |
1053 | %{_pkgconfigdir}/vg.pc | |
1054 | %endif | |
1055 | ||
1056 | %files dri-driver-ati-mach64 | |
1057 | %defattr(644,root,root,755) | |
1058 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mach64_dri.so | |
1059 | ||
1060 | %files dri-driver-ati-radeon-R100 | |
1061 | %defattr(644,root,root,755) | |
1062 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
1063 | ||
1064 | %files dri-driver-ati-radeon-R200 | |
1065 | %defattr(644,root,root,755) | |
1066 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
1067 | ||
1068 | %files dri-driver-ati-radeon-R300 | |
1069 | %defattr(644,root,root,755) | |
1070 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
1071 | ||
1072 | %files dri-driver-ati-radeon-R600 | |
1073 | %defattr(644,root,root,755) | |
1074 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so | |
1075 | ||
1076 | %files dri-driver-ati-rage128 | |
1077 | %defattr(644,root,root,755) | |
1078 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r128_dri.so | |
1079 | ||
1080 | # sunffb (sparc only) | |
1081 | %ifarch sparc sparcv9 sparc64 | |
1082 | %files dri-driver-ffb | |
1083 | %defattr(644,root,root,755) | |
1084 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/ffb_dri.so | |
1085 | %endif | |
1086 | ||
1087 | # glint (requires update) | |
1088 | %if 0 | |
1089 | %files dri-driver-glint | |
1090 | %defattr(644,root,root,755) | |
1091 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/gamma_dri.so | |
1092 | %endif | |
1093 | ||
1094 | %files dri-driver-intel-i810 | |
1095 | %defattr(644,root,root,755) | |
1096 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i810_dri.so | |
1097 | ||
1098 | %files dri-driver-intel-i915 | |
1099 | %defattr(644,root,root,755) | |
1100 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so | |
1101 | ||
1102 | %files dri-driver-intel-i965 | |
1103 | %defattr(644,root,root,755) | |
1104 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
1105 | %if %{with gallium_intel} | |
1106 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/i965g_drv.so | |
1107 | %endif | |
1108 | ||
1109 | %files dri-driver-matrox | |
1110 | %defattr(644,root,root,755) | |
1111 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mga_dri.so | |
1112 | ||
1113 | %if %{with gallium_nouveau} | |
1114 | %files dri-driver-nouveau | |
1115 | %defattr(644,root,root,755) | |
1116 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so | |
1117 | %endif | |
1118 | ||
1119 | %files dri-driver-savage | |
1120 | %defattr(644,root,root,755) | |
1121 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/savage_dri.so | |
1122 | ||
1123 | %ifarch %{ix86} %{x8664} | |
1124 | %files dri-driver-sis | |
1125 | %defattr(644,root,root,755) | |
1126 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/sis_dri.so | |
1127 | %endif | |
1128 | ||
1129 | %files dri-driver-swrast | |
1130 | %defattr(644,root,root,755) | |
1131 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so | |
1132 | ||
1133 | %files dri-driver-tdfx | |
1134 | %defattr(644,root,root,755) | |
1135 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/tdfx_dri.so | |
1136 | ||
1137 | %files dri-driver-via-unichrome | |
1138 | %defattr(644,root,root,755) | |
1139 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/unichrome_dri.so | |
1140 | ||
1141 | %if %{with gallium} | |
1142 | %files dri-driver-vmwgfx | |
1143 | %defattr(644,root,root,755) | |
1144 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so | |
1145 | %endif |