summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 06:07:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 06:07:17 +0000
commit890d6a88215f758003dce11e82918e7c830afa2f (patch)
tree9e340ccf11028efbf7f43046777df44d03caef28
parentcef6af1c68447d7d1d07e79e2ee825e15c5257b6 (diff)
automatic import of python-flask-openid-stateless
-rw-r--r--.gitignore1
-rw-r--r--python-flask-openid-stateless.spec87
-rw-r--r--sources1
3 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4b377c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Flask-OpenID-Stateless-1.2.6.tar.gz
diff --git a/python-flask-openid-stateless.spec b/python-flask-openid-stateless.spec
new file mode 100644
index 0000000..cf324fc
--- /dev/null
+++ b/python-flask-openid-stateless.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Flask-OpenID-Stateless
+Version: 1.2.6
+Release: 1
+Summary: OpenID support for Flask, forked to make the library stateless.
+License: BSD
+URL: http://github.com/canonical-webteam/flask-openid/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bc/52/b6daf1d68c73f08d8584aee61c6c627f18d1fc7c6f1b501f1567ef821b05/Flask-OpenID-Stateless-1.2.6.tar.gz
+BuildArch: noarch
+
+
+%description
+Adds OpenID support to Flask.
+Links:
+* `Flask-OpenID Documentation <http://packages.python.org/Flask-OpenID/>`_
+* `Flask <http://flask.pocoo.org>`_
+* `development version
+ <http://github.com/mitsuhiko/flask-openid/zipball/master#egg=Flask-OpenID-dev>`_
+
+%package -n python3-Flask-OpenID-Stateless
+Summary: OpenID support for Flask, forked to make the library stateless.
+Provides: python-Flask-OpenID-Stateless
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Flask-OpenID-Stateless
+Adds OpenID support to Flask.
+Links:
+* `Flask-OpenID Documentation <http://packages.python.org/Flask-OpenID/>`_
+* `Flask <http://flask.pocoo.org>`_
+* `development version
+ <http://github.com/mitsuhiko/flask-openid/zipball/master#egg=Flask-OpenID-dev>`_
+
+%package help
+Summary: Development documents and examples for Flask-OpenID-Stateless
+Provides: python3-Flask-OpenID-Stateless-doc
+%description help
+Adds OpenID support to Flask.
+Links:
+* `Flask-OpenID Documentation <http://packages.python.org/Flask-OpenID/>`_
+* `Flask <http://flask.pocoo.org>`_
+* `development version
+ <http://github.com/mitsuhiko/flask-openid/zipball/master#egg=Flask-OpenID-dev>`_
+
+%prep
+%autosetup -n Flask-OpenID-Stateless-1.2.6
+
+%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-Flask-OpenID-Stateless -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0ee0fe7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+934c5db31b67840268b127e15b5f358a Flask-OpenID-Stateless-1.2.6.tar.gz