/[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 1216966 - (show annotations) (download)
Tue Apr 10 08:31:09 2018 UTC (16 months, 2 weeks ago) by neoclust
File size: 21031 byte(s)
Enable arm drivers
1 %bcond_with wayland
2
3 # (cg) Cheater...
4 %define Werror_cflags %nil
5
6 # (aco) Needed for the dri drivers
7 %define _disable_ld_no_undefined 1
8
9 # https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e
10 %define git 0
11 %define git_branch 18.0
12
13 %define opengl_ver 4.5
14
15 # define version, RC & release
16 %define main_version 18.0.0
17 #define relc 5
18 %define rel 3
19
20 %define release %mkrel %{?relc:0.rc%{relc}.}%{rel}
21
22 %if %{git}
23 %if %{?relc:1}%{!?relc:0}
24 %define release %mkrel 1~rc%{relc}.1.git%{git}.%{rel}
25 %else
26 %define release 1.git%{git}.%{rel}
27 %endif
28 %endif
29
30 %define makedepend %{_bindir}/gccmakedep
31
32 %define d3dname d3d
33 %define eglname mesaegl
34 %define glname mesagl
35 %define glwname mesaglw
36 %define glesv1name mesaglesv1
37 %define glesv2name mesaglesv2
38 %define glapiname glapi
39 %define gbmname gbm
40 %define waylandeglname wayland-egl
41 %define xaname xatracker
42 %define vulkanname vulkan
43
44 %define d3dmajor 1
45 %define eglmajor 1
46 %define glmajor 1
47 %define glwmajor 1
48 %define glesv1major 1
49 %define glesv2major 2
50 %define glapimajor 0
51 %define gbmmajor 1
52 %define waylandeglmajor 1
53 %define osmesamajor 8
54 %define xamajor 2
55
56 %define libd3dname %mklibname %{d3dname} %{d3dmajor}
57 %define libeglname %mklibname %{eglname} %{eglmajor}
58 %define libglname %mklibname %{glname} %{glmajor}
59 %define libglwname %mklibname %{glwname} %{glwmajor}
60 %define libglesv1name %mklibname %{glesv1name}_ %{glesv1major}
61 %define libglesv2name %mklibname %{glesv2name}_ %{glesv2major}
62 %define libglapiname %mklibname %{glapiname} %{glapimajor}
63 %define libgbmname %mklibname %{gbmname} %{gbmmajor}
64 %define libwaylandeglname %mklibname %{waylandeglname} %{waylandeglmajor}
65 %define libosmesaname %mklibname osmesa %{osmesamajor}
66 %define libxaname %mklibname %{xaname} %{xamajor}
67 %define libvulkanname %mklibname %{vulkanname}
68
69 %define dridrivers %mklibname dri-drivers
70
71 %define osmesadevel %mklibname osmesa -d
72
73 # Architecture-independent Virtual provides:
74 %define libd3dname_virt lib%{d3dname}
75 %define libeglname_virt lib%{eglname}
76 %define libglname_virt lib%{glname}
77 %define libglwname_virt lib%{glwname}
78 %define libglesv1name_virt lib%{glesv1name}
79 %define libglesv2name_virt lib%{glesv2name}
80 %define libglapiname_virt lib%{glapiname}
81 %define libgbmname_virt lib%{gbmname}
82 %define libwaylandeglname_virt lib%{waylandeglname}
83 %define libxaname_virt lib%{xaname}
84
85 %define oldlibglname %mklibname MesaGL 1
86
87 %define mesasrcdir %{_prefix}/src/Mesa/
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 %define with_xa 1
101 %endif
102
103 %define base_drivers swrast,nouveau,radeon,r200
104 %ifarch %{ix86} x86_64
105 %define platform_drivers ,i915,i965
106 %define gallium_platform_drivers ,svga
107 %endif
108 %define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}
109
110 Name: mesa
111 Version: %{main_version}
112 Release: %{release}
113 Summary: OpenGL %{opengl_ver} compatible 3D graphics library
114 Group: System/Libraries
115
116 # temp force new gcc
117 BuildRequires: gcc >= 5.4.0-2
118
119 BuildRequires: pkgconfig(xfixes) >= 4.0.3
120 BuildRequires: pkgconfig(xshmfence)
121 BuildRequires: pkgconfig(xt) >= 1.0.5
122 BuildRequires: pkgconfig(xmu) >= 1.0.3
123 BuildRequires: pkgconfig(x11) >= 1.3.3
124 BuildRequires: pkgconfig(xdamage) >= 1.1.1
125 BuildRequires: pkgconfig(expat) >= 2.0.1
126 BuildRequires: gccmakedep
127 BuildRequires: x11-proto-devel >= 7.3
128 BuildRequires: pkgconfig(libdrm) >= 2.4.91
129 BuildRequires: pkgconfig(xcb-dri3)
130 BuildRequires: pkgconfig(xcb-present) >= 1.11
131 BuildRequires: pkgconfig(xext) >= 1.1.1
132 BuildRequires: pkgconfig(xxf86vm) >= 1.1.0
133 BuildRequires: pkgconfig(xi) >= 1.3
134 BuildRequires: pkgconfig(talloc)
135 BuildRequires: python3-libxml2
136 BuildRequires: python3-mako
137 BuildRequires: makedepend
138 BuildRequires: bison
139 BuildRequires: flex
140 BuildRequires: pkgconfig(libelf)
141 BuildRequires: llvm-devel >= 3.9.1-5
142 BuildRequires: pkgconfig(libudev)
143 BuildRequires: pkgconfig(libva)
144 BuildRequires: pkgconfig(vdpau)
145 %if %{with wayland}
146 BuildRequires: pkgconfig(wayland-client)
147 BuildRequires: pkgconfig(wayland-server)
148 BuildRequires: pkgconfig(wayland-protocols)
149 %endif
150 %if %{enable_vulkan}
151 BuildRequires: libgcrypt-devel
152 %endif
153 BuildRequires: pkgconfig(wayland-protocols) >= 1.8
154
155 URL: http://www.mesa3d.org
156 %if %{git}
157 #Source0: %{name}-%{git}.tar.bz2
158 # (blino) snapshot of 13.0 branch
159 Source0: %{name}-%{git_branch}-%{git}.tar.xz
160 %else
161 Source0: https://mesa.freedesktop.org/archive/mesa-%{main_version}%{?relc:-rc%{relc}}.tar.xz
162 %endif
163 Source3: make-git-snapshot.sh
164
165 # Instructions to setup your repository clone
166 # git://git.freedesktop.org/git/mesa/mesa
167 # git checkout mesa_7_5_branch
168 # git branch mdv-cherry-picks
169 # git am ../02??-*.patch
170 # git branch mdv-redhat
171 # git am ../03??-*.patch
172 # git branch mdv-patches
173 # git am ../09??-*.patch
174 # In order to update to the branch via patches, issue this command:
175 # git format-patch --start-number 100 mesa_7_5_1..mesa_7_5_branch | sed 's/^0\([0-9]\+\)-/Patch\1: 0\1-/'
176
177 # Cherry picks
178 # git format-patch --start-number 200 mesa_7_5_branch..mdv-cherry-picks
179
180 # Patches "liberated" from Fedora:
181 # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/
182 # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat
183
184 # https://cgit.freedesktop.org/~ajax/mesa/log/?h=mesa-17.2-s3tc
185
186 # Patches from ChromiumOS
187 # http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD
188
189 # Mageia/Mandriva patches
190 # git format-patch --start-number 900 mdv-redhat..mdv-patches
191
192 #------------------------------------------------------------------------------
193
194 # package mesa
195 License: MIT
196 Requires: %{libglname} = %{version}-%{release}
197 Provides: hackMesa = %{version}
198 Obsoletes: hackMesa <= %{version}
199 Provides: Mesa = %{version}
200 Obsoletes: Mesa < %{version}
201
202 %package -n %{libglname}
203 Summary: Files for Mesa (GL and GLX libs)
204 Group: System/Libraries
205 Obsoletes: %{oldlibglname} < 6.4
206 Provides: %{oldlibglname} = %{version}-%{release}
207 Provides: %{libglname_virt} = %{version}-%{release}
208 Requires: %{dridrivers} >= %{version}-%{release}
209
210 # (anssi) Forces the upgrade of x11-server-common to happen before
211 # alternatives removal, which allows x11-server-common to grab the symlink.
212 Conflicts: x11-server-common < 1.3.0.0-17
213
214 %package -n %{dridrivers}
215 Summary: Mesa DRI drivers
216 Group: System/Libraries
217 # do not require exact release to avoid conflicts when having
218 # x86_64 dri drivers from tainted and i586 dri drivers from core
219 Requires: mesa = %{version}
220 Conflicts: %{_lib}MesaGL1 < 7.7-5
221 Obsoletes: %{_lib}dri-drivers-experimental < 7.11.2-4
222 Provides: %{_lib}dri-drivers-experimental = %{version}-%{release}
223
224 %package -n %{libd3dname}
225 Summary: Mesa Direct3D9 state tracker
226 Group: System/Libraries
227 Provides: %{libd3dname_virt} = %{version}-%{release}
228
229 %package -n %{libd3dname}-devel
230 Summary: Development files for Mesa Direct3D9 state tracker
231 Group: Development/C
232 Requires: %{libd3dname} = %{version}-%{release}
233 Provides: lib%{d3dname}-devel
234 Provides: %{d3dname}-devel
235 Provides: libd3d-devel
236
237 %package -n %{libglname}-devel
238 Summary: Development files for Mesa (OpenGL compatible 3D lib)
239 Group: Development/C
240 Requires: %{libglname} = %{version}-%{release}
241 Provides: lib%{glname}-devel = %{version}-%{release}
242 Provides: %{glname}-devel = %{version}-%{release}
243 Provides: GL-devel
244 Obsoletes: %{oldlibglname}-devel < 6.4
245 Provides: %{oldlibglname}-devel = %{version}-%{release}
246 Provides: libMesaGL-devel = %{version}-%{release}
247 Provides: MesaGL-devel = %{version}-%{release}
248 Provides: libgl-devel
249
250 %package -n %{libeglname}
251 Summary: Files for Mesa (EGL libs)
252 Group: System/Libraries
253 Provides: %{libeglname_virt} = %{version}-%{release}
254
255 %package -n %{libeglname}-devel
256 Summary: Development files for Mesa (EGL libs)
257 Group: Development/C
258 Requires: %{libeglname} = %{version}-%{release}
259 Provides: EGL-devel
260 Provides: lib%{eglname}-devel
261 Provides: %{eglname}-devel
262 Provides: libegl-devel
263
264 %package -n %{libosmesaname}
265 Summary: Mesa offscreen rendering library
266 Group: System/Libraries
267
268 %package -n %{osmesadevel}
269 Summary: Development files for libosmesa
270 Group: Development/C
271 Requires: %{libosmesaname} = %{version}-%{release}
272 Provides: osmesa-devel = %{version}-%{release}
273 Conflicts: MesaGL-devel < 8.1.0-0.git20120727.3
274
275 %package -n %{libglapiname}
276 Summary: Files for mesa (glapi libs)
277 Group: System/Libraries
278 Provides: %{libglapiname_virt} = %{version}-%{release}
279
280 %package -n %{libglapiname}-devel
281 Summary: Development files for glapi libs
282 Group: Development/C
283 Requires: %{libglapiname_virt} = %{version}-%{release}
284 Provides: lib%{glapiname}-devel
285 Provides: %{libglapiname}-devel
286
287 %package -n %{libglesv1name}
288 Summary: Files for Mesa (glesv1 libs)
289 Group: System/Libraries
290 Provides: %{libglesv1name_virt} = %{version}-%{release}
291
292 %package -n %{libglesv1name}-devel
293 Summary: Development files for glesv1 libs
294 Group: Development/C
295 Requires: %{libglesv1name} = %{version}-%{release}
296 Provides: lib%{glesv1name}-devel
297 Provides: %{glesv1name}-devel
298 Provides: libglesv1-devel
299
300 %package -n %{libglesv2name}
301 Summary: Files for Mesa (glesv2 libs)
302 Group: System/Libraries
303 Provides: %{libglesv2name_virt} = %{version}-%{release}
304
305 %package -n %{libglesv2name}-devel
306 Summary: Development files for glesv2 libs
307 Group: Development/C
308 Requires: %{libglesv2name} = %{version}-%{release}
309 Requires: %{libeglname}-devel = %{version}-%{release}
310 Provides: lib%{glesv2name}-devel
311 Provides: %{glesv2name}-devel
312 Provides: libglesv2-devel
313
314 %package -n %{libgbmname}
315 Summary: Files for Mesa (gbm libs)
316 Group: System/Libraries
317 Provides: %{libgbmname_virt} = %{version}-%{release}
318
319 %package -n %{libgbmname}-devel
320 Summary: Development files for Mesa (gbm libs)
321 Group: Development/C
322 Requires: %{libgbmname} = %{version}-%{release}
323 Provides: lib%{gbmname}-devel
324 Provides: %{gbmname}-devel
325
326 %if %{with wayland}
327 %package -n %{libwaylandeglname}
328 Summary: Files for Mesa (Wayland EGL libs)
329 Group: System/Libraries
330 Provides: %{libwaylandeglname_virt} = %{version}-%{release}
331
332 %package -n %{libwaylandeglname}-devel
333 Summary: Development files for Mesa (Wayland EGL libs)
334 Group: Development/C
335 Requires: %{libwaylandeglname} = %{version}-%{release}
336 Provides: lib%{waylandeglname}-devel
337 Provides: %{waylandeglname}-devel
338 %endif
339
340 %package -n %{_lib}vdpau-driver-nouveau
341 Summary: VDPAU plugin for nouveau driver
342 Group: System/Libraries
343 # temporary:
344 %rename vdpau-driver-nouveau
345
346 %package -n %{_lib}vdpau-driver-r300
347 Summary: VDPAU plugin for r300 driver
348 Group: System/Libraries
349 # temporary:
350 %rename vdpau-driver-r300
351
352 %package -n %{_lib}vdpau-driver-r600
353 Summary: VDPAU plugin for r600 driver
354 Group: System/Libraries
355 # temporary:
356 %rename vdpau-driver-r600
357
358 %package -n %{_lib}vdpau-driver-radeonsi
359 Summary: VDPAU plugin for radeonsi driver
360 Group: System/Libraries
361 # temporary:
362 %rename vdpau-driver-radeonsi
363
364 %package -n %{libxaname}
365 Summary: Files for Mesa XA state tracker
366 Group: System/Libraries
367 Provides: %{libxaname_virt} = %{version}-%{release}
368
369 %package -n %{libxaname}-devel
370 Summary: Development files for XA libs
371 Group: Development/C
372 Requires: %{libxaname_virt} = %{version}-%{release}
373 Provides: lib%{xaname}-devel
374 Provides: %{libxaname}-devel
375
376 %if %{enable_vulkan}
377 %package -n %{libvulkanname}_intel
378 Summary: Mesa vulkan driver for Intel GPU
379 Group: System/Libraries
380
381 %package -n %{libvulkanname}_radeon
382 Summary: Mesa vulkan driver for Radeon GPU
383 Group: System/Libraries
384
385 %package -n %{libvulkanname}-devel
386 Summary: Mesa's Vulkan development files
387 Group: Development/C
388 Requires: %{libvulkanname}_intel = %{version}-%{release}
389 Provides: libvulkan-devel
390 Provides: libvulkan_intel-devel
391 %endif
392
393 %package common-devel
394 Summary: Meta package for mesa devel
395 Group: Development/C
396 Provides: Mesa-common-devel = %{version}-%{release}
397 Provides: hackMesa-common-devel = %{version}
398 Obsoletes: Mesa-common-devel < %{version}
399 Obsoletes: hackMesa-common-devel < %{version}
400 Requires: %{libglname}-devel = %{version}
401 Requires: mesaglu-devel
402 Requires: freeglut-devel
403 Requires: %{libeglname}-devel = %{version}
404 Requires: %{libglesv1name}-devel = %{version}
405 Requires: %{libglesv2name}-devel = %{version}
406
407 #------------------------------------------------------------------------------
408
409 %description
410 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
411
412 %description common-devel
413 Mesa common metapackage devel
414
415 %description -n %{libeglname}
416 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
417 EGL parts.
418
419 %description -n %{libeglname}-devel
420 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
421 EGL development parts.
422
423 %description -n %{libglname}
424 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
425 GL and GLX parts.
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 %if %{with wayland}
483 %description -n %{libwaylandeglname}
484 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
485 Wayland EGL platform parts.
486
487 %description -n %{libwaylandeglname}-devel
488 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
489 Wayland EGL platform development parts.
490 %endif
491
492 %description -n %{libxaname}
493 This packages provides the xa shared library used by gallium.
494
495 %description -n %{libxaname}-devel
496 This package contains the headers needed to compile programes against xa shared library.
497
498 %description -n %{_lib}vdpau-driver-nouveau
499 This packages provides a VPDAU plugin to enable video acceleration
500 with the nouveau driver.
501
502 %description -n %{_lib}vdpau-driver-r300
503 This packages provides a VPDAU plugin to enable video acceleration
504 with the r300 driver.
505
506 %description -n %{_lib}vdpau-driver-r600
507 This packages provides a VPDAU plugin to enable video acceleration
508 with the r600 driver.
509
510 %description -n %{_lib}vdpau-driver-radeonsi
511 This packages provides a VPDAU plugin to enable video acceleration
512 with the radeonsi driver.
513
514 %if %{enable_vulkan}
515 %description -n %{libvulkanname}_intel
516 This package contains the Vulkan parts for Mesa's Intel driver.
517
518 %description -n %{libvulkanname}_radeon
519 This package contains the Vulkan parts for Mesa's Radeon driver.
520
521 %description -n %{libvulkanname}-devel
522 This package contains the development files for Mesa's Vulkan implementation.
523 %endif
524
525 #------------------------------------------------------------------------------
526
527 %prep
528 %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1
529
530 %build
531 # (re)generate auto* generated files using our autotools and libtoolize
532 autoreconf -vfi
533
534 # for bin/test-driver:
535 automake --add-missing
536
537 %configure2_5x \
538 %if %{enable_vulkan}
539 --with-vulkan-drivers=intel,radeon \
540 %endif
541 --enable-gallium-osmesa \
542 --with-dri-driverdir=%{_libdir}/dri \
543 --enable-egl \
544 --enable-gles1 \
545 --enable-gles2 \
546 --disable-xvmc \
547 --enable-vdpau \
548 --enable-va \
549 --with-platforms=x11,drm,surfaceless%{?with_wayland:,wayland} \
550 --enable-shared-glapi \
551 --enable-gbm \
552 --enable-glx \
553 --enable-glx-tls \
554 --enable-texture-float=yes \
555 --enable-llvm \
556 --enable-dri \
557 --enable-xa \
558 --enable-nine \
559 --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,%{?with_freedreno:freedreno,}%{?with_etnaviv:etnaviv,imx,}%{?with_vc4:vc4,}virgl%{?gallium_platform_drivers} \
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 %if %{with wayland}
628 %files -n %{libwaylandeglname}
629 %{_libdir}/libwayland-egl.so.%{waylandeglmajor}
630 %{_libdir}/libwayland-egl.so.%{waylandeglmajor}.*
631 %endif
632
633 %files -n %{libxaname}
634 %{_libdir}/libxatracker.so.%{xamajor}{,.*}
635
636 %files -n %{libglname}-devel
637 %dir %{_includedir}/GL
638 %{_includedir}/GL/gl.h
639 %{_includedir}/GL/gl_mangle.h
640 %{_includedir}/GL/glext.h
641 %{_includedir}/GL/glx.h
642 %{_includedir}/GL/glx_mangle.h
643 %{_includedir}/GL/glxext.h
644 %{_includedir}/GL/glcorearb.h
645 %dir %{_includedir}/GL/internal
646 %{_includedir}/GL/internal/dri_interface.h
647 %{_libdir}/pkgconfig/dri.pc
648 %{_libdir}/libGL.so
649 %{_libdir}/pkgconfig/gl.pc
650
651 %files common-devel
652
653 %files -n %{libeglname}-devel
654 %{_includedir}/EGL
655 %{_includedir}/KHR
656 %{_libdir}/libEGL.so
657 %{_libdir}/pkgconfig/egl.pc
658
659 %files -n %{osmesadevel}
660 %dir %{_includedir}/GL
661 %{_includedir}/GL/osmesa.h
662 %{_libdir}/libOSMesa.so
663 %{_libdir}/pkgconfig/osmesa.pc
664
665 %files -n %{libglapiname}-devel
666 %{_libdir}/libglapi.so
667
668 %files -n %{libglesv1name}-devel
669 %{_includedir}/GLES
670 %{_libdir}/libGLESv1_CM.so
671 %{_libdir}/pkgconfig/glesv1_cm.pc
672
673 %files -n %{libglesv2name}-devel
674 %{_includedir}/GLES2
675 %{_includedir}/GLES3
676 %{_libdir}/libGLESv2.so
677 %{_libdir}/pkgconfig/glesv2.pc
678
679 %files -n %{libd3dname}-devel
680 %{_includedir}/d3dadapter
681 %{_libdir}/d3d/*.so
682 %{_libdir}/pkgconfig/d3d.pc
683
684 %files -n %{libgbmname}-devel
685 %{_libdir}/libgbm.so
686 %{_includedir}/gbm.h
687 %{_libdir}/pkgconfig/gbm.pc
688
689 %if %{with wayland}
690 %files -n %{libwaylandeglname}-devel
691 %{_libdir}/libwayland-egl.so
692 %{_libdir}/pkgconfig/wayland-egl.pc
693 %endif
694
695 %files -n %{libxaname}-devel
696 %{_libdir}/libxatracker.so
697 %{_includedir}/xa_tracker.h
698 %{_includedir}/xa_composite.h
699 %{_includedir}/xa_context.h
700 %{_libdir}/pkgconfig/xatracker.pc
701
702 %files -n %{_lib}vdpau-driver-nouveau
703 %{_libdir}/vdpau/libvdpau_nouveau.so.*
704
705 %files -n %{_lib}vdpau-driver-r300
706 %{_libdir}/vdpau/libvdpau_r300.so.*
707
708 %files -n %{_lib}vdpau-driver-r600
709 %{_libdir}/vdpau/libvdpau_r600.so.*
710
711 %files -n %{_lib}vdpau-driver-radeonsi
712 %{_libdir}/vdpau/libvdpau_radeonsi.so.*
713
714 %if %{enable_vulkan}
715 %files -n %{libvulkanname}_intel
716 %dir %{_datadir}/vulkan
717 %dir %{_datadir}/vulkan/icd.d
718 %{_datadir}/vulkan/icd.d/intel_icd*.json
719 # (akien) No lib major?
720 %{_libdir}/libvulkan_intel.so
721
722 %files -n %{libvulkanname}_radeon
723 %dir %{_datadir}/vulkan
724 %dir %{_datadir}/vulkan/icd.d
725 %{_datadir}/vulkan/icd.d/radeon_icd*.json
726 # (akien) No lib major?
727 %{_libdir}/libvulkan_radeon.so
728
729 %files -n %{libvulkanname}-devel
730 %{_includedir}/vulkan/
731 %endif

  ViewVC Help
Powered by ViewVC 1.1.26