]> git.pld-linux.org Git - packages/spirv-headers.git/blame - spirv-headers.spec
- updated to 1.5.5 from sdk-1.2.198.0 tag
[packages/spirv-headers.git] / spirv-headers.spec
CommitLineData
448c75f6
JB
1# (commit 814e728b30ddd0f4509233099a3ad96fd4318c07)
2%define gitref sdk-1.2.198.0
7db8102b 3
4487a47c 4Summary: SPIR-V headers
b3def81c 5Summary(pl.UTF-8): Pliki nagłówkowe SPIR-V
4487a47c 6Name: spirv-headers
448c75f6
JB
7# see CMakeLists.txt /VERSION or include/spirv/unified1/spirv.h /SPV_VERSION + /SPV_REVISION (whichever is greater)
8Version: 1.5.5
9Release: 1
7e0add61 10License: MIT
4487a47c 11Group: Libraries
448c75f6
JB
12#Source0Download: https://github.com/KhronosGroup/SPIRV-Headers/tags
13Source0: https://github.com/KhronosGroup/SPIRV-Headers/archive/%{gitref}/SPIRV-Headers-%{gitref}.tar.gz
14# Source0-md5: 298b70404ee9b6482397125c920d3c6b
4487a47c 15URL: https://github.com/KhronosGroup/SPIRV-Headers
448c75f6
JB
16BuildRequires: cmake >= 3.0
17BuildRequires: rpmbuild(macros) >= 1.605
9c47c1c8 18Conflicts: spirv-tools-devel < v2016.6
bd427824 19BuildArch: noarch
4487a47c
JK
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This package contains machine-readable files from the SPIR-V Registry.
24This includes:
b3def81c 25- header files for various languages,
4487a47c
JK
26- JSON files describing the grammar for the SPIR-V core instruction
27 set, and for the GLSL.std.450 extended instruction set.
28
b3def81c
JB
29%description -l pl.UTF-8
30Ten pakiet zawiera czytelne dla maszyny pliki z rejestru SPIR-V.
31Obejmują one:
32- pliki nagłówkowe dla różnych języków,
33- pliki JSON opisujące gramatykę podstawowego zestawu instrukcji
34 SPIR-V oraz rozszerzonego zestawu instrukcji GLSL.std.450.
35
4487a47c 36%prep
448c75f6
JB
37%setup -qn SPIRV-Headers-%{gitref}
38
39%build
40install -d build
41cd build
42%cmake ..
43
44%{__make}
4487a47c 45
4487a47c
JK
46%install
47rm -rf $RPM_BUILD_ROOT
48
448c75f6
JB
49%{__make} -C build install \
50 DESTDIR=$RPM_BUILD_ROOT
4487a47c
JK
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc LICENSE README.md
58%{_includedir}/spirv
448c75f6
JB
59%{_datadir}/cmake/SPIRV-Headers
60%{_npkgconfigdir}/SPIRV-Headers.pc
This page took 0.087064 seconds and 4 git commands to generate.