%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.aliyun.com/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 * Fri Jun 09 2023 Python_Bot - 2.5.0-1 - Package Spec generated