1 %define commit 29817199b7069bac971e5365d180295d4b077ebe
3 Summary: SPIR-V headers
4 Summary(pl.UTF-8): Pliki nagłówkowe SPIR-V
10 #Source0Download: https://github.com/KhronosGroup/SPIRV-Headers/releases
11 Source0: https://github.com/KhronosGroup/SPIRV-Headers/archive/%{commit}/%{name}-%{commit}.tar.gz
12 # Source0-md5: 6274b7fbd13c25e42d86126c734a6876
13 URL: https://github.com/KhronosGroup/SPIRV-Headers
14 Conflicts: spirv-tools-devel < v2016.6
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This package contains machine-readable files from the SPIR-V Registry.
21 - header files for various languages,
22 - JSON files describing the grammar for the SPIR-V core instruction
23 set, and for the GLSL.std.450 extended instruction set.
25 %description -l pl.UTF-8
26 Ten pakiet zawiera czytelne dla maszyny pliki z rejestru SPIR-V.
28 - pliki nagłówkowe dla różnych języków,
29 - pliki JSON opisujące gramatykę podstawowego zestawu instrukcji
30 SPIR-V oraz rozszerzonego zestawu instrukcji GLSL.std.450.
33 %setup -qn SPIRV-Headers-%{commit}
36 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_includedir}
39 cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc LICENSE README.md