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

  ViewVC Help
Powered by ViewVC 1.1.26