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

  ViewVC Help
Powered by ViewVC 1.1.26