eglexternalplatform/eglexternalplatform.spec

53 lines
1.6 KiB
RPMSpec

Name: eglexternalplatform
Version: 1.1
Release: 1mamba
Summary: The EGL External Platform interface
Group: Development/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/NVIDIA/eglexternalplatform
## GITSOURCE https://github.com/NVIDIA/eglexternalplatform.git 1.1
Source: https://github.com/NVIDIA/eglexternalplatform.git/%{version}/eglexternalplatform-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The EGL External Platform interface.
%package devel
Group: Development/Libraries
Summary: The EGL External Platform interface
Requires: pkg-config
%description devel
The EGL External Platform interface.
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_includedir}/EGL
cp -a interface/* %{buildroot}%{_includedir}/EGL/
install -D -m0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/eglexternalplatform.pc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files devel
%defattr(-,root,root)
%{_includedir}/EGL/eglexternalplatform.h
%{_includedir}/EGL/eglexternalplatformversion.h
%{_datadir}/pkgconfig/eglexternalplatform.pc
%doc COPYING
%changelog
* Sat Sep 07 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- package created using the webbuild interface