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