## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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: oidn Version: 1.4.3 Release: %autorelease Summary: Library of denoising filters for images rendered with ray tracing License: ASL 2.0 URL: https://openimagedenoise.github.io/ Source0: https://github.com/OpenImageDenoise/%{name}/releases/download/v%{version}/%{name}-%{version}.src.tar.gz # Library only available on x86_64 ExclusiveArch: x86_64 BuildRequires: cmake >= 3.13.0 # Needed to remove rpath from apps BuildRequires: chrpath BuildRequires: gcc-c++ BuildRequires: ispc BuildRequires: pkgconfig(OpenImageIO) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(tbb) %description An open source library of high-performance, high-quality denoising filters for images rendered with ray tracing. %package libs Summary: Libraries for %{name} %description libs The %{name}-libs package contains shared library for %{name}. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package docs Summary: Documentation for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} BuildArch: noarch %description docs The %{name}-docs package contains documentation for %{name}. %prep %autosetup -p1 %build %cmake \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE %cmake_build %install %cmake_install # Remove rpath chrpath --delete %{buildroot}%{_bindir}/%{name}{Denoise,Test,Benchmark} chrpath --delete %{buildroot}%{_libdir}/libOpenImageDenoise.so.* # Remove duplicated documentation rm -rf %{buildroot}%{_docdir}/OpenImageDenoise %files %license LICENSE.txt %doc CHANGELOG.md %{_bindir}/%{name}{Denoise,Test,Benchmark} %files libs %{_libdir}/libOpenImageDenoise.so.* %files docs %doc README.md readme.pdf %files devel %{_libdir}/cmake/OpenImageDenoise-%{version}/*.cmake %{_includedir}/OpenImageDenoise %{_libdir}/libOpenImageDenoise.so %changelog * Fri Jul 22 2022 Fedora Release Engineering 1.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 10 2022 Daan De Meyer 1.4.3-2 - Remove explicit build directory argument from cmake call * Tue Feb 22 2022 Luya Tshimbalanga 1.4.3-1 - Update to oidn 1.4.3 (#2020201) * Thu Jan 20 2022 Fedora Release Engineering 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 23 2021 Luya Tshimbalanga 1.4.1-1 - Update to 1.4.1 Resolves rhbz#1975015 * Wed May 19 2021 Luya Tshimbalanga 1.4.0-1 - Update to 1.4.0 Drop temporary patch from upstraem Resolves rhbz#1961760 * Tue May 11 2021 Luya Tshimbalanga 1.3.0-6 - Patch from upstream devel branch addressing glibc change Fixes rhbz#1959312 Resolves: fedora#1945579 * Tue May 11 2021 Luya Tshimbalanga 1.3.0-4 - Patch from upstream devel branch addressing glibc change Fixes rhbz#1959312 Resolves: fedora#1945579 * Mon May 10 2021 Jonathan Wakely 1.3.0-3 - Rebuilt for removed libstdc++ symbols (#1937698) * Tue Mar 30 2021 Jonathan Wakely 1.3.0-2 - Rebuilt for removed libstdc++ symbol (#1937698) * Fri Feb 05 2021 Luya Tshimbalanga 1.3.0-1 - Update to 1.3.0 * Tue Jan 26 2021 Fedora Release Engineering 1.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 02 2020 Luya Tshimbalanga 1.2.4-1 - Update to 1.2.4 * Mon Sep 14 2020 Luya Tshimbalanga 1.2.3-1 - Update to 1.2.3 Follow new Fedora cmake guideline * Thu Aug 20 2020 Simone Caronni 1.2.2-4 - Move cmake files to devel subpackage * Sat Aug 01 2020 Fedora Release Engineering 1.2.2-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 20 2020 Luya Tshimbalanga 1.2.2-1 - Update to 1.2.2 (#1855832) Add OpenImageIO dependency * Sun Jun 21 2020 Luya Tshimbalanga 1.2.1-1 - Update to 1.2.1 * Sat Apr 11 2020 Luya Tshimbalanga 1.2.0-1 - Update to 1.2.0 Add ispc and redhat-rpm-config depedencies * Wed Jan 29 2020 Fedora Release Engineering 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 17 2019 Luya Tshimbalanga 1.1.0-1 - Update to 1.1.0 * Sat Aug 17 2019 Luya Tshimbalanga 1.0.0-1 - Update to 1.0.0 Use pkgconfig for Python 3 * Thu Jul 25 2019 Fedora Release Engineering 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 09 2019 Luya Tshimbalanga 0.9.0-1 - Update to 0.9.0 * Tue Apr 02 2019 Luya Tshimbalanga 0.8.2-1 - Use spaces on line 47 Make -doc subpackage noarch Make -doc subpackage requiring main package