import CS vulkan-volk-1.3.270-1.el9
This commit is contained in:
commit
56e9b10a9e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/1.3.270.tar.gz
|
1
.vulkan-volk.metadata
Normal file
1
.vulkan-volk.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
bcd68dc84fa54e19d1b3eb49981e65e529d31216 SOURCES/1.3.270.tar.gz
|
51
SPECS/vulkan-volk.spec
Normal file
51
SPECS/vulkan-volk.spec
Normal file
@ -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 <jexposit@redhat.com> - 1.3.270-1
|
||||||
|
- Version 1.3.270
|
Loading…
Reference in New Issue
Block a user