egl-gbm/egl-gbm.spec

61 lines
1.6 KiB
RPMSpec
Raw Normal View History

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