First build
This commit is contained in:
parent
02bea914a6
commit
a60b67f14b
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/spirv-headers-*.tar.gz
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (spirv-headers-061097878467b8e040fbf153a837d844ef9f9f96.tar.gz) = 2717a16dc4f490fd93fd155f292f4dd2685a1085cfa964b53d860a03d24375bcc01b297a791bd06f85a25895e9415f6be8fdbdc3fa1d43f751024e1c71d9bd2e
|
62
spirv-headers.spec
Normal file
62
spirv-headers.spec
Normal file
@ -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 <leigh123linux@googlemail.com> - 1.2-0.1.20171015.git0610978
|
||||||
|
- First build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user