104 lines
2.5 KiB
RPMSpec
104 lines
2.5 KiB
RPMSpec
|
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
|