2 %define commit bd47a9abaefac00be692eae677daed1b977e625c
4 Summary: SPIR-V headers
10 Source0: https://github.com/KhronosGroup/SPIRV-Headers/archive/%{commit}/%{name}-%{commit}.tar.gz
11 # Source0-md5: 73b64fcfb897e1b3c192602b59161360
12 URL: https://github.com/KhronosGroup/SPIRV-Headers
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 This package contains machine-readable files from the SPIR-V Registry.
19 - Header files for various languages.
20 - JSON files describing the grammar for the SPIR-V core instruction
21 set, and for the GLSL.std.450 extended instruction set.
24 %setup -qn SPIRV-Headers-%{commit}
29 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_includedir}
32 cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
39 %doc LICENSE README.md