69 lines
1.6 KiB
RPMSpec
69 lines
1.6 KiB
RPMSpec
%global commit 1feaf4414eb2b353764d01d88f8aa4bcc67b60db
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
%global commit_date 20230309
|
|
%global gitrel .%{commit_date}.git%{shortcommit}
|
|
|
|
Name: spirv-headers
|
|
Version: 1.5.5
|
|
Release: 2
|
|
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 May 26 2023 misaka00251 <liuxin@iscas.ac.cn> - 1.5.5-2
|
|
- Bump version to a latest commit
|
|
|
|
* Mon Jul 25 2022 loong_C <loong_c@yeah.net> - 1.5.5-1
|
|
- update to 1.5.5
|
|
|
|
* Thu Dec 16 2021 liqiuyu <liqiuyu@kylinos.cn> - 1.5.1-3
|
|
- Remove the release suffix
|
|
|
|
* Fri Oct 09 2020 Zhiyi Weng <zhiyi@iscas.ac.cn> - 1.5.1-2
|
|
- Initial version.
|