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

  ViewVC Help
Powered by ViewVC 1.1.26