Release: 0
# ==========================================================
-License: Apache-2.0
+License: MIT
# ==========================================================
Group: Development/ROS
# specifies build-time dependencies for the package
# ==========================================================
BuildRequires: cmake
+BuildRequires: gtest-devel
%description
%{name} version %{version}
+%package devel
+Summary: %{name}-devel
+Group: Development/ROS
+
+%description devel
+%{name}-devel version %{version}
+
%prep
%setup -q
# how to actually build the software we are packaging
# ==========================================================
%build
+mkdir -p build
+pushd build
+%{cmake} ..
+%{make_build}
+popd
# ==========================================================
# how to actually build the software we are packaging
# ==========================================================
%install
+pushd build
+%{cmake} ..
+%{make_install}
+popd
%clean
# ==========================================================
%files
%manifest %{name}.manifest
+%license LICENSE
+%{_bindir}/bt3_log_cat
+%{_bindir}/bt3_plugin_manifest
+%{_libdir}/libbehaviortree_cpp_v3.so
+%files devel
+%manifest %{name}.manifest
+%license LICENSE
+%{_includedir}/behaviortree_cpp_v3/*.h
+%{_includedir}/behaviortree_cpp_v3/actions/*.h
+%{_includedir}/behaviortree_cpp_v3/controls/*.h
+%{_includedir}/behaviortree_cpp_v3/decorators/*.h
+%{_includedir}/behaviortree_cpp_v3/flatbuffers/*.h
+%{_includedir}/behaviortree_cpp_v3/loggers/*.h
+%{_includedir}/behaviortree_cpp_v3/utils/*.h
+%{_includedir}/behaviortree_cpp_v3/utils/*.hpp
+%{_libdir}/BehaviorTreeV3/cmake/*.cmake