openni is exclusive for x86/x86_64
This commit is contained in:
parent
ab4d181e05
commit
10c1114e20
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: opencv
|
Name: opencv
|
||||||
Version: 2.3.1
|
Version: 2.3.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Collection of algorithms for computer vision
|
Summary: Collection of algorithms for computer vision
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -38,8 +38,10 @@ BuildRequires: libjpeg-devel
|
|||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: libv4l-devel
|
BuildRequires: libv4l-devel
|
||||||
BuildRequires: OpenEXR-devel
|
BuildRequires: OpenEXR-devel
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
BuildRequires: openni-devel
|
BuildRequires: openni-devel
|
||||||
BuildRequires: openni-primesense
|
BuildRequires: openni-primesense
|
||||||
|
%endif
|
||||||
%ifarch %{ix86} x86_64 ia64
|
%ifarch %{ix86} x86_64 ia64
|
||||||
BuildRequires: tbb-devel
|
BuildRequires: tbb-devel
|
||||||
%endif
|
%endif
|
||||||
@ -126,7 +128,9 @@ pushd build
|
|||||||
-DCUDA_VERBOSE_BUILD=1 \
|
-DCUDA_VERBOSE_BUILD=1 \
|
||||||
-DCUDA_PROPAGATE_HOST_FLAGS=0 \
|
-DCUDA_PROPAGATE_HOST_FLAGS=0 \
|
||||||
} \
|
} \
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
-DWITH_OPENNI=ON \
|
-DWITH_OPENNI=ON \
|
||||||
|
%endif
|
||||||
%{!?_with_xine:-DWITH_XINE=0} \
|
%{!?_with_xine:-DWITH_XINE=0} \
|
||||||
-DINSTALL_C_EXAMPLES=1 \
|
-DINSTALL_C_EXAMPLES=1 \
|
||||||
-DINSTALL_PYTHON_EXAMPLES=1 \
|
-DINSTALL_PYTHON_EXAMPLES=1 \
|
||||||
@ -210,6 +214,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 26 2011 Dan Horák <dan[at]danny.cz> - 2.3.1-2
|
||||||
|
- openni is exclusive for x86/x86_64
|
||||||
|
|
||||||
* Fri Aug 19 2011 Nicolas Chauvet <kwizart@gmail.com> - 2.3.1-1
|
* Fri Aug 19 2011 Nicolas Chauvet <kwizart@gmail.com> - 2.3.1-1
|
||||||
- Update to 2.3.1
|
- Update to 2.3.1
|
||||||
- Add BR openni-devel python-sphinx
|
- Add BR openni-devel python-sphinx
|
||||||
|
Loading…
Reference in New Issue
Block a user