diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 21:37:41 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 21:37:41 +0000 |
| commit | de3a95ccc037a23c476da81895ba37d692055440 (patch) | |
| tree | ffb4cbbf2abb33250e4dc8b283ac85f004916ca9 /python-authcaptureproxy.spec | |
| parent | f3f87b02a9986bd512a033d1d4eaf3ba9e84123c (diff) | |
automatic import of python-authcaptureproxy
Diffstat (limited to 'python-authcaptureproxy.spec')
| -rw-r--r-- | python-authcaptureproxy.spec | 211 |
1 files changed, 211 insertions, 0 deletions
diff --git a/python-authcaptureproxy.spec b/python-authcaptureproxy.spec new file mode 100644 index 0000000..8cea082 --- /dev/null +++ b/python-authcaptureproxy.spec @@ -0,0 +1,211 @@ +%global _empty_manifest_terminate_build 0 +Name: python-authcaptureproxy +Version: 1.1.4 +Release: 1 +Summary: A Python project to create a proxy to capture authentication information from a webpage. This is useful to capture oauth login details without access to a third-party oauth. +License: Apache-2.0 +URL: https://github.com/alandtse/auth_capture_proxy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/e3/f96d2f008d952513a7d273e0eaed22ad200b4c38aa8d0423983872f800b4/authcaptureproxy-1.1.4.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-beautifulsoup4 +Requires: python3-httpx +Requires: python3-importlib-metadata +Requires: python3-multidict +Requires: python3-typer +Requires: python3-yarl + +%description +# Auth_capture_proxy + +[](https://pypi.org/project/authcaptureproxy) +[](https://opensource.org/licenses/Apache-2.0) +[](https://pypi.org/project/authcaptureproxy) +[](https://github.com/alandtse/auth_capture_proxy/releases) +[](https://pypi.org/project/authcaptureproxy) + + + +[](https://auth-capture-proxy.readthedocs.io/en/latest/?badge=latest) +[](https://github.com/alandtse/auth_capture_proxy/actions) +[](https://coveralls.io/github/alandtse/auth_capture_proxy?branch=main) + +A Python project to create a proxy to capture authentication information from a webpage. This is useful to capture oauth login details without access to a third-party oauth. + +## Install + +```bash +pip install authcaptureproxy +``` + +## Using + +To see basic usage look at the [proxy-example](authcaptureproxy/cli.py) that logs into Amazon.com and will print out the detected email and password. + +```bash +python authcaptureproxy/cli.py proxy-example +``` + +[See the docs 📚](https://auth-capture-proxy.readthedocs.io/en/latest/) for more info. + +## License + +Licensed under the terms of the [Apache License 2.0](https://spdx.org/licenses/Apache-2.0.html). + +## Contributing + +[New issues](https://github.com/alandtse/auth_capture_proxy/issues) and pull requests are welcome. +Please refer to the [contributing guide](https://github.com/alandtse/auth_capture_proxy/blob/main/CONTRIBUTING.md) +and [security policy](https://github.com/alandtse/auth_capture_proxy/blob/main/SECURITY.md). + +Generated with [Tyrannosaurus](https://github.com/dmyersturnbull/tyrannosaurus). + + + +%package -n python3-authcaptureproxy +Summary: A Python project to create a proxy to capture authentication information from a webpage. This is useful to capture oauth login details without access to a third-party oauth. +Provides: python-authcaptureproxy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-authcaptureproxy +# Auth_capture_proxy + +[](https://pypi.org/project/authcaptureproxy) +[](https://opensource.org/licenses/Apache-2.0) +[](https://pypi.org/project/authcaptureproxy) +[](https://github.com/alandtse/auth_capture_proxy/releases) +[](https://pypi.org/project/authcaptureproxy) + + + +[](https://auth-capture-proxy.readthedocs.io/en/latest/?badge=latest) +[](https://github.com/alandtse/auth_capture_proxy/actions) +[](https://coveralls.io/github/alandtse/auth_capture_proxy?branch=main) + +A Python project to create a proxy to capture authentication information from a webpage. This is useful to capture oauth login details without access to a third-party oauth. + +## Install + +```bash +pip install authcaptureproxy +``` + +## Using + +To see basic usage look at the [proxy-example](authcaptureproxy/cli.py) that logs into Amazon.com and will print out the detected email and password. + +```bash +python authcaptureproxy/cli.py proxy-example +``` + +[See the docs 📚](https://auth-capture-proxy.readthedocs.io/en/latest/) for more info. + +## License + +Licensed under the terms of the [Apache License 2.0](https://spdx.org/licenses/Apache-2.0.html). + +## Contributing + +[New issues](https://github.com/alandtse/auth_capture_proxy/issues) and pull requests are welcome. +Please refer to the [contributing guide](https://github.com/alandtse/auth_capture_proxy/blob/main/CONTRIBUTING.md) +and [security policy](https://github.com/alandtse/auth_capture_proxy/blob/main/SECURITY.md). + +Generated with [Tyrannosaurus](https://github.com/dmyersturnbull/tyrannosaurus). + + + +%package help +Summary: Development documents and examples for authcaptureproxy +Provides: python3-authcaptureproxy-doc +%description help +# Auth_capture_proxy + +[](https://pypi.org/project/authcaptureproxy) +[](https://opensource.org/licenses/Apache-2.0) +[](https://pypi.org/project/authcaptureproxy) +[](https://github.com/alandtse/auth_capture_proxy/releases) +[](https://pypi.org/project/authcaptureproxy) + + + +[](https://auth-capture-proxy.readthedocs.io/en/latest/?badge=latest) +[](https://github.com/alandtse/auth_capture_proxy/actions) +[](https://coveralls.io/github/alandtse/auth_capture_proxy?branch=main) + +A Python project to create a proxy to capture authentication information from a webpage. This is useful to capture oauth login details without access to a third-party oauth. + +## Install + +```bash +pip install authcaptureproxy +``` + +## Using + +To see basic usage look at the [proxy-example](authcaptureproxy/cli.py) that logs into Amazon.com and will print out the detected email and password. + +```bash +python authcaptureproxy/cli.py proxy-example +``` + +[See the docs 📚](https://auth-capture-proxy.readthedocs.io/en/latest/) for more info. + +## License + +Licensed under the terms of the [Apache License 2.0](https://spdx.org/licenses/Apache-2.0.html). + +## Contributing + +[New issues](https://github.com/alandtse/auth_capture_proxy/issues) and pull requests are welcome. +Please refer to the [contributing guide](https://github.com/alandtse/auth_capture_proxy/blob/main/CONTRIBUTING.md) +and [security policy](https://github.com/alandtse/auth_capture_proxy/blob/main/SECURITY.md). + +Generated with [Tyrannosaurus](https://github.com/dmyersturnbull/tyrannosaurus). + + + +%prep +%autosetup -n authcaptureproxy-1.1.4 + +%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-authcaptureproxy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.4-1 +- Package Spec generated |
