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