## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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 Name: openpgl Version: 0.5.0 Release: %autorelease Summary: Open Path Guiding Library License: Apache-2.0 URL: https://github.com/OpenPathGuidingLibrary/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: embree-devel BuildRequires: gcc-c++ BuildRequires: pkgconfig(tbb) # Upstream only supports x86_64 and ARM64 architectures ExclusiveArch: aarch64 x86_64 %description The Intel Open Path Guiding Library (Intel Open PGL) implements a set of representations and training algorithms needed to integrate path guiding into a renderer. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup # do not install LICENSE.txt sed -i '/LICENSE.txt/d' openpgl/CMakeLists.txt %build # https://github.com/embree/embree/issues/410 %cmake \ -DCMAKE_CXX_FLAGS="%{optflags} -flax-vector-conversions" %cmake_build %install %cmake_install %files %license LICENSE.txt %doc CHANGELOG.md README.md third-party-programs*.txt %{_libdir}/lib%{name}.so.* %files devel %{_includedir}/%{name} %{_libdir}/cmake/%{name}-%{version} %{_libdir}/lib%{name}.so %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.5.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 17 2024 Jonathan Wakely - 0.5.0-3 - Rebuilt for TBB 2021.11 * Thu Jul 20 2023 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Mar 19 2023 aekoroglu - 0.5.0-1 - Update to 0.5.0 and ARM64 support added * Thu Jan 19 2023 Fedora Release Engineering - 0.4.1-0.2.beta - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Dec 09 2022 Luya Tshimbalanga - 0.4.1-0.1.beta - New package ## END: Generated by rpmautospec