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