diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-selenium-browser.spec | 191 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 193 insertions, 0 deletions
@@ -0,0 +1 @@ +/selenium_browser-0.0.15.tar.gz diff --git a/python-selenium-browser.spec b/python-selenium-browser.spec new file mode 100644 index 0000000..ef79a32 --- /dev/null +++ b/python-selenium-browser.spec @@ -0,0 +1,191 @@ +%global _empty_manifest_terminate_build 0 +Name: python-selenium-browser +Version: 0.0.15 +Release: 1 +Summary: selenium_browser +License: MIT License +URL: https://github.com/kkristof200/selenium_browser +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/53/d1/872c36600a351b994a538657f1f2457ace8c5c16f14ae167445b440a26a9/selenium_browser-0.0.15.tar.gz +BuildArch: noarch + +Requires: python3-k-selenium-cookies +Requires: python3-kproxy +Requires: python3-noraise +Requires: python3-selenium +Requires: python3-xpath-utils + +%description +# selenium_browser + + + + + + + + + + + + + + + +## Description + + + +## Install + +~~~~bash +pip install selenium_browser +# or +pip3 install selenium_browser +~~~~ + +## Usage + +~~~~python +import selenium_browser +~~~~ + +## Dependencies + +[k-selenium-cookies](https://pypi.org/project/k-selenium-cookies), [kproxy](https://pypi.org/project/kproxy), [noraise](https://pypi.org/project/noraise), [selenium](https://pypi.org/project/selenium), [xpath-utils](https://pypi.org/project/xpath-utils) + + + +%package -n python3-selenium-browser +Summary: selenium_browser +Provides: python-selenium-browser +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-selenium-browser +# selenium_browser + + + + + + + + + + + + + + + +## Description + + + +## Install + +~~~~bash +pip install selenium_browser +# or +pip3 install selenium_browser +~~~~ + +## Usage + +~~~~python +import selenium_browser +~~~~ + +## Dependencies + +[k-selenium-cookies](https://pypi.org/project/k-selenium-cookies), [kproxy](https://pypi.org/project/kproxy), [noraise](https://pypi.org/project/noraise), [selenium](https://pypi.org/project/selenium), [xpath-utils](https://pypi.org/project/xpath-utils) + + + +%package help +Summary: Development documents and examples for selenium-browser +Provides: python3-selenium-browser-doc +%description help +# selenium_browser + + + + + + + + + + + + + + + +## Description + + + +## Install + +~~~~bash +pip install selenium_browser +# or +pip3 install selenium_browser +~~~~ + +## Usage + +~~~~python +import selenium_browser +~~~~ + +## Dependencies + +[k-selenium-cookies](https://pypi.org/project/k-selenium-cookies), [kproxy](https://pypi.org/project/kproxy), [noraise](https://pypi.org/project/noraise), [selenium](https://pypi.org/project/selenium), [xpath-utils](https://pypi.org/project/xpath-utils) + + + +%prep +%autosetup -n selenium-browser-0.0.15 + +%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-selenium-browser -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.15-1 +- Package Spec generated @@ -0,0 +1 @@ +6fd8925bdf871822a4ad796107a95459 selenium_browser-0.0.15.tar.gz |