Compare commits
10 Commits
341905c926
...
e9ed3465c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9ed3465c6 | ||
|
|
6866a7f2c1 | ||
|
|
1ed175aa30 | ||
|
|
ba44fe56ab | ||
|
|
e7a15c176a | ||
|
|
bf4f44b781 | ||
|
|
a5bd978806 | ||
|
|
a1d3f12149 | ||
|
|
74f62f8d12 | ||
|
|
bc05376238 |
@ -1,6 +1,6 @@
|
||||
Name: ros-noetic-ros-nodelet_core
|
||||
Name: nodelet_core
|
||||
Version: 1.10.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: This is ROS noetic %{name} 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/nodelet_core-release/archive/release/noetic/nodelet_core
|
||||
@ -23,10 +23,6 @@ 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
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: gmock-devel
|
||||
@ -35,7 +31,7 @@ BuildRequires: gmock-devel
|
||||
This is %{name} Package
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q -n ros-noetic-ros-%{name}-%{version}
|
||||
|
||||
%install
|
||||
|
||||
@ -86,32 +82,32 @@ cd ..
|
||||
cd ..
|
||||
|
||||
#compile
|
||||
./src/catkin/bin/catkin_make_isolated --install
|
||||
cp install_dependence.sh install_isolated/
|
||||
#./src/catkin/bin/catkin_make_isolated --install
|
||||
#cp install_dependence.sh install_isolated/
|
||||
|
||||
####
|
||||
# 对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/*`
|
||||
#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 install_isolated/* %{buildroot}/opt/ros/noetic/
|
||||
cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/
|
||||
cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/
|
||||
#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/
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/opt/ros/noetic/*
|
||||
/opt/ros/noetic/.rosinstall
|
||||
/opt/ros/noetic/.catkin
|
||||
|
||||
%changelog
|
||||
* Tue Apr 09 2024 zhangxianting <zhangxianting@uniontech.com> - 1.10.1-2
|
||||
- point source patch at prep
|
||||
|
||||
* Tue Dec 15 2020 openEuler Buildteam <hanhaomin008@126.com> - 1.10.1-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user