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