diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f053ed --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/spirv-headers-*.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..67a37fc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (spirv-headers-061097878467b8e040fbf153a837d844ef9f9f96.tar.gz) = 2717a16dc4f490fd93fd155f292f4dd2685a1085cfa964b53d860a03d24375bcc01b297a791bd06f85a25895e9415f6be8fdbdc3fa1d43f751024e1c71d9bd2e diff --git a/spirv-headers.spec b/spirv-headers.spec new file mode 100644 index 0000000..8395f75 --- /dev/null +++ b/spirv-headers.spec @@ -0,0 +1,62 @@ +%global commit 061097878467b8e040fbf153a837d844ef9f9f96 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20171015 +%global gitrel .%{commit_date}.git%{shortcommit} + +Name: spirv-headers +Version: 1.2 +Release: 0.1%{?gitrel}%{?dist} +Summary: Header files from the SPIR-V registry + +License: MIT +URL: https://github.com/KhronosGroup +Source0: %url/SPIRV-Headers/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz + +BuildArch: noarch + +BuildRequires: cmake +BuildRequires: gcc-c++ + +%description +%{summary} + +This includes: + +* Header files for various languages. +* JSON files describing the grammar for the SPIR-V core instruction + set, and for the GLSL.std.450 extended instruction set. +* The XML registry file + +%package devel +Summary: Development files for %{name} + +%description devel +%{summary} + +This includes: + +* Header files for various languages. +* JSON files describing the grammar for the SPIR-V core instruction + set, and for the GLSL.std.450 extended instruction set. +* The XML registry fil + +%prep +%autosetup -n SPIRV-Headers-%{commit} + + +%build + + +%install +mkdir -p %buildroot%{_includedir}/ +mv include/* %buildroot%{_includedir}/ + +%files devel +%license LICENSE +%doc README.md +%{_includedir}/spirv/ + +%changelog +* Thu Jul 13 2017 Leigh Scott - 1.2-0.1.20171015.git0610978 +- First build +