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 Conflicts: spirv-tools-devel < v2016.6
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 This package contains machine-readable files from the SPIR-V Registry.
20 - Header files for various languages.
21 - JSON files describing the grammar for the SPIR-V core instruction
22 set, and for the GLSL.std.450 extended instruction set.
25 %setup -qn SPIRV-Headers-%{commit}
30 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_includedir}
33 cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
40 %doc LICENSE README.md