From b190f1fe73326dcf62b50fe42b395e97abf9e109 Mon Sep 17 00:00:00 2001 From: guibuilder_pel7x64builder0 Date: Sat, 10 Jul 2021 01:00:35 +0200 Subject: [PATCH] eglexternalplatform package createion Signed-off-by: guibuilder_pel7x64builder0 --- SPECS/eglexternalplatform.spec | 73 ++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 SPECS/eglexternalplatform.spec diff --git a/SPECS/eglexternalplatform.spec b/SPECS/eglexternalplatform.spec new file mode 100644 index 0000000..df76d39 --- /dev/null +++ b/SPECS/eglexternalplatform.spec @@ -0,0 +1,73 @@ +%global commit 7c8f8e2218e46b1a4aa9538520919747f1184d86 +%global date 20180916 +%global shortcommit0 %(c=%{commit}; echo ${c:0:7}) +%global debug_package %{nil} + +Name: eglexternalplatform +Version: 1.1 +Release: 0.1%{?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 + +BuildArch: noarch + +%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}%{_datadir}/pkgconfig/ +install -p -m 0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/ + +%files devel +%doc README.md samples +%license COPYING +%{_includedir}/* +%{_datadir}/pkgconfig/eglexternalplatform.pc + + +%changelog +* Mon Aug 20 2018 Leigh Scott - 1.1-0.1.20180916git7c8f8e2 +- Update snapshot + +* Thu Jul 12 2018 Fedora Release Engineering - 1.0-0.7.20170201git76e2948 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0-0.6.20170201git76e2948 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0-0.5.20170201git76e2948 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0-0.4.20170201git76e2948 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 01 2017 Leigh Scott - 1.0-0.3.20170201git76e2948 +- Update snapshot +- Change to noarch +- Add license file + +* 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 +