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