1
0

- tried to address checkin policy issues for factory

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/eglexternalplatform?expand=0&rev=2
This commit is contained in:
Stefan Dirsch 2021-07-01 12:28:03 +00:00 committed by Git OBS Bridge
parent 6566257fbd
commit aac2ec09f2
6 changed files with 13 additions and 86 deletions

View File

@ -1,18 +0,0 @@
<services>
<service name="tar_scm">
<param name="scm">git</param>
<param name="url">https://github.com/NVIDIA/eglexternalplatform</param>
<param name="revision">refs/tags/1.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">^\D*([\d.]+)$</param>
</service>
<service name="recompress">
<param name="compression">bz2</param>
<param name="file">*.tar</param>
</service>
<service name="set_version"/>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d468faa629ad28cac1d0749df10ccc31b119e89a87f3e5527051126f14d6352e
size 10029

View File

@ -1,52 +0,0 @@
%define realname eglexternalplatform
%define srcext tar.bz2
# Common info
Name: %{realname}
Version: 1.1
Release: 0%{?extraver:0.}1%{?dist}
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/NVIDIA/eglexternalplatform
Summary: The EGL External Platform interface
# Install-time parameters
Provides: %{realname}-devel = %{version}-%{release}
Obsoletes: %{realname}-devel < %{version}-%{release}
# Build-time parameters
BuildRequires: pkg-config
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-root
Source: %{realname}-%{version}%{?extraver}.%{srcext}
%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.
# Preparation step (unpackung and patching if necessary)
%prep
%setup -q -n %{realname}-%{version}%{?extraver}
%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

BIN
eglexternalplatform-1.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 1 12:26:03 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- tried to address checkin policy issues for factory
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 1 09:35:35 UTC 2021 - Alexander Evseev <aevseev@gmail.com> - 1.1 Thu Jul 1 09:35:35 UTC 2021 - Alexander Evseev <aevseev@gmail.com> - 1.1

View File

@ -1,24 +1,17 @@
%define realname eglexternalplatform
%define srcext tar.bz2
# Common info # Common info
Name: %{realname} Name: eglexternalplatform
Version: 0 Version: 1.1
Release: %{?extraver:0.}1%{?dist} Release: 0
License: MIT License: MIT
Group: Development/Libraries/Other Group: Development/Libraries/Other
URL: https://github.com/NVIDIA/eglexternalplatform URL: https://github.com/NVIDIA/eglexternalplatform
Summary: The EGL External Platform interface Summary: The EGL External Platform interface
# Install-time parameters
Provides: %{realname}-devel = %{version}-%{release}
Obsoletes: %{realname}-devel < %{version}-%{release}
# Build-time parameters # Build-time parameters
BuildRequires: pkg-config BuildRequires: pkg-config
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
Source: %{realname}-%{version}%{?extraver}.%{srcext} Source: %{name}-%{version}.tar.gz
%description %description
This is a work-in-progress specification of the EGL External Platform interface This is a work-in-progress specification of the EGL External Platform interface
@ -27,9 +20,8 @@ top of existing low-level EGL platform implementations. This keeps window system
implementation specifics out of EGL drivers by using application-facing implementation specifics out of EGL drivers by using application-facing
EGL functions. EGL functions.
# Preparation step (unpackung and patching if necessary)
%prep %prep
%setup -q -n %{realname}-%{version}%{?extraver} %setup -q -n %{name}-%{version}
%build %build