summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-08 07:09:50 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-08 07:09:50 +0000
commitc7ac493b513d16f46961077cd6e4476ef71cde70 (patch)
treeb2866a6bd8ad1a07e6ab4a1cc1f6911f0773e25d
parent4ce3bfc9aeaba62ceb4b3e77b820ba6c8d009b55 (diff)
automatic import of python-catkin_tools
-rw-r--r--.gitignore1
-rw-r--r--python-catkin_tools.spec82
-rw-r--r--sources1
3 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..da17e33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/catkin_tools-0.9.0.tar.gz
diff --git a/python-catkin_tools.spec b/python-catkin_tools.spec
new file mode 100644
index 0000000..d5068bd
--- /dev/null
+++ b/python-catkin_tools.spec
@@ -0,0 +1,82 @@
+%global _empty_manifest_terminate_build 0
+Name: python-catkin-tools
+Version: 0.9.0
+Release: 1
+Summary: Command line tools for working with catkin.
+License: Apache 2.0
+URL: https://catkin-tools.readthedocs.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/00/f2/6e689082a28ee8323b92292da54a8c869a99ca27354f1e54f1c9a9c58043/catkin_tools-0.9.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-PyYAML
+Requires: python3-catkin-pkg
+Requires: python3-osrf-pycommon
+Requires: python3-setuptools
+
+%description
+Provides command line tools for working with catkin.
+
+
+
+%package -n python3-catkin-tools
+Summary: Command line tools for working with catkin.
+Provides: python-catkin-tools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-catkin-tools
+Provides command line tools for working with catkin.
+
+
+
+%package help
+Summary: Development documents and examples for catkin-tools
+Provides: python3-catkin-tools-doc
+%description help
+Provides command line tools for working with catkin.
+
+
+
+%prep
+%autosetup -n catkin-tools-0.9.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-catkin-tools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Mar 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a4f4fdb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7661bcbe8b1018895013d77098248ae6 catkin_tools-0.9.0.tar.gz