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