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