commit 210f9dc2eb9d3c8385c7a50a890c46a8a0b667f2 Author: ultra_planet Date: Thu Nov 28 18:13:12 2019 +0800 package init diff --git a/eglexternalplatform-7c8f8e2.tar.gz b/eglexternalplatform-7c8f8e2.tar.gz new file mode 100644 index 0000000..9402b60 Binary files /dev/null and b/eglexternalplatform-7c8f8e2.tar.gz differ diff --git a/eglexternalplatform.spec b/eglexternalplatform.spec new file mode 100644 index 0000000..4232a00 --- /dev/null +++ b/eglexternalplatform.spec @@ -0,0 +1,42 @@ +%global commit 7c8f8e2218e46b1a4aa9538520919747f1184d86 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: eglexternalplatform +Version: 1.1 +Release: 0.2 +Summary: EGL External Platform Interface headers +License: MIT +URL: https://github.com/NVIDIA +Source0: %url/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz + +BuildArch: noarch + +%description +This is a work-in-progress specification of the EGL External Platform interface for writing EGL platforms and +their interactions with modern window systems on top of existing low-level EGL platform implementations. This +keeps window system implementation specifics out of EGL drivers by using application-facing EGL functions. + +Examples of low-level EGL platforms are EGL_EXT_platform_device or EGL_KHR_platform_gbm. + +%package devel +Summary: Development files for eglexternalplatform + +%description devel +Header files for developing applications which use eglexternalplatform. + +%prep +%autosetup -n %{name}-%{commit} -p1 + +%install +install -D -p -m 0644 interface/eglexternalplatform.h %{buildroot}%{_includedir}/eglexternalplatform.h +install -D -p -m 0644 interface/eglexternalplatformversion.h %{buildroot}%{_includedir}/eglexternalplatformversion.h +install -D -p -m 0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/eglexternalplatform.pc + +%files devel +%doc COPYING README.md samples +%{_includedir}/* +%{_datadir}/pkgconfig/eglexternalplatform.pc + +%changelog +* Tue Nov 19 2019 lingsheng - 1.1-0.2 +- Package init