]> git.pld-linux.org Git - packages/spirv-headers.git/blob - spirv-headers.spec
69823d2ed3e2bd9b797dd14092e1249689a10e7c
[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:        1
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This package contains machine-readable files from the SPIR-V Registry.
17 This includes:
18
19 - Header files for various languages.
20 - JSON files describing the grammar for the SPIR-V core instruction
21   set, and for the GLSL.std.450 extended instruction set.
22
23 %prep
24 %setup -qn SPIRV-Headers-%{commit}
25
26 %build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 install -d $RPM_BUILD_ROOT%{_includedir}
32 cp -a include/spirv $RPM_BUILD_ROOT%{_includedir}/spirv
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc LICENSE README.md
40 %{_includedir}/spirv
This page took 0.053495 seconds and 2 git commands to generate.