vulkan-volk/vulkan-volk.spec

52 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: vulkan-volk
Version: 1.4.304
Release: 1mamba
Summary: Meta loader for Vulkan API
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/zeux/volk
Source: https://github.com/zeux/volk.git/%{version}/volk-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
volk is a meta-loader for Vulkan. It allows you to dynamically load entrypoints required to use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. Additionally, volk simplifies the use of Vulkan extensions by automatically loading all associated entrypoints. Finally, volk enables loading Vulkan entrypoints directly from the driver which can increase performance by skipping loader dispatch overhead.
%define debug_package %{nil}
%prep
%setup -q -n volk-%{version}
%build
%cmake \
-DVOLK_INSTALL=On
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_includedir}/volk.c
%{_includedir}/volk.h
%dir %{_libdir}/cmake/volk
%{_libdir}/cmake/volk/volk*.cmake
%{_libdir}/libvolk.a
%doc README.md
%changelog
* Mon Jan 06 2025 Automatic Build System <autodist@openmamba.org> 1.4.304-1mamba
- automatic version update by autodist
* Fri Jan 03 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.295-1mamba
- package created using the webbuild interface