1
0

osc copypac from project:home:aevseev package:eglexternalplatform revision:2

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/eglexternalplatform?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2021-07-01 10:46:24 +00:00 committed by Git OBS Bridge
commit 6566257fbd
7 changed files with 153 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

18
_service Normal file
View File

@ -0,0 +1,18 @@
<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

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

View File

@ -0,0 +1,52 @@
%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

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Jul 1 09:35:35 UTC 2021 - Alexander Evseev <aevseev@gmail.com> - 1.1
- First build. Version 1.1 + git

52
eglexternalplatform.spec Normal file
View File

@ -0,0 +1,52 @@
%define realname eglexternalplatform
%define srcext tar.bz2
# Common info
Name: %{realname}
Version: 0
Release: %{?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