diff --git a/egl-wayland-10_nvidia_wayland.json b/egl-wayland-10_nvidia_wayland.json new file mode 100644 index 0000000..c08a641 --- /dev/null +++ b/egl-wayland-10_nvidia_wayland.json @@ -0,0 +1,6 @@ +{ + "file_format_version" : "1.0.0", + "ICD" : { + "library_path" : "libnvidia-egl-wayland.so.1" + } +} diff --git a/egl-wayland.spec b/egl-wayland.spec index 5a17c59..a8a34ed 100644 --- a/egl-wayland.spec +++ b/egl-wayland.spec @@ -1,6 +1,6 @@ Name: egl-wayland Version: 1.1.16 -Release: 1mamba +Release: 2mamba Summary: The EGLStream-based Wayland external platform Group: Development/Libraries Vendor: openmamba @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/NVIDIA/egl-wayland Source: https://github.com/NVIDIA/egl-wayland.git/%{version}/egl-wayland-%{version}.tar.bz2 +Source1: egl-wayland-10_nvidia_wayland.json License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: eglexternalplatform-devel @@ -20,58 +21,62 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description The EGLStream-based Wayland external platform. -%package -n lib%{name} +%package -n libnvidia-%{name} Group: System/Libraries Summary: The EGLStream-based Wayland external platform +Obsoletes: libegl-wayland < 1.1.16-2mamba -%description -n lib%{name} +%description -n libnvidia-%{name} The EGLStream-based Wayland external platform. This package contains shared libraries for %{name}. -%package -n lib%{name}-devel +%package -n libnvidia-%{name}-devel Group: Development/Libraries Summary: Development files for %{name} -Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: libnvidia-%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config +Obsoletes: libegl-wayland-devel < 1.1.16-2mamba -%description -n lib%{name}-devel +%description -n libnvidia-%{name}-devel This package contains libraries and header files for developing applications that use %{name}. - %debug_package %prep %setup -q -./autogen.sh %build -%configure -%make +%meson + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install + +install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -p /sbin/ldconfig - -%files -n lib%{name} +%files -n libnvidia-%{name} %defattr(-,root,root) %{_libdir}/libnvidia-egl-wayland.so.* +%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json +%{_datadir}/wayland-eglstream/wayland-*.xml %doc COPYING -%files -n lib%{name}-devel +%files -n libnvidia-%{name}-devel %defattr(-,root,root) %{_libdir}/libnvidia-egl-wayland.so %{_datadir}/pkgconfig/wayland-eglstream-protocols.pc -%{_datadir}/pkgconfig/wayland-eglstream.pc -%{_datadir}/wayland-eglstream/wayland-*.xml +%{_libdir}/pkgconfig/wayland-eglstream.pc %doc README.md %changelog +* Thu Oct 31 2024 Silvan Calarco 1.1.16-2mamba +- install egl_external_platform file; rename from libegl-wayland to libnvidia-egl-wayland + * Sat Aug 24 2024 Automatic Build System 1.1.16-1mamba - automatic version update by autodist