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

  ViewVC Help
Powered by ViewVC 1.1.26