%global debug_package %{nil} %global common_description %{expand: This package provides a utility library that jump starts initialization of Vulkan.} Name: vk-bootstrap Version: 1.3.274 Release: %autorelease Summary: Vulkan Bootstrapping Library License: MIT URL: https://github.com/charles-lunarg/vk-bootstrap Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: vulkan-headers BuildRequires: vulkan-loader-devel %description %{common_description} %package devel Summary: %{summary} Provides: %{name}-static = %{version}-%{release} %description devel %{common_description} %prep %autosetup -p1 %build # Tests are gated out of purpose as they attempt to download dependencies and # fail to build even after patching that out %cmake \ -DVK_BOOTSTRAP_VULKAN_HEADER_DIR="%{_includedir}" \ -DVK_BOOTSTRAP_TEST=OFF \ %{nil} %cmake_build %install %cmake_install %files devel %license LICENSE.txt %doc README.md %changelog %autochangelog