summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 03:37:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 03:37:59 +0000
commit8af006d989a6cd76f93d2f185f54b58c02f1982e (patch)
tree4eb07d1a49e77e01d959406069d206b4d6a876cf
parentef78e697149e3c99bd041f901965a955873b30ff (diff)
automatic import of python-loginpassopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-loginpass.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a56ae20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/loginpass-0.5.tar.gz
diff --git a/python-loginpass.spec b/python-loginpass.spec
new file mode 100644
index 0000000..f0db011
--- /dev/null
+++ b/python-loginpass.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-loginpass
+Version: 0.5
+Release: 1
+Summary: Social connections powered by Authlib for Flask and Django
+License: BSD-3-Clause
+URL: https://authlib.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/42/b9/cf709ad289aa33549eb918d40fc9ab5173d194dbeaeff2f4fc33a7991c3d/loginpass-0.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-Authlib
+
+%description
+Social connections powered by Authlib_. This library is a part of Authlib project.
+It works well with Authlib v0.14.3+.
+
+%package -n python3-loginpass
+Summary: Social connections powered by Authlib for Flask and Django
+Provides: python-loginpass
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-loginpass
+Social connections powered by Authlib_. This library is a part of Authlib project.
+It works well with Authlib v0.14.3+.
+
+%package help
+Summary: Development documents and examples for loginpass
+Provides: python3-loginpass-doc
+%description help
+Social connections powered by Authlib_. This library is a part of Authlib project.
+It works well with Authlib v0.14.3+.
+
+%prep
+%autosetup -n loginpass-0.5
+
+%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-loginpass -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e4d0c01
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+eb9fd796a30d507ff20c09279972e616 loginpass-0.5.tar.gz