44 |
%define glwname mesaglw |
%define glwname mesaglw |
45 |
%define glesv1name mesaglesv1 |
%define glesv1name mesaglesv1 |
46 |
%define glesv2name mesaglesv2 |
%define glesv2name mesaglesv2 |
47 |
|
%define openvgname mesaopenvg |
48 |
|
|
49 |
%define eglmajor 1 |
%define eglmajor 1 |
50 |
%define glmajor 1 |
%define glmajor 1 |
53 |
%define glwmajor 1 |
%define glwmajor 1 |
54 |
%define glesv1major 1 |
%define glesv1major 1 |
55 |
%define glesv2major 2 |
%define glesv2major 2 |
56 |
|
%define openvgmajor 1 |
57 |
|
|
58 |
%define libeglname %mklibname %{eglname} %{eglmajor} |
%define libeglname %mklibname %{eglname} %{eglmajor} |
59 |
%define libglname %mklibname %{glname} %{glmajor} |
%define libglname %mklibname %{glname} %{glmajor} |
62 |
%define libglwname %mklibname %{glwname} %{glwmajor} |
%define libglwname %mklibname %{glwname} %{glwmajor} |
63 |
%define libglesv1name %mklibname %{glesv1name}_ %{glesv1major} |
%define libglesv1name %mklibname %{glesv1name}_ %{glesv1major} |
64 |
%define libglesv2name %mklibname %{glesv2name}_ %{glesv2major} |
%define libglesv2name %mklibname %{glesv2name}_ %{glesv2major} |
65 |
|
%define libopenvgname %mklibname %{openvgname} %{openvgmajor} |
66 |
|
|
67 |
%define dridrivers %mklibname dri-drivers |
%define dridrivers %mklibname dri-drivers |
68 |
|
|
74 |
%define libglwname_virt lib%{glwname} |
%define libglwname_virt lib%{glwname} |
75 |
%define libglesv1name_virt lib%{glesv1name} |
%define libglesv1name_virt lib%{glesv1name} |
76 |
%define libglesv2name_virt lib%{glesv2name} |
%define libglesv2name_virt lib%{glesv2name} |
77 |
|
%define libopenvgname_virt lib%{openvgname} |
78 |
|
|
79 |
%define oldlibglname %mklibname MesaGL 1 |
%define oldlibglname %mklibname MesaGL 1 |
80 |
%define oldlibgluname %mklibname MesaGLU 1 |
%define oldlibgluname %mklibname MesaGLU 1 |
326 |
Provides: %{glesv2name}-devel |
Provides: %{glesv2name}-devel |
327 |
Provides: libglesv2-devel |
Provides: libglesv2-devel |
328 |
|
|
329 |
|
%package -n %{libopenvgname} |
330 |
|
Summary: Files for MESA (OpenVG libs) |
331 |
|
Group: System/Libraries |
332 |
|
Provides: %{libopenvgname_virt} = %{version}-%{release} |
333 |
|
|
334 |
|
%package -n %{libopenvgname}-devel |
335 |
|
Summary: Development files vor OpenVG libs |
336 |
|
Group: Development/C |
337 |
|
Requires: %{libopenvgname} = %{version}-%{release} |
338 |
|
Provides: lib%{openvgname}-devel |
339 |
|
Provides: %{openvgname}-devel |
340 |
|
Provides: libopenvg-devel |
341 |
|
|
342 |
%package common-devel |
%package common-devel |
343 |
Summary: Meta package for mesa devel |
Summary: Meta package for mesa devel |
344 |
Group: Development/C |
Group: Development/C |
448 |
%description -n %{libglesv2name}-devel |
%description -n %{libglesv2name}-devel |
449 |
This package contains the headers needed to compile OpenGL ES 2 programs. |
This package contains the headers needed to compile OpenGL ES 2 programs. |
450 |
|
|
451 |
|
%description -n %{libopenvgname} |
452 |
|
OpenVG is a royalty-free, cross-platform API that provides a low-level hardware |
453 |
|
acceleration interface for vector graphics libraries such as Flash and SVG. |
454 |
|
|
455 |
|
%description -n %{libopenvgname}-devel |
456 |
|
Development files for OpenVG library. |
457 |
|
|
458 |
#------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------ |
459 |
|
|
460 |
%prep |
%prep |
510 |
%endif |
%endif |
511 |
--enable-gles1 \ |
--enable-gles1 \ |
512 |
--enable-gles2 \ |
--enable-gles2 \ |
513 |
|
--enable-openvg \ |
514 |
%if %{with_mesaglut} |
%if %{with_mesaglut} |
515 |
--enable-glut |
--enable-glut |
516 |
%else |
%else |
615 |
%doc docs/COPYING |
%doc docs/COPYING |
616 |
%{_libdir}/libGLESv2.so.%{glesv2major}* |
%{_libdir}/libGLESv2.so.%{glesv2major}* |
617 |
|
|
618 |
|
%files -n %{libopenvgname} |
619 |
|
%defattr(-,root,root) |
620 |
|
%doc docs/COPYING |
621 |
|
%{_libdir}/libOpenVG.so.%{openvgmajor}* |
622 |
|
|
623 |
|
|
624 |
%files -n %{libglname}-devel |
%files -n %{libglname}-devel |
625 |
%defattr(-,root,root) |
%defattr(-,root,root) |
626 |
%doc docs/COPYING |
%doc docs/COPYING |
697 |
%{_includedir}/GLES2 |
%{_includedir}/GLES2 |
698 |
%{_libdir}/libGLESv2.so |
%{_libdir}/libGLESv2.so |
699 |
%{_libdir}/pkgconfig/glesv2.pc |
%{_libdir}/pkgconfig/glesv2.pc |
700 |
|
|
701 |
|
%files -n %{libopenvgname}-devel |
702 |
|
%defattr(-,root,root) |
703 |
|
%{_includedir}/VG |
704 |
|
%{_libdir}/libOpenVG.so |
705 |
|
%{_libdir}/pkgconfig/vg.pc |