diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:54:21 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:54:21 +0000 |
commit | 7f1f9dce2331e0dc92f95d27a26361fab0061fe0 (patch) | |
tree | acf13057176ab5e4904edae47b2cfa2d4d0935a1 | |
parent | b49558f7acd6b00190deb59a06ad4ca6f418d38d (diff) |
automatic import of python-Redmine-CLI-Toolopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-redmine-cli-tool.spec | 94 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 96 insertions, 0 deletions
@@ -0,0 +1 @@ +/Redmine%20CLI%20Tool-1.0.5.tar.gz diff --git a/python-redmine-cli-tool.spec b/python-redmine-cli-tool.spec new file mode 100644 index 0000000..e03bb8c --- /dev/null +++ b/python-redmine-cli-tool.spec @@ -0,0 +1,94 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Redmine-CLI-Tool +Version: 1.0.5 +Release: 1 +Summary: A command-line utility to interact with Redmine +License: MIT +URL: https://github.com/migelbd/redmine-cli +Source0: https://mirrors.aliyun.com/pypi/web/packages/c5/6f/41daf81faae639624798093b4f5b907c96fc04ac4af47fd3b57285dda63c/Redmine%20CLI%20Tool-1.0.5.tar.gz +BuildArch: noarch + +Requires: python3-attrs +Requires: python3-certifi +Requires: python3-chardet +Requires: python3-click +Requires: python3-colorama +Requires: python3-commonmark +Requires: python3-idna +Requires: python3-importlib-metadata +Requires: python3-prettytable +Requires: python3-profig +Requires: python3-prompt-toolkit +Requires: python3-Pygments +Requires: python3-pyperclip +Requires: python3-pyreadline +Requires: python3-redmine +Requires: python3-questionary +Requires: python3-requests +Requires: python3-rich +Requires: python3-typing-extensions +Requires: python3-urllib3 +Requires: python3-wcwidth +Requires: python3-zipp + +%description + + +%package -n python3-Redmine-CLI-Tool +Summary: A command-line utility to interact with Redmine +Provides: python-Redmine-CLI-Tool +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Redmine-CLI-Tool + + +%package help +Summary: Development documents and examples for Redmine-CLI-Tool +Provides: python3-Redmine-CLI-Tool-doc +%description help + + +%prep +%autosetup -n Redmine CLI Tool-1.0.5 + +%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-Redmine-CLI-Tool -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.5-1 +- Package Spec generated @@ -0,0 +1 @@ +61539b5dc2a51470c291de1035d3202c Redmine%20CLI%20Tool-1.0.5.tar.gz |