123 lines
3.7 KiB
RPMSpec
123 lines
3.7 KiB
RPMSpec
Name: embree
|
|
Version: 4.3.2
|
|
Release: 1mamba
|
|
Summary: A collection of high-performance ray tracing kernels, developed at Intel
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.embree.org/
|
|
Source: https://github.com/embree/embree.git/v%{version}/embree-%{version}.tar.bz2
|
|
License: Apache License 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtbb-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: ispc
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
A collection of high-performance ray tracing kernels, developed at Intel.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: A collection of high-performance ray tracing kernels, developed at Intel.
|
|
|
|
%description -n lib%{name}
|
|
A collection of high-performance ray tracing kernels, developed at Intel.
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DEMBREE_ISPC_SUPPORT=ON \
|
|
-DEMBREE_TUTORIALS=OFF \
|
|
%ifarch x86_64 %{ix86}
|
|
-DEMBREE_MAX_ISA="AVX512SKX" \
|
|
%endif
|
|
-DEMBREE_RAY_MASK=ON \
|
|
-DEMBREE_FILTER_FUNCTION=ON \
|
|
-DEMBREE_BACKFACE_CULLING=OFF
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
rm -f %{buildroot}%{_prefix}/embree-vars.*
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libembree4.so.*
|
|
%doc LICENSE.txt
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/embree4
|
|
%{_includedir}/embree4/*
|
|
%{_libdir}/libembree4.so
|
|
%dir %{_datadir}/doc/embree4
|
|
%{_datadir}/doc/embree4/*
|
|
%{_mandir}/man3/*4.gz
|
|
%dir %{_libdir}/cmake/embree-%{version}
|
|
%{_libdir}/cmake/embree-%{version}/embree*.cmake
|
|
|
|
%changelog
|
|
* Fri Jun 14 2024 Automatic Build System <autodist@openmamba.org> 4.3.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-2mamba
|
|
- rebuilt with ispc and EMBREE_ISPC_SUPPORT=ON
|
|
|
|
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 4.3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 28 2023 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 12 2023 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 10 2023 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 12 2023 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 15 2022 Automatic Build System <autodist@mambasoft.it> 3.13.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 22 2022 Automatic Build System <autodist@mambasoft.it> 3.13.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Feb 11 2022 Automatic Build System <autodist@mambasoft.it> 3.13.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.13.2-1mamba
|
|
- package created using the webbuild interface
|