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