diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-09-19 19:04:00 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-09-19 19:04:00 +0000 |
| commit | 7cfaa79919ae79713f89ac1cd05616f4b8e3c4be (patch) | |
| tree | c651a70a462586e732ae7bd5225c5ceb9354a5f0 | |
| parent | feee6bfc309ed39c5b59a534a56e7a42466fc178 (diff) | |
automatic import of ros-humble-kuka-driver-interfacesopeneuler24.03_LTS_SP3
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | kuka-driver-interfaces.spec | 66 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 68 insertions, 0 deletions
@@ -0,0 +1 @@ +/kuka-driver-interfaces-1.1.0.tar.gz diff --git a/kuka-driver-interfaces.spec b/kuka-driver-interfaces.spec new file mode 100644 index 0000000..7794f79 --- /dev/null +++ b/kuka-driver-interfaces.spec @@ -0,0 +1,66 @@ +%define ros_distro humble +%define RosPkgName kuka-driver-interfaces +%define src_version 1.1.0 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 1.1.0 +Release: 1%{?dist} +Summary: Message definitions necessary for using KUKA drivers +License: Apache-2.0 +URL: https://github.com/kroshu/kuka_drivers.git +Source0: %{RosPkgName}-%{src_version}.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}-rosidl-default-generators +BuildRequires: ros-%{ros_distro}-rosidl-default-runtime + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-rosidl-default-runtime + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +Message definitions necessary for using KUKA drivers + +%prep +%autosetup -n %{RosPkgName}-%{src_version} + +%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} +cd kuka_driver_interfaces +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 \ + .. +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 kuka_driver_interfaces +cd .obj +make install DESTDIR=%{buildroot} + +%files +/opt/ros/%{ros_distro} + +%changelog +* Sat Sep 19 2026 ai-importer <ai-importer@openeuler.org> - 1.1.0-1 +- Initial import (ROS batch) @@ -0,0 +1 @@ +088cc6d3366a550ddc176b6f2bcd17e4 kuka-driver-interfaces-1.1.0.tar.gz |
