From 56e9b10a9ea8f1a0d5a20754bd152aa1d740c3fb Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 1 Apr 2024 13:30:25 +0000 Subject: [PATCH] import CS vulkan-volk-1.3.270-1.el9 --- .gitignore | 1 + .vulkan-volk.metadata | 1 + SPECS/vulkan-volk.spec | 51 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 .gitignore create mode 100644 .vulkan-volk.metadata create mode 100644 SPECS/vulkan-volk.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f9d74a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/1.3.270.tar.gz diff --git a/.vulkan-volk.metadata b/.vulkan-volk.metadata new file mode 100644 index 0000000..aa926c6 --- /dev/null +++ b/.vulkan-volk.metadata @@ -0,0 +1 @@ +bcd68dc84fa54e19d1b3eb49981e65e529d31216 SOURCES/1.3.270.tar.gz diff --git a/SPECS/vulkan-volk.spec b/SPECS/vulkan-volk.spec new file mode 100644 index 0000000..c5dc5cb --- /dev/null +++ b/SPECS/vulkan-volk.spec @@ -0,0 +1,51 @@ +%global debug_package %{nil} + +Name: vulkan-volk +Version: 1.3.270 +Release: 1%{?dist} +Summary: Meta loader for Vulkan API + +License: MIT +URL: https://github.com/zeux/volk +Source0: %url/archive/refs/tags/%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: cmake3 +BuildRequires: vulkan-headers + +Conflicts: volk + +%description +%{summary} + +%package devel +Summary: Development files for %{name} +Provides: %{name}-static = %{version}-%{release} +Requires: vulkan-headers + +%description devel +%{summary} + +%prep +%autosetup -n volk-%{version} -p1 + +%build +%cmake3 -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ + -DVOLK_INSTALL:BOOL=ON +%cmake_build + +%install +%cmake_install + +%files devel +%license LICENSE.md +%doc README.md +%{_includedir}/volk.h +%{_includedir}/volk.c +%{_libdir}/cmake/volk/*.cmake +%{_libdir}/libvolk.a + +%changelog +* Thu Jan 11 2024 José Expósito - 1.3.270-1 +- Version 1.3.270