[packages/spirv-headers] new package

jajcus jajcus at pld-linux.org
Wed Nov 23 13:51:36 CET 2016


commit 4487a47cb43659b6412058c9a1b28bc1534c1ccb
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Wed Nov 23 13:51:06 2016 +0100

    new package

 spirv-headers.spec | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
---
diff --git a/spirv-headers.spec b/spirv-headers.spec
new file mode 100644
index 0000000..53c4738
--- /dev/null
+++ b/spirv-headers.spec
@@ -0,0 +1,40 @@
+
+%define commit	bd47a9abaefac00be692eae677daed1b977e625c
+
+Summary:	SPIR-V headers
+Name:		spirv-headers
+Version:	1.1_rev4
+Release:	0.1
+License:	distributable
+Group:		Libraries
+Source0:	https://github.com/KhronosGroup/SPIRV-Headers/archive/%{commit}/%{name}-%{commit}.tar.gz
+# Source0-md5:	73b64fcfb897e1b3c192602b59161360
+URL:		https://github.com/KhronosGroup/SPIRV-Headers
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package 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.
+
+%prep
+%setup -qn SPIRV-Headers-%{commit}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_includedir}
+cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{_includedir}/spirv
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/spirv-headers.git/commitdiff/4487a47cb43659b6412058c9a1b28bc1534c1ccb



More information about the pld-cvs-commit mailing list