summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 04:44:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 04:44:07 +0000
commit19049f2d593a0dbaf0af276f7ca58f2bd1a758a1 (patch)
tree3a577b59fe39a3abaeac380a737a83273b2b49a8
parente00f00a2df5f3e561bb3d770e1c8c13e30b23eee (diff)
automatic import of python-django-batonopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-django-baton.spec82
-rw-r--r--sources1
3 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..af0f117 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-baton-2.7.1.tar.gz
diff --git a/python-django-baton.spec b/python-django-baton.spec
new file mode 100644
index 0000000..0f04d97
--- /dev/null
+++ b/python-django-baton.spec
@@ -0,0 +1,82 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-baton
+Version: 2.7.1
+Release: 1
+Summary: A cool, modern and responsive django admin application
+License: MIT License
+URL: http://github.com/otto-torino/django-baton
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1f/4e/76dc9786139f38e75a98bb3e9aaa18d70fc32a64430e6eacfed90d501ed0/django-baton-2.7.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-google-auth
+Requires: python3-google-auth-httplib2
+Requires: python3-google-api-python-client
+Requires: python3-requests
+
+%description
+**Live Demo**
+Now you can try django-baton using the new shining live demo!
+Login with user `demo` and password `demo`
+
+%package -n python3-django-baton
+Summary: A cool, modern and responsive django admin application
+Provides: python-django-baton
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-baton
+**Live Demo**
+Now you can try django-baton using the new shining live demo!
+Login with user `demo` and password `demo`
+
+%package help
+Summary: Development documents and examples for django-baton
+Provides: python3-django-baton-doc
+%description help
+**Live Demo**
+Now you can try django-baton using the new shining live demo!
+Login with user `demo` and password `demo`
+
+%prep
+%autosetup -n django-baton-2.7.1
+
+%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-baton -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.7.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f71c44c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1bb76b36746564c70cd31f0117ae62b9 django-baton-2.7.1.tar.gz