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

  ViewVC Help
Powered by ViewVC 1.1.26