commit 0b6617803723dfd6c36bea7221e60a2a6582fdc6 Author: MSVSphere Packaging Team Date: Tue Nov 26 19:40:05 2024 +0300 import vulkan-volk-1.3.283.0-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ad87e9f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Vulkan-Volk-sdk-1.3.283.0.tar.gz diff --git a/.vulkan-volk.metadata b/.vulkan-volk.metadata new file mode 100644 index 0000000..3d2161c --- /dev/null +++ b/.vulkan-volk.metadata @@ -0,0 +1 @@ +649a4f6c8955893f6e433e59c6b5862f2e6018d7 SOURCES/Vulkan-Volk-sdk-1.3.283.0.tar.gz diff --git a/SPECS/vulkan-volk.spec b/SPECS/vulkan-volk.spec new file mode 100644 index 0000000..548018d --- /dev/null +++ b/SPECS/vulkan-volk.spec @@ -0,0 +1,72 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global debug_package %{nil} + +Name: vulkan-volk +Version: 1.3.283.0 +Release: %autorelease +Summary: Meta loader for Vulkan API + +License: MIT +URL: https://github.com/zeux/volk +Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-Volk-sdk-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: cmake3 +BuildRequires: vulkan-headers + +%description +%{summary} + +%package devel +Summary: Development files for %{name} +Provides: %{name}-static = %{version}-%{release} +Requires: vulkan-headers +Conflicts: volk-devel + +%description devel +%{summary} + +%prep +%autosetup -n volk-vulkan-sdk-%{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 +%dir %{_libdir}/cmake/volk +%{_includedir}/volk.h +%{_includedir}/volk.c +%{_libdir}/cmake/volk/*.cmake +%{_libdir}/libvolk.a + +%changelog +## START: Generated by rpmautospec +* Mon Jun 24 2024 Troy Dawson - 1.3.283.0-2 +- Bump release for June 2024 mass rebuild + +* Tue May 28 2024 José Expósito - 1.3.283.0-1 +- Update to 1.3.283.0 SDK + +* Wed Jan 31 2024 José Expósito - 1.3.268.0-2 +- Make vulkan-volk-devel conflict with volk-devel + +* Wed Jan 31 2024 José Expósito - 1.3.268.0-1 +- vulkan-volk v1.3.268.0 +## END: Generated by rpmautospec