summaryrefslogtreecommitdiff
path: root/python-django-hashers-passlib.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 06:26:32 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 06:26:32 +0000
commit52d2f9ff3eefb5b84c43a9af9a73198d0e81b815 (patch)
tree4679b31a43f4567932cb2f7d482849d7cb450daf /python-django-hashers-passlib.spec
parent85201ea633662c84f63e1ba621bee7545a519d15 (diff)
automatic import of python-django-hashers-passlib
Diffstat (limited to 'python-django-hashers-passlib.spec')
-rw-r--r--python-django-hashers-passlib.spec84
1 files changed, 84 insertions, 0 deletions
diff --git a/python-django-hashers-passlib.spec b/python-django-hashers-passlib.spec
new file mode 100644
index 0000000..b227ae3
--- /dev/null
+++ b/python-django-hashers-passlib.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-hashers-passlib
+Version: 0.4
+Release: 1
+Summary: Django hashers using passlib
+License: GNU General Public License (GPL) v3
+URL: https://github.com/mathiasertl/django-hashers-passlib
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/69/63/6deed337957bfba80188c1b8f7991a7fafa72d3da4de3ec88d9c531d8eb1/django-hashers-passlib-0.4.tar.gz
+BuildArch: noarch
+
+
+%description
+This library provides password hashers for the hash schemes provided by passlib for
+Djangos password hashing framework. Unlike passlibs ``passlib.apps.django``, it does not replace Djangos
+password hashing framework but adds additional hashers to its built in framework.
+
+Please see https://github.com/mathiasertl/django-hashers-passlib for more information and documentation.
+
+%package -n python3-django-hashers-passlib
+Summary: Django hashers using passlib
+Provides: python-django-hashers-passlib
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-hashers-passlib
+This library provides password hashers for the hash schemes provided by passlib for
+Djangos password hashing framework. Unlike passlibs ``passlib.apps.django``, it does not replace Djangos
+password hashing framework but adds additional hashers to its built in framework.
+
+Please see https://github.com/mathiasertl/django-hashers-passlib for more information and documentation.
+
+%package help
+Summary: Development documents and examples for django-hashers-passlib
+Provides: python3-django-hashers-passlib-doc
+%description help
+This library provides password hashers for the hash schemes provided by passlib for
+Djangos password hashing framework. Unlike passlibs ``passlib.apps.django``, it does not replace Djangos
+password hashing framework but adds additional hashers to its built in framework.
+
+Please see https://github.com/mathiasertl/django-hashers-passlib for more information and documentation.
+
+%prep
+%autosetup -n django-hashers-passlib-0.4
+
+%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-hashers-passlib -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4-1
+- Package Spec generated