summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-24 04:27:28 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-24 04:27:28 +0000
commita6aeb324e180ca91b62cd1efecf5a4cde3387bfb (patch)
tree566f24a51a15de5502977719c4455080ec583194
parent0a21c1c50ac4cd02693138d2dfa3c5a92e3edb47 (diff)
automatic import of python3-colcon-bashopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-colcon-bash.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ca5489c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/colcon-bash-0.4.2.tar.gz
diff --git a/python-colcon-bash.spec b/python-colcon-bash.spec
new file mode 100644
index 0000000..2e467aa
--- /dev/null
+++ b/python-colcon-bash.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-colcon-bash
+Version: 0.4.2
+Release: 1
+Summary: Extension for colcon to provide Bash scripts.
+License: Apache License, Version 2.0
+URL: https://colcon.readthedocs.io
+Source0: https://files.pythonhosted.org/packages/c3/7c/7ab5345c9aa64d91bdc09e69bc3f90678eb08a0ba8c512ca1972927d8ee6/colcon-bash-0.4.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-colcon-core
+
+%description
+An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to provide `Bash <https://www.gnu.org/software/bash/>`_ scripts.
+
+%package -n python3-colcon-bash
+Summary: Extension for colcon to provide Bash scripts.
+Provides: python-colcon-bash
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%description -n python3-colcon-bash
+An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to provide `Bash <https://www.gnu.org/software/bash/>`_ scripts.
+
+%package help
+Summary: Development documents and examples for colcon-bash
+Provides: python3-colcon-bash-doc
+%description help
+An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to provide `Bash <https://www.gnu.org/software/bash/>`_ scripts.
+
+%prep
+%autosetup -n colcon-bash-0.4.2
+
+%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-colcon-bash -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..df82f6b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+95c3c89be62f4c1979b462c746e529f6 colcon-bash-0.4.2.tar.gz