]> git.pld-linux.org Git - packages/flann.git/blobdiff - flann.spec
- update BRs
[packages/flann.git] / flann.spec
index c49f2a55e8dd9124e12f95f94630cd166cebf2f2..fbba7118ac1d4f65ddce3101575ad64bbc5b5d78 100644 (file)
@@ -1,13 +1,13 @@
 # TODO: CUDA support, MPI (on bconds)
 #
 # Conditional build:
-%bcond_without gomp    # OpenMP support
+%bcond_without openmp  # OpenMP support
 #
 Summary:       FLANN - Fast Library for Approximate Nearest Neighbours
 Summary(pl.UTF-8):     FLANN - szybka biblioteka do przybliżonego wyszukiwania najbliższych sąsiadów
 Name:          flann
 Version:       1.8.4
-Release:       8
+Release:       10
 License:       BSD
 Group:         Libraries
 #Source0Download: http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN
@@ -17,15 +17,18 @@ Patch0:             %{name}-python.patch
 Patch1:                %{name}-lib.patch
 URL:           http://www.cs.ubc.ca/~mariusm/index.php/FLANN/FLANN
 BuildRequires: cmake >= 2.6
-%{?with_gomp:BuildRequires:    gcc-c++ >= 6:4.2}
+%{?with_openmp:BuildRequires:  gcc-c++ >= 6:4.2}
 BuildRequires: gtest-devel
 BuildRequires: hdf5-devel
-%{?with_gomp:BuildRequires:    libgomp-devel}
+BuildRequires: latex2html
+%{?with_openmp:BuildRequires:  libgomp-devel}
 BuildRequires: libstdc++-devel
 BuildRequires: octave-devel
 BuildRequires: python >= 1:2.5
 BuildRequires: python-devel >= 1:2.5
 BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: texlive-latex
+BuildRequires: texlive-makeindex
 BuildRequires: unzip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -114,7 +117,7 @@ install -d build
 cd build
 %cmake .. \
        -DBUILD_CUDA_LIB=OFF \
-       %{!?with_gomp:-DUSE_OPENMP=OFF}
+       %{!?with_openmp:-DUSE_OPENMP=OFF}
 
 %{__make}
 
This page took 0.121832 seconds and 4 git commands to generate.