草稿
[WIP] 将 urdf-tutorial 升级至 1.1.0 #14
[WIP] 将 urdf-tutorial 升级至 1.1.0 #14
草稿
Wanming Hu创建于 6 天前
3 个文件变更+10-13
Binary files do not support preview
Binary files do not support preview
@@ -1,28 +1,25 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4+%define ros_distro humble
5+ 
4%global debug_package %{nil}6%global debug_package %{nil}
5%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')7%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
6%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$8%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$
7%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$9%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$
8 10 
9%define RosPkgName urdf-tutorial11%define RosPkgName urdf-tutorial
10-%define ros_distro humble
11 12 
12Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
13-Version: 1.0.014+Version: 1.1.0
14Release: 1%{?dist}%{?release_suffix}15Release: 1%{?dist}%{?release_suffix}
15Summary: This package contains a number of URDF tutorials.16Summary: This package contains a number of URDF tutorials.
16 17 
17Url: http://ros.org/wiki/urdf_tutorial18Url: http://ros.org/wiki/urdf_tutorial
18-License: BSD19+License: BSD 3-clause
19-Source0: %{name}_%{version}.orig.tar.gz20+Source0: %{RosPkgName}-%{version}.tar.gz
20 21 
21-Requires: ros-%{ros_distro}-joint-state-publisher22+Requires: ros-%{ros_distro}-urdf-launch
22-Requires: ros-%{ros_distro}-joint-state-publisher-gui
23-Requires: ros-%{ros_distro}-robot-state-publisher
24-Requires: ros-%{ros_distro}-rviz2
25-Requires: ros-%{ros_distro}-xacro
26Requires: ros-%{ros_distro}-ros-workspace23Requires: ros-%{ros_distro}-ros-workspace
27 24 
28BuildRequires: ros-%{ros_distro}-ament-cmake25BuildRequires: ros-%{ros_distro}-ament-cmake
@@ -40,7 +37,7 @@ Provides: %{name}-runtime = %{version}-%{release}
40This package contains a number of URDF tutorials.37This package contains a number of URDF tutorials.
41 38 
42%prep39%prep
43-%autosetup -p140+%autosetup -c -n urdf-tutorial-1.1.0
44 41 
45%build42%build
46# Needed to bootstrap since the ros_workspace package does not yet exist.43# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -64,7 +61,7 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
64%if !0%{?with_tests}61%if !0%{?with_tests}
65 -DBUILD_TESTING=OFF \62 -DBUILD_TESTING=OFF \
66%endif63%endif
67- ..64+ ../%{RosPkgName}-%{version}
68 65 
69%make_build66%make_build
70 67 
@@ -99,5 +96,5 @@ else echo "RPM TESTS SKIPPED"; fi
99/opt/ros/%{ros_distro}96/opt/ros/%{ros_distro}
100 97 
101%changelog98%changelog
102-* Thu May 04 2023 David V. Lu!! davidvlu@gmail.com - 1.0.0-199+* Wed Aug 12 2026 David V. Lu!! david@metrorobots.com - 1.1.0-1
103- Autogenerated by ros-porting-tools100- Autogenerated by ros-porting-tools