summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-django-registration-redux.spec120
-rw-r--r--sources1
3 files changed, 122 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9a0eba6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-registration-redux-2.12.tar.gz
diff --git a/python-django-registration-redux.spec b/python-django-registration-redux.spec
new file mode 100644
index 0000000..61f863f
--- /dev/null
+++ b/python-django-registration-redux.spec
@@ -0,0 +1,120 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-registration-redux
+Version: 2.12
+Release: 1
+Summary: An extensible user-registration application for Django
+License: BSD License
+URL: https://github.com/macropin/django-registration
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3a/55/233cd64355339f693b11c7b1a152acaf4677d574c96375c581011f7673df/django-registration-redux-2.12.tar.gz
+BuildArch: noarch
+
+
+%description
+Install, upgrade and uninstall django-registration-redux with these commands::
+ pip install django-registration-redux
+ pip install --upgrade django-registration-redux
+ pip uninstall django-registration-redux
+To install it manually, run the following command inside this source directory::
+ python setup.py install
+Or if you'd prefer you can simply place the included ``registration``
+directory somewhere on your Python path, or symlink to it from
+somewhere on your Python path; this is useful if you're working from a
+Git checkout.
+Note that this application requires Python 3.5 or later, and a
+functional installation of Django 3.1 or newer.
+If you are running on Django <=2.0, you can install a previous version of
+`django-registration-redux`, which supports older versions of Django. See the
+`CHANGELOG`_ for support details. Older versions will receive minor bug fixes as
+needed, but are no longer actively developed::
+ pip install django-registration-redux==1.10
+
+%package -n python3-django-registration-redux
+Summary: An extensible user-registration application for Django
+Provides: python-django-registration-redux
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-registration-redux
+Install, upgrade and uninstall django-registration-redux with these commands::
+ pip install django-registration-redux
+ pip install --upgrade django-registration-redux
+ pip uninstall django-registration-redux
+To install it manually, run the following command inside this source directory::
+ python setup.py install
+Or if you'd prefer you can simply place the included ``registration``
+directory somewhere on your Python path, or symlink to it from
+somewhere on your Python path; this is useful if you're working from a
+Git checkout.
+Note that this application requires Python 3.5 or later, and a
+functional installation of Django 3.1 or newer.
+If you are running on Django <=2.0, you can install a previous version of
+`django-registration-redux`, which supports older versions of Django. See the
+`CHANGELOG`_ for support details. Older versions will receive minor bug fixes as
+needed, but are no longer actively developed::
+ pip install django-registration-redux==1.10
+
+%package help
+Summary: Development documents and examples for django-registration-redux
+Provides: python3-django-registration-redux-doc
+%description help
+Install, upgrade and uninstall django-registration-redux with these commands::
+ pip install django-registration-redux
+ pip install --upgrade django-registration-redux
+ pip uninstall django-registration-redux
+To install it manually, run the following command inside this source directory::
+ python setup.py install
+Or if you'd prefer you can simply place the included ``registration``
+directory somewhere on your Python path, or symlink to it from
+somewhere on your Python path; this is useful if you're working from a
+Git checkout.
+Note that this application requires Python 3.5 or later, and a
+functional installation of Django 3.1 or newer.
+If you are running on Django <=2.0, you can install a previous version of
+`django-registration-redux`, which supports older versions of Django. See the
+`CHANGELOG`_ for support details. Older versions will receive minor bug fixes as
+needed, but are no longer actively developed::
+ pip install django-registration-redux==1.10
+
+%prep
+%autosetup -n django-registration-redux-2.12
+
+%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-registration-redux -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.12-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2a7836b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d582ac78e8ad5aeac73d0180c4e2690f django-registration-redux-2.12.tar.gz