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