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