1
0

Accepting request 903592 from home:jengelh:branches:X11:XOrg

fixall

OBS-URL: https://build.opensuse.org/request/show/903592
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/eglexternalplatform?expand=0&rev=6
This commit is contained in:
Stefan Dirsch 2021-07-01 22:41:14 +00:00 committed by Git OBS Bridge
parent 1f2e18095f
commit 01c021a054
3 changed files with 22 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 1 22:31:22 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Move headers into -devel subpackage to soothe the corresponding
rpmlint warning.
-------------------------------------------------------------------
Thu Jul 1 22:24:58 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -22,33 +22,39 @@ Release: 0
URL: https://github.com/NVIDIA/eglexternalplatform
Summary: The EGL External Platform interface
License: MIT
Group: Development/Libraries/Other
Group: Development/Libraries/C and C++
Source: https://github.com/NVIDIA/eglexternalplatform/archive/refs/tags/%{version}.tar.gz
# Build-time parameters
BuildRequires: pkg-config
BuildArch: noarch
# https://github.com/NVIDIA/eglexternalplatform/releases
Source: %{name}-%{version}.tar.gz
%description
A work-in-progress specification of the EGL External Platform interface.
%package devel
Summary: The EGL External Platform interface
Group: Development/Libraries/C and C++
%description devel
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
for writing EGL platforms and their interactions with 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}
%autosetup
%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/
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
%files devel
%license COPYING
%doc README.md
%{_datadir}/pkgconfig/eglexternalplatform.pc