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