Projects
home:Chenjy9581
ros_controllers
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 14
View file
ros_controllers.spec
Added
@@ -0,0 +1,112 @@ +Name: ros_controllers +Version: 0.19.0 +Release: 1 +Summary: This is ROS melodic ros_controllers Package +License: Public Domain and Apache-2.0 and BSD and MIT and BSL-1.0 and LGPL-2.1-only and MPL-2.0 and GPL-3.0-only and GPL-2.0-or-later and MPL-1.1 and IJG and Zlib and OFL-1.1 +URL: https://github.com/ros-gbp/ros_controllers-release/archive/release/noetic/ros_controllers +Source0: https://github.com/ros-gbp/ros_controllers-release/archive/release/noetic/ros_controllers/0.19.0-1.tar.gz +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: lz4-devel +BuildRequires: bzip2-devel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: openssl-devel +BuildRequires: boost-devel +BuildRequires: uuid-devel +BuildRequires: uuid +BuildRequires: libuuid-devel +BuildRequires: python3-gpgme +BuildRequires: gpgme-devel +BuildRequires: bullet-devel + + +%description +This is ROS noetic ros_controllers Package. + +%prep +%setup + +%install +cd 3rdparty/ + +cd empy-3.3.4/ +python3 setup.py install --user +cd .. + +cd six-1.15.0/ +python3 setup.py install --user +cd .. + +cd setuptools_scm-4.1.2/ +python3 setup.py install --user +cd .. + +cd python-dateutil-2.8.1/ +python3 setup.py install --user +cd .. + +cd pyparsing-2.4.7/ +python3 setup.py install --user +cd .. + +cd docutils-0.16/ +python3 setup.py install --user +cd .. + +cd catkin_pkg-0.4.22/ +python3 setup.py install --user +cd .. + +cd PyYAML-5.3.1/ +python3 setup.py install --user +cd .. + +cd distro-1.5.0/ +python3 setup.py install --user +cd .. + +cd rospkg-1.2.8/ +python3 setup.py install --user +cd .. + +cd tinyxml/ +make +mkdir -p ../install/tinyxml +cp tinystr.h ../install/tinyxml/ +cp tinyxml.h ../install/tinyxml/ +cp libtinyxml.so ../install/tinyxml/ +cd .. + +cd .. + +./src/catkin/bin/catkin_make_isolated --install + +#### +# 对install_isoloate内部的变量名称进行替换 +# +#### +SRC_PATH=$PWD/install_isolated +DST_PATH=/opt/ros/noetic +sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install_isolated/*` + +#### +# 添加.catkin和.rosinstall文件 +# +#### +mkdir -p %{buildroot}/opt/ros/noetic/ +cp -r 3rdparty/install/* install_isolated/lib/ +cp -r install_isolated/* %{buildroot}/opt/ros/noetic/ +cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/ +cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/ +cp -r 3rdparty/install/* %{buildroot}/usr/local/ + +%files +%defattr(-,root,root) +/opt/ros/noetic/* +/opt/ros/noetic/.rosinstall +/opt/ros/noetic/.catkin + +%changelog +* Thu 12-15-2020 openEuler Buildteam <hanhaomin008@126.com> +- Package init \ No newline at end of file
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.