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