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