diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:09:32 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:09:32 +0000 |
commit | b363ee91a5f7109d9dc62eb4d94b62e62acbce12 (patch) | |
tree | 80b0e7cbccc4d52ee381e8b980b67fb6a1b07bb9 | |
parent | b3851803ce72fefbd54489e9f4573d93e1c04643 (diff) |
automatic import of python-agcoinstall
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-agcoinstall.spec | 87 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 89 insertions, 0 deletions
@@ -0,0 +1 @@ +/agcoinstall-0.1.21.tar.gz diff --git a/python-agcoinstall.spec b/python-agcoinstall.spec new file mode 100644 index 0000000..a18f465 --- /dev/null +++ b/python-agcoinstall.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-agcoinstall +Version: 0.1.21 +Release: 1 +Summary: Agcoinstall +License: MIT +URL: https://github.com/MrSuperbear/agcoinstall +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/04/f8/c921342abcfdcb4cab0ba16e88c21458a8d37bec9fca0d2300c05ce5e769/agcoinstall-0.1.21.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-psutil +Requires: python3-winapps +Requires: python3-requests +Requires: python3-regobj +Requires: python3-arrow +Requires: python3-pyautogui +Requires: python3-lxml +Requires: python3-clumper + +%description +|PyPI| |Python Version| |License| +|Read the Docs| |Tests| |Codecov| +|pre-commit| |Black| + +%package -n python3-agcoinstall +Summary: Agcoinstall +Provides: python-agcoinstall +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-agcoinstall +|PyPI| |Python Version| |License| +|Read the Docs| |Tests| |Codecov| +|pre-commit| |Black| + +%package help +Summary: Development documents and examples for agcoinstall +Provides: python3-agcoinstall-doc +%description help +|PyPI| |Python Version| |License| +|Read the Docs| |Tests| |Codecov| +|pre-commit| |Black| + +%prep +%autosetup -n agcoinstall-0.1.21 + +%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-agcoinstall -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.21-1 +- Package Spec generated @@ -0,0 +1 @@ +e06956da23dbfe06b5b572caf117c55d agcoinstall-0.1.21.tar.gz |