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