]> git.pld-linux.org Git - packages/spirv-headers.git/blob - spirv-headers.spec
d066aa86df54076f425994b8f63e4906db43fb55
[packages/spirv-headers.git] / spirv-headers.spec
1
2 %define commit  bd47a9abaefac00be692eae677daed1b977e625c
3
4 Summary:        SPIR-V headers
5 Name:           spirv-headers
6 Version:        1.1_rev4
7 Release:        2
8 License:        distributable
9 Group:          Libraries
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 < v2016.6
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This package contains machine-readable files from the SPIR-V Registry.
18 This includes:
19
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 %prep
25 %setup -qn SPIRV-Headers-%{commit}
26
27 %build
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 install -d $RPM_BUILD_ROOT%{_includedir}
33 cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc LICENSE README.md
41 %{_includedir}/spirv
This page took 0.083837 seconds and 2 git commands to generate.