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