forked from pool/eglexternalplatform
Stefan Dirsch
aac2ec09f2
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/eglexternalplatform?expand=0&rev=2
45 lines
1.2 KiB
RPMSpec
45 lines
1.2 KiB
RPMSpec
# Common info
|
|
Name: eglexternalplatform
|
|
Version: 1.1
|
|
Release: 0
|
|
License: MIT
|
|
Group: Development/Libraries/Other
|
|
URL: https://github.com/NVIDIA/eglexternalplatform
|
|
Summary: The EGL External Platform interface
|
|
|
|
# Build-time parameters
|
|
BuildRequires: pkg-config
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
%{__install} -d -m0755 %{buildroot}%{_datadir}/pkgconfig
|
|
%{__install} -d -m0755 %{buildroot}%{_includedir}/EGL
|
|
%{__install} -m0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/
|
|
%{__install} -m0644 interface/*.h %{buildroot}%{_includedir}/EGL/
|
|
|
|
%clean
|
|
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%doc README.md
|
|
%{_datadir}/pkgconfig/eglexternalplatform.pc
|
|
%{_includedir}/EGL/
|
|
|
|
%changelog
|