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