summaryrefslogtreecommitdiff
path: root/python-cijoe.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 17:40:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 17:40:20 +0000
commitbad24f0676d35935c6a016c928851d2b1c07830d (patch)
treedb1410ac8a8858855056296cb3ec90fe0d0e7ca1 /python-cijoe.spec
parentf999a600f518223c22a5113b24941e513f3b725a (diff)
automatic import of python-cijoeopeneuler20.03
Diffstat (limited to 'python-cijoe.spec')
-rw-r--r--python-cijoe.spec102
1 files changed, 102 insertions, 0 deletions
diff --git a/python-cijoe.spec b/python-cijoe.spec
new file mode 100644
index 0000000..ed45221
--- /dev/null
+++ b/python-cijoe.spec
@@ -0,0 +1,102 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cijoe
+Version: 0.9.26
+Release: 1
+Summary: A loosely coupled approach to systems development and testing"
+License: BSD-3-Clause
+URL: https://cijoe.readthedocs.io/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f9/f4/bcdeaae82e83d094866afe90ceee6b60b36c60f039033db7aba97178d6c1/cijoe-0.9.26.tar.gz
+BuildArch: noarch
+
+Requires: python3-jinja2
+Requires: python3-paramiko
+Requires: python3-pytest
+Requires: python3-pytest-reportlog
+Requires: python3-pyyaml
+Requires: python3-requests
+Requires: python3-scp
+Requires: python3-setuptools
+Requires: python3-tomli-w
+Requires: python3-watchdog
+Requires: python3-tomli
+Requires: python3-importlib-resources
+
+%description
+Tools for systems development and testing.
+Please take a look at the documentation for how to install and use ``cijoe``:
+* `Quickstart Guide`_
+* `Usage`_
+If you find bugs or need help then feel free to submit an `Issue`_. If you want
+to get involved head over to the `GitHub page`_ to get the source code and
+submit a `Pull request`_ with your changes.
+
+%package -n python3-cijoe
+Summary: A loosely coupled approach to systems development and testing"
+Provides: python-cijoe
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cijoe
+Tools for systems development and testing.
+Please take a look at the documentation for how to install and use ``cijoe``:
+* `Quickstart Guide`_
+* `Usage`_
+If you find bugs or need help then feel free to submit an `Issue`_. If you want
+to get involved head over to the `GitHub page`_ to get the source code and
+submit a `Pull request`_ with your changes.
+
+%package help
+Summary: Development documents and examples for cijoe
+Provides: python3-cijoe-doc
+%description help
+Tools for systems development and testing.
+Please take a look at the documentation for how to install and use ``cijoe``:
+* `Quickstart Guide`_
+* `Usage`_
+If you find bugs or need help then feel free to submit an `Issue`_. If you want
+to get involved head over to the `GitHub page`_ to get the source code and
+submit a `Pull request`_ with your changes.
+
+%prep
+%autosetup -n cijoe-0.9.26
+
+%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-cijoe -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.26-1
+- Package Spec generated