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