[packages/embree] - new

baggins baggins at pld-linux.org
Sun Feb 13 20:11:54 CET 2022


commit 5c8ae059812e62c530ce11f1482bfb9c0085d763
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 13 20:11:37 2022 +0100

    - new

 embree.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
---
diff --git a/embree.spec b/embree.spec
new file mode 100644
index 0000000..21e3723
--- /dev/null
+++ b/embree.spec
@@ -0,0 +1,82 @@
+Summary:	High Performance Ray Tracing Kernels
+Name:		embree
+Version:	3.13.3
+Release:	1
+License:	Apache v2.0
+Group:		Libraries
+Source0:	https://github.com/embree/embree/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	61aee19db0341a8353289043617975a7
+URL:		https://www.embree.org/
+BuildRequires:	OpenGL-devel
+BuildRequires:	cmake
+BuildRequires:	libjpeg-devel
+BuildRequires:	tbb-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Intel® Embree is a collection of high-performance ray tracing kernels,
+developed at Intel. The target users of Intel® Embree are graphics
+application engineers who want to improve the performance of their
+photo-realistic rendering application by leveraging Embree's
+performance-optimized ray tracing kernels. The kernels are optimized
+for the latest Intel® processors with support for SSE, AVX, AVX2, and
+AVX-512 instructions. Intel® Embree supports runtime code selection to
+choose the traversal and build algorithms that best matches the
+instruction set of your CPU. We recommend using Intel® Embree through
+its API to get the highest benefit from future improvements.
+
+%package devel
+Summary:	Header files for %{name} library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{name} library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki %{name}.
+
+%prep
+%setup -q
+
+%build
+mkdir -p build
+cd build
+%cmake ../ \
+%ifarch %{x8664} x32
+	-DEMBREE_MAX_ISA=SSE4.2 \
+%else
+	-DEMBREE_MAX_ISA=NONE \
+%endif
+	-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \
+	-DCMAKE_CXX_STANDARD=17 \
+	-DEMBREE_ISPC_SUPPORT=OFF \
+	-DEMBREE_TUTORIALS=OFF
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md README.md SECURITY.md
+%attr(755,root,root) %{_libdir}/libembree3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libembree3.so.3
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libembree3.so
+%{_includedir}/%{name}3
+%{_libdir}/cmake/%{name}-%{version}
+%{_mandir}/man3/*.3embree3*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/embree.git/commitdiff/5c8ae059812e62c530ce11f1482bfb9c0085d763



More information about the pld-cvs-commit mailing list