91 lines
2.5 KiB
RPMSpec
91 lines
2.5 KiB
RPMSpec
|
Name: embree
|
||
|
Version: 3.13.3
|
||
|
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
|
||
|
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=OFF \
|
||
|
-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
|
||
|
|
||
|
%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}/libembree3.so.*
|
||
|
%doc LICENSE.txt
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/embree3
|
||
|
%{_includedir}/embree3/*
|
||
|
%{_libdir}/libembree3.so
|
||
|
%dir %{_datadir}/doc/embree3
|
||
|
%{_datadir}/doc/embree3/*
|
||
|
%{_mandir}/man3/*3.gz
|
||
|
%dir %{_libdir}/cmake/embree-%{version}
|
||
|
%{_libdir}/cmake/embree-%{version}/embree*.cmake
|
||
|
|
||
|
%changelog
|
||
|
* 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
|