/[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 1172771 - (show annotations) (download)
Thu Oct 19 14:43:21 2017 UTC (21 months ago) by tv
File size: 20873 byte(s)
new release
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 17.1
16
17 %define opengl_ver 4.5
18
19 # define version, RC & release
20 %define main_version 17.2.3
21 #define relc 5
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 %endif
103 %define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}
104
105 Name: mesa
106 Version: %{main_version}
107 Release: %{release}
108 Summary: OpenGL %{opengl_ver} compatible 3D graphics library
109 Group: System/Libraries
110
111 # temp force new gcc
112 BuildRequires: gcc >= 5.4.0-2
113
114 BuildRequires: pkgconfig(xfixes) >= 4.0.3
115 BuildRequires: pkgconfig(xshmfence)
116 BuildRequires: pkgconfig(xt) >= 1.0.5
117 BuildRequires: pkgconfig(xmu) >= 1.0.3
118 BuildRequires: pkgconfig(x11) >= 1.3.3
119 BuildRequires: pkgconfig(xdamage) >= 1.1.1
120 BuildRequires: pkgconfig(expat) >= 2.0.1
121 BuildRequires: gccmakedep
122 BuildRequires: x11-proto-devel >= 7.3
123 BuildRequires: pkgconfig(libdrm) >= 2.4.60
124 BuildRequires: pkgconfig(xcb-dri3)
125 BuildRequires: pkgconfig(xcb-present) >= 1.11
126 BuildRequires: pkgconfig(xext) >= 1.1.1
127 BuildRequires: pkgconfig(xxf86vm) >= 1.1.0
128 BuildRequires: pkgconfig(xi) >= 1.3
129 BuildRequires: pkgconfig(talloc)
130 BuildRequires: libxml2-python
131 BuildRequires: python-mako
132 BuildRequires: makedepend
133 BuildRequires: bison
134 BuildRequires: flex
135 BuildRequires: pkgconfig(libelf)
136 BuildRequires: llvm-devel >= 3.9.1-5
137 BuildRequires: pkgconfig(libudev)
138 BuildRequires: pkgconfig(libva)
139 BuildRequires: pkgconfig(vdpau)
140 BuildRequires: wayland-devel
141 %if %{enable_vulkan}
142 BuildRequires: libgcrypt-devel
143 %endif
144 BuildRequires: pkgconfig(wayland-protocols) >= 1.8
145
146 URL: http://www.mesa3d.org
147 %if %{git}
148 #Source0: %{name}-%{git}.tar.bz2
149 # (blino) snapshot of 13.0 branch
150 Source0: %{name}-%{git_branch}-%{git}.tar.xz
151 %else
152 Source0: https://mesa.freedesktop.org/archive/mesa-%{main_version}%{?relc:-rc%{relc}}.tar.xz
153 %endif
154 Source3: make-git-snapshot.sh
155
156 # Instructions to setup your repository clone
157 # git://git.freedesktop.org/git/mesa/mesa
158 # git checkout mesa_7_5_branch
159 # git branch mdv-cherry-picks
160 # git am ../02??-*.patch
161 # git branch mdv-redhat
162 # git am ../03??-*.patch
163 # git branch mdv-patches
164 # git am ../09??-*.patch
165 # In order to update to the branch via patches, issue this command:
166 # git format-patch --start-number 100 mesa_7_5_1..mesa_7_5_branch | sed 's/^0\([0-9]\+\)-/Patch\1: 0\1-/'
167
168 # Cherry picks
169 # git format-patch --start-number 200 mesa_7_5_branch..mdv-cherry-picks
170
171 # Patches "liberated" from Fedora:
172 # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/
173 # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat
174
175 # Patches from ChromiumOS
176 # http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD
177
178 # Mageia/Mandriva patches
179 # git format-patch --start-number 900 mdv-redhat..mdv-patches
180
181 #------------------------------------------------------------------------------
182
183 # package mesa
184 License: MIT
185 Requires: %{libglname} = %{version}-%{release}
186 Provides: hackMesa = %{version}
187 Obsoletes: hackMesa <= %{version}
188 Provides: Mesa = %{version}
189 Obsoletes: Mesa < %{version}
190
191 %package -n %{libglname}
192 Summary: Files for Mesa (GL and GLX libs)
193 Group: System/Libraries
194 Obsoletes: %{oldlibglname} < 6.4
195 Provides: %{oldlibglname} = %{version}-%{release}
196 Provides: %{libglname_virt} = %{version}-%{release}
197 Requires: %{dridrivers} >= %{version}-%{release}
198 %if %{build_plf}
199 Requires: %mklibname txc-dxtn
200 %endif
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 %if %{build_plf}
402
403 This package is in the "tainted" section because it enables some
404 OpenGL extentions that are covered by software patents.
405 %endif
406
407 %description common-devel
408 Mesa common metapackage devel
409
410 %description -n %{libeglname}
411 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
412 EGL parts.
413
414 %description -n %{libeglname}-devel
415 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
416 EGL development parts.
417
418 %description -n %{libglname}
419 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
420 GL and GLX parts.
421
422 %if %{build_plf}
423 This package is in the "tainted" section because it enables some
424 OpenGL extentions that are covered by software patents.
425 %endif
426
427 %description -n %{dridrivers}
428 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
429 DRI drivers.
430
431 %description -n %{libglname}-devel
432 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
433
434 This package contains the headers needed to compile Mesa programs.
435
436 %description -n %{libglesv1name}
437 OpenGL ES is a low-level, lightweight API for advanced embedded graphics using
438 well-defined subset profiles of OpenGL.
439
440 This package provides the OpenGL ES library version 1.
441
442 %description -n %{libosmesaname}
443 Mesa offscreen rendering libraries for rendering OpenGL into
444 application-allocated blocks of memory.
445
446 %description -n %{osmesadevel}
447 This package contains the headers needed to compile programs against
448 the Mesa offscreen rendering library.
449
450 %description -n %{libglapiname}
451 This packages provides the glapi shared library used by gallium.
452
453 %description -n %{libglapiname}-devel
454 This package contains the headers needed to compile programes against glapi shared library.
455
456 %description -n %{libglesv1name}-devel
457 This package contains the headers needed to compile OpenGL ES 1 programs.
458
459 %description -n %{libd3dname}
460 Mesa Direct3D9 state tracker.
461
462 %description -n %{libd3dname}-devel
463 Mesa Direct3D9 state tracker development package.
464
465 %description -n %{libglesv2name}
466 OpenGL ES is a low-level, lightweight API for advanced embedded graphics using
467 well-defined subset profiles of OpenGL.
468
469 This package provides the OpenGL ES library version 2.
470
471 %description -n %{libglesv2name}-devel
472 This package contains the headers needed to compile OpenGL ES 2 programs.
473
474 %description -n %{libgbmname}
475 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
476 GBM (Graphics Buffer Manager) parts.
477
478 %description -n %{libgbmname}-devel
479 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
480 GBM (Graphics Buffer Manager) development parts.
481
482 %description -n %{libwaylandeglname}
483 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
484 Wayland EGL platform parts.
485
486 %description -n %{libwaylandeglname}-devel
487 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
488 Wayland EGL platform development parts.
489
490 %description -n %{libxaname}
491 This packages provides the xa shared library used by gallium.
492
493 %description -n %{libxaname}-devel
494 This package contains the headers needed to compile programes against xa shared library.
495
496 %description -n %{_lib}vdpau-driver-nouveau
497 This packages provides a VPDAU plugin to enable video acceleration
498 with the nouveau driver.
499
500 %description -n %{_lib}vdpau-driver-r300
501 This packages provides a VPDAU plugin to enable video acceleration
502 with the r300 driver.
503
504 %description -n %{_lib}vdpau-driver-r600
505 This packages provides a VPDAU plugin to enable video acceleration
506 with the r600 driver.
507
508 %description -n %{_lib}vdpau-driver-radeonsi
509 This packages provides a VPDAU plugin to enable video acceleration
510 with the radeonsi driver.
511
512 %if %{enable_vulkan}
513 %description -n %{libvulkanname}_intel
514 This package contains the Vulkan parts for Mesa's Intel driver.
515
516 %description -n %{libvulkanname}_radeon
517 This package contains the Vulkan parts for Mesa's Radeon driver.
518
519 %description -n %{libvulkanname}-devel
520 This package contains the development files for Mesa's Vulkan implementation.
521 %endif
522
523 #------------------------------------------------------------------------------
524
525 %prep
526 %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1
527
528 %build
529 # (re)generate auto* generated files using our autotools and libtoolize
530 autoreconf -vfi
531
532 # for bin/test-driver:
533 automake --add-missing
534
535 %configure2_5x \
536 %if %{enable_vulkan}
537 --with-vulkan-drivers=intel,radeon \
538 %endif
539 --enable-gallium-osmesa \
540 --with-dri-driverdir=%{_libdir}/dri \
541 --enable-egl \
542 --enable-gles1 \
543 --enable-gles2 \
544 --disable-xvmc \
545 --enable-vdpau \
546 --enable-va \
547 --with-platforms=x11,wayland,drm \
548 --enable-shared-glapi \
549 --enable-gbm \
550 --enable-glx \
551 --enable-glx-tls \
552 %if %{build_plf}
553 --enable-texture-float=yes \
554 %endif
555 --enable-llvm \
556 --enable-dri \
557 --enable-xa \
558 --enable-nine \
559 --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \
560 %{?dri_drivers}
561 # end of configure options
562
563
564 %make
565
566 %install
567 %make_install
568
569 # FIXME: strip will likely break the hardlink
570 # (blino) hardlink libGL files in %{_libdir}/mesa
571 # to prevent proprietary driver installers from removing them
572 mkdir -p $RPM_BUILD_ROOT%{_libdir}/mesa
573 pushd $RPM_BUILD_ROOT%{_libdir}/mesa
574 for l in ../libGL.so.*; do cp -a $l .; done
575 popd
576
577 %ifarch %{x86_64}
578 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/dri
579 %endif
580
581 # libvdpau opens the versioned name, don't bother including the unversioned
582 rm -f %{buildroot}%{_libdir}/vdpau/*.so
583
584 # strip out useless headers
585 rm -f %{buildroot}%{_includedir}/GL/w*.h
586
587 # remove .la files
588 find %{buildroot} -name '*.la' -delete
589
590 #------------------------------------------------------------------------------
591
592 %files
593 %config(noreplace) %{_sysconfdir}/drirc
594
595 %files -n %{dridrivers}
596 %dir %{_libdir}/dri
597 %{_libdir}/dri/*_dri.so
598 %{_libdir}/dri/*_drv*.so
599
600 %files -n %{libglname}
601 %{_libdir}/libGL.so.*
602 %dir %{_libdir}/mesa
603 %{_libdir}/mesa/libGL.so.%{glmajor}{,.*}
604
605 %files -n %{libeglname}
606 %{_libdir}/libEGL.so.%{eglmajor}{,.*}
607
608 %files -n %{libosmesaname}
609 %{_libdir}/libOSMesa.so.%{osmesamajor}{,.*}
610
611 %files -n %{libglapiname}
612 %{_libdir}/libglapi.so.%{glapimajor}{,.*}
613
614 %files -n %{libglesv1name}
615 %{_libdir}/libGLESv1_CM.so.%{glesv1major}{,.*}
616
617 %files -n %{libd3dname}
618 %{_libdir}/d3d/*.so.*
619
620 %files -n %{libglesv2name}
621 %{_libdir}/libGLESv2.so.%{glesv2major}{,.*}
622
623 %files -n %{libgbmname}
624 %{_libdir}/libgbm.so.%{gbmmajor}
625 %{_libdir}/libgbm.so.%{gbmmajor}.*
626
627 %files -n %{libwaylandeglname}
628 %{_libdir}/libwayland-egl.so.%{waylandeglmajor}
629 %{_libdir}/libwayland-egl.so.%{waylandeglmajor}.*
630
631 %files -n %{libxaname}
632 %{_libdir}/libxatracker.so.%{xamajor}{,.*}
633
634 %files -n %{libglname}-devel
635 %dir %{_includedir}/GL
636 %{_includedir}/GL/gl.h
637 %{_includedir}/GL/gl_mangle.h
638 %{_includedir}/GL/glext.h
639 %{_includedir}/GL/glx.h
640 %{_includedir}/GL/glx_mangle.h
641 %{_includedir}/GL/glxext.h
642 %{_includedir}/GL/glcorearb.h
643 %dir %{_includedir}/GL/internal
644 %{_includedir}/GL/internal/dri_interface.h
645 %{_libdir}/pkgconfig/dri.pc
646 %{_libdir}/libGL.so
647 %{_libdir}/pkgconfig/gl.pc
648
649 %files common-devel
650
651 %files -n %{libeglname}-devel
652 %{_includedir}/EGL
653 %{_includedir}/KHR
654 %{_libdir}/libEGL.so
655 %{_libdir}/pkgconfig/egl.pc
656
657 %files -n %{osmesadevel}
658 %dir %{_includedir}/GL
659 %{_includedir}/GL/osmesa.h
660 %{_libdir}/libOSMesa.so
661 %{_libdir}/pkgconfig/osmesa.pc
662
663 %files -n %{libglapiname}-devel
664 %{_libdir}/libglapi.so
665
666 %files -n %{libglesv1name}-devel
667 %{_includedir}/GLES
668 %{_libdir}/libGLESv1_CM.so
669 %{_libdir}/pkgconfig/glesv1_cm.pc
670
671 %files -n %{libglesv2name}-devel
672 %{_includedir}/GLES2
673 %{_includedir}/GLES3
674 %{_libdir}/libGLESv2.so
675 %{_libdir}/pkgconfig/glesv2.pc
676
677 %files -n %{libd3dname}-devel
678 %{_includedir}/d3dadapter
679 %{_libdir}/d3d/*.so
680 %{_libdir}/pkgconfig/d3d.pc
681
682 %files -n %{libgbmname}-devel
683 %{_libdir}/libgbm.so
684 %{_includedir}/gbm.h
685 %{_libdir}/pkgconfig/gbm.pc
686
687 %files -n %{libwaylandeglname}-devel
688 %{_libdir}/libwayland-egl.so
689 %{_libdir}/pkgconfig/wayland-egl.pc
690
691 %files -n %{libxaname}-devel
692 %{_libdir}/libxatracker.so
693 %{_includedir}/xa_tracker.h
694 %{_includedir}/xa_composite.h
695 %{_includedir}/xa_context.h
696 %{_libdir}/pkgconfig/xatracker.pc
697
698 %files -n %{_lib}vdpau-driver-nouveau
699 %{_libdir}/vdpau/libvdpau_nouveau.so.*
700
701 %files -n %{_lib}vdpau-driver-r300
702 %{_libdir}/vdpau/libvdpau_r300.so.*
703
704 %files -n %{_lib}vdpau-driver-r600
705 %{_libdir}/vdpau/libvdpau_r600.so.*
706
707 %files -n %{_lib}vdpau-driver-radeonsi
708 %{_libdir}/vdpau/libvdpau_radeonsi.so.*
709
710 %if %{enable_vulkan}
711 %files -n %{libvulkanname}_intel
712 %dir %{_datadir}/vulkan
713 %dir %{_datadir}/vulkan/icd.d
714 %{_datadir}/vulkan/icd.d/intel_icd*.json
715 # (akien) No lib major?
716 %{_libdir}/libvulkan_intel.so
717
718 %files -n %{libvulkanname}_radeon
719 %dir %{_datadir}/vulkan
720 %dir %{_datadir}/vulkan/icd.d
721 %{_datadir}/vulkan/icd.d/radeon_icd*.json
722 # (akien) No lib major?
723 %{_libdir}/libvulkan_radeon.so
724
725 %files -n %{libvulkanname}-devel
726 %{_includedir}/vulkan/
727 %endif

  ViewVC Help
Powered by ViewVC 1.1.26