/[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 1340049 - (show annotations) (download)
Mon Dec 10 21:49:20 2018 UTC (8 months, 1 week ago) by akien
File size: 20630 byte(s)
- Rename libvulkan* to libmesavulkan*, to avoid confusion with Vulkan SDK
- Merged libvulkan_intel and libvulkan_radeon into libmesavulkan-drivers
- Build libmesavulkan-drivers on non-x86 (radeon only, intel does not build)
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 4
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 mesavulkan
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
66 %define dridrivers %mklibname dri-drivers
67
68 %define vulkandrivers %mklibname %{vulkanname}-drivers
69 %define vulkandevel %mklibname %{vulkanname} -d
70
71 %define khrdevel %mklibname mesakhr -d
72 %define osmesadevel %mklibname osmesa -d
73
74 # Architecture-independent Virtual provides:
75 %define libd3dname_virt lib%{d3dname}
76 %define libeglname_virt lib%{eglname}
77 %define libglname_virt lib%{glname}
78 %define libglwname_virt lib%{glwname}
79 %define libglesv1name_virt lib%{glesv1name}
80 %define libglesv2name_virt lib%{glesv2name}
81 %define libglapiname_virt lib%{glapiname}
82 %define libgbmname_virt lib%{gbmname}
83 %define libwaylandeglname_virt lib%{waylandeglname}
84 %define libxaname_virt lib%{xaname}
85
86 %define mesasrcdir %{_prefix}/src/Mesa/
87
88 %define with_vaapi 1
89
90 %ifarch %{ix86} x86_64
91 %define vulkan_drivers --with-vulkan-drivers=intel,radeon
92 %else
93 %define vulkan_drivers --with-vulkan-drivers=radeon
94 %endif
95
96
97 %ifarch %{arm} aarch64
98 %define with_etnaviv 1
99 %define with_freedreno 1
100 %define with_vc4 1
101 %endif
102
103 %define base_drivers swrast,nouveau,radeon,r200
104 %ifarch %{ix86} x86_64
105 %define platform_drivers ,i915,i965
106 %define gallium_platform_drivers ,svga
107 %endif
108
109 %define with_wayland_egl 0
110
111 %define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}
112
113 Name: mesa
114 Version: %{main_version}
115 Release: %{release}
116 Summary: OpenGL %{opengl_ver} compatible 3D graphics library
117 Group: System/Libraries
118
119 # temp force new gcc
120 BuildRequires: gcc >= 5.4.0-2
121
122 BuildRequires: pkgconfig(xfixes) >= 4.0.3
123 BuildRequires: pkgconfig(xshmfence)
124 BuildRequires: pkgconfig(xt) >= 1.0.5
125 BuildRequires: pkgconfig(xmu) >= 1.0.3
126 BuildRequires: pkgconfig(x11) >= 1.3.3
127 BuildRequires: pkgconfig(xdamage) >= 1.1.1
128 BuildRequires: pkgconfig(expat) >= 2.0.1
129 BuildRequires: gccmakedep
130 BuildRequires: x11-proto-devel >= 7.3
131 BuildRequires: pkgconfig(libdrm) >= 2.4.91
132 BuildRequires: pkgconfig(xcb-dri3)
133 BuildRequires: pkgconfig(xcb-present) >= 1.11
134 BuildRequires: pkgconfig(xext) >= 1.1.1
135 BuildRequires: pkgconfig(xxf86vm) >= 1.1.0
136 BuildRequires: pkgconfig(xi) >= 1.3
137 BuildRequires: pkgconfig(xrandr)
138 BuildRequires: pkgconfig(talloc)
139 BuildRequires: python2-libxml2
140 BuildRequires: python2-mako
141 BuildRequires: python3-libxml2
142 BuildRequires: python3-mako
143 BuildRequires: makedepend
144 BuildRequires: bison
145 BuildRequires: flex
146 BuildRequires: pkgconfig(libelf)
147 BuildRequires: llvm-devel >= 3.9.1-5
148 BuildRequires: pkgconfig(libudev)
149 %if 0%{?with_vaapi}
150 BuildRequires: pkgconfig(libva)
151 %endif
152 BuildRequires: pkgconfig(vdpau)
153 BuildRequires: pkgconfig(wayland-client)
154 BuildRequires: pkgconfig(wayland-server)
155 BuildRequires: pkgconfig(wayland-protocols)
156 BuildRequires: libgcrypt-devel
157 BuildRequires: pkgconfig(wayland-protocols) >= 1.8
158
159 URL: http://www.mesa3d.org
160 %if %{git}
161 #Source0: %{name}-%{git}.tar.bz2
162 # (blino) snapshot of 13.0 branch
163 Source0: %{name}-%{git_branch}-%{git}.tar.xz
164 %else
165 Source0: https://mesa.freedesktop.org/archive/mesa-%{main_version}%{?relc:-rc%{relc}}.tar.xz
166 %endif
167 Source3: make-git-snapshot.sh
168
169 Patch000: fix-linking.patch
170
171 # mesa staging/18.3 branch from 1
172
173 # mesa master branch from 101
174 Patch101: mesa-pci_ids-add-new-vega10-pci-ids.patch
175 Patch102: mesa-pci_ids-add-new-vega20-pci-id.patch
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 Provides: %{libglname_virt} = %{version}-%{release}
192 Requires: %{dridrivers} >= %{version}-%{release}
193
194 # (anssi) Forces the upgrade of x11-server-common to happen before
195 # alternatives removal, which allows x11-server-common to grab the symlink.
196 Conflicts: x11-server-common < 1.3.0.0-17
197
198 %package -n %{dridrivers}
199 Summary: Mesa DRI drivers
200 Group: System/Libraries
201 # do not require exact release to avoid conflicts when having
202 # x86_64 dri drivers from tainted and i586 dri drivers from core
203 Requires: mesa = %{version}
204 Conflicts: %{_lib}MesaGL1 < 7.7-5
205 Obsoletes: %{_lib}dri-drivers-experimental < 7.11.2-4
206 Provides: %{_lib}dri-drivers-experimental = %{version}-%{release}
207
208 %package -n %{libd3dname}
209 Summary: Mesa Direct3D9 state tracker
210 Group: System/Libraries
211 Provides: %{libd3dname_virt} = %{version}-%{release}
212
213 %package -n %{libd3dname}-devel
214 Summary: Development files for Mesa Direct3D9 state tracker
215 Group: Development/C
216 Requires: %{libd3dname} = %{version}-%{release}
217 Provides: lib%{d3dname}-devel
218 Provides: %{d3dname}-devel
219 Provides: libd3d-devel
220
221 %package -n %{libglname}-devel
222 Summary: Development files for Mesa (OpenGL compatible 3D lib)
223 Group: Development/C
224 Requires: %{libglname} = %{version}-%{release}
225 Requires: %{khrdevel} = %{version}-%{release}
226 Provides: lib%{glname}-devel = %{version}-%{release}
227 Provides: %{glname}-devel = %{version}-%{release}
228 Provides: GL-devel
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 Requires: %{khrdevel} = %{version}-%{release}
243 Provides: EGL-devel
244 Provides: lib%{eglname}-devel
245 Provides: %{eglname}-devel
246 Provides: libegl-devel
247
248 %package -n %{khrdevel}
249 Summary: Mesa Khronos development headers
250 Group: Development/C
251 Provides: mesakhr-devel = %{version}-%{release}
252
253 %package -n %{libosmesaname}
254 Summary: Mesa offscreen rendering library
255 Group: System/Libraries
256
257 %package -n %{osmesadevel}
258 Summary: Development files for libosmesa
259 Group: Development/C
260 Requires: %{libosmesaname} = %{version}-%{release}
261 Provides: osmesa-devel = %{version}-%{release}
262 Conflicts: MesaGL-devel < 8.1.0-0.git20120727.3
263
264 %package -n %{libglapiname}
265 Summary: Files for mesa (glapi libs)
266 Group: System/Libraries
267 Provides: %{libglapiname_virt} = %{version}-%{release}
268
269 %package -n %{libglapiname}-devel
270 Summary: Development files for glapi libs
271 Group: Development/C
272 Requires: %{libglapiname_virt} = %{version}-%{release}
273 Provides: lib%{glapiname}-devel
274 Provides: %{libglapiname}-devel
275
276 %package -n %{libglesv1name}
277 Summary: Files for Mesa (glesv1 libs)
278 Group: System/Libraries
279 Provides: %{libglesv1name_virt} = %{version}-%{release}
280
281 %package -n %{libglesv1name}-devel
282 Summary: Development files for glesv1 libs
283 Group: Development/C
284 Requires: %{libglesv1name} = %{version}-%{release}
285 Requires: %{khrdevel} = %{version}-%{release}
286 Provides: lib%{glesv1name}-devel
287 Provides: %{glesv1name}-devel
288 Provides: libglesv1-devel
289
290 %package -n %{libglesv2name}
291 Summary: Files for Mesa (glesv2 libs)
292 Group: System/Libraries
293 Provides: %{libglesv2name_virt} = %{version}-%{release}
294
295 %package -n %{libglesv2name}-devel
296 Summary: Development files for glesv2 libs
297 Group: Development/C
298 Requires: %{libglesv2name} = %{version}-%{release}
299 Requires: %{khrdevel} = %{version}-%{release}
300 Provides: lib%{glesv2name}-devel
301 Provides: %{glesv2name}-devel
302 Provides: libglesv2-devel
303
304 %package -n %{libgbmname}
305 Summary: Files for Mesa (gbm libs)
306 Group: System/Libraries
307 Provides: %{libgbmname_virt} = %{version}-%{release}
308
309 %package -n %{libgbmname}-devel
310 Summary: Development files for Mesa (gbm libs)
311 Group: Development/C
312 Requires: %{libgbmname} = %{version}-%{release}
313 Provides: lib%{gbmname}-devel
314 Provides: %{gbmname}-devel
315
316 %if %{?with_wayland_egl}
317 %package -n %{libwaylandeglname}
318 Summary: Files for Mesa (Wayland EGL libs)
319 Group: System/Libraries
320 Provides: %{libwaylandeglname_virt} = %{version}-%{release}
321
322 %package -n %{libwaylandeglname}-devel
323 Summary: Development files for Mesa (Wayland EGL libs)
324 Group: Development/C
325 Requires: %{libwaylandeglname} = %{version}-%{release}
326 Provides: lib%{waylandeglname}-devel
327 Provides: %{waylandeglname}-devel
328 %endif
329
330 %package -n %{_lib}vdpau-driver-nouveau
331 Summary: VDPAU plugin for nouveau driver
332 Group: System/Libraries
333 # temporary:
334 %rename vdpau-driver-nouveau
335
336 %package -n %{_lib}vdpau-driver-r300
337 Summary: VDPAU plugin for r300 driver
338 Group: System/Libraries
339 # temporary:
340 %rename vdpau-driver-r300
341
342 %package -n %{_lib}vdpau-driver-r600
343 Summary: VDPAU plugin for r600 driver
344 Group: System/Libraries
345 # temporary:
346 %rename vdpau-driver-r600
347
348 %package -n %{_lib}vdpau-driver-radeonsi
349 Summary: VDPAU plugin for radeonsi driver
350 Group: System/Libraries
351 # temporary:
352 %rename vdpau-driver-radeonsi
353
354 %package -n %{libxaname}
355 Summary: Files for Mesa XA state tracker
356 Group: System/Libraries
357 Provides: %{libxaname_virt} = %{version}-%{release}
358
359 %package -n %{libxaname}-devel
360 Summary: Development files for XA libs
361 Group: Development/C
362 Requires: %{libxaname_virt} = %{version}-%{release}
363 Provides: lib%{xaname}-devel
364 Provides: %{libxaname}-devel
365
366 %package -n %{vulkandrivers}
367 Summary: Mesa Vulkan driver for Intel and Radeon GPUs
368 Group: System/Libraries
369 %ifarch %{ix86} x86_64
370 Obsoletes: %{_lib}vulkan_intel < 18.3.0-4
371 Provides: %{_lib}vulkan_intel = %{version}-%{release}
372 %endif
373 Obsoletes: %{_lib}vulkan_radeon < 18.3.0-4
374 Provides: %{_lib}vulkan_radeon = %{version}-%{release}
375
376 %package -n %{vulkandevel}
377 Summary: Mesa's Vulkan development files for Intel and Radeon drivers
378 Group: Development/C
379 Requires: %{vulkandrivers} = %{version}-%{release}
380 Obsoletes: %{_lib}vulkan-devel < 0:18.3.0-4
381 Provides: %{vulkanname}-devel = %{version}-%{release}
382
383 %package common-devel
384 Summary: Meta package for mesa devel
385 Group: Development/C
386 Provides: Mesa-common-devel = %{version}-%{release}
387 Provides: hackMesa-common-devel = %{version}
388 Obsoletes: Mesa-common-devel < %{version}
389 Obsoletes: hackMesa-common-devel < %{version}
390 Requires: %{libglname}-devel = %{version}
391 Requires: mesaglu-devel
392 Requires: freeglut-devel
393 Requires: %{libeglname}-devel = %{version}
394 Requires: %{libglesv1name}-devel = %{version}
395 Requires: %{libglesv2name}-devel = %{version}
396
397 #------------------------------------------------------------------------------
398
399 %description
400 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
401
402 %description common-devel
403 Mesa common metapackage devel
404
405 %description -n %{libeglname}
406 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
407 EGL parts.
408
409 %description -n %{libeglname}-devel
410 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
411 EGL development parts.
412
413 %description -n %{libglname}
414 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
415 GL and GLX parts.
416
417 %description -n %{dridrivers}
418 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
419 DRI drivers.
420
421 %description -n %{libglname}-devel
422 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
423
424 This package contains the headers needed to compile Mesa programs.
425
426 %description -n %{libglesv1name}
427 OpenGL ES is a low-level, lightweight API for advanced embedded graphics using
428 well-defined subset profiles of OpenGL.
429
430 This package provides the OpenGL ES library version 1.
431
432 %description -n %{khrdevel}
433 Mesa Khronos development headers.
434
435 %description -n %{libosmesaname}
436 Mesa offscreen rendering libraries for rendering OpenGL into
437 application-allocated blocks of memory.
438
439 %description -n %{osmesadevel}
440 This package contains the headers needed to compile programs against
441 the Mesa offscreen rendering library.
442
443 %description -n %{libglapiname}
444 This packages provides the glapi shared library used by gallium.
445
446 %description -n %{libglapiname}-devel
447 This package contains the headers needed to compile programes against glapi shared library.
448
449 %description -n %{libglesv1name}-devel
450 This package contains the headers needed to compile OpenGL ES 1 programs.
451
452 %description -n %{libd3dname}
453 Mesa Direct3D9 state tracker.
454
455 %description -n %{libd3dname}-devel
456 Mesa Direct3D9 state tracker development package.
457
458 %description -n %{libglesv2name}
459 OpenGL ES is a low-level, lightweight API for advanced embedded graphics using
460 well-defined subset profiles of OpenGL.
461
462 This package provides the OpenGL ES library version 2.
463
464 %description -n %{libglesv2name}-devel
465 This package contains the headers needed to compile OpenGL ES 2 programs.
466
467 %description -n %{libgbmname}
468 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
469 GBM (Graphics Buffer Manager) parts.
470
471 %description -n %{libgbmname}-devel
472 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
473 GBM (Graphics Buffer Manager) development parts.
474
475 %if %{?with_wayland_egl}
476 %description -n %{libwaylandeglname}
477 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
478 Wayland EGL platform parts.
479
480 %description -n %{libwaylandeglname}-devel
481 Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
482 Wayland EGL platform development parts.
483 %endif
484
485 %description -n %{libxaname}
486 This packages provides the xa shared library used by gallium.
487
488 %description -n %{libxaname}-devel
489 This package contains the headers needed to compile programes against xa shared library.
490
491 %description -n %{_lib}vdpau-driver-nouveau
492 This packages provides a VPDAU plugin to enable video acceleration
493 with the nouveau driver.
494
495 %description -n %{_lib}vdpau-driver-r300
496 This packages provides a VPDAU plugin to enable video acceleration
497 with the r300 driver.
498
499 %description -n %{_lib}vdpau-driver-r600
500 This packages provides a VPDAU plugin to enable video acceleration
501 with the r600 driver.
502
503 %description -n %{_lib}vdpau-driver-radeonsi
504 This packages provides a VPDAU plugin to enable video acceleration
505 with the radeonsi driver.
506
507 %description -n %{vulkandrivers}
508 This package contains the Vulkan parts for Mesa's Intel and Radeon drivers.
509
510 %description -n %{vulkandevel}
511 This package contains the development files for Mesa's Vulkan implementation.
512
513 #------------------------------------------------------------------------------
514
515 %prep
516 %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1
517
518 %build
519 # (re)generate auto* generated files using our autotools and libtoolize
520 autoreconf -vfi
521
522 # for bin/test-driver:
523 automake --add-missing
524
525 %configure2_5x \
526 --enable-gallium-osmesa \
527 --with-dri-driverdir=%{_libdir}/dri \
528 --enable-egl \
529 --enable-gles1 \
530 --enable-gles2 \
531 --disable-xvmc \
532 --enable-vdpau \
533 %{?with_vaapi:--enable-va} \
534 --with-platforms=x11,drm,surfaceless,wayland \
535 --enable-shared-glapi \
536 --enable-gbm \
537 --enable-glx \
538 --enable-glx-tls \
539 --enable-texture-float=yes \
540 --enable-llvm \
541 --enable-dri \
542 --enable-xa \
543 --enable-nine \
544 --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,%{?with_freedreno:freedreno,}%{?with_etnaviv:etnaviv,imx,}%{?with_vc4:vc4,}virgl%{?gallium_platform_drivers} \
545 %{?vulkan_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 %{_libdir}/libEGL.so
648 %{_libdir}/pkgconfig/egl.pc
649
650 %files -n %{khrdevel}
651 %{_includedir}/KHR
652
653 %files -n %{osmesadevel}
654 %dir %{_includedir}/GL
655 %{_includedir}/GL/osmesa.h
656 %{_libdir}/libOSMesa.so
657 %{_libdir}/pkgconfig/osmesa.pc
658
659 %files -n %{libglapiname}-devel
660 %{_libdir}/libglapi.so
661
662 %files -n %{libglesv1name}-devel
663 %{_includedir}/GLES
664 %{_libdir}/libGLESv1_CM.so
665 %{_libdir}/pkgconfig/glesv1_cm.pc
666
667 %files -n %{libglesv2name}-devel
668 %{_includedir}/GLES2
669 %{_includedir}/GLES3
670 %{_libdir}/libGLESv2.so
671 %{_libdir}/pkgconfig/glesv2.pc
672
673 %files -n %{libd3dname}-devel
674 %{_includedir}/d3dadapter
675 %{_libdir}/d3d/*.so
676 %{_libdir}/pkgconfig/d3d.pc
677
678 %files -n %{libgbmname}-devel
679 %{_libdir}/libgbm.so
680 %{_includedir}/gbm.h
681 %{_libdir}/pkgconfig/gbm.pc
682
683 %if %{?with_wayland_egl}
684 %files -n %{libwaylandeglname}-devel
685 %{_libdir}/libwayland-egl.so
686 %{_libdir}/pkgconfig/wayland-egl.pc
687 %endif
688
689 %files -n %{libxaname}-devel
690 %{_libdir}/libxatracker.so
691 %{_includedir}/xa_tracker.h
692 %{_includedir}/xa_composite.h
693 %{_includedir}/xa_context.h
694 %{_libdir}/pkgconfig/xatracker.pc
695
696 %files -n %{_lib}vdpau-driver-nouveau
697 %{_libdir}/vdpau/libvdpau_nouveau.so.*
698
699 %files -n %{_lib}vdpau-driver-r300
700 %{_libdir}/vdpau/libvdpau_r300.so.*
701
702 %files -n %{_lib}vdpau-driver-r600
703 %{_libdir}/vdpau/libvdpau_r600.so.*
704
705 %files -n %{_lib}vdpau-driver-radeonsi
706 %{_libdir}/vdpau/libvdpau_radeonsi.so.*
707
708 %files -n %{vulkandrivers}
709 %dir %{_datadir}/vulkan
710 %dir %{_datadir}/vulkan/icd.d
711 %ifarch %{ix86} x86_64
712 %{_datadir}/vulkan/icd.d/intel_icd*.json
713 %{_libdir}/libvulkan_intel.so
714 %endif
715 %{_datadir}/vulkan/icd.d/radeon_icd*.json
716 %{_libdir}/libvulkan_radeon.so
717
718 %files -n %{vulkandevel}
719 %dir %{_includedir}/vulkan
720 %{_includedir}/vulkan/vulkan_intel.h

  ViewVC Help
Powered by ViewVC 1.1.26