install egl_external_platform file; rename from libegl-wayland to libnvidia-egl-wayland [release 1.1.16-2mamba;Thu Oct 31 2024]

This commit is contained in:
Silvan Calarco 2024-11-01 09:23:20 +01:00
parent 52f69f4674
commit 116d8cc157
2 changed files with 29 additions and 18 deletions

View File

@ -0,0 +1,6 @@
{
"file_format_version" : "1.0.0",
"ICD" : {
"library_path" : "libnvidia-egl-wayland.so.1"
}
}

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.1.16-2mamba
- install egl_external_platform file; rename from libegl-wayland to libnvidia-egl-wayland
* Sat Aug 24 2024 Automatic Build System <autodist@openmamba.org> 1.1.16-1mamba
- automatic version update by autodist