]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: | |
3 | # - subpackage with non-dri libGL for use with X-servers with missing GLX extension? | |
4 | # - package OpenGL man pages (from monolith or SGI) somewhere | |
5 | # | |
6 | # Conditional build: | |
7 | %bcond_without motif # build static libGLw without Motif interface | |
8 | # | |
9 | Summary: Free OpenGL implementation | |
10 | Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL | |
11 | Name: Mesa | |
12 | Version: 7.0.1 | |
13 | Release: 1 | |
14 | License: MIT (core), SGI (GLU,libGLw) and others - see COPYRIGHT file | |
15 | Group: X11/Libraries | |
16 | Source0: http://dl.sourceforge.net/mesa3d/%{name}Lib-%{version}.tar.bz2 | |
17 | # Source0-md5: c056abd763e899114bf745c9eedbf9ad | |
18 | Source1: http://dl.sourceforge.net/mesa3d/%{name}Demos-%{version}.tar.bz2 | |
19 | # Source1-md5: 3b66b3268df12ca8a6c4e0c4c457912c | |
20 | Source2: nouveau_drm.h | |
21 | Patch0: %{name}-realclean.patch | |
22 | URL: http://www.mesa3d.org/ | |
23 | BuildRequires: expat-devel | |
24 | BuildRequires: libdrm-devel >= 2.2.0 | |
25 | BuildRequires: libstdc++-devel | |
26 | BuildRequires: libtool >= 2:1.4d | |
27 | %{?with_motif:BuildRequires: motif-devel} | |
28 | BuildRequires: sed >= 4.0 | |
29 | BuildRequires: xorg-lib-libXdamage-devel | |
30 | BuildRequires: xorg-lib-libXt-devel | |
31 | BuildRequires: xorg-lib-libXxf86vm-devel | |
32 | BuildRequires: xorg-proto-glproto-devel | |
33 | BuildRequires: xorg-proto-printproto-devel | |
34 | BuildRequires: xorg-util-makedepend | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %define _sysconfdir /etc/X11 | |
38 | ||
39 | %description | |
40 | Mesa is a 3-D graphics library with an API which is very similar to | |
41 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
42 | syntax or state machine, it is being used with authorization from | |
43 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
44 | license from SGI, and makes no claim that Mesa is in any way a | |
45 | compatible replacement for OpenGL or associated with SGI. | |
46 | ||
47 | %description -l pl.UTF-8 | |
48 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
49 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
50 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
51 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
52 | OpenGL ani powiązana z SGI. | |
53 | ||
54 | %package libGL | |
55 | Summary: Free Mesa3D implementation of libGL OpenGL library | |
56 | Summary(pl.UTF-8): Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL | |
57 | License: MIT | |
58 | Group: X11/Libraries | |
59 | Requires: libdrm >= 2.2.0 | |
60 | Provides: OpenGL = 2.1 | |
61 | # reports version 1.3, but supports glXGetProcAddress() from 1.4 | |
62 | Provides: OpenGL-GLX = 1.4 | |
63 | Obsoletes: Mesa | |
64 | Obsoletes: Mesa-dri | |
65 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 | |
66 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
67 | ||
68 | %description libGL | |
69 | Mesa is a 3-D graphics library with an API which is very similar to | |
70 | that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command | |
71 | syntax or state machine, it is being used with authorization from | |
72 | Silicon Graphics, Inc. However, the author does not possess an OpenGL | |
73 | license from SGI, and makes no claim that Mesa is in any way a | |
74 | compatible replacement for OpenGL or associated with SGI. | |
75 | ||
76 | This package contains libGL which implements OpenGL 1.5 and GLX 1.4 | |
77 | specifications. It uses DRI for rendering. | |
78 | ||
79 | %description libGL -l pl.UTF-8 | |
80 | Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do | |
81 | tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z | |
82 | autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji | |
83 | OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem | |
84 | OpenGL ani powiązana z SGI. | |
85 | ||
86 | Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 1.5 oraz | |
87 | GLX 1.4. Używa DRI do renderowania. | |
88 | ||
89 | %package libGL-devel | |
90 | Summary: Header files for Mesa3D libGL library | |
91 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libGL z projektu Mesa3D | |
92 | License: MIT | |
93 | Group: X11/Development/Libraries | |
94 | # loose dependency on libGL to use with other libGL binaries | |
95 | Requires: OpenGL >= 1.5 | |
96 | Requires: xorg-lib-libX11-devel | |
97 | Provides: OpenGL-devel = 2.1 | |
98 | Provides: OpenGL-GLX-devel = 1.4 | |
99 | Obsoletes: Mesa-devel | |
100 | Obsoletes: X11-OpenGL-devel < 1:7.0.0 | |
101 | Obsoletes: X11-OpenGL-devel-base < 1:7.0.0 | |
102 | Obsoletes: XFree86-OpenGL-devel < 1:7.0.0 | |
103 | Obsoletes: XFree86-OpenGL-devel-base < 1:7.0.0 | |
104 | ||
105 | %description libGL-devel | |
106 | Header files for Mesa3D libGL library. | |
107 | ||
108 | %description libGL-devel -l pl.UTF-8 | |
109 | Pliki nagłówkowe biblioteki libGL z projektu Mesa3D. | |
110 | ||
111 | %package libGL-static | |
112 | Summary: Static Mesa3D libGL library | |
113 | Summary(pl.UTF-8): Statyczna biblioteka libGL z projektu Mesa3D | |
114 | License: MIT | |
115 | Group: X11/Development/Libraries | |
116 | Requires: %{name}-libGL-devel = %{version}-%{release} | |
117 | Provides: OpenGL-static = 2.1 | |
118 | Obsoletes: Mesa-static | |
119 | Obsoletes: X11-OpenGL-static < 1:7.0.0 | |
120 | Obsoletes: XFree86-OpenGL-static < 1:7.0.0 | |
121 | ||
122 | %description libGL-static | |
123 | Static Mesa3D libGL library. It uses software renderer. | |
124 | ||
125 | %description libGL-static -l pl.UTF-8 | |
126 | Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego | |
127 | renderingu. | |
128 | ||
129 | %package libGLU | |
130 | Summary: SGI implementation of libGLU OpenGL library | |
131 | Summary(pl.UTF-8): Implementacja SGI biblioteki libGLU ze standardu OpenGL | |
132 | License: SGI Free Software License B v1.1 | |
133 | Group: Libraries | |
134 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
135 | Requires: OpenGL >= 1.2 | |
136 | Provides: OpenGL-GLU = 1.3 | |
137 | Obsoletes: Mesa-devel | |
138 | Obsoletes: X11-OpenGL-libs < 1:7.0.0 | |
139 | Obsoletes: XFree86-OpenGL-libs < 1:7.0.0 | |
140 | ||
141 | %description libGLU | |
142 | SGI implementation of libGLU OpenGL library. It implements OpenGL GLU | |
143 | 1.3 specifications. | |
144 | ||
145 | %description libGLU -l pl.UTF-8 | |
146 | Implementacja SGI biblioteki libGLU ze standardu OpenGL. Implementuje | |
147 | specyfikację OpenGL GLU 1.3. | |
148 | ||
149 | %package libGLU-devel | |
150 | Summary: Header files for SGI libGLU library | |
151 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLU | |
152 | License: SGI Free Software License B v1.1 | |
153 | Group: Development/Libraries | |
154 | Requires: %{name}-libGLU = %{version}-%{release} | |
155 | Requires: OpenGL-devel >= 1.2 | |
156 | Requires: libstdc++-devel | |
157 | Provides: OpenGL-GLU-devel = 1.3 | |
158 | ||
159 | %description libGLU-devel | |
160 | Header files for SGI libGLU library. | |
161 | ||
162 | %description libGLU-devel -l pl.UTF-8 | |
163 | Pliki nagłówkowe biblioteki SGI libGLU. | |
164 | ||
165 | %package libGLU-static | |
166 | Summary: Static SGI libGLU library | |
167 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLU | |
168 | License: SGI Free Software License B v1.1 | |
169 | Group: Development/Libraries | |
170 | Requires: %{name}-libGLU-devel = %{version}-%{release} | |
171 | Provides: OpenGL-GLU-static = 1.3 | |
172 | ||
173 | %description libGLU-static | |
174 | Static SGI libGLU library. | |
175 | ||
176 | %description libGLU-static -l pl.UTF-8 | |
177 | Statyczna biblioteka SGI libGLU. | |
178 | ||
179 | %package libGLw | |
180 | Summary: SGI OpenGL Xt widgets library | |
181 | Summary(pl.UTF-8): Biblioteka SGI widgetów Xt dla OpenGL-a | |
182 | License: SGI MIT-like | |
183 | Group: Libraries | |
184 | # loose dependency on libGL.so.1 to use with other libGL binaries | |
185 | Requires: OpenGL >= 1.1 | |
186 | Provides: OpenGL-GLw | |
187 | ||
188 | %description libGLw | |
189 | SGI OpenGL Xt widgets library. | |
190 | ||
191 | %description libGLU -l pl.UTF-8 | |
192 | Biblioteka SGI widgetów Xt dla OpenGL-a. | |
193 | ||
194 | %package libGLw-devel | |
195 | Summary: Header files for SGI libGLw library | |
196 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SGI libGLw | |
197 | License: SGI Free Software License B v1.1 | |
198 | Group: Development/Libraries | |
199 | Requires: %{name}-libGLw = %{version}-%{release} | |
200 | Requires: OpenGL-devel >= 1.2 | |
201 | Provides: OpenGL-GLw-devel | |
202 | ||
203 | %description libGLw-devel | |
204 | Header files for SGI libGLw library. | |
205 | ||
206 | %description libGLw-devel -l pl.UTF-8 | |
207 | Pliki nagłówkowe biblioteki SGI libGLw. | |
208 | ||
209 | %package libGLw-static | |
210 | Summary: Static SGI libGLw library | |
211 | Summary(pl.UTF-8): Statyczna biblioteka SGI libGLw | |
212 | License: SGI Free Software License B v1.1 | |
213 | Group: Development/Libraries | |
214 | Requires: %{name}-libGLw-devel = %{version}-%{release} | |
215 | Provides: OpenGL-GLw-static | |
216 | ||
217 | %description libGLw-static | |
218 | Static SGI libGLw library. | |
219 | ||
220 | %description libGLw-static -l pl.UTF-8 | |
221 | Statyczna biblioteka SGI libGLw. | |
222 | ||
223 | %package utils | |
224 | Summary: OpenGL utilities from Mesa3D | |
225 | Summary(pl.UTF-8): Programy narzędziowe OpenGL z projektu Mesa3D | |
226 | Group: X11/Applications/Graphics | |
227 | # loose deps on libGL/libGLU | |
228 | ||
229 | %description utils | |
230 | OpenGL utilities from Mesa3D: glxgears and glxinfo. | |
231 | ||
232 | %description utils -l pl.UTF-8 | |
233 | Programy narzędziowe OpenGL z projektu Mesa3D: glxgears i glxinfo. | |
234 | ||
235 | %package demos | |
236 | Summary: Mesa Demos | |
237 | Summary(pl.UTF-8): Programy demonstrujące możliwości bibliotek Mesa | |
238 | Group: Development/Libraries | |
239 | Requires: OpenGL-devel | |
240 | ||
241 | %description demos | |
242 | Demonstration programs for the Mesa libraries. | |
243 | ||
244 | %description demos -l pl.UTF-8 | |
245 | Programy demonstracyjne dla bibliotek Mesa. | |
246 | ||
247 | %package dri-driver-ati-mach64 | |
248 | Summary: X.org DRI drivers | |
249 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
250 | Group: X11/Libraries | |
251 | Requires: xorg-driver-video-ati | |
252 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
253 | Requires: xorg-xserver-server | |
254 | ||
255 | %description dri-driver-ati-mach64 | |
256 | X.org DRI drivers for ATI mach64 card family. | |
257 | ||
258 | %description dri-driver-ati-mach64 -l pl.UTF-8 | |
259 | Sterowniki X.org DRI dla rodziny kart ATI mach64. | |
260 | ||
261 | %package dri-driver-ati-radeon-R100 | |
262 | Summary: X.org DRI drivers | |
263 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
264 | Group: X11/Libraries | |
265 | Requires: xorg-driver-video-ati | |
266 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
267 | Requires: xorg-xserver-server | |
268 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 | |
269 | ||
270 | %description dri-driver-ati-radeon-R100 | |
271 | X.org DRI drivers for ATI R100 card family (Radeon 7000-7500). | |
272 | ||
273 | %description dri-driver-ati-radeon-R100 -l pl.UTF-8 | |
274 | Sterowniki X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500). | |
275 | ||
276 | %package dri-driver-ati-radeon-R200 | |
277 | Summary: X.org DRI drivers | |
278 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
279 | Group: X11/Libraries | |
280 | Requires: xorg-driver-video-ati | |
281 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
282 | Requires: xorg-xserver-server | |
283 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 | |
284 | ||
285 | %description dri-driver-ati-radeon-R200 | |
286 | X.org DRI drivers for ATI R200 card family (Radeon 8500-92xx) | |
287 | ||
288 | %description dri-driver-ati-radeon-R200 -l pl.UTF-8 | |
289 | Sterowniki X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx). | |
290 | ||
291 | %package dri-driver-ati-radeon-R300 | |
292 | Summary: X.org DRI drivers | |
293 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
294 | Group: X11/Libraries | |
295 | Requires: xorg-driver-video-ati | |
296 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
297 | Requires: xorg-xserver-server | |
298 | Obsoletes: X11-driver-radeon-dri < 1:7.0.0 | |
299 | ||
300 | %description dri-driver-ati-radeon-R300 | |
301 | X.org DRI drivers for ATI R300 card family. | |
302 | ||
303 | %description dri-driver-ati-radeon-R300 -l pl.UTF-8 | |
304 | Sterowniki X.org DRI dla rodziny kart ATI R300. | |
305 | ||
306 | %package dri-driver-ati-rage128 | |
307 | Summary: X.org DRI drivers | |
308 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
309 | Group: X11/Libraries | |
310 | Requires: xorg-driver-video-ati | |
311 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
312 | Requires: xorg-xserver-server | |
313 | Obsoletes: X11-driver-r128-dri < 1:7.0.0 | |
314 | ||
315 | %description dri-driver-ati-rage128 | |
316 | X.org DRI drivers for ATI rage128 card family. | |
317 | ||
318 | %description dri-driver-ati-rage128 -l pl.UTF-8 | |
319 | Sterowniki X.org DRI dla rodziny kart ATI rage128. | |
320 | ||
321 | %package dri-driver-ffb | |
322 | Summary: X.org DRI drivers | |
323 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
324 | Group: X11/Libraries | |
325 | Requires: xorg-driver-video-sunffb | |
326 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
327 | Requires: xorg-xserver-server | |
328 | ||
329 | %description dri-driver-ffb | |
330 | X.org DRI drivers for SUN Creator3D and Elite3D card family. | |
331 | ||
332 | %description dri-driver-ffb -l pl.UTF-8 | |
333 | Sterowniki X.org DRI dla rodziny kart SUN Creator3D and Elite3D. | |
334 | ||
335 | %package dri-driver-glint | |
336 | Summary: X.org DRI drivers | |
337 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
338 | Group: X11/Libraries | |
339 | Requires: xorg-driver-video-glint | |
340 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
341 | Requires: xorg-xserver-server | |
342 | Obsoletes: X11-driver-glint-dri < 1:7.0.0 | |
343 | ||
344 | %description dri-driver-glint | |
345 | X.org DRI drivers for GLINT/Permedia card family. | |
346 | ||
347 | %description dri-driver-glint -l pl.UTF-8 | |
348 | Sterowniki X.org DRI dla rodziny kart GLINT/Permedia. | |
349 | ||
350 | %package dri-driver-intel-i810 | |
351 | Summary: X.org DRI drivers | |
352 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
353 | Group: X11/Libraries | |
354 | Requires: xorg-driver-video-i810 | |
355 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
356 | Requires: xorg-xserver-server | |
357 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 | |
358 | ||
359 | %description dri-driver-intel-i810 | |
360 | X.org DRI drivers for Intel i810 card family. | |
361 | ||
362 | %description dri-driver-intel-i810 -l pl.UTF-8 | |
363 | Sterowniki X.org DRI dla rodziny kart i810. | |
364 | ||
365 | %package dri-driver-intel-i915 | |
366 | Summary: X.org DRI drivers | |
367 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
368 | Group: X11/Libraries | |
369 | Requires: xorg-driver-video-i810 | |
370 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
371 | Requires: xorg-xserver-server | |
372 | Obsoletes: Mesa-dri-driver-intel-i830 | |
373 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 | |
374 | ||
375 | %description dri-driver-intel-i915 | |
376 | X.org DRI drivers for Intel i915 card family. | |
377 | ||
378 | %description dri-driver-intel-i915 -l pl.UTF-8 | |
379 | Sterowniki X.org DRI dla rodziny kart i915. | |
380 | ||
381 | %package dri-driver-intel-i965 | |
382 | Summary: X.org DRI drivers | |
383 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
384 | Group: X11/Libraries | |
385 | Requires: xorg-driver-video-i810 | |
386 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
387 | Requires: xorg-xserver-server | |
388 | Obsoletes: Mesa-dri-driver-intel-i830 | |
389 | Obsoletes: Mesa-dri-driver-intel-i915 | |
390 | Obsoletes: X11-driver-i810-dri < 1:7.0.0 | |
391 | ||
392 | %description dri-driver-intel-i965 | |
393 | X.org DRI drivers for Intel i965 card family. | |
394 | ||
395 | %description dri-driver-intel-i965 -l pl.UTF-8 | |
396 | Sterowniki X.org DRI dla rodziny kart i965. | |
397 | ||
398 | %package dri-driver-matrox | |
399 | Summary: X.org DRI drivers | |
400 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
401 | Group: X11/Libraries | |
402 | Requires: xorg-driver-video-mga | |
403 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
404 | Requires: xorg-xserver-server | |
405 | Obsoletes: X11-driver-mga-dri < 1:7.0.0 | |
406 | ||
407 | %description dri-driver-matrox | |
408 | X.org DRI drivers for Matrox G card family. | |
409 | ||
410 | %description dri-driver-matrox -l pl.UTF-8 | |
411 | Sterowniki X.org DRI dla rodziny kart Matrox G. | |
412 | ||
413 | %package dri-driver-nouveau | |
414 | Summary: X.org DRI drivers | |
415 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
416 | Group: X11/Libraries | |
417 | Requires: xorg-driver-video-nouveau | |
418 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
419 | Requires: xorg-xserver-server | |
420 | ||
421 | %description dri-driver-nouveau | |
422 | X.org DRI drivers for NVidia adapters. | |
423 | ||
424 | %description dri-driver-nouveau -l pl.UTF-8 | |
425 | Sterowniki X.org DRI dla kart NVidia. | |
426 | ||
427 | %package dri-driver-s3virge | |
428 | Summary: X.org DRI drivers | |
429 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
430 | Group: X11/Libraries | |
431 | Requires: xorg-driver-video-s3virge | |
432 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
433 | Requires: xorg-xserver-server | |
434 | ||
435 | %description dri-driver-s3virge | |
436 | X.org DRI drivers for S3 Virge card family. | |
437 | ||
438 | %description dri-driver-s3virge -l pl.UTF-8 | |
439 | Sterowniki X.org DRI dla rodziny kart S3 Virge. | |
440 | ||
441 | %package dri-driver-savage | |
442 | Summary: X.org DRI drivers | |
443 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
444 | Group: X11/Libraries | |
445 | Requires: xorg-driver-video-savage | |
446 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
447 | Requires: xorg-xserver-server | |
448 | ||
449 | %description dri-driver-savage | |
450 | X.org DRI drivers for S3 Savage card family. | |
451 | ||
452 | %description dri-driver-savage -l pl.UTF-8 | |
453 | Sterowniki X.org DRI dla rodziny kart S3 Savage. | |
454 | ||
455 | %package dri-driver-sis | |
456 | Summary: X.org DRI drivers | |
457 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
458 | Group: X11/Libraries | |
459 | Requires: xorg-driver-video-sis | |
460 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
461 | Requires: xorg-xserver-server | |
462 | Obsoletes: X11-driver-sis-dri < 1:7.0.0 | |
463 | ||
464 | %description dri-driver-sis | |
465 | X.org DRI drivers for SiS card family. | |
466 | ||
467 | %description dri-driver-sis -l pl.UTF-8 | |
468 | Sterowniki X.org DRI dla rodziny kart SiS. | |
469 | ||
470 | %package dri-driver-tdfx | |
471 | Summary: X.org DRI drivers | |
472 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
473 | Group: X11/Libraries | |
474 | Requires: Glide3-DRI | |
475 | Requires: xorg-driver-video-tdfx | |
476 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
477 | Requires: xorg-xserver-server | |
478 | Obsoletes: X11-driver-tdfx-dri < 1:7.0.0 | |
479 | ||
480 | %description dri-driver-tdfx | |
481 | X.org DRI drivers for 3DFX Voodoo card family (Voodoo 3,4,5, Banshee | |
482 | and Velocity 100/200). | |
483 | ||
484 | %description dri-driver-tdfx -l pl.UTF-8 | |
485 | Sterowniki X.org DRI dla rodziny kart 3DFX Voodoo. (Voodoo 3,4,5, | |
486 | Banshee and Velocity 100/200). | |
487 | ||
488 | %package dri-driver-trident | |
489 | Summary: X.org DRI drivers | |
490 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
491 | Group: X11/Libraries | |
492 | Requires: xorg-driver-video-trident | |
493 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
494 | Requires: xorg-xserver-server | |
495 | ||
496 | %description dri-driver-trident | |
497 | X.org DRI drivers for Trident card family. | |
498 | ||
499 | %description dri-driver-trident -l pl.UTF-8 | |
500 | Sterowniki X.org DRI dla rodziny kart Trident. | |
501 | ||
502 | %package dri-driver-via-unichrome | |
503 | Summary: X.org DRI drivers | |
504 | Summary(pl.UTF-8): Sterowniki DRI dla X.org | |
505 | Group: X11/Libraries | |
506 | Requires: xorg-driver-video-via | |
507 | Requires: xorg-xserver-libglx(glapi) = %{version} | |
508 | Requires: xorg-xserver-server | |
509 | ||
510 | %description dri-driver-via-unichrome | |
511 | X.org DRI drivers for VIA Unichrome card family. | |
512 | ||
513 | %description dri-driver-via-unichrome -l pl.UTF-8 | |
514 | Sterowniki X.org DRI dla rodziny kart VIA Unichrome. | |
515 | ||
516 | %prep | |
517 | %setup -q -b1 | |
518 | %patch0 -p0 | |
519 | ||
520 | # until new libdrm release | |
521 | cp %{SOURCE2} src/mesa/drivers/dri/nouveau | |
522 | ||
523 | # fix demos | |
524 | find progs -type f|xargs sed -i -e "s,\.\./images/,%{_examplesdir}/%{name}-%{version}/images/,g" | |
525 | ||
526 | sed -i -e 's/ ffb$/ ffb nouveau/' configs/linux-dri | |
527 | ||
528 | %ifnarch sparc sparcv9 sparc64 | |
529 | # for sunffb driver - useful on sparc only | |
530 | sed -i -e 's/ ffb / /' configs/linux-dri | |
531 | %endif | |
532 | ||
533 | %ifnarch %{ix86} %{x8664} | |
534 | # sis needs write-memory barrier | |
535 | sed -i -e 's/ sis / /' configs/linux-dri | |
536 | %endif | |
537 | ||
538 | %build | |
539 | %ifarch %{ix86} | |
540 | targ=-x86 | |
541 | %else | |
542 | targ="" | |
543 | %endif | |
544 | ||
545 | %{__make} linux${targ}-static \ | |
546 | CC="%{__cc}" \ | |
547 | CXX="%{__cxx}" \ | |
548 | OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \ | |
549 | XLIB_DIR=%{_libdir} \ | |
550 | GLW_SOURCES="GLwDrawA.c%{?with_motif: GLwMDrawA.c}" \ | |
551 | SRC_DIRS="mesa glu glw" \ | |
552 | PROGRAM_DIRS= | |
553 | mv -f lib lib-static | |
554 | %{__make} realclean | |
555 | ||
556 | %{__make} linux-dri${targ} \ | |
557 | CC="%{__cc}" \ | |
558 | CXX="%{__cxx}" \ | |
559 | MKDEP=makedepend \ | |
560 | OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \ | |
561 | XLIB_DIR=%{_libdir} \ | |
562 | DRI_DRIVER_SEARCH_DIR=%{_libdir}/xorg/modules/dri \ | |
563 | SRC_DIRS="glx/x11 mesa glu glw" \ | |
564 | PROGRAM_DIRS= | |
565 | ||
566 | %{__make} -C progs/xdemos \ | |
567 | CC="%{__cc}" \ | |
568 | CXX="%{__cxx}" \ | |
569 | OPT_FLAGS="%{rpmcflags}" \ | |
570 | XLIB_DIR=%{_libdir} \ | |
571 | PROGS="glxgears" \ | |
572 | APP_LIB_DEPS="-L../../lib -lGL" | |
573 | ||
574 | %{__make} -C progs/xdemos \ | |
575 | CC="%{__cc}" \ | |
576 | CXX="%{__cxx}" \ | |
577 | OPT_FLAGS="%{rpmcflags}" \ | |
578 | XLIB_DIR=%{_libdir} \ | |
579 | PROGS="glxinfo" \ | |
580 | APP_LIB_DEPS="-L../../lib -lGL -L../../lib-dri -lGLU" | |
581 | ||
582 | mv -f lib lib-dri | |
583 | %{__make} clean \ | |
584 | MKDEP=makedepend | |
585 | %{__make} realclean | |
586 | ||
587 | %{__make} linux${targ} \ | |
588 | CC="%{__cc}" \ | |
589 | CXX="%{__cxx}" \ | |
590 | OPT_FLAGS="%{rpmcflags} -fno-strict-aliasing" \ | |
591 | XLIB_DIR=%{_libdir} \ | |
592 | SRC_DIRS="mesa" \ | |
593 | PROGRAM_DIRS= | |
594 | ||
595 | %install | |
596 | rm -rf $RPM_BUILD_ROOT | |
597 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}/GL,%{_examplesdir}/%{name}-%{version}} | |
598 | install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri | |
599 | ||
600 | cp -df lib-static/lib* $RPM_BUILD_ROOT%{_libdir} | |
601 | cp -df lib-dri/lib* $RPM_BUILD_ROOT%{_libdir} | |
602 | cp -df lib/libOSMesa* $RPM_BUILD_ROOT%{_libdir} | |
603 | cp -rf include/GL/{gl[!u]*,glu.h,glu_*,osmesa.h,xmesa*} src/glw/GLw*.h $RPM_BUILD_ROOT%{_includedir}/GL | |
604 | cp -df lib-dri/*_dri.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/dri | |
605 | ||
606 | # keep for -bi --short-circuit | |
607 | cp -a progs progs.org | |
608 | install progs/xdemos/{glxgears,glxinfo} $RPM_BUILD_ROOT%{_bindir} | |
609 | for l in demos redbook samples xdemos ; do | |
610 | %{__make} -C progs/$l clean | |
611 | done | |
612 | for l in demos redbook samples util xdemos images ; do | |
613 | cp -Rf progs/$l $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$l | |
614 | done | |
615 | rm -rf progs && mv -f progs.org progs | |
616 | rm -rf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/*/{.deps,CVS,Makefile.{BeOS*,win,cygnus,DJ,dja}} | |
617 | ||
618 | %clean | |
619 | rm -rf $RPM_BUILD_ROOT | |
620 | ||
621 | %post libGL -p /sbin/ldconfig | |
622 | %postun libGL -p /sbin/ldconfig | |
623 | ||
624 | %post libGLU -p /sbin/ldconfig | |
625 | %postun libGLU -p /sbin/ldconfig | |
626 | ||
627 | %post libGLw -p /sbin/ldconfig | |
628 | %postun libGLw -p /sbin/ldconfig | |
629 | ||
630 | %files libGL | |
631 | %defattr(644,root,root,755) | |
632 | %doc docs/{*.html,README.{3DFX,GGI,MITS,QUAKE,THREADS},RELNOTES*} | |
633 | %attr(755,root,root) %{_libdir}/libGL.so.* | |
634 | %attr(755,root,root) %{_libdir}/libOSMesa.so.* | |
635 | # symlink for binary apps which fail to conform Linux OpenGL ABI | |
636 | # (and dlopen libGL.so instead of libGL.so.1) | |
637 | %attr(755,root,root) %{_libdir}/libGL.so | |
638 | ||
639 | %files libGL-devel | |
640 | %defattr(644,root,root,755) | |
641 | %doc docs/*.spec | |
642 | %attr(755,root,root) %{_libdir}/libOSMesa.so | |
643 | %dir %{_includedir}/GL | |
644 | %{_includedir}/GL/gl.h | |
645 | %{_includedir}/GL/glext.h | |
646 | %{_includedir}/GL/glfbdev.h | |
647 | %{_includedir}/GL/gl_mangle.h | |
648 | %{_includedir}/GL/glx.h | |
649 | %{_includedir}/GL/glxext.h | |
650 | %{_includedir}/GL/glx_mangle.h | |
651 | %{_includedir}/GL/osmesa.h | |
652 | %{_includedir}/GL/xmesa.h | |
653 | %{_includedir}/GL/xmesa_x.h | |
654 | %{_includedir}/GL/xmesa_xf86.h | |
655 | ||
656 | %files libGL-static | |
657 | %defattr(644,root,root,755) | |
658 | %{_libdir}/libGL.a | |
659 | %{_libdir}/libOSMesa.a | |
660 | ||
661 | %files libGLU | |
662 | %defattr(644,root,root,755) | |
663 | %attr(755,root,root) %{_libdir}/libGLU.so.* | |
664 | ||
665 | %files libGLU-devel | |
666 | %defattr(644,root,root,755) | |
667 | %attr(755,root,root) %{_libdir}/libGLU.so | |
668 | %{_includedir}/GL/glu.h | |
669 | %{_includedir}/GL/glu_mangle.h | |
670 | ||
671 | %files libGLU-static | |
672 | %defattr(644,root,root,755) | |
673 | %{_libdir}/libGLU.a | |
674 | ||
675 | %files libGLw | |
676 | %defattr(644,root,root,755) | |
677 | %attr(755,root,root) %{_libdir}/libGLw.so.* | |
678 | ||
679 | %files libGLw-devel | |
680 | %defattr(644,root,root,755) | |
681 | %attr(755,root,root) %{_libdir}/libGLw.so | |
682 | %{_includedir}/GL/GLwDrawA.h | |
683 | %{_includedir}/GL/GLwDrawAP.h | |
684 | %{_includedir}/GL/GLwMDrawA.h | |
685 | %{_includedir}/GL/GLwMDrawAP.h | |
686 | ||
687 | %files libGLw-static | |
688 | %defattr(644,root,root,755) | |
689 | %{_libdir}/libGLw.a | |
690 | ||
691 | %files utils | |
692 | %defattr(644,root,root,755) | |
693 | %attr(755,root,root) %{_bindir}/glxgears | |
694 | %attr(755,root,root) %{_bindir}/glxinfo | |
695 | ||
696 | %files dri-driver-ati-mach64 | |
697 | %defattr(644,root,root,755) | |
698 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mach64_dri.so | |
699 | ||
700 | %files dri-driver-ati-radeon-R100 | |
701 | %defattr(644,root,root,755) | |
702 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so | |
703 | ||
704 | %files dri-driver-ati-radeon-R200 | |
705 | %defattr(644,root,root,755) | |
706 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so | |
707 | ||
708 | %files dri-driver-ati-radeon-R300 | |
709 | %defattr(644,root,root,755) | |
710 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so | |
711 | ||
712 | %files dri-driver-ati-rage128 | |
713 | %defattr(644,root,root,755) | |
714 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/r128_dri.so | |
715 | ||
716 | # sunffb (sparc only) | |
717 | %ifarch sparc sparcv9 sparc64 | |
718 | %files dri-driver-ffb | |
719 | %defattr(644,root,root,755) | |
720 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/ffb_dri.so | |
721 | %endif | |
722 | ||
723 | # glint (requires update) | |
724 | %if 0 | |
725 | %files dri-driver-glint | |
726 | %defattr(644,root,root,755) | |
727 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/gamma_dri.so | |
728 | %endif | |
729 | ||
730 | %files dri-driver-intel-i810 | |
731 | %defattr(644,root,root,755) | |
732 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i810_dri.so | |
733 | ||
734 | %files dri-driver-intel-i915 | |
735 | %defattr(644,root,root,755) | |
736 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so | |
737 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915tex_dri.so | |
738 | ||
739 | %files dri-driver-intel-i965 | |
740 | %defattr(644,root,root,755) | |
741 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so | |
742 | ||
743 | %files dri-driver-matrox | |
744 | %defattr(644,root,root,755) | |
745 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/mga_dri.so | |
746 | ||
747 | %files dri-driver-nouveau | |
748 | %defattr(644,root,root,755) | |
749 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so | |
750 | ||
751 | %files dri-driver-s3virge | |
752 | %defattr(644,root,root,755) | |
753 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/s3v_dri.so | |
754 | ||
755 | %files dri-driver-savage | |
756 | %defattr(644,root,root,755) | |
757 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/savage_dri.so | |
758 | ||
759 | %ifarch %{ix86} %{x8664} | |
760 | %files dri-driver-sis | |
761 | %defattr(644,root,root,755) | |
762 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/sis_dri.so | |
763 | %endif | |
764 | ||
765 | %files dri-driver-tdfx | |
766 | %defattr(644,root,root,755) | |
767 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/tdfx_dri.so | |
768 | ||
769 | %files dri-driver-trident | |
770 | %defattr(644,root,root,755) | |
771 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/trident_dri.so | |
772 | ||
773 | %files dri-driver-via-unichrome | |
774 | %defattr(644,root,root,755) | |
775 | %attr(755,root,root) %{_libdir}/xorg/modules/dri/unichrome_dri.so | |
776 | ||
777 | %files demos | |
778 | %defattr(644,root,root,755) | |
779 | %{_examplesdir}/%{name}-%{version} |