summaryrefslogtreecommitdiff
path: root/ament-package.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-09 03:36:09 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-09 03:36:09 +0000
commit0c2ba46cce43a916a4f723a2e1e607a69545bf6c (patch)
tree7270319f8b18654bcd4c1c3202d17f78af5b9af4 /ament-package.spec
parentcd87375896ce34d4ff43bae2c053e65a81348951 (diff)
automatic import of ament-packageopeneuler24.03_LTS_SP3
Diffstat (limited to 'ament-package.spec')
-rw-r--r--ament-package.spec75
1 files changed, 75 insertions, 0 deletions
diff --git a/ament-package.spec b/ament-package.spec
new file mode 100644
index 0000000..d276ee8
--- /dev/null
+++ b/ament-package.spec
@@ -0,0 +1,75 @@
+# topdir: ament-package-0.14.0
+# ROS 2 ament_package: Python parser for ROS package manifest files
+# Build type: ament_python (setuptools with ROS installation prefix)
+# Installs Python modules to /opt/ros/humble/lib/python3.11/site-packages
+# and data files (package.xml, ament_index markers) to /opt/ros/humble/share/
+
+%global debug_package %{nil}
+%global __provides_exclude_from ^/opt/ros/.*
+%global __requires_exclude_from ^/opt/ros/.*
+%global __os_install_post %{nil}
+
+%global ros_distro humble
+%global ros_prefix /opt/ros/%{ros_distro}
+%global ros_python_sitelib %{ros_prefix}/lib/python3.11/site-packages
+
+Name: ament-package
+Version: 0.14.0
+Release: 1%{?dist}
+Summary: The parser for the manifest files in the ament buildsystem
+
+License: Apache-2.0
+URL: https://github.com/ament/ament_package
+Source0: https://github.com/ament/ament_package/archive/refs/tags/0.14.0.tar.gz#/ament-package-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+
+%description
+The parser for the manifest files in the ament buildsystem.
+Ament defines metainformation for packages, their dependencies,
+and provides tooling to build these federated packages together.
+
+
+%package -n python3-%{name}
+Summary: %{sum}
+
+%description -n python3-%{name}
+The parser for the manifest files in the ament buildsystem.
+Ament defines metainformation for packages, their dependencies,
+and provides tooling to build these federated packages together.
+
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+
+%build
+cd %{_builddir}/%{name}-%{version}
+python3 setup.py build
+
+
+%install
+cd %{_builddir}/%{name}-%{version}
+python3 setup.py install \
+ --skip-build \
+ --root %{buildroot} \
+ --prefix %{ros_prefix} \
+ --install-lib %{ros_python_sitelib} \
+ --single-version-externally-managed \
+ --record installed_files.txt
+
+
+%files -n python3-%{name}
+%license LICENSE
+%{ros_python_sitelib}/ament_package/
+%{ros_python_sitelib}/ament_package*.egg-info/
+%{ros_prefix}/share/ament_package/
+%{ros_prefix}/share/ament_index/resource_index/packages/ament_package
+
+
+%changelog
+* Fri Oct 09 2026 Python_Bot <Python_Bot@openeuler.org> - 0.14.0-1
+- Initial package