summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-15 15:13:20 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-15 15:13:20 +0000
commite0cd328906970a4738d44b4179eaffac25bedcbd (patch)
tree917bc8da654197d5fbb5f5c419d98c2b7674016e
parent0ab9490d99f9d0b6b283af26f87ff95b4e5b0a08 (diff)
automatic import of ros-humble-kartech-linear-actuator-msgsopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--kartech-linear-actuator-msgs.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..71a7f31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/astuff_sensor_msgs-a07119d26d202023e5239a17007e93b1af4d9e32.tar.gz
diff --git a/kartech-linear-actuator-msgs.spec b/kartech-linear-actuator-msgs.spec
new file mode 100644
index 0000000..35efaa3
--- /dev/null
+++ b/kartech-linear-actuator-msgs.spec
@@ -0,0 +1,74 @@
+%define ros_distro humble
+%define RosPkgName kartech-linear-actuator-msgs
+%define _ros_pkg_dir kartech_linear_actuator_msgs
+%define commit a07119d26d202023e5239a17007e93b1af4d9e32
+
+Name: ros-%{ros_distro}-%{RosPkgName}
+Version: 4.0.0
+Release: 1%{?dist}
+Summary: The kartech_linear_actuator_msgs package
+License: MIT
+URL: https://github.com/astuff/astuff_sensor_msgs
+Source0: https://github.com/astuff/astuff_sensor_msgs/archive/%{commit}.tar.gz#/astuff_sensor_msgs-%{commit}.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: cmake
+BuildRequires: ros-%{ros_distro}-ament-cmake
+BuildRequires: ros-%{ros_distro}-builtin-interfaces
+BuildRequires: ros-%{ros_distro}-ros-environment
+BuildRequires: ros-%{ros_distro}-rosidl-default-generators
+BuildRequires: ros-%{ros_distro}-std-msgs
+
+Requires: ros-%{ros_distro}-ros-workspace
+Requires: ros-%{ros_distro}-ament-cmake
+Requires: ros-%{ros_distro}-builtin-interfaces
+Requires: ros-%{ros_distro}-rosidl-default-runtime
+Requires: ros-%{ros_distro}-std-msgs
+
+Provides: %{name}-devel = %{version}-%{release}
+Provides: %{name}-doc = %{version}-%{release}
+Provides: %{name}-runtime = %{version}-%{release}
+
+%description
+The kartech_linear_actuator_msgs package provides ROS 2 message definitions
+for KarTech linear actuator devices.
+
+%prep
+%autosetup -n astuff_sensor_msgs-%{commit}
+
+%build
+source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || 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}
+
+mkdir -p .obj
+cd .obj
+%cmake3 \
+ -DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \
+ -DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \
+ -DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \
+ -UINCLUDE_INSTALL_DIR -ULIB_INSTALL_DIR -USYSCONF_INSTALL_DIR \
+ -USHARE_INSTALL_PREFIX -ULIB_SUFFIX \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF \
+ -DBUILD_TESTING=OFF -DTESTING=OFF -DCMAKE_SUPPRESS_REGENERATION=ON \
+ ../%{_ros_pkg_dir}
+make %{?_smp_mflags}
+
+%install
+source /opt/ros/%{ros_distro}/setup.sh 2>/dev/null || 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 .obj
+make install DESTDIR=%{buildroot}
+
+%files
+/opt/ros/%{ros_distro}/
+
+%changelog
+* Tue Sep 15 2026 ROS SIG <ros@openeuler.org> - 4.0.0-1
+- Initial package for ros-%{ros_distro}-%{RosPkgName} 4.0.0
diff --git a/sources b/sources
new file mode 100644
index 0000000..ac41c40
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a78deed562fac48527aad19dac61aede astuff_sensor_msgs-a07119d26d202023e5239a17007e93b1af4d9e32.tar.gz