diff --git a/octomap.spec b/octomap.spec index 4337327d3cb4b75ccede1a64b59f9d165c51b1d6..97f813ee1a83e04619eb106e87aa463e2ee9f903 100644 --- a/octomap.spec +++ b/octomap.spec @@ -2,7 +2,7 @@ Name: octomap Version: 1.9.8 -Release: 1%{?dist} +Release: 2 Summary: Efficient Probabilistic 3D Mapping Framework Based on Octrees # octovis is GPLv2, octomap and dynamic-edt-3d are BSD @@ -44,40 +44,40 @@ BuildArch: noarch %description doc This package contains doxygen-generated API documentation for %{name} -%package octovis -Summary: A visualization tool for Octomap - -%description octovis -octovis is visualization tool for the OctoMap library based on Qt and -libQGLViewer -%package octovis-devel -Summary: Development files and libraries for %{name} -Requires: octomap-octovis%{?_isa} = %{version}-%{release} -Requires: octomap-devel%{?_isa} = %{version}-%{release} - -%description octovis-devel -This package contains the header files and development libraries -for octovis. If you like to develop programs using octovis, -you will need to install octovis-devel. - -%package -n dynamic-edt-3d -Summary: Dynamic Euclidian Distance Transform Implementation - -%description -n dynamic-edt-3d -The dynamicEDT3D library implements an incrementally updatable Euclidean -distance transform (EDT) in 3D. It comes with a wrapper to use the OctoMap -3D representation and hooks into the change detection of the OctoMap library -to propagate changes to the EDT. - -%package -n dynamic-edt-3d-devel -Summary: Development files and libraries for dynamic-edt-3d -Requires: dynamic-edt-3d%{?_isa} = %{version}-%{release} -Requires: octomap-devel%{?_isa} = %{version}-%{release} - -%description -n dynamic-edt-3d-devel -This package contains the header files and development libraries -for dynamic-edt-3d. If you like to develop programs using dynamic-edt-3d, -you will need to install dynamic-edt-3d-devel. +#%package octovis +#Summary: A visualization tool for Octomap +# +#%description octovis +#octovis is visualization tool for the OctoMap library based on Qt and +#libQGLViewer +#%package octovis-devel +#Summary: Development files and libraries for %{name} +#Requires: octomap-octovis%{?_isa} = %{version}-%{release} +#Requires: octomap-devel%{?_isa} = %{version}-%{release} +# +#%description octovis-devel +#This package contains the header files and development libraries +#for octovis. If you like to develop programs using octovis, +#you will need to install octovis-devel. +# +#%package -n dynamic-edt-3d +#Summary: Dynamic Euclidian Distance Transform Implementation +# +#%description -n dynamic-edt-3d +#The dynamicEDT3D library implements an incrementally updatable Euclidean +#distance transform (EDT) in 3D. It comes with a wrapper to use the OctoMap +#3D representation and hooks into the change detection of the OctoMap library +#to propagate changes to the EDT. +# +#%package -n dynamic-edt-3d-devel +#Summary: Development files and libraries for dynamic-edt-3d +#Requires: dynamic-edt-3d%{?_isa} = %{version}-%{release} +#Requires: octomap-devel%{?_isa} = %{version}-%{release} +# +#%description -n dynamic-edt-3d-devel +#This package contains the header files and development libraries +#for dynamic-edt-3d. If you like to develop programs using dynamic-edt-3d, +#you will need to install dynamic-edt-3d-devel. %prep @@ -90,6 +90,8 @@ mkdir build && cd build %cmake \ -DCMAKE_BUILD_TYPE=None \ + -DBUILD_DYNAMICETD3D_SUBPROJECT=OFF \ + -DBUILD_OCTOVIS_SUBPROJECT=OFF \ .. %make_build @@ -105,9 +107,9 @@ make test || exit 0 %ldconfig_scriptlets -%ldconfig_scriptlets -n %{name}-octovis +#%ldconfig_scriptlets -n %{name}-octovis -%ldconfig_scriptlets -n dynamic-edt-3d +#%ldconfig_scriptlets -n dynamic-edt-3d %files %license octomap/LICENSE.txt @@ -132,35 +134,38 @@ make test || exit 0 %license octomap/LICENSE.txt %doc octomap/doc/html -%files octovis -%license octovis/LICENSE.txt -%doc octovis/README.md -%{_bindir}/octovis -%{_libdir}/liboctovis.so.%{version} -%{_libdir}/liboctovis.so.%{soversion} -%{_datadir}/octovis -%{_datadir}/ament_index/resource_index/packages/octovis - -%files octovis-devel -%{_includedir}/octovis -%{_libdir}/liboctovis.so -%{_libdir}/octovis - -%files -n dynamic-edt-3d -%license dynamicEDT3D/LICENSE.txt -%doc dynamicEDT3D/README.txt -%{_libdir}/libdynamicedt3d.so.%{version} -%{_libdir}/libdynamicedt3d.so.%{soversion} -%{_datadir}/dynamic_edt_3d -%{_datadir}/ament_index/resource_index/packages/dynamicEDT3D - -%files -n dynamic-edt-3d-devel -%{_includedir}/dynamicEDT3D -%{_libdir}/libdynamicedt3d.so -%{_libdir}/pkgconfig/dynamicEDT3D.pc -%{_libdir}/dynamicEDT3D +#%files octovis +#%license octovis/LICENSE.txt +#%doc octovis/README.md +#%{_bindir}/octovis +#%{_libdir}/liboctovis.so.%{version} +#%{_libdir}/liboctovis.so.%{soversion} +#%{_datadir}/octovis +#%{_datadir}/ament_index/resource_index/packages/octovis +# +#%files octovis-devel +#%{_includedir}/octovis +#%{_libdir}/liboctovis.so +#%{_libdir}/octovis +# +#%files -n dynamic-edt-3d +#%license dynamicEDT3D/LICENSE.txt +#%doc dynamicEDT3D/README.txt +#%{_libdir}/libdynamicedt3d.so.%{version} +#%{_libdir}/libdynamicedt3d.so.%{soversion} +#%{_datadir}/dynamic_edt_3d +#%{_datadir}/ament_index/resource_index/packages/dynamicEDT3D +# +#%files -n dynamic-edt-3d-devel +#%{_includedir}/dynamicEDT3D +#%{_libdir}/libdynamicedt3d.so +#%{_libdir}/pkgconfig/dynamicEDT3D.pc +#%{_libdir}/dynamicEDT3D %changelog +* Mon Jun 26 2023 will_niutao - 1.9.8-2 +- delete octovis and dynamicedt3d package + * Sun May 7 2023 will_niutao - 1.9.8-1 - Init for openEuler