/[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 1328786 - (show annotations) (download)
Wed Nov 7 16:00:08 2018 UTC (9 months, 1 week ago) by tv
File size: 20422 byte(s)
18.3.0 RC1

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

  ViewVC Help
Powered by ViewVC 1.1.26