summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 17:42:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 17:42:28 +0000
commitf46631a73770921d21434197a69eaf96721dc3d9 (patch)
treed988150dc4d67626f532b811e60078c80f52bcfe
parent7dac629c451ec481708267c092e34d1b492d13e9 (diff)
automatic import of python-django-mptt-admin
-rw-r--r--.gitignore1
-rw-r--r--python-django-mptt-admin.spec115
-rw-r--r--sources1
3 files changed, 117 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..06d179f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
+![Continuous integration](https://github.com/mbraak/django-mptt-admin/workflows/Continuous%20integration/badge.svg) [![Version](https://badge.fury.io/py/django-mptt-admin.svg)](https://pypi.python.org/pypi/django-mptt-admin/)
+
+[![codecov](https://codecov.io/gh/mbraak/django-mptt-admin/branch/master/graph/badge.svg?token=YGojePND2M)](https://codecov.io/gh/mbraak/django-mptt-admin)
+
+[![License](https://img.shields.io/pypi/l/django-mptt-admin.svg)](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/).
+
+![Screenshot](https://raw.github.com/mbraak/django-mptt-admin/master/screenshot.png)
+
+
+%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
+![Continuous integration](https://github.com/mbraak/django-mptt-admin/workflows/Continuous%20integration/badge.svg) [![Version](https://badge.fury.io/py/django-mptt-admin.svg)](https://pypi.python.org/pypi/django-mptt-admin/)
+
+[![codecov](https://codecov.io/gh/mbraak/django-mptt-admin/branch/master/graph/badge.svg?token=YGojePND2M)](https://codecov.io/gh/mbraak/django-mptt-admin)
+
+[![License](https://img.shields.io/pypi/l/django-mptt-admin.svg)](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/).
+
+![Screenshot](https://raw.github.com/mbraak/django-mptt-admin/master/screenshot.png)
+
+
+%package help
+Summary: Development documents and examples for django-mptt-admin
+Provides: python3-django-mptt-admin-doc
+%description help
+![Continuous integration](https://github.com/mbraak/django-mptt-admin/workflows/Continuous%20integration/badge.svg) [![Version](https://badge.fury.io/py/django-mptt-admin.svg)](https://pypi.python.org/pypi/django-mptt-admin/)
+
+[![codecov](https://codecov.io/gh/mbraak/django-mptt-admin/branch/master/graph/badge.svg?token=YGojePND2M)](https://codecov.io/gh/mbraak/django-mptt-admin)
+
+[![License](https://img.shields.io/pypi/l/django-mptt-admin.svg)](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/).
+
+![Screenshot](https://raw.github.com/mbraak/django-mptt-admin/master/screenshot.png)
+
+
+%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
diff --git a/sources b/sources
new file mode 100644
index 0000000..24181a1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+50abbd7f384b9cf7c122f837539f72f8 django-mptt-admin-2.5.0.tar.gz