From ba2392cd7d48c07c1a7003c027b1800b673b53fb4bf5a7b43aa22c215ac894f9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 12 Jun 2016 17:13:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-headers?expand=0&rev=3 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + _service | 14 ++++++++ spirv-headers-1.1.g15.tar.xz | 3 ++ spirv-headers.changes | 4 +++ spirv-headers.spec | 62 ++++++++++++++++++++++++++++++++++++ 6 files changed, 107 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 spirv-headers-1.1.g15.tar.xz create mode 100644 spirv-headers.changes create mode 100644 spirv-headers.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..b8678d4 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://github.com/KhronosGroup/SPIRV-Headers + spirv-headers + 2065e59fa566c4596e469e8c4b1d23246b8fb4d1 + 1.1.g@TAG_OFFSET@ + + + *.tar + xz + + + diff --git a/spirv-headers-1.1.g15.tar.xz b/spirv-headers-1.1.g15.tar.xz new file mode 100644 index 0000000..0523e39 --- /dev/null +++ b/spirv-headers-1.1.g15.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b4444555169ee0865f8acb5722a7e7b43a1ea71b93c2c1d469144f2d4182c98 +size 34720 diff --git a/spirv-headers.changes b/spirv-headers.changes new file mode 100644 index 0000000..e8d429e --- /dev/null +++ b/spirv-headers.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Jun 12 16:10:27 UTC 2016 - jengelh@inai.de + +- Initial package (version 1.1.g15) for build.opensuse.org diff --git a/spirv-headers.spec b/spirv-headers.spec new file mode 100644 index 0000000..4cc3ee2 --- /dev/null +++ b/spirv-headers.spec @@ -0,0 +1,62 @@ +# +# spec file for package spirv-tools +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%define version_unconverted 1.1.g15 + +Name: spirv-headers +Version: 1.1.g15 +Release: 0 +Summary: Machine-readable files from the SPIR-V registry +License: HPND +Group: Development/Libraries/C and C++ +Url: https://github.com/KhronosGroup/SPIRV-Headers + +Source: %name-%version.tar.xz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ + +%description +This repository contains machine-readable files from the SPIR-V +registry. This includes: + +* Header files for various languages. +* JSON files describing the grammar for the SPIR-V core instruction + set, and for the GLSL.std.450 extended instruction set. +* The XML registry file. + +%prep +%setup -q + +%build +# Because Khronos does not know what DESTDIR is. +%cmake -DCMAKE_INSTALL_PREFIX="%buildroot/%_prefix" +make %{?_smp_mflags} + +%install +pushd build/ +make install-headers +popd + +%files +%defattr(-,root,root) +%_includedir/spirv/ +%doc LICENSE + +%changelog