1
0
eglexternalplatform/eglexternalplatform.spec

57 lines
1.8 KiB
RPMSpec

#
# spec file for package eglexternalplatform
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: eglexternalplatform
Version: 1.1
Release: 0
URL: https://github.com/NVIDIA/eglexternalplatform
Summary: The EGL External Platform interface
License: MIT
Group: Development/Libraries/Other
# Build-time parameters
BuildRequires: pkg-config
BuildArch: noarch
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
%autosetup -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/
%files
%license COPYING
%doc README.md
%{_datadir}/pkgconfig/eglexternalplatform.pc
%{_includedir}/EGL/
%changelog