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