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