File vulkan-loader.spec of Package vulkan-loader

Name:           vulkan-loader
Version:        1.4.335
Release:        %mkrel 2
Summary:        Vulkan ICD loader
License:        Apache-2.0
Group:          System/Libraries
URL:            https://github.com/KhronosGroup/Vulkan-Loader
Source0:        Vulkan-Loader-%{version}.tar.gz

BuildRequires:  cmake
BuildRequires:  gcc
BuildRequires:  git
BuildRequires:  pkgconfig
BuildRequires:  vulkan-headers-devel
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xcb)
BuildRequires:  pkgconfig(xrandr)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(wayland-server)
BuildRequires:  pkgconfig(wayland-egl)

%description
The Vulkan loader provides the ICD interface between Vulkan applications and
Vulkan drivers. It is required for all Vulkan applications.

%prep
%setup -q -n Vulkan-Loader-%{version}

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%{_libdir}/libvulkan.so.*
%{_libdir}/libvulkan.so
%{_libdir}/cmake/VulkanLoader
%{_libdir}/pkgconfig/vulkan.pc

%changelog
* Wed Dec 10 2025 Henrik <henrik@example.com> - 1.4.335-2
- Updated BuildRequires to vulkan-headers-devel so CMake finds Vulkan::Headers
- Rebuilt against corrected headers package with vk.xml and CMake config
openSUSE Build Service is sponsored by