diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 17:42:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 17:42:28 +0000 |
commit | f46631a73770921d21434197a69eaf96721dc3d9 (patch) | |
tree | d988150dc4d67626f532b811e60078c80f52bcfe | |
parent | 7dac629c451ec481708267c092e34d1b492d13e9 (diff) |
automatic import of python-django-mptt-admin
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-mptt-admin.spec | 115 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 117 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-mptt-admin-2.5.0.tar.gz diff --git a/python-django-mptt-admin.spec b/python-django-mptt-admin.spec new file mode 100644 index 0000000..51c155f --- /dev/null +++ b/python-django-mptt-admin.spec @@ -0,0 +1,115 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-mptt-admin +Version: 2.5.0 +Release: 1 +Summary: Django-mptt-admin provides a nice Django Admin interface for Mptt models +License: Apache License, Version 2.0 +URL: https://github.com/mbraak/django-mptt-admin +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ca/9b/038b87bcd3a35c5d4007bb642200600ca1c2ef89939032619841eaa58a2a/django-mptt-admin-2.5.0.tar.gz +BuildArch: noarch + +Requires: python3-django-mptt + +%description + [](https://pypi.python.org/pypi/django-mptt-admin/) + +[](https://codecov.io/gh/mbraak/django-mptt-admin) + +[](https://pypi.python.org/pypi/django-mptt-admin/) + +# Django Mptt Admin + +_Django-mptt-admin_ provides a nice Django Admin interface for [django-mptt models](https://django-mptt.readthedocs.io/). + +- The source is available on [https://github.com/mbraak/django-mptt-admin](https://github.com/mbraak/django-mptt-admin). +- Documentation is available on [https://mbraak.github.io/django-mptt-admin/](https://mbraak.github.io/django-mptt-admin/). + + + + +%package -n python3-django-mptt-admin +Summary: Django-mptt-admin provides a nice Django Admin interface for Mptt models +Provides: python-django-mptt-admin +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-mptt-admin + [](https://pypi.python.org/pypi/django-mptt-admin/) + +[](https://codecov.io/gh/mbraak/django-mptt-admin) + +[](https://pypi.python.org/pypi/django-mptt-admin/) + +# Django Mptt Admin + +_Django-mptt-admin_ provides a nice Django Admin interface for [django-mptt models](https://django-mptt.readthedocs.io/). + +- The source is available on [https://github.com/mbraak/django-mptt-admin](https://github.com/mbraak/django-mptt-admin). +- Documentation is available on [https://mbraak.github.io/django-mptt-admin/](https://mbraak.github.io/django-mptt-admin/). + + + + +%package help +Summary: Development documents and examples for django-mptt-admin +Provides: python3-django-mptt-admin-doc +%description help + [](https://pypi.python.org/pypi/django-mptt-admin/) + +[](https://codecov.io/gh/mbraak/django-mptt-admin) + +[](https://pypi.python.org/pypi/django-mptt-admin/) + +# Django Mptt Admin + +_Django-mptt-admin_ provides a nice Django Admin interface for [django-mptt models](https://django-mptt.readthedocs.io/). + +- The source is available on [https://github.com/mbraak/django-mptt-admin](https://github.com/mbraak/django-mptt-admin). +- Documentation is available on [https://mbraak.github.io/django-mptt-admin/](https://mbraak.github.io/django-mptt-admin/). + + + + +%prep +%autosetup -n django-mptt-admin-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-mptt-admin -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.0-1 +- Package Spec generated @@ -0,0 +1 @@ +50abbd7f384b9cf7c122f837539f72f8 django-mptt-admin-2.5.0.tar.gz |