1
0
forked from pool/spirv-headers
Jan Engelhardt 2016-06-12 17:13:05 +00:00 committed by Git OBS Bridge
commit ba2392cd7d
6 changed files with 107 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

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/KhronosGroup/SPIRV-Headers</param>
<param name="filename">spirv-headers</param>
<param name="parent-tag">2065e59fa566c4596e469e8c4b1d23246b8fb4d1</param>
<param name="versionformat">1.1.g@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

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

4
spirv-headers.changes Normal file
View File

@ -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

62
spirv-headers.spec Normal file
View File

@ -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