From 59f9da83c0261a8306d49fb0109ac50459763143 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 20 Sep 2026 08:12:11 +0000 Subject: automatic import of ros-humble-nodl-schema --- .gitignore | 1 + nodl-schema.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 nodl-schema.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..f24363f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/nodl-schema-2.0.3-1.tar.gz diff --git a/nodl-schema.spec b/nodl-schema.spec new file mode 100644 index 0000000..ca095ba --- /dev/null +++ b/nodl-schema.spec @@ -0,0 +1,66 @@ +%define ros_distro humble +%define RosPkgName nodl-schema +%define src_version 2.0.3-1 + +Name: ros-%{ros_distro}-%{RosPkgName} +Version: 2.0.3 +Release: 1%{?dist} +Summary: ROS 2 Node Definition Language (NoDL) schema and validation. +License: Apache-2.0 +URL: https://github.com/ros-tooling/nodl/tree/main +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: ros-%{ros_distro}-ament-index-python +BuildRequires: python3-jsonschema +BuildRequires: python3-pydantic +BuildRequires: python3-ruamel-yaml +BuildRequires: python3-yaml +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: ros-%{ros_distro}-ros-workspace +Requires: ros-%{ros_distro}-ament-cmake +Requires: ros-%{ros_distro}-ament-index-python +Requires: python3-jsonschema +Requires: python3-pydantic +Requires: python3-ruamel-yaml +Requires: python3-yaml + +Provides: %{name}-devel = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +Provides: %{name}-runtime = %{version}-%{release} + +%description +ROS 2 Node Definition Language (NoDL) schema and validation. + +%prep +%autosetup -n %{RosPkgName}-%{src_version} + +%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 nodl_schema +%{__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 nodl_schema +%{__python3} setup.py install --skip-build --root %{buildroot} \ + --prefix /opt/ros/%{ros_distro} \ + --install-lib /opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packages \ + --single-version-externally-managed --record installed.txt + +%files +/opt/ros/%{ros_distro} + +%changelog +* Sun Sep 20 2026 ai-importer - 2.0.3-1 +- Initial import (ROS batch) diff --git a/sources b/sources new file mode 100644 index 0000000..75a8e7f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +07cb256d81741900d8addecd1506c441 nodl-schema-2.0.3-1.tar.gz -- cgit v1.2.3