]> git.pld-linux.org Git - packages/pcl.git/blobdiff - pcl.spec
- devel requires eigen3
[packages/pcl.git] / pcl.spec
index 361d2e5ed3fdeedb1ef89459ead1ab1c7d0ba9ef..3832329b6dc4d696e917323c4ad783e025feb2e1 100644 (file)
--- a/pcl.spec
+++ b/pcl.spec
 Summary:       Point Cloud Library - library for point cloud processing
 Summary(pl.UTF-8):     Point Cloud Library - biblioteka do operacji na chmurze punktów
 Name:          pcl
-Version:       1.7.1
-Release:       2
+Version:       1.7.2
+Release:       7
 License:       BSD
 Group:         Libraries
 #Source0Download: http://pointclouds.org/downloads/
 Source0:       https://github.com/PointCloudLibrary/pcl/archive/%{name}-%{version}.tar.gz
-# Source0-md5: ce8fa17662544eb4bb7b084191a61ad5
-Patch0:                %{name}-vtk6.patch
-Patch1:                %{name}-fz_api.patch
-Patch2:                %{name}-tawara.patch
+# Source0-md5: 02c72eb6760fcb1f2e359ad8871b9968
+Patch0:                %{name}-fz_api.patch
+Patch1:                %{name}-tawara.patch
+Patch2:                %{name}-openni.patch
 URL:           http://pointclouds.org/
 BuildRequires: OpenGL-devel
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: OpenNI-devel
+BuildRequires: OpenNI2-devel
 BuildRequires: QtCore-devel >= 4
 BuildRequires: QtOpenGL-devel >= 4
 BuildRequires: boost-devel >= 1.43
@@ -81,6 +82,7 @@ Summary(pl.UTF-8):    Pliki nagłówkowe biblioteki PCL
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      boost-devel >= 1.44
+Requires:      eigen3 >= 3
 %{?with_vtk:Requires:  vtk-devel >= 6}
 
 %description devel
@@ -119,20 +121,16 @@ cd build
        -DFZAPI_DIR=/usr \
        -DFZAPI_INCLUDE_DIR=/usr/include \
        -DFZAPI_LIBS=%{_libdir}/libfz_api.so \
+%endif
+%if %{with apidocs}
+       -DWITH_DOCS=ON \
+       -DWITH_TUTORIALS=ON \
 %endif
        %{!?with_sse:-DPCL_ENABLE_SSE=OFF}
 
 # NOTE: -j1 because of OOM on th-x86_64
 %{__make} -j1
 
-# why it's not called on build?
-%if %{with apidocs}
-cd doc/doxygen
-doxygen doxyfile
-cd ../tutorials
-sphinx-build -b html -a -d doctrees ../../../doc/tutorials/content html
-%endif
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -148,17 +146,23 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS.txt LICENSE.txt
+%attr(755,root,root) %{_bindir}/pcl_compute_hausdorff
 %attr(755,root,root) %{_bindir}/pcl_compute_hull
 %attr(755,root,root) %{_bindir}/pcl_concatenate_points_pcd
 %attr(755,root,root) %{_bindir}/pcl_convert_pcd_ascii_binary
 %attr(755,root,root) %{_bindir}/pcl_demean_cloud
 %attr(755,root,root) %{_bindir}/pcl_fast_bilateral_filter
+%attr(755,root,root) %{_bindir}/pcl_generate
+%attr(755,root,root) %{_bindir}/pcl_grid_min
 %attr(755,root,root) %{_bindir}/pcl_hdl_grabber
 %attr(755,root,root) %{_bindir}/pcl_linemod_detection
+%attr(755,root,root) %{_bindir}/pcl_local_max
 %attr(755,root,root) %{_bindir}/pcl_lum
 %attr(755,root,root) %{_bindir}/pcl_match_linemod_template
+%attr(755,root,root) %{_bindir}/pcl_morph
 %attr(755,root,root) %{_bindir}/pcl_ndt2d
 %attr(755,root,root) %{_bindir}/pcl_ndt3d
+%attr(755,root,root) %{_bindir}/pcl_obj2pcd
 %attr(755,root,root) %{_bindir}/pcl_oni2pcd
 %attr(755,root,root) %{_bindir}/pcl_openni_grabber_depth_example
 %attr(755,root,root) %{_bindir}/pcl_openni_grabber_example
@@ -173,6 +177,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/pcl_ply2ply
 %attr(755,root,root) %{_bindir}/pcl_ply2raw
 %attr(755,root,root) %{_bindir}/pcl_plyheader
+%attr(755,root,root) %{_bindir}/pcl_progressive_morphological_filter
 %attr(755,root,root) %{_bindir}/pcl_radius_filter
 %attr(755,root,root) %{_bindir}/pcl_sac_segmentation_plane
 %attr(755,root,root) %{_bindir}/pcl_train_linemod_template
@@ -330,6 +335,7 @@ rm -rf $RPM_BUILD_ROOT
 %files apidocs
 %defattr(644,root,root,755)
 %dir %{_docdir}/pcl-1.7
+%{_docdir}/pcl-1.7/advanced
 %{_docdir}/pcl-1.7/html
 %{_docdir}/pcl-1.7/tutorials
 %endif
This page took 0.047512 seconds and 4 git commands to generate.