summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 09:27:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 09:27:21 +0000
commit92cf9ffe87ea756b65ad215b89de19b89b69eb98 (patch)
treeb1cc2932ca34bb83f2698badda079d371956615a
parent997a57068ab99c462be8fd34a611beb4602d64ea (diff)
automatic import of python-tmtool
-rw-r--r--.gitignore1
-rw-r--r--python-tmtool.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..361c5f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/TMTool-0.0.36.tar.gz
diff --git a/python-tmtool.spec b/python-tmtool.spec
new file mode 100644
index 0000000..73aecb0
--- /dev/null
+++ b/python-tmtool.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-TMTool
+Version: 0.0.36
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: MIT
+URL: https://pypi.org/project/TMTool/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c5/bb/4c1b7ee041c84ce06c6bc794ffdbf1a2b64b5888e7ce996378e52219caca/TMTool-0.0.36.tar.gz
+BuildArch: noarch
+
+Requires: python3-tkinter
+Requires: python3-openpyxl
+Requires: python3-xlsxwriter
+Requires: python3-Click
+Requires: python3-lxml
+Requires: python3-atlassian-python-api
+Requires: python3-pypandoc
+Requires: python3-xmltodict
+Requires: python3-jira
+Requires: python3-ttkthemes
+Requires: python3-enum37
+
+%description
+
+
+%package -n python3-TMTool
+Summary: please add a summary manually as the author left a blank one
+Provides: python-TMTool
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-TMTool
+
+
+%package help
+Summary: Development documents and examples for TMTool
+Provides: python3-TMTool-doc
+%description help
+
+
+%prep
+%autosetup -n TMTool-0.0.36
+
+%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-TMTool -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.36-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..11f49dd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+daa70081caeb0cb20191f632d951e9fe TMTool-0.0.36.tar.gz