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

  ViewVC Help
Powered by ViewVC 1.1.26