diff --git a/libglvnd.spec b/libglvnd.spec index ad28cf68ab0614d3b40a354e415c2a81ef425788..545089cdb9878ac537d5ed8ccca81986c0aaf24d 100644 --- a/libglvnd.spec +++ b/libglvnd.spec @@ -1,6 +1,6 @@ Name: libglvnd Version: 1.7.0 -Release: 2 +Release: 3 Epoch: 1 Summary: The GL Vendor-Neutral Dispatch library License: MIT @@ -10,8 +10,12 @@ Source0: https://github.com/NVIDIA/libglvnd/archive/refs/tags/v%{version} Patch6000: backport-libglvnd-python3.patch Patch6001: backport-0001-glx-Add-another-fallback-library-name.patch -BuildRequires: libtool xorg-x11-server-Xvfb pkgconfig(xext) pkgconfig(x11) -BuildRequires: gcc python3-rpm-macros python3-libxml2 pkgconfig(glproto) make +BuildRequires: gcc make +BuildRequires: autoconf automake libtool +BuildRequires: pkgconfig(glproto) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: xorg-x11-server-Xvfb %description libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors. @@ -88,18 +92,18 @@ Provides: libGL%{?_isa} %description glx libGL and libGLX are the common dispatch interface for the GLX API. + %prep %autosetup -n %{name}-%{version} -p1 -autoreconf -vif %build -export PYTHON=%{__python3} +autoreconf -fi %configure \ --disable-static \ --enable-asm \ --enable-tls -%make_build V=1 +%make_build %install %make_install @@ -114,28 +118,22 @@ mkdir -p %{buildroot}%{_datadir}/egl/egl_external_platform.d/ export DO_X11_TESTS=1 xvfb-run -s '-screen 0 640x480x24' -d make check V=1 || (cat `find . -name test-suite.log` ; exit 1) -%ldconfig_scriptlets - %files -%defattr(-,root,root) %doc README.md %dir %{_sysconfdir}/glvnd/ %dir %{_datadir}/glvnd/ %{_libdir}/libGLdispatch.so.0* -%ldconfig_scriptlets opengl + %files opengl %{_libdir}/libOpenGL.so.0* -%ldconfig_scriptlets gles %files gles %{_libdir}/libGLES*.so.* -%ldconfig_scriptlets glx %files glx %{_libdir}/libGL.so.* %{_libdir}/libGLX.so.* -%ldconfig_scriptlets egl %files egl %dir %{_sysconfdir}/glvnd/egl_vendor.d/ %dir %{_datadir}/glvnd/egl_vendor.d/ @@ -151,7 +149,6 @@ xvfb-run -s '-screen 0 640x480x24' -d make check V=1 || (cat `find . -name test- %{_libdir}/pkgconfig/libglvnd.pc %files devel -%defattr(-,root,root) %dir %{_includedir}/EGL/ %dir %{_includedir}/GL/ %dir %{_includedir}/GLES/ @@ -170,6 +167,9 @@ xvfb-run -s '-screen 0 640x480x24' -d make check V=1 || (cat `find . -name test- %{_libdir}/pkgconfig/opengl.pc %changelog +* Sat Feb 22 2025 Funda Wang - 1:1.7.0-3 +- cleanup spec + * Thu Sep 26 2024 zhangpan - 1:1.7.0-2 - backport patch from upstream