/[packages]/cauldron/mesa/current/SPECS/mesa.spec
ViewVC logotype

Contents of /cauldron/mesa/current/SPECS/mesa.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1464648 - (show annotations) (download)
Thu Dec 5 18:22:35 2019 UTC (34 hours, 53 minutes ago) by tmb
File size: 21071 byte(s)
update to 19.3.0-rc6
1 # https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e
2 %define git 0
3 %define git_branch 19.3
4
5 %define opengl_ver 4.5
6
7 # define version, RC & release
8 %define main_version 19.3.0
9 %define relc 6
10 %define rel 1
11
12 %define release %mkrel %{?relc:0.rc%{relc}.}%{rel}
13
14 %if %{git}
15 %if %{?relc:1}%{!?relc:0}
16 %define release %mkrel 1~rc%{relc}.1.git%{git}.%{rel}
17 %else
18 %define release 1.git%{git}.%{rel}
19 %endif
20 %endif
21
22 %define makedepend %{_bindir}/gccmakedep
23
24 %define clname mesaopencl
25 %define d3dname d3d
26 %define eglname mesaegl
27 %define glname mesagl
28 %define glwname mesaglw
29 %define glesv1name mesaglesv1
30 %define glesv2name mesaglesv2
31 %define glapiname glapi
32 %define gbmname gbm
33 %define xaname xatracker
34 %define vulkanname mesavulkan
35
36 %define clmajor 1
37 %define d3dmajor 1
38 %define eglmajor 1
39 %define glmajor 1
40 %define glwmajor 1
41 %define glesv1major 1
42 %define glesv2major 2
43 %define glapimajor 0
44 %define gbmmajor 1
45 %define waylandeglmajor 1
46 %define osmesamajor 8
47 %define xamajor 2
48
49 %define libclname %mklibname %{clname} %{clmajor}
50 %define libd3dname %mklibname %{d3dname} %{d3dmajor}
51 %define libeglname %mklibname %{eglname} %{eglmajor}
52 %define libglname %mklibname %{glname} %{glmajor}
53 %define libglwname %mklibname %{glwname} %{glwmajor}
54 %define libglesv1name %mklibname %{glesv1name}_ %{glesv1major}
55 %define libglesv2name %mklibname %{glesv2name}_ %{glesv2major}
56 %define libglapiname %mklibname %{glapiname} %{glapimajor}
57 %define libgbmname %mklibname %{gbmname} %{gbmmajor}
58 %define libwaylandeglname %mklibname %{waylandeglname} %{waylandeglmajor}
59 %define libosmesaname %mklibname osmesa %{osmesamajor}
60 %define libxaname %mklibname %{xaname} %{xamajor}
61
62 %define dridrivers %mklibname dri-drivers
63
64 %define vulkandrivers %mklibname %{vulkanname}-drivers
65 %define vulkandevel %mklibname %{vulkanname} -d
66
67 %define libcldevel %mklibname mesaopencl -d
68 %define khrdevel %mklibname mesakhr -d
69 %define osmesadevel %mklibname osmesa -d
70
71 # Architecture-independent Virtual provides:
72 %define libd3dname_virt lib%{d3dname}
73 %define libeglname_virt lib%{eglname}
74 %define libglname_virt lib%{glname}
75 %define libglwname_virt lib%{glwname}
76 %define libglesv1name_virt lib%{glesv1name}
77 %define libglesv2name_virt lib%{glesv2name}
78 %define libglapiname_virt lib%{glapiname}
79 %define libgbmname_virt lib%{gbmname}
80 %define libwaylandeglname_virt lib%{waylandeglname}
81 %define libxaname_virt lib%{xaname}
82
83 %define mesasrcdir %{_prefix}/src/Mesa/
84
85 %define with_valgrind 1
86
87 %define with_vaapi 1
88
89 %global with_hardware 1
90 %global with_vdpau 1
91 %global with_vaapi 1
92 %global with_nine 1
93 %global with_omx 1
94 %global with_opencl 1
95 %global base_drivers nouveau,r100,r200
96
97 %ifarch %{ix86} x86_64
98 %global platform_drivers ,i915,i965
99 %global with_iris 1
100 %global with_vmware 1
101 %global with_xa 1
102 %global vulkan_drivers intel,amd
103 %else
104 %global vulkan_drivers amd
105 %endif
106
107 %ifarch %{arm} aarch64
108 %global with_etnaviv 1
109 %global with_freedreno 1
110 %global with_kmsro 1
111 %global with_tegra 1
112 %global with_vc4 1
113 %global with_xa 1
114 %endif
115
116 %ifnarch %{arm}
117 %global with_radeonsi 1
118 %endif
119
120 %global dri_drivers %{?base_drivers}%{?platform_drivers}
121
122 Name: mesa
123 Version: %{main_version}
124 Release: %{release}
125 Summary: OpenGL %{opengl_ver} compatible 3D graphics library
126 Group: System/Libraries
127
128 # temp force new gcc
129 BuildRequires: gcc >= 8.3.1-0.20190920.1
130
131 BuildRequires: pkgconfig(xfixes) >= 4.0.3
132 BuildRequires: pkgconfig(xshmfence)
133 BuildRequires: pkgconfig(xt) >= 1.0.5
134 BuildRequires: pkgconfig(xmu) >= 1.0.3
135 BuildRequires: pkgconfig(x11) >= 1.3.3
136 BuildRequires: pkgconfig(xdamage) >= 1.1.1
137 BuildRequires: pkgconfig(expat) >= 2.0.1
138 BuildRequires: gccmakedep
139 BuildRequires: x11-proto-devel >= 7.3
140 BuildRequires: pkgconfig(libdrm) >= 2.4.91
141 BuildRequires: pkgconfig(xcb-dri3)
142 BuildRequires: pkgconfig(xcb-present) >= 1.11
143 BuildRequires: pkgconfig(xext) >= 1.1.1
144 BuildRequires: pkgconfig(xxf86vm) >= 1.1.0
145 BuildRequires: pkgconfig(xi) >= 1.3
146 BuildRequires: pkgconfig(xrandr)
147 %if 0%{?with_omx}
148 BuildRequires: pkgconfig(libomxil-bellagio)
149 %endif
150 %if 0%{?with_opencl}
151 BuildRequires: clang-devel
152 BuildRequires: pkgconfig(libclc)
153 %endif
154 BuildRequires: pkgconfig(talloc)
155 %if %mgaversion < 8
156 BuildRequires: python2-libxml2
157 BuildRequires: python2-mako
158 %endif
159 BuildRequires: python3-libxml2
160 BuildRequires: python3-mako
161 BuildRequires: makedepend
162 BuildRequires: bison
163 BuildRequires: flex
164 BuildRequires: meson
165 BuildRequires: pkgconfig(libelf)
166 BuildRequires: llvm-devel >= 8.0
167 BuildRequires: pkgconfig(libudev)
168 %if 0%{?with_valgrind}
169 BuildRequires: pkgconfig(valgrind)
170 %endif
171 %if 0%{?with_vaapi}
172 BuildRequires: pkgconfig(libva)
173 %endif
174 BuildRequires: pkgconfig(vdpau)
175 BuildRequires: pkgconfig(wayland-client)
176 BuildRequires: pkgconfig(wayland-server)
177 BuildRequires: pkgconfig(wayland-protocols)
178 BuildRequires: libgcrypt-devel
179 BuildRequires: pkgconfig(wayland-protocols) >= 1.8
180 BuildRequires: lm_sensors-devel
181
182 URL: https://www.mesa3d.org
183 %if %{git}
184 #Source0: %{name}-%{git}.tar.bz2
185 # (blino) snapshot of 13.0 branch
186 Source0: %{name}-%{git_branch}-%{git}.tar.xz
187 %else
188 Source0: https://mesa.freedesktop.org/archive/mesa-%{main_version}%{?relc:-rc%{relc}}.tar.xz
189 %endif
190 Source3: make-git-snapshot.sh
191
192 # mesa staging/19.2 branch from 1
193
194 # mesa master branch from 200
195
196 # mesa pending fixes from 300
197
198 #------------------------------------------------------------------------------
199
200 # package mesa
201 License: MIT
202 Requires: %{libglname} = %{version}-%{release}
203 Recommends: %{vulkandrivers} = %{version}-%{release}
204 Provides: hackMesa = %{version}
205 Obsoletes: hackMesa <= %{version}
206 Provides: Mesa = %{version}
207 Obsoletes: Mesa < %{version}
208
209 %package -n %{libglname}
210 Summary: Files for Mesa (GL and GLX libs)
211 Group: System/Libraries
212 Provides: %{libglname_virt} = %{version}-%{release}
213 Requires: %{dridrivers} >= %{version}-%{release}
214
215 %package -n %{dridrivers}
216 Summary: Mesa DRI drivers
217 Group: System/Libraries
218 # do not require exact release to avoid conflicts when having
219 # x86_64 dri drivers from tainted and i586 dri drivers from core
220 Requires: mesa = %{version}
221
222 %if 0%{?with_omx}
223 %package omx-drivers
224 Summary: Mesa-based OMX drivers
225 %endif
226
227 %package -n %{libd3dname}
228 Summary: Mesa Direct3D9 state tracker
229 Group: System/Libraries
230 Provides: %{libd3dname_virt} = %{version}-%{release}
231
232 %package -n %{libd3dname}-devel
233 Summary: Development files for Mesa Direct3D9 state tracker
234 Group: Development/C
235 Requires: %{libd3dname} = %{version}-%{release}
236 Provides: lib%{d3dname}-devel
237 Provides: %{d3dname}-devel
238 Provides: libd3d-devel
239
240 %package -n %{libglname}-devel
241 Summary: Development files for Mesa (OpenGL compatible 3D lib)
242 Group: Development/C
243 Requires: %{libglname} = %{version}-%{release}
244 Requires: %{khrdevel} = %{version}-%{release}
245 Provides: lib%{glname}-devel = %{version}-%{release}
246 Provides: %{glname}-devel = %{version}-%{release}
247 Provides: GL-devel
248 Provides: libMesaGL-devel = %{version}-%{release}
249 Provides: MesaGL-devel = %{version}-%{release}
250 Provides: libgl-devel
251
252 %package -n %{libeglname}
253 Summary: Files for Mesa (EGL libs)
254 Group: System/Libraries
255 Provides: %{libeglname_virt} = %{version}-%{release}
256
257 %package -n %{libeglname}-devel
258 Summary: Development files for Mesa (EGL libs)
259 Group: Development/C
260 Requires: %{libeglname} = %{version}-%{release}
261 Requires: %{khrdevel} = %{version}-%{release}
262 Provides: EGL-devel
263 Provides: lib%{eglname}-devel
264 Provides: %{eglname}-devel
265 Provides: libegl-devel
266
267 %package -n %{khrdevel}
268 Summary: Mesa Khronos development headers
269 Group: Development/C
270 Provides: mesakhr-devel = %{version}-%{release}
271
272 # ease upgrade mga6 -> mga7 (mga#25625)
273 Conflicts: %{_lib}mesaegl1-devel < 17.3.9-2
274
275 %package -n %{libosmesaname}
276 Summary: Mesa offscreen rendering library
277 Group: System/Libraries
278
279 %package -n %{osmesadevel}
280 Summary: Development files for libosmesa
281 Group: Development/C
282 Requires: %{libosmesaname} = %{version}-%{release}
283 Provides: osmesa-devel = %{version}-%{release}
284
285 %package -n %{libglapiname}
286 Summary: Files for mesa (glapi libs)
287 Group: System/Libraries
288 Provides: %{libglapiname_virt} = %{version}-%{release}
289
290 %package -n %{libglapiname}-devel
291 Summary: Development files for glapi libs
292 Group: Development/C
293 Requires: %{libglapiname_virt} = %{version}-%{release}
294 Provides: lib%{glapiname}-devel
295 Provides: %{libglapiname}-devel
296
297 %if 0%{?with_opencl}
298 %package -n %libclname
299 Summary: Mesa OpenCL runtime library
300 #Requires: libclc%{?_isa}
301 #Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
302
303 %package -n %libcldevel
304 Summary: Mesa OpenCL development package
305 Requires: %libclname%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
306 %endif
307
308
309 %package -n %{libglesv1name}
310 Summary: Files for Mesa (glesv1 libs)
311 Group: System/Libraries
312 Provides: %{libglesv1name_virt} = %{version}-%{release}
313
314 %package -n %{libglesv1name}-devel
315 Summary: Development files for glesv1 libs
316 Group: Development/C
317 Requires: %{libglesv1name} = %{version}-%{release}
318 Requires: %{khrdevel} = %{version}-%{release}
319 Provides: lib%{glesv1name}-devel
320 Provides: %{glesv1name}-devel
321 Provides: libglesv1-devel
322
323 %package -n %{libglesv2name}
324 Summary: Files for Mesa (glesv2 libs)
325 Group: System/Libraries
326 Provides: %{libglesv2name_virt} = %{version}-%{release}
327
328 %package -n %{libglesv2name}-devel
329 Summary: Development files for glesv2 libs
330 Group: Development/C
331 Requires: %{libglesv2name} = %{version}-%{release}
332 Requires: %{khrdevel} = %{version}-%{release}
333 Provides: lib%{glesv2name}-devel
334 Provides: %{glesv2name}-devel
335 Provides: libglesv2-devel
336
337 %package -n %{libgbmname}
338 Summary: Files for Mesa (gbm libs)
339 Group: System/Libraries
340 Provides: %{libgbmname_virt} = %{version}-%{release}
341
342 %package -n %{libgbmname}-devel
343 Summary: Development files for Mesa (gbm libs)
344 Group: Development/C
345 Requires: %{libgbmname} = %{version}-%{release}
346 Provides: lib%{gbmname}-devel
347 Provides: %{gbmname}-devel
348
349 %package -n %{_lib}vdpau-driver-nouveau
350 Summary: VDPAU plugin for nouveau driver
351 Group: System/Libraries
352 # temporary:
353 %rename vdpau-driver-nouveau
354
355 %package -n %{_lib}vdpau-driver-r300
356 Summary: VDPAU plugin for r300 driver
357 Group: System/Libraries
358 # temporary:
359 %rename vdpau-driver-r300
360
361 %package -n %{_lib}vdpau-driver-r600
362 Summary: VDPAU plugin for r600 driver
363 Group: System/Libraries
364 # temporary:
365 %rename vdpau-driver-r600
366
367 %package -n %{_lib}vdpau-driver-radeonsi
368 Summary: VDPAU plugin for radeonsi driver
369 Group: System/Libraries
370 # temporary:
371 %rename vdpau-driver-radeonsi
372
373 %package -n %{libxaname}
374 Summary: Files for Mesa XA state tracker
375 Group: System/Libraries
376 Provides: %{libxaname_virt} = %{version}-%{release}
377
378 %package -n %{libxaname}-devel
379 Summary: Development files for XA libs
380 Group: Development/C
381 Requires: %{libxaname_virt} = %{version}-%{release}
382 Provides: lib%{xaname}-devel
383 Provides: %{libxaname}-devel
384
385 %package -n %{vulkandrivers}
386 Summary: Mesa Vulkan driver for Intel and Radeon GPUs
387 Group: System/Libraries
388 %ifarch %{ix86} x86_64
389 Obsoletes: %{_lib}vulkan_intel < 18.3.0-4
390 Provides: %{_lib}vulkan_intel = %{version}-%{release}
391 %endif
392 Obsoletes: %{_lib}vulkan_radeon < 18.3.0-4
393 Provides: %{_lib}vulkan_radeon = %{version}-%{release}
394
395 %package -n %{vulkandevel}
396 Summary: Mesa's Vulkan development files for Intel and Radeon drivers
397 Group: Development/C
398 Requires: %{vulkandrivers} = %{version}-%{release}
399 Obsoletes: %{_lib}vulkan-devel < 0:18.3.0-4
400 Provides: %{vulkanname}-devel = %{version}-%{release}
401
402 %package common-devel
403 Summary: Meta package for mesa devel
404 Group: Development/C
405 Provides: Mesa-common-devel = %{version}-%{release}
406 Provides: hackMesa-common-devel = %{version}
407 Obsoletes: Mesa-common-devel < %{version}
408 Obsoletes: hackMesa-common-devel < %{version}
409 Requires: %{libglname}-devel = %{version}
410 Requires: mesaglu-devel
411 Requires: freeglut-devel
412 Requires: %{libeglname}-devel = %{version}
413 Requires: %{libglesv1name}-devel = %{version}
414 Requires: %{libglesv2name}-devel = %{version}
415
416 #------------------------------------------------------------------------------
417
418 %description
419 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
420
421 %description common-devel
422 Mesa common metapackage devel
423
424 %description -n %{libeglname}
425 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
426 EGL parts.
427
428 %description -n %{libeglname}-devel
429 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
430 EGL development parts.
431
432 %description -n %{libglname}
433 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
434 GL and GLX parts.
435
436 %description -n %{dridrivers}
437 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
438 DRI drivers.
439
440 %if 0%{?with_omx}
441 %description omx-drivers
442 Mesa-based OMX drivers
443 %endif
444
445 %description -n %{libglname}-devel
446 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
447
448 This package contains the headers needed to compile Mesa programs.
449
450 %description -n %{libglesv1name}
451 OpenGL ES is a low-level, lightweight API for advanced embedded graphics using
452 well-defined subset profiles of OpenGL.
453
454 This package provides the OpenGL ES library version 1.
455
456 %description -n %{khrdevel}
457 Mesa Khronos development headers.
458
459 %description -n %{libosmesaname}
460 Mesa offscreen rendering libraries for rendering OpenGL into
461 application-allocated blocks of memory.
462
463 %description -n %{osmesadevel}
464 This package contains the headers needed to compile programs against
465 the Mesa offscreen rendering library.
466
467 %description -n %{libglapiname}
468 This packages provides the glapi shared library used by gallium.
469
470 %description -n %{libglapiname}-devel
471 This package contains the headers needed to compile programes against glapi shared library.
472
473 %if 0%{?with_opencl}
474 %description -n %libclname
475 Mesa OpenCL runtime library
476
477 %description -n %libcldevel
478 Mesa OpenCL development package
479 %endif
480
481 %description -n %{libglesv1name}-devel
482 This package contains the headers needed to compile OpenGL ES 1 programs.
483
484 %description -n %{libd3dname}
485 Mesa Direct3D9 state tracker.
486
487 %description -n %{libd3dname}-devel
488 Mesa Direct3D9 state tracker development package.
489
490 %description -n %{libglesv2name}
491 OpenGL ES is a low-level, lightweight API for advanced embedded graphics using
492 well-defined subset profiles of OpenGL.
493
494 This package provides the OpenGL ES library version 2.
495
496 %description -n %{libglesv2name}-devel
497 This package contains the headers needed to compile OpenGL ES 2 programs.
498
499 %description -n %{libgbmname}
500 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
501 GBM (Graphics Buffer Manager) parts.
502
503 %description -n %{libgbmname}-devel
504 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
505 GBM (Graphics Buffer Manager) development parts.
506
507 %description -n %{libxaname}
508 This packages provides the xa shared library used by gallium.
509
510 %description -n %{libxaname}-devel
511 This package contains the headers needed to compile programes against xa shared library.
512
513 %description -n %{_lib}vdpau-driver-nouveau
514 This packages provides a VPDAU plugin to enable video acceleration
515 with the nouveau driver.
516
517 %description -n %{_lib}vdpau-driver-r300
518 This packages provides a VPDAU plugin to enable video acceleration
519 with the r300 driver.
520
521 %description -n %{_lib}vdpau-driver-r600
522 This packages provides a VPDAU plugin to enable video acceleration
523 with the r600 driver.
524
525 %description -n %{_lib}vdpau-driver-radeonsi
526 This packages provides a VPDAU plugin to enable video acceleration
527 with the radeonsi driver.
528
529 %description -n %{vulkandrivers}
530 This package contains the Vulkan parts for Mesa's Intel and Radeon drivers.
531
532 %description -n %{vulkandevel}
533 This package contains the development files for Mesa's Vulkan implementation.
534
535 #------------------------------------------------------------------------------
536
537 %prep
538 %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1
539
540 %build
541 %meson -Dcpp_std=gnu++11 \
542 -Dplatforms=x11,wayland,drm,surfaceless \
543 -Ddri3=true \
544 -Ddri-drivers=%{?dri_drivers} \
545 %if 0%{?with_hardware}
546 -Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro} \
547 %else
548 -Dgallium-drivers=swrast,virgl \
549 %endif
550 -Dgallium-vdpau=%{?with_vdpau:true}%{!?with_vdpau:false} \
551 -Dgallium-xvmc=false \
552 -Dgallium-omx=%{?with_omx:bellagio}%{!?with_omx:disabled} \
553 -Dgallium-va=%{?with_vaapi:true}%{!?with_vaapi:false} \
554 -Dgallium-xa=%{?with_xa:true}%{!?with_xa:false} \
555 -Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
556 -Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \
557 -Dvulkan-drivers=%{?vulkan_drivers} \
558 -Dshared-glapi=true \
559 -Dgles1=true \
560 -Dgles2=true \
561 -Dopengl=true \
562 -Dgbm=true \
563 -Dglx=dri \
564 -Degl=true \
565 -Dasm=%{?with_asm:true}%{!?with_asm:false} \
566 -Dllvm=true \
567 -Dshared-llvm=true \
568 -Dvalgrind=%{?with_valgrind:true}%{!?with_valgrind:false} \
569 -Dbuild-tests=false \
570 -Dselinux=false \
571 -Dosmesa=gallium \
572 -Dgallium-extra-hud=true \
573 -Dlmsensors=true \
574 %{nil}
575 %meson_build
576
577 %install
578 %meson_install
579
580 # FIXME: strip will likely break the hardlink
581 # (blino) hardlink libGL files in %{_libdir}/mesa
582 # to prevent proprietary driver installers from removing them
583 mkdir -p $RPM_BUILD_ROOT%{_libdir}/mesa
584 pushd $RPM_BUILD_ROOT%{_libdir}/mesa
585 for l in ../libGL.so.*; do cp -a $l .; done
586 popd
587
588 %ifarch %{x86_64}
589 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/dri
590 %endif
591
592 # libvdpau opens the versioned name, don't bother including the unversioned
593 rm -f %{buildroot}%{_libdir}/vdpau/*.so
594
595 # strip out useless headers
596 rm -f %{buildroot}%{_includedir}/GL/w*.h
597
598 # remove .la files
599 find %{buildroot} -name '*.la' -delete
600
601 %ifnarch %{ix86} x86_64
602 # To have something to package for mesavulkan-devel on arm/aarch64 for now
603 mkdir %{buildroot}%{_includedir}/vulkan
604 %endif
605
606 #------------------------------------------------------------------------------
607
608 %files
609 /usr/share/drirc.d/
610
611 %files -n %{dridrivers}
612 %dir %{_libdir}/dri
613 %{_libdir}/dri/*_dri.so
614 %{_libdir}/dri/*_drv*.so
615 %if 0%{?with_hardware}
616 %dir %{_libdir}/gallium-pipe
617 %{_libdir}/gallium-pipe/*.so
618 %endif
619
620 %if 0%{?with_omx}
621 %files omx-drivers
622 %{_libdir}/bellagio/libomx_mesa.so
623 %endif
624
625 %if 0%{?with_opencl}
626 %files -n %libclname
627 %{_libdir}/libMesaOpenCL.so.*
628 %{_sysconfdir}/OpenCL/vendors/mesa.icd
629
630 %files -n %libcldevel
631 %{_libdir}/libMesaOpenCL.so
632 %endif
633
634 %files -n %{libglname}
635 %{_libdir}/libGL.so.*
636 %dir %{_libdir}/mesa
637 %{_libdir}/mesa/libGL.so.%{glmajor}{,.*}
638
639 %files -n %{libeglname}
640 %{_libdir}/libEGL.so.%{eglmajor}{,.*}
641
642 %files -n %{libosmesaname}
643 %{_libdir}/libOSMesa.so.%{osmesamajor}{,.*}
644
645 %files -n %{libglapiname}
646 %{_libdir}/libglapi.so.%{glapimajor}{,.*}
647
648 %files -n %{libglesv1name}
649 %{_libdir}/libGLESv1_CM.so.%{glesv1major}{,.*}
650
651 %files -n %{libd3dname}
652 %{_libdir}/d3d/*.so.*
653
654 %files -n %{libglesv2name}
655 %{_libdir}/libGLESv2.so.%{glesv2major}{,.*}
656
657 %files -n %{libgbmname}
658 %{_libdir}/libgbm.so.%{gbmmajor}
659 %{_libdir}/libgbm.so.%{gbmmajor}.*
660
661 %files -n %{libxaname}
662 %{_libdir}/libxatracker.so.%{xamajor}{,.*}
663
664 %files -n %{libglname}-devel
665 %dir %{_includedir}/GL
666 %{_includedir}/GL/gl.h
667 %{_includedir}/GL/glext.h
668 %{_includedir}/GL/glx.h
669 %{_includedir}/GL/glxext.h
670 %{_includedir}/GL/glcorearb.h
671 %dir %{_includedir}/GL/internal
672 %{_includedir}/GL/internal/dri_interface.h
673 %{_libdir}/pkgconfig/dri.pc
674 %{_libdir}/libGL.so
675 %{_libdir}/pkgconfig/gl.pc
676
677 %files common-devel
678
679 %files -n %{libeglname}-devel
680 %{_includedir}/EGL
681 %{_libdir}/libEGL.so
682 %{_libdir}/pkgconfig/egl.pc
683
684 %files -n %{khrdevel}
685 %{_includedir}/KHR
686
687 %files -n %{osmesadevel}
688 %dir %{_includedir}/GL
689 %{_includedir}/GL/osmesa.h
690 %{_libdir}/libOSMesa.so
691 %{_libdir}/pkgconfig/osmesa.pc
692
693 %files -n %{libglapiname}-devel
694 %{_libdir}/libglapi.so
695
696 %files -n %{libglesv1name}-devel
697 %{_includedir}/GLES
698 %{_libdir}/libGLESv1_CM.so
699 %{_libdir}/pkgconfig/glesv1_cm.pc
700
701 %files -n %{libglesv2name}-devel
702 %{_includedir}/GLES2
703 %{_includedir}/GLES3
704 %{_libdir}/libGLESv2.so
705 %{_libdir}/pkgconfig/glesv2.pc
706
707 %files -n %{libd3dname}-devel
708 %{_includedir}/d3dadapter
709 %{_libdir}/d3d/*.so
710 %{_libdir}/pkgconfig/d3d.pc
711
712 %files -n %{libgbmname}-devel
713 %{_libdir}/libgbm.so
714 %{_includedir}/gbm.h
715 %{_libdir}/pkgconfig/gbm.pc
716
717 %files -n %{libxaname}-devel
718 %{_libdir}/libxatracker.so
719 %{_includedir}/xa_tracker.h
720 %{_includedir}/xa_composite.h
721 %{_includedir}/xa_context.h
722 %{_libdir}/pkgconfig/xatracker.pc
723
724 %files -n %{_lib}vdpau-driver-nouveau
725 %{_libdir}/vdpau/libvdpau_nouveau.so.*
726
727 %files -n %{_lib}vdpau-driver-r300
728 %{_libdir}/vdpau/libvdpau_r300.so.*
729
730 %if 0%{?with_radeonsi}
731 %files -n %{_lib}vdpau-driver-r600
732 %{_libdir}/vdpau/libvdpau_r600.so.*
733
734 %files -n %{_lib}vdpau-driver-radeonsi
735 %{_libdir}/vdpau/libvdpau_radeonsi.so.*
736 %endif
737
738 %files -n %{vulkandrivers}
739 %dir %{_datadir}/vulkan
740 %dir %{_datadir}/vulkan/icd.d
741 %ifarch %{ix86} x86_64
742 %{_datadir}/vulkan/icd.d/intel_icd*.json
743 %{_libdir}/libvulkan_intel.so
744 %endif
745 %{_datadir}/vulkan/icd.d/radeon_icd*.json
746 %{_libdir}/libvulkan_radeon.so
747
748 %files -n %{vulkandevel}
749 %dir %{_includedir}/vulkan
750 %ifarch %{ix86} x86_64
751 %{_includedir}/vulkan/vulkan_intel.h
752 %endif

  ViewVC Help
Powered by ViewVC 1.1.26