]> git.pld-linux.org Git - SPECS.git/blob - spirv-headers.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / spirv-headers.spec
1 Summary:        SPIR-V headers
2 Summary(pl.UTF-8):      Pliki nagłówkowe SPIR-V
3 Name:           spirv-headers
4 Version:        1.5.4
5 %define subver  raytracing.fixed
6 Release:        2
7 License:        MIT
8 Group:          Libraries
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This package contains machine-readable files from the SPIR-V Registry.
19 This includes:
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.
23
24 %description -l pl.UTF-8
25 Ten pakiet zawiera czytelne dla maszyny pliki z rejestru SPIR-V.
26 Obejmują one:
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.
30
31 %prep
32 %setup -qn SPIRV-Headers-%{version}.%{subver}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 install -d $RPM_BUILD_ROOT%{_includedir}
38 cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc LICENSE README.md
46 %{_includedir}/spirv
This page took 0.110129 seconds and 3 git commands to generate.