diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:44:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:44:28 +0000 |
commit | 2c27d7ce748844ef55a0e6711e436cae85f5b26a (patch) | |
tree | b780800bc1bc687144415930f6aa19a4130ca6b7 | |
parent | 8d65d1099f097b7fdfe0aa0ce1aca298da219250 (diff) |
automatic import of python-aiohttp-oauthopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aiohttp-oauth.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/aiohttp_oauth-0.9.3.tar.gz diff --git a/python-aiohttp-oauth.spec b/python-aiohttp-oauth.spec new file mode 100644 index 0000000..b1c8019 --- /dev/null +++ b/python-aiohttp-oauth.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aiohttp-oauth +Version: 0.9.3 +Release: 1 +Summary: oauth middleware for aiohttp +License: Apache +URL: https://github.com/CanopyTax/aiohttp-oauth +Source0: https://mirrors.aliyun.com/pypi/web/packages/e1/48/340b943cfcaf9170c940e620734b02f7e4ef26ec668d550fb901611cb520/aiohttp_oauth-0.9.3.tar.gz +BuildArch: noarch + + +%description +See readme at https://github.com/CanopyTax/aiohttp-oauth + +%package -n python3-aiohttp-oauth +Summary: oauth middleware for aiohttp +Provides: python-aiohttp-oauth +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aiohttp-oauth +See readme at https://github.com/CanopyTax/aiohttp-oauth + +%package help +Summary: Development documents and examples for aiohttp-oauth +Provides: python3-aiohttp-oauth-doc +%description help +See readme at https://github.com/CanopyTax/aiohttp-oauth + +%prep +%autosetup -n aiohttp_oauth-0.9.3 + +%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-aiohttp-oauth -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.3-1 +- Package Spec generated @@ -0,0 +1 @@ +19a80086270d7e52159e899fcdc28fa3 aiohttp_oauth-0.9.3.tar.gz |