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