From 05f2a74ff6b33e096e25739dabfb87de95a51656 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:24:41 +0100 Subject: [PATCH] update to 1.3.2 [release 1.3.2-1mamba;Wed Apr 21 2021] --- README.md | 2 + libglvnd.spec | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 libglvnd.spec diff --git a/README.md b/README.md index 183a50c..49a8e46 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libglvnd +GL Vendor-Neutral Dispatch library. + diff --git a/libglvnd.spec b/libglvnd.spec new file mode 100644 index 0000000..68675cf --- /dev/null +++ b/libglvnd.spec @@ -0,0 +1,103 @@ +Name: libglvnd +Version: 1.3.2 +Release: 1mamba +Summary: GL Vendor-Neutral Dispatch library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/NVIDIA/libglvnd +Source: https://github.com/NVIDIA/libglvnd.git/v%{version}/libglvnd-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +## AUTOBUILDREQ-END +Requires: libmesa >= 1:21.0.2-2mamba + +%description +GL Vendor-Neutral Dispatch library. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: libmesa-devel +Requires: pkg-config +Provides: libGL-devel +Obsoletes: libGL-devel <= 1:21.0.2 +Provides: libGLESv2-devel +Obsoletes: libGLESv2-devel <= 1:21.0.2 +Provides: libEGL-devel +Obsoletes: libEGL-devel <= 1:21.0.2 + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson \ + -Dgles1=false \ +%ifarch arm aarch64 + -Dasm=disabled +%endif + +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libEGL.so.* +%{_libdir}/libGL.so.* +%{_libdir}/libGLESv2.so.* +%{_libdir}/libGLX.so.* +%{_libdir}/libGLdispatch.so.* +%{_libdir}/libOpenGL.so.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/EGL +%{_includedir}/EGL/*.h +%dir %{_includedir}/GL +%{_includedir}/GL/*.h +%dir %{_includedir}/GLES2 +%{_includedir}/GLES2/*.h +%dir %{_includedir}/GLES3 +%{_includedir}/GLES3/*.h +%dir %{_includedir}/KHR +%{_includedir}/KHR/*.h +%dir %{_includedir}/glvnd +%{_includedir}/glvnd/*.h +%{_libdir}/libEGL.so +%{_libdir}/libGL.so +%{_libdir}/libGLESv2.so +%{_libdir}/libGLX.so +%{_libdir}/libGLdispatch.so +%{_libdir}/libOpenGL.so +%{_libdir}/pkgconfig/libglvnd.pc +%{_libdir}/pkgconfig/egl.pc +%{_libdir}/pkgconfig/gl.pc +%{_libdir}/pkgconfig/glesv2.pc +%{_libdir}/pkgconfig/glx.pc +%{_libdir}/pkgconfig/opengl.pc +%doc README.md + +%changelog +* Wed Apr 21 2021 Silvan Calarco 1.3.2-1mamba +- update to 1.3.2 + +* Tue Nov 28 2017 Silvan Calarco 1.0.0-1mamba +- package created using the webbuild interface