!1 添加源代码

Merge pull request !1 from sherlock2010/master
This commit is contained in:
openeuler-ci-bot 2020-01-10 10:25:02 +08:00 committed by Gitee
commit 743e014d83
2 changed files with 39 additions and 0 deletions

Binary file not shown.

39
vulkan-headers.spec Normal file
View File

@ -0,0 +1,39 @@
%global __python %{__python3}
Name: vulkan-headers
Version: 1.1.92.0
Release: 2
Summary: Vulkan Header files and API registry
License: ASL 2.0
URL: https://github.com/KhronosGroup/Vulkan-Headers
Source0: https://github.com/KhronosGroup/Vulkan-Headers/archive/sdk-%{version}.tar.gz#/Vulkan-Headers-sdk-%{version}.tar.gz
BuildRequires: cmake3
BuildArch: noarch
%description
Vulkan is a new generation graphics and compute API that provides high-efficiency, cross-platform
access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones
and embedded platforms.
This package includes Vulkan Header files and API registry.
%prep
%autosetup -n Vulkan-Headers-sdk-%{version} -p1
%build
%cmake3 -DCMAKE_INSTALL_LIBDIR=%{_libdir} .
%make_build
%install
%make_install
%files
%doc README.md
%license LICENSE.txt
%dir %{_datadir}/vulkan/
%{_datadir}/vulkan/registry/
%{_includedir}/vulkan/
%changelog
* Wed Jan 08 2020 zhouyihang <zhouyihang1@huawei.com> - 1.1.92.0-2
- Package init