summaryrefslogtreecommitdiff
path: root/catkin-pkg-modules.spec
diff options
context:
space:
mode:
Diffstat (limited to 'catkin-pkg-modules.spec')
-rw-r--r--catkin-pkg-modules.spec51
1 files changed, 51 insertions, 0 deletions
diff --git a/catkin-pkg-modules.spec b/catkin-pkg-modules.spec
new file mode 100644
index 0000000..ea74f35
--- /dev/null
+++ b/catkin-pkg-modules.spec
@@ -0,0 +1,51 @@
+# topdir: catkin-pkg-modules-0.5.0
+# Build: setup.py approach (no pyproject.toml)
+# SKIP_PYTHON_SCRIPTS=1 produces the modules-only variant (no console_scripts)
+
+Name: catkin-pkg-modules
+Version: 0.5.0
+Release: 1%{?dist}
+Summary: catkin package library (Python modules only)
+License: BSD-2-Clause
+URL: https://github.com/ros-infrastructure/catkin_pkg
+Source0: https://github.com/ros-infrastructure/catkin_pkg/archive/refs/tags/%{version}/catkin-pkg-modules-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+Requires: python3-docutils
+Requires: python3-dateutil
+Requires: python3-pyparsing
+Requires: python3-setuptools
+Provides: python3-catkin-pkg-modules = %{version}-%{release}
+
+%description
+Library for retrieving information about catkin packages.
+
+This package contains the Python 3 modules only (no command-line scripts).
+The command-line tools are provided by the catkin-pkg package.
+
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+
+%build
+export SKIP_PYTHON_SCRIPTS=1
+%py3_build
+
+
+%install
+export SKIP_PYTHON_SCRIPTS=1
+%py3_install
+
+
+%files
+%license LICENSE
+%doc README.rst CHANGELOG.rst
+%{python3_sitelib}/catkin_pkg/
+%{python3_sitelib}/catkin_pkg_modules*.egg-info/
+
+
+%changelog
+* Fri Oct 09 2026 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+- Initial package