update to 1.3.2 [release 1.3.2-1mamba;Wed Apr 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:24:41 +01:00
parent 1e9dab19cd
commit 05f2a74ff6
2 changed files with 105 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libglvnd # libglvnd
GL Vendor-Neutral Dispatch library.

103
libglvnd.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.3.2-1mamba
- update to 1.3.2
* Tue Nov 28 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- package created using the webbuild interface