You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.9 KiB
76 lines
1.9 KiB
## 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
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.3.283.0-2
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
## START: Generated by rpmautospec
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.3.283.0-2
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
* Tue May 28 2024 José Expósito <jexposit@redhat.com> - 1.3.283.0-1
|
|
- Update to 1.3.283.0 SDK
|
|
|
|
* Wed Jan 31 2024 José Expósito <jexposit@redhat.com> - 1.3.268.0-2
|
|
- Make vulkan-volk-devel conflict with volk-devel
|
|
|
|
* Wed Jan 31 2024 José Expósito <jexposit@redhat.com> - 1.3.268.0-1
|
|
- vulkan-volk v1.3.268.0
|
|
## END: Generated by rpmautospec
|