1 Summary: SPIR-V headers
2 Summary(pl.UTF-8): Pliki nagłówkowe SPIR-V
5 %define subver raytracing.fixed
9 #Source0Download: https://github.com/KhronosGroup/SPIRV-Headers/releases
10 Source0: https://github.com/KhronosGroup/SPIRV-Headers/archive/%{version}.%{subver}/%{name}-%{version}.%{subver}.tar.gz
11 # Source0-md5: f49a22584eeb2609169970c2c3c1eb6e
12 URL: https://github.com/KhronosGroup/SPIRV-Headers
13 Conflicts: spirv-tools-devel < v2016.6
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 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.
24 %description -l pl.UTF-8
25 Ten pakiet zawiera czytelne dla maszyny pliki z rejestru SPIR-V.
27 - pliki nagłówkowe dla różnych języków,
28 - pliki JSON opisujące gramatykę podstawowego zestawu instrukcji
29 SPIR-V oraz rozszerzonego zestawu instrukcji GLSL.std.450.
32 %setup -qn SPIRV-Headers-%{version}.%{subver}
35 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_includedir}
38 cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc LICENSE README.md