Initial version
This commit is contained in:
parent
68e5defcfe
commit
10b891fb45
BIN
spirv-headers-dc77030acc9c6fe7ca21fff54c5a9d7b532d7da6.tar.gz
Normal file
BIN
spirv-headers-dc77030acc9c6fe7ca21fff54c5a9d7b532d7da6.tar.gz
Normal file
Binary file not shown.
59
spirv-headers.spec
Normal file
59
spirv-headers.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
%global commit dc77030acc9c6fe7ca21fff54c5a9d7b532d7da6
|
||||||
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
|
%global commit_date 20200121
|
||||||
|
%global gitrel .%{commit_date}.git%{shortcommit}
|
||||||
|
|
||||||
|
Name: spirv-headers
|
||||||
|
Version: 1.5.1
|
||||||
|
Release: 2%{?gitrel}%{?dist}
|
||||||
|
Summary: Header files from the SPIR-V registry
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/KhronosGroup
|
||||||
|
Source0: %url/SPIRV-Headers/archive/%{commit}/%{name}-%{commit}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%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}
|
||||||
|
chmod a-x include/spirv/1.2/spirv.py
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %buildroot%{_includedir}/
|
||||||
|
mv include/* %buildroot%{_includedir}/
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_includedir}/spirv/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Oct 09 2020 Zhiyi Weng <zhiyi@iscas.ac.cn> - 1.5.1-2
|
||||||
|
- Initial version.
|
||||||
Loading…
x
Reference in New Issue
Block a user