package init

This commit is contained in:
ultra_planet 2019-11-28 18:13:12 +08:00
commit 210f9dc2eb
2 changed files with 42 additions and 0 deletions

Binary file not shown.

42
eglexternalplatform.spec Normal file
View File

@ -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 <lingsheng@huawei.com> - 1.1-0.2
- Package init