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

  ViewVC Help
Powered by ViewVC 1.1.26