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