summaryrefslogtreecommitdiff
path: root/python-django-saml2-auth.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 17:04:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 17:04:35 +0000
commit835c1848e9f9b59e7264da7aea0f9583e8b4a671 (patch)
tree9cb6521c4b8b92c2b51e57656e8f9ad29f1f7947 /python-django-saml2-auth.spec
parent158d2f53214e261a55b38d0e09c82ca35e7ad91b (diff)
automatic import of python-django-saml2-auth
Diffstat (limited to 'python-django-saml2-auth.spec')
-rw-r--r--python-django-saml2-auth.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-django-saml2-auth.spec b/python-django-saml2-auth.spec
new file mode 100644
index 0000000..3662cec
--- /dev/null
+++ b/python-django-saml2-auth.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-saml2-auth
+Version: 2.2.1
+Release: 1
+Summary: Django SAML2 Authentication Made Easy. Easily integrate with SAML2 SSO identity providers like Okta
+License: Apache 2.0
+URL: https://github.com/fangli/django-saml2-auth
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/03/5e/4fda29b8be8e268cbd3aced6ca70987a9efb0a75f42b061461bd63df4d04/django_saml2_auth-2.2.1.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-django-saml2-auth
+Summary: Django SAML2 Authentication Made Easy. Easily integrate with SAML2 SSO identity providers like Okta
+Provides: python-django-saml2-auth
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-saml2-auth
+
+
+%package help
+Summary: Development documents and examples for django-saml2-auth
+Provides: python3-django-saml2-auth-doc
+%description help
+
+
+%prep
+%autosetup -n django-saml2-auth-2.2.1
+
+%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-django-saml2-auth -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1
+- Package Spec generated