diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:48:30 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:48:30 +0000 |
commit | 6576e68ad77928fe34671054fe3da5a9bb1ec0ab (patch) | |
tree | 17f61f0b2ca3e542de1dd695eb5b9a3e08ac0653 | |
parent | 13bf4dfdc713040e6608164f51c332de196e20a9 (diff) |
automatic import of python-django-mama-cas
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-mama-cas.spec | 102 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 104 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-mama-cas-2.5.0.tar.gz diff --git a/python-django-mama-cas.spec b/python-django-mama-cas.spec new file mode 100644 index 0000000..7d12111 --- /dev/null +++ b/python-django-mama-cas.spec @@ -0,0 +1,102 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-mama-cas +Version: 2.5.0 +Release: 1 +Summary: A Django Central Authentication Service (CAS) single sign-on server +License: BSD +URL: https://github.com/jbittel/django-mama-cas +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/81/40/e4f7f364925eba075c24a2a1cd9dbd95f05ca0a73e58c47cc52dd0a6b05e/django-mama-cas-2.5.0.tar.gz +BuildArch: noarch + + +%description +MamaCAS is a Django `Central Authentication Service (CAS)`_ single sign-on +and single logout server. It implements the CAS 1.0, 2.0 and 3.0 protocols, +including some of the optional features. +CAS_ is a single sign-on and single logout web protocol that allows a user +to access multiple applications after providing their credentials a single +time. It utilizes security tickets, unique text strings generated and +validated by the server, allowing applications to authenticate a user without +direct access to the user's credentials (typically a user ID and password). +The source code can be found at `github.com/jbittel/django-mama-cas`_, and is +the preferred location for contributions, suggestions and bug reports. +Documentation is available at `django-mama-cas.readthedocs.org`_. + +%package -n python3-django-mama-cas +Summary: A Django Central Authentication Service (CAS) single sign-on server +Provides: python-django-mama-cas +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-mama-cas +MamaCAS is a Django `Central Authentication Service (CAS)`_ single sign-on +and single logout server. It implements the CAS 1.0, 2.0 and 3.0 protocols, +including some of the optional features. +CAS_ is a single sign-on and single logout web protocol that allows a user +to access multiple applications after providing their credentials a single +time. It utilizes security tickets, unique text strings generated and +validated by the server, allowing applications to authenticate a user without +direct access to the user's credentials (typically a user ID and password). +The source code can be found at `github.com/jbittel/django-mama-cas`_, and is +the preferred location for contributions, suggestions and bug reports. +Documentation is available at `django-mama-cas.readthedocs.org`_. + +%package help +Summary: Development documents and examples for django-mama-cas +Provides: python3-django-mama-cas-doc +%description help +MamaCAS is a Django `Central Authentication Service (CAS)`_ single sign-on +and single logout server. It implements the CAS 1.0, 2.0 and 3.0 protocols, +including some of the optional features. +CAS_ is a single sign-on and single logout web protocol that allows a user +to access multiple applications after providing their credentials a single +time. It utilizes security tickets, unique text strings generated and +validated by the server, allowing applications to authenticate a user without +direct access to the user's credentials (typically a user ID and password). +The source code can be found at `github.com/jbittel/django-mama-cas`_, and is +the preferred location for contributions, suggestions and bug reports. +Documentation is available at `django-mama-cas.readthedocs.org`_. + +%prep +%autosetup -n django-mama-cas-2.5.0 + +%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-mama-cas -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.0-1 +- Package Spec generated @@ -0,0 +1 @@ +77a8324c2345d36a5f1ef91142ca90d8 django-mama-cas-2.5.0.tar.gz |