From dfb503d0ec475075646a6fa2ec1e7c66c162c877 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:03:32 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1-1mamba;Sat Sep 07 2019] --- README.md | 2 ++ eglexternalplatform.spec | 52 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 eglexternalplatform.spec diff --git a/README.md b/README.md index ccca38f..857fd68 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # eglexternalplatform +The EGL External Platform interface. + diff --git a/eglexternalplatform.spec b/eglexternalplatform.spec new file mode 100644 index 0000000..1194d6c --- /dev/null +++ b/eglexternalplatform.spec @@ -0,0 +1,52 @@ +Name: eglexternalplatform +Version: 1.1 +Release: 1mamba +Summary: The EGL External Platform interface +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/NVIDIA/eglexternalplatform +## GITSOURCE https://github.com/NVIDIA/eglexternalplatform.git 1.1 +Source: https://github.com/NVIDIA/eglexternalplatform.git/%{version}/eglexternalplatform-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The EGL External Platform interface. + +%package devel +Group: Development/Libraries +Summary: The EGL External Platform interface +Requires: pkg-config + +%description devel +The EGL External Platform interface. +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}%{_includedir}/EGL +cp -a interface/* %{buildroot}%{_includedir}/EGL/ +install -D -m0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/eglexternalplatform.pc + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files devel +%defattr(-,root,root) +%{_includedir}/EGL/eglexternalplatform.h +%{_includedir}/EGL/eglexternalplatformversion.h +%{_datadir}/pkgconfig/eglexternalplatform.pc +%doc COPYING + +%changelog +* Sat Sep 07 2019 Silvan Calarco 1.1-1mamba +- package created using the webbuild interface