diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-20 16:26:16 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-20 16:26:16 +0000 |
| commit | 303f5a88436fb4b935a84a88dec2cebb665906d2 (patch) | |
| tree | 800531ec536e7213a787a91984a35c59e3f74ad8 | |
| parent | c4e4e1d3c50e8ccc2038b74d587d11df00f18378 (diff) | |
automatic import of ros-humble-scenario-execution-osopeneuler24.03_LTS_SP3
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | scenario-execution-os.spec | 62 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 64 insertions, 0 deletions
@@ -0,0 +1 @@ +/scenario_execution-humble.tar.gz diff --git a/scenario-execution-os.spec b/scenario-execution-os.spec new file mode 100644 index 0000000..5372758 --- /dev/null +++ b/scenario-execution-os.spec @@ -0,0 +1,62 @@ +%define ros_distro humble +%define RosPkgName scenario-execution-os + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 1.2.0 +Release: 1%{?dist} +Summary: Scenario Execution library for OS interactions +License: Apache-2.0 +URL: https://github.com/IntelLabs/scenario_execution +# branch 归档;#/ 强制 rpm 内部文件名为 scenario_execution-humble,避免猜目录名 +Source0: https://github.com/IntelLabs/scenario_execution/archive/humble.tar.gz#/scenario_execution-humble.tar.gz + +%global debug_package %{nil} +%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') +%global __provides_exclude_from ^/opt/ros/%{ros_distro}/.*$ +%global __requires_exclude_from ^/opt/ros/%{ros_distro}/.*$ + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-scenario-execution + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +Scenario Execution library for OS interactions. Provides ROS 2 actions for +checking file existence and related OS-level operations within the +scenario_execution framework. + +%prep +%autosetup -n scenario_execution-humble + +%build +[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} + +cd libs/scenario_execution_os +%{__python3} setup.py build + +%install +[ -f /opt/ros/%{ros_distro}/setup.sh ] && source /opt/ros/%{ros_distro}/setup.sh || true +export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages${PYTHONPATH:+:$PYTHONPATH} +export PKG_CONFIG_PATH=/opt/ros/%{ros_distro}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH} + +cd libs/scenario_execution_os +%{__python3} setup.py install \ + --root %{buildroot} \ + --install-lib /opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages \ + --install-scripts /opt/ros/%{ros_distro}/lib/scenario_execution_os \ + --install-data /opt/ros/%{ros_distro} + +%files +/opt/ros/%{ros_distro}/ + +%changelog +* Sat Sep 20 2026 Intel Labs <scenario-execution@intel.com> - 1.2.0-1 +- Initial package for scenario_execution_os 1.2.0 @@ -0,0 +1 @@ +5c8d024ed89e0fd218dc14b75856903f scenario_execution-humble.tar.gz |
