40 lines
1.0 KiB
RPMSpec
40 lines
1.0 KiB
RPMSpec
%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
|