diff options
Diffstat (limited to 'python-django-sp.spec')
| -rw-r--r-- | python-django-sp.spec | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/python-django-sp.spec b/python-django-sp.spec new file mode 100644 index 0000000..e8d24b3 --- /dev/null +++ b/python-django-sp.spec @@ -0,0 +1,151 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-sp +Version: 1.17.0 +Release: 1 +Summary: Django application for custom Social Profile Auth and User model. +License: MIT License +URL: https://github.com/DLRSP/django-sp +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9b/bc/9c0e5b43a7406bf92eb5fea14a9d795d583628ee677d216a196f18c0d281/django-sp-1.17.0.tar.gz +BuildArch: noarch + +Requires: python3-django-errors +Requires: python3-social-auth +Requires: python3-social-auth-app-django +Requires: python3-django-otp +Requires: python3-django-two-factor-auth +Requires: python3-django-oauth-toolkit +Requires: python3-djangorestframework +Requires: python3-easy-thumbnails +Requires: python3-django-cors-headers +Requires: python3-geoip2 +Requires: python3-django-user-sessions +Requires: python3-django-axes +Requires: python3-phonenumbers +Requires: python3-django-phonenumber-field +Requires: python3-django-image-cropping +Requires: python3-django-countries +Requires: python3-django-crispy-forms +Requires: python3-sweetify +Requires: python3-flake8 +Requires: python3-pylint +Requires: python3-coverage +Requires: python3-codecov + +%description +# django-sp [](https://pypi.python.org/pypi/django_sp)
+
+## Pypi [](https://pypi.python.org/pypi/django_ps) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp)
+
+ $ pip install django-sp
+
+## GitHub  
+
+## Test [](https://codecov.io/github/DLRSP/django-sp?branch=master)
+
+Report Issues with [***waffle.io***](https://waffle.io/DLRSP/django-sp/join)
+
+## Run Example Project
+
+ $ git clone https://github.com/DLRSP/example -b django-sp
+ $ cd example
+ $ python manage.py runserver
+
+Now you browser the app @ http://127.0.0.1:8000
+ + +%package -n python3-django-sp +Summary: Django application for custom Social Profile Auth and User model. +Provides: python-django-sp +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-sp +# django-sp [](https://pypi.python.org/pypi/django_sp)
+
+## Pypi [](https://pypi.python.org/pypi/django_ps) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp)
+
+ $ pip install django-sp
+
+## GitHub  
+
+## Test [](https://codecov.io/github/DLRSP/django-sp?branch=master)
+
+Report Issues with [***waffle.io***](https://waffle.io/DLRSP/django-sp/join)
+
+## Run Example Project
+
+ $ git clone https://github.com/DLRSP/example -b django-sp
+ $ cd example
+ $ python manage.py runserver
+
+Now you browser the app @ http://127.0.0.1:8000
+ + +%package help +Summary: Development documents and examples for django-sp +Provides: python3-django-sp-doc +%description help +# django-sp [](https://pypi.python.org/pypi/django_sp)
+
+## Pypi [](https://pypi.python.org/pypi/django_ps) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp) [](https://pypi.python.org/pypi/django_sp)
+
+ $ pip install django-sp
+
+## GitHub  
+
+## Test [](https://codecov.io/github/DLRSP/django-sp?branch=master)
+
+Report Issues with [***waffle.io***](https://waffle.io/DLRSP/django-sp/join)
+
+## Run Example Project
+
+ $ git clone https://github.com/DLRSP/example -b django-sp
+ $ cd example
+ $ python manage.py runserver
+
+Now you browser the app @ http://127.0.0.1:8000
+ + +%prep +%autosetup -n django-sp-1.17.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-sp -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 1.17.0-1 +- Package Spec generated |
