diff options
Diffstat (limited to 'python-rpaframework.spec')
| -rw-r--r-- | python-rpaframework.spec | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/python-rpaframework.spec b/python-rpaframework.spec new file mode 100644 index 0000000..c2ea895 --- /dev/null +++ b/python-rpaframework.spec @@ -0,0 +1,124 @@ +%global _empty_manifest_terminate_build 0 +Name: python-rpaframework +Version: 22.5.1 +Release: 1 +Summary: A collection of tools and libraries for RPA +License: Apache-2.0 +URL: https://rpaframework.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ed/74/5b965a346bbd948e674bd07b2bb53625cce027c4355a0d186512c3df049c/rpaframework-22.5.1.tar.gz +BuildArch: noarch + +Requires: python3-docutils +Requires: python3-rpaframework-core +Requires: python3-rpaframework-pdf +Requires: python3-rpaframework-windows +Requires: python3-jsonpath-ng +Requires: python3-robotframework +Requires: python3-robotframework-sapguilibrary +Requires: python3-robotframework-seleniumlibrary +Requires: python3-robotframework-seleniumtestability +Requires: python3-robotframework-requests +Requires: python3-pywinauto +Requires: python3-pywin32 +Requires: python3-comtypes +Requires: python3-robotframework-pythonlibcore +Requires: python3-pynput-robocorp-fork +Requires: python3-xlib +Requires: python3-psutil +Requires: python3-pyperclip +Requires: python3-exchangelib +Requires: python3-tzlocal +Requires: python3-xlrd +Requires: python3-xlwt +Requires: python3-xlutils +Requires: python3-openpyxl +Requires: python3-pillow +Requires: python3-simple_salesforce +Requires: python3-netsuitesdk +Requires: python3-tweepy +Requires: python3-graphviz +Requires: python3-notifiers +Requires: python3-cryptography +Requires: python3-mss +Requires: python3-chardet +Requires: python3-PySocks +Requires: python3-selenium +Requires: python3-click +Requires: python3-java-access-bridge-wrapper +Requires: python3-PyYAML +Requires: python3-tenacity +Requires: python3-htmldocx +Requires: python3-hubspot-api-client +Requires: python3-pyotp +Requires: python3-importlib-metadata +Requires: python3-O365 +Requires: python3-requests +Requires: python3-oauthlib +Requires: python3-requests-oauthlib +Requires: python3-PyJWT +Requires: python3-validators +Requires: python3-smartsheet-python-sdk +Requires: python3-pendulum +Requires: python3-holidays + +%description + + +%package -n python3-rpaframework +Summary: A collection of tools and libraries for RPA +Provides: python-rpaframework +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-rpaframework + + +%package help +Summary: Development documents and examples for rpaframework +Provides: python3-rpaframework-doc +%description help + + +%prep +%autosetup -n rpaframework-22.5.1 + +%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-rpaframework -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 22.5.1-1 +- Package Spec generated |
