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