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

  ViewVC Help
Powered by ViewVC 1.1.26