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