diff --git a/0.9.9.tar.gz b/0.9.9.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..717619f791f9eb703bc74a915f86ec6b194545d0 Binary files /dev/null and b/0.9.9.tar.gz differ diff --git a/README.en.md b/README.en.md index e8435042fd3cc89c992277c02f17ab6f0b1bc53e..798e670c47e0f7e0629f7984d5ae1c20b1024276 100644 --- a/README.en.md +++ b/README.en.md @@ -1,22 +1,27 @@ # ament_cmake #### Description + The entry point package for the ament buildsystem in CMake. #### Software Architecture Software architecture description +https://github.com/ament/ament_cmake.git + #### Installation -1. xxxx -2. xxxx -3. xxxx +1. Dowload RPM + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/21.03/standard_aarch64/aarch64/ament_cmake-0.9.9-1.oe1.aarch64.rpm + +2. Install RPM + +sudo rpm -ivh ament_cmake-0.9.9-1.oe1.aarch64.rpm #### Instructions -1. xxxx -2. xxxx -3. xxxx +Exit the ament_cmake file under the /opt/ros/foxy/ directory , Prove that the software installation is successful #### Contribution diff --git a/README.md b/README.md index 1e534bc5dd7a7c9460107f9a7709748c35eb0063..b58e62e04d785c7575028e6260e2713362e3b824 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,28 @@ # ament_cmake #### 介绍 -The entry point package for the ament buildsystem in CMake. + +ament_cmake 包含所有编译系统的cmake #### 软件架构 软件架构说明 +https://github.com/ament/ament_cmake.git #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +1. 下载rpm包 + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/21.03/standard_aarch64/aarch64/ament_cmake-0.9.9-1.oe1.aarch64.rpm + +2. 安装rpm包 + +sudo rpm -ivh ament_cmake-0.9.9-1.oe1.aarch64.rpm + #### 使用说明 -1. xxxx -2. xxxx -3. xxxx +安装完成以后,在/opt/ros/foxy/目录下有ament_cmake/文件夹证明安装成功 #### 参与贡献 diff --git a/ament_cmake.spec b/ament_cmake.spec new file mode 100644 index 0000000000000000000000000000000000000000..d3e59d4b72a4180c2c3d98bda1bbd636e822156e --- /dev/null +++ b/ament_cmake.spec @@ -0,0 +1,182 @@ +Name: ament_cmake +Version: 0.9.9 +Release: 1 +Summary: This is ROS2 foxy ament_cmake 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/ament/ament_cmake.git +Source0: https://github.com/ament/ament_cmake/archive/refs/tags/0.9.9.tar.gz +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: asio-devel +BuildRequires: git + +%description +This is ROS2 foxy ament_cmake 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 .. + +#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-50.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 +./colcon/colcon-core/bin/colcon build --paths colcon/* --merge-install +source install/local_setup.sh +cd .. + +# for workspace +cd workspace +colcon build --merge-install + +#### +# 对install内部的变量名称进行替换 +# +#### +SRC_PATH=$PWD/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/ + +###for debug +#mkdir -p %{buildroot}/opt/ros/foxy/log +#cp -r log/ %{buildroot}/opt/ros/foxy/log + +%files +%defattr(-,root,root) +/opt/ros/foxy/* + +%changelog +* Thu 11-30-2021 openEuler Buildteam +- Package init +* Thu 01-04-2022 openEuler Buildteam +- Package update diff --git a/ament_cmake.yaml b/ament_cmake.yaml new file mode 100644 index 0000000000000000000000000000000000000000..74cd1174aa4de61c4798e62029cc11a7b70445c5 --- /dev/null +++ b/ament_cmake.yaml @@ -0,0 +1,5 @@ +--- +version_control: git +src_repo: https://github.com/ament/ament_cmake.git +tag_prefix: 0.9.9 +separator: "."