%global git_date 20241101 %global git_hash cbcad3c %global git_ver 1.3.301 %global rel 1 %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 -DVULKAN_HEADERS_ENABLE_INSTALL=ON -DVULKAN_HEADERS_ENABLE_MODULE=ON %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