1 Star 0 Fork 8

SiHuaN/rosbag2

forked from src-openEuler/rosbag2 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rosbag2.spec 3.66 KB
一键复制 编辑 原始数据 按行查看 历史
陈家友 提交于 2022-07-20 21:01 . Update Package to OpenEuler 22.03
Name: ros-foxy-ros-rosbag2
Version: 0.3.9
Release: 2
Summary: This is ROS foxy %{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/ros2/rosbag2.git
Source0: https://github.com/ros2/rosbag2/archive/refs/tags/0.3.9.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: bison
BuildRequires: boost-devel
BuildRequires: git
BuildRequires: bullet-devel
BuildRequires: tinyxml2-devel
BuildRequires: yaml-cpp-devel
BuildRequires: apr-devel
BuildRequires: apr-util-devel
BuildRequires: maven
%description
This is ROS foxy %{name} 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 lark-1.0.0
python3 setup.py install --user
cd ..
cd Cython-0.29.24
python3 setup.py install --user
cd ..
cd numpy-1.21.2
python3 setup.py install --user
cd ..
#ros2
cd distlib-0.3.3/
python3 setup.py install --user
cd ..
cd attrs-21.2.0
python3 setup.py install --user
cd ..
cd more-itertools-5.0.0
python3 setup.py install --user
cd ..
cd zipp-1.0.0
python3 setup.py install --user
cd ..
cd wheel-0.33.0
python3 setup.py install --user
cd ..
cd toml-0.10.2
python3 setup.py install --user
cd ..
cd importlib_metadata-3.8.0
python3 setup.py install --user
cd ..
cd py-1.11.0
python3 setup.py install --user
cd ..
cd packaging-21.3
python3 setup.py install --user
cd ..
cd iniconfig-1.1.1
python3 setup.py install --user
cd ..
cd pluggy-1.0.0
python3 setup.py install --user
cd ..
cd typing_extensions-3.7.4
python3 setup.py install --user
cd ..
cd pytest-6.2.5
python3 setup.py install --user
cd ..
cd coverage-5.4
python3 setup.py install --user
cd ..
cd pytest-cov-3.0.0
python3 setup.py install --user
cd ..
cd pytest-repeat-0.9.1
python3 setup.py install --user
cd ..
cd pytest-rerunfailures-10.2
python3 setup.py install --user
cd ..
cd pytest-runner-5.3.1
python3 setup.py install --user
cd ..
cd PyYAML-6.0
python3 setup.py install --user
cd ..
cd setuptools-60.0.0
python3 setup.py install --user
cd ..
cd argcomplete-1.11.1
python3 setup.py install --user
cd ..
cd notify2-0.3.1
python3 setup.py install --user
cd ..
cd ..
# for colcon build tools
cd build_tools
export BUILD_WORSPCE=$PWD
./colcon/colcon-core/bin/colcon build --paths colcon/* --merge-install
source install/local_setup.sh
cd ..
# for workspace
cd workspace
colcon build --merge-install
cp ../install_dependence.sh install/
cp -r ../build_tools/install/bin install/
cp -r ../build_tools/install/lib install/
cp -r ../build_tools/install/share install/
####
# 对install内部的变量名称进行替换
#
####
SRC_PATH=$PWD/install
DST_PATH=/opt/ros/foxy
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
SRC_PATH=$BUILD_WORSPCE/install
DST_PATH=/opt/ros/foxy
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
####
# install
#
####
mkdir -p %{buildroot}/opt/ros/foxy/
cp -r install/* %{buildroot}/opt/ros/foxy/
%files
%defattr(-,root,root)
/opt/ros/foxy/*
%changelog
* Wed Sep 21 2022 openEuler Buildteam <hanhaomin008@126.com> - 0.3.9-2
- Update Package to OpenEuler 22.03
* Tue Nov 30 2021 openEuler Buildteam <hanhaomin008@126.com> - 0.3.9-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shikann/rosbag2.git
git@gitee.com:shikann/rosbag2.git
shikann
rosbag2
rosbag2
master

搜索帮助