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