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