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