nodelet_core/nodelet_core.spec

115 lines
2.5 KiB
RPMSpec
Raw Normal View History

2022-11-01 20:54:08 +08:00
Name: ros-noetic-ros-nodelet_core
2021-08-01 23:17:03 +08:00
Version: 1.10.1
2021-10-18 16:56:42 +08:00
Release: 1
2022-11-01 20:54:08 +08:00
Summary: This is ROS noetic %{name} Package
2021-08-01 23:17:03 +08:00
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/nodelet_core-release/archive/release/noetic/nodelet_core
Source0: https://github.com/ros-gbp/nodelet_core-release/archive/release/noetic/nodelet_core/1.10.1-1.tar.gz
2020-10-26 11:21:29 +08:00
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: lz4-devel
BuildRequires: bzip2-devel
BuildRequires: python3-devel
BuildRequires: python3-setuptools
2020-10-26 11:21:29 +08:00
BuildRequires: openssl-devel
BuildRequires: uuid-devel
BuildRequires: uuid
BuildRequires: libuuid-devel
2021-08-01 23:17:03 +08:00
BuildRequires: libtiff-devel
BuildRequires: libwebp-devel
BuildRequires: libjpeg-turbo-devel
BuildRequires: yaml-cpp-devel
BuildRequires: boost-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: fltk-devel
BuildRequires: libpng-devel
BuildRequires: python3-gpgme
BuildRequires: gpgme-devel
BuildRequires: cpp-gpgme
BuildRequires: python3-crypto
BuildRequires: bullet-devel
2021-10-18 16:56:42 +08:00
BuildRequires: gtest-devel
BuildRequires: gmock-devel
2020-10-26 11:21:29 +08:00
%description
2022-11-01 20:54:08 +08:00
This is %{name} Package
2020-10-26 11:21:29 +08:00
%prep
2021-10-18 16:56:42 +08:00
%setup
2020-10-26 11:21:29 +08:00
%install
2021-08-01 23:17:03 +08:00
2020-10-26 11:21:29 +08:00
cd 3rdparty/
cd empy-3.3.4/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd six-1.15.0/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd setuptools_scm-4.1.2/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd python-dateutil-2.8.1/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd pyparsing-2.4.7/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd docutils-0.16/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd catkin_pkg-0.4.22/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
#for std_msgs
cd PyYAML-5.3.1/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd distro-1.5.0/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
cd rospkg-1.2.8/
2021-08-01 23:17:03 +08:00
python3 setup.py install --user
2020-10-26 11:21:29 +08:00
cd ..
# 3rdparty
cd ..
#compile
2023-06-27 09:49:56 +08:00
#./src/catkin/bin/catkin_make_isolated --install
#cp install_dependence.sh install_isolated/
2021-08-01 23:17:03 +08:00
####
# 对install_isoloate内部的变量名称进行替换
#
####
2023-06-27 09:49:56 +08:00
#SRC_PATH=$PWD/install_isolated
#DST_PATH=/opt/ros/noetic
#sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install_isolated/*`
2021-08-01 23:17:03 +08:00
####
# 添加.catkin和.rosinstall文件
#
####
2023-06-27 09:49:56 +08:00
#mkdir -p %{buildroot}/opt/ros/noetic/
#cp -r install_isolated/* %{buildroot}/opt/ros/noetic/
#cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/
#cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/
2020-10-26 11:21:29 +08:00
%files
2021-08-01 23:17:03 +08:00
%defattr(-,root,root)
2020-10-26 11:21:29 +08:00
%changelog
2022-06-09 02:38:31 +00:00
* Tue Dec 15 2020 openEuler Buildteam <hanhaomin008@126.com> - 1.10.1-1
- Package init