## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 upstream_name level-zero-raytracing-support %global tbb_version 2021.6.0 Name: intel-level-zero-gpu-raytracing Version: 1.2.0 Release: %autorelease Summary: oneAPI Level Zero Ray Tracing Support library License: Apache-2.0 URL: https://github.com/intel/level-zero-raytracing-support Source0: %{url}/archive/v%{version}.tar.gz Source1: https://github.com/uxlfoundation/oneTBB/archive/v%{tbb_version}.tar.gz BuildRequires: cmake BuildRequires: gcc gcc-c++ BuildRequires: git BuildRequires: ninja-build BuildRequires: pkg-config Requires: oneapi-level-zero # Upstream only supports x86_64 ExclusiveArch: x86_64 %description The oneAPI Level Zero Ray Tracing Support library implements high performance CPU based construction algorithms for 3D acceleration structures that are compatible with the ray tracing hardware of Intel GPUs. This library is used by Intel oneAPI Level Zero to implement part of the RTAS builder extension. This library should not get used directly but only through Level Zero. %prep %autosetup -n %{upstream_name}-%{version} # Needs a specific name for static linking tar xf %{SOURCE1} mv oneTBB-%{tbb_version} tbb %build %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr %cmake_build %install %cmake_install %files %license LICENSE.txt third-party-programs-TBB.txt %{_libdir}/libze_intel_gpu_raytracing.so %doc %changelog ## START: Generated by rpmautospec * Mon Oct 20 2025 Androniychuk, Pavel - 1.2.0-1 - Update to v1.2.0 and statically link tbb * Wed Aug 20 2025 Jerry James - 1.1.0-2 - Rebuild for tbb 2022.2.0 * Mon Aug 04 2025 Androniychuk, Pavel - 1.1.0-1 - Upload v1.1.0 ## END: Generated by rpmautospec