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