2017-02-01 19:04:59 +00:00
|
|
|
%global commit 76e29488ca3a34e5ef58a4c83d8cd857b621de2a
|
|
|
|
%global date 20170201
|
2017-01-21 10:44:20 +00:00
|
|
|
%global shortcommit0 %(c=%{commit}; echo ${c:0:7})
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
Name: eglexternalplatform
|
|
|
|
Version: 1.0
|
2017-02-10 09:04:54 +00:00
|
|
|
Release: 0.4%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
|
2017-01-21 10:44:20 +00:00
|
|
|
Summary: EGL External Platform Interface headers
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/NVIDIA
|
|
|
|
Source0: %url/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
|
|
|
|
2017-02-01 19:04:59 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2017-01-21 10:44:20 +00:00
|
|
|
%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}/
|
2017-02-01 19:04:59 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/pkgconfig/
|
|
|
|
install -p -m 0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/
|
2017-01-21 10:44:20 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc README.md samples
|
2017-02-01 19:04:59 +00:00
|
|
|
%license COPYING
|
2017-01-21 10:44:20 +00:00
|
|
|
%{_includedir}/*
|
2017-02-01 19:04:59 +00:00
|
|
|
%{_datadir}/pkgconfig/eglexternalplatform.pc
|
2017-01-21 10:44:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-02-10 09:04:54 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.4.20170201git76e2948
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-02-01 19:04:59 +00:00
|
|
|
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0-0.3.20170201git76e2948
|
|
|
|
- Update snapshot
|
|
|
|
- Change to noarch
|
|
|
|
- Add license file
|
|
|
|
|
2017-01-21 10:44:20 +00:00
|
|
|
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0-0.2.20170120git53bf47c
|
|
|
|
- Add date to release
|
|
|
|
|
|
|
|
* Thu Jan 19 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0-0.1.git53bf47c
|
|
|
|
- First build
|
|
|
|
|