package created using the webbuild interface [release 1.1.2-1mamba;Thu Oct 31 2024]

This commit is contained in:
Silvan Calarco 2024-11-01 01:12:32 +01:00
parent 00f54e22bc
commit abaae6eaee
3 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# egl-gbm # egl-gbm
The GBM EGL external platform library.

View File

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

60
egl-gbm.spec Normal file
View File

@ -0,0 +1,60 @@
Name: egl-gbm
Version: 1.1.2
Release: 1mamba
Summary: The GBM EGL external platform library
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/NVIDIA/egl-gbm
Source: https://github.com/NVIDIA/egl-gbm.git/%{version}/egl-gbm-%{version}.tar.bz2
Source1: egl-gbm-15_nvidia_gbm.json
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdrm-devel
BuildRequires: libmesa-devel
## AUTOBUILDREQ-END
BuildRequires: meson
BuildRequires: eglexternalplatform-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
The GBM EGL external platform library.
%package -n libnvidia-egl-gbm
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libnvidia-egl-gbm
The GBM EGL external platform library.
This package contains shared libraries for %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n libnvidia-egl-gbm
%defattr(-,root,root)
%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json
%{_libdir}/libnvidia-egl-gbm.so
%{_libdir}/libnvidia-egl-gbm.so.*
%doc COPYING
%changelog
* Thu Oct 31 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
- package created using the webbuild interface