From d5001da634a15cb7f102609f7246dcb2decb6395 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Sat, 21 Jan 2017 10:44:20 +0000 Subject: [PATCH] Initial build --- .gitignore | 1 + eglexternalplatform.spec | 50 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+) create mode 100644 eglexternalplatform.spec diff --git a/.gitignore b/.gitignore index e69de29..18ad0ab 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/eglexternalplatform-53bf47c.tar.gz diff --git a/eglexternalplatform.spec b/eglexternalplatform.spec new file mode 100644 index 0000000..fd52fe4 --- /dev/null +++ b/eglexternalplatform.spec @@ -0,0 +1,50 @@ +%global commit 53bf47ccd349b7525248687ba0058860168c8580 +%global date 20170120 +%global shortcommit0 %(c=%{commit}; echo ${c:0:7}) +%global debug_package %{nil} + +Name: eglexternalplatform +Version: 1.0 +Release: 0.2%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist} +Summary: EGL External Platform Interface headers + +License: MIT +URL: https://github.com/NVIDIA +Source0: %url/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit0}.tar.gz + +%description +%summary + +%package devel +Summary: Development files for %{name} + +%description devel +The %{name}-devel package contains the header files for +developing applications that use %{name}. + + +%prep +%autosetup -n %{name}-%{commit} + +%build + +%install +mkdir -p %{buildroot}%{_includedir}/ +install -p -m 0644 interface/eglexternalplatform.h %{buildroot}%{_includedir}/ +install -p -m 0644 interface/eglexternalplatformversion.h %{buildroot}%{_includedir}/ +mkdir -p %{buildroot}%{_libdir}/pkgconfig/ +install -p -m 0644 eglexternalplatform.pc %{buildroot}%{_libdir}/pkgconfig/ + +%files devel +%doc README.md samples +%{_includedir}/* +%{_libdir}/pkgconfig/eglexternalplatform.pc + + +%changelog +* Fri Jan 20 2017 Leigh Scott - 1.0-0.2.20170120git53bf47c +- Add date to release + +* Thu Jan 19 2017 Leigh Scott - 1.0-0.1.git53bf47c +- First build + diff --git a/sources b/sources index e69de29..7199e9f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (eglexternalplatform-53bf47c.tar.gz) = e24bd3a34fb7530b0e596306cd33476e06621af7d66aa1a0d2dd0d55d798ca35189e36e98d3ce4b164f5cfbb367a13e6f313a097264e9308e54e06f38e8f95d5