first commit
This commit is contained in:
parent
b9fca38044
commit
3a534fe3eb
BIN
Vulkan-Headers-sdk-1.1.92.0.tar.gz
Normal file
BIN
Vulkan-Headers-sdk-1.1.92.0.tar.gz
Normal file
Binary file not shown.
39
vulkan-headers.spec
Normal file
39
vulkan-headers.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user