%global git_date 20241204 %global git_hash 6a74a7d %global git_ver 1.4.303 %global rel 2 %global src_name Vulkan-Headers-%{git_date}-%{git_hash}.tar.xz Name: vulkan-headers Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Vulkan Header files and API registry License: ASL 2.0 URL: https://github.com/KhronosGroup/Vulkan-Headers Source0: %{url}/%{src_name} BuildRequires: cmake gcc-c++ ninja-build BuildArch: noarch %description Vulkan Header files and API registry %prep %autosetup -n Vulkan-Headers %build %cmake -G Ninja %cmake_build %install %cmake_install %files %license LICENSE.md %doc README.md %{_includedir}/vulkan/ %{_includedir}/vk_video/ %dir %{_datadir}/vulkan/ %{_datadir}/vulkan/registry/ %{_datadir}/cmake/VulkanHeaders/* %changelog %autochangelog