summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-toolium.spec89
-rw-r--r--sources1
3 files changed, 91 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..72e43c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/toolium-3.0.0.tar.gz
diff --git a/python-toolium.spec b/python-toolium.spec
new file mode 100644
index 0000000..00cc408
--- /dev/null
+++ b/python-toolium.spec
@@ -0,0 +1,89 @@
+%global _empty_manifest_terminate_build 0
+Name: python-toolium
+Version: 3.0.0
+Release: 1
+Summary: Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project
+License: Apache 2.0
+URL: https://github.com/telefonica/toolium
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a5/ed/1c46b0b76925be912f236840b9641a4a2026b1d1f8258511bb04c49d1d80/toolium-3.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-selenium
+Requires: python3-Appium-Python-Client
+Requires: python3-Pillow
+Requires: python3-screeninfo
+Requires: python3-lxml
+Requires: python3-Faker
+Requires: python3-phonenumbers
+
+%description
+|Build Status| |Coverage Status| |CodeClimate| |Documentation Status|
+Toolium is a Python wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single
+project. It provides a way of choosing and configuring the driver through a configuration file, implements a Page Object
+pattern and includes a simple visual testing solution.
+
+%package -n python3-toolium
+Summary: Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project
+Provides: python-toolium
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-toolium
+|Build Status| |Coverage Status| |CodeClimate| |Documentation Status|
+Toolium is a Python wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single
+project. It provides a way of choosing and configuring the driver through a configuration file, implements a Page Object
+pattern and includes a simple visual testing solution.
+
+%package help
+Summary: Development documents and examples for toolium
+Provides: python3-toolium-doc
+%description help
+|Build Status| |Coverage Status| |CodeClimate| |Documentation Status|
+Toolium is a Python wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single
+project. It provides a way of choosing and configuring the driver through a configuration file, implements a Page Object
+pattern and includes a simple visual testing solution.
+
+%prep
+%autosetup -n toolium-3.0.0
+
+%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-toolium -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3aa36c3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0f5878d07ff92c32c894ab739a6fafa5 toolium-3.0.0.tar.gz