summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 03:45:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 03:45:16 +0000
commit1cd7c34442e3786855c2661f115a37119bbb9566 (patch)
tree1324af287d3528069b335e2c0d2b6e935edf6c38
parent22855e4467cda328f6aa525b4d60fc18d7db20c1 (diff)
automatic import of python-eox-tenantopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-eox-tenant.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..32c47e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/eox-tenant-9.0.0.tar.gz
diff --git a/python-eox-tenant.spec b/python-eox-tenant.spec
new file mode 100644
index 0000000..da04135
--- /dev/null
+++ b/python-eox-tenant.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-eox-tenant
+Version: 9.0.0
+Release: 1
+Summary: Edunext Open edx extensions tenant.
+License: AGPL
+URL: https://pypi.org/project/eox-tenant/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d6/e3/fb7b17e14f65c66b1ab9194edbbc7fb68a62915f8b00c7b66de7a4969515/eox-tenant-9.0.0.tar.gz
+BuildArch: noarch
+
+
+%description
+Eox-tenant is a multi-tenancy django app for `edx-platform`_. It is build as an `openedx plugin`_ so even as a django app it will auto install in the larger edx-platform core code once installed in the same python environment.
+The code is written and maintained by `eduNEXT`_ and it is what we use to support our own multi-tenant services. It was initially created as an extension of the `microsites` and `site_configurations` features of the Open edX platform, but it has grown to completely replace them in order to support more robust multi tenancy model.
+If you are looking for professional development or support with multi tenancy or multi sites in the Open edX platform, you can reach out at sales@edunext.co
+
+%package -n python3-eox-tenant
+Summary: Edunext Open edx extensions tenant.
+Provides: python-eox-tenant
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-eox-tenant
+Eox-tenant is a multi-tenancy django app for `edx-platform`_. It is build as an `openedx plugin`_ so even as a django app it will auto install in the larger edx-platform core code once installed in the same python environment.
+The code is written and maintained by `eduNEXT`_ and it is what we use to support our own multi-tenant services. It was initially created as an extension of the `microsites` and `site_configurations` features of the Open edX platform, but it has grown to completely replace them in order to support more robust multi tenancy model.
+If you are looking for professional development or support with multi tenancy or multi sites in the Open edX platform, you can reach out at sales@edunext.co
+
+%package help
+Summary: Development documents and examples for eox-tenant
+Provides: python3-eox-tenant-doc
+%description help
+Eox-tenant is a multi-tenancy django app for `edx-platform`_. It is build as an `openedx plugin`_ so even as a django app it will auto install in the larger edx-platform core code once installed in the same python environment.
+The code is written and maintained by `eduNEXT`_ and it is what we use to support our own multi-tenant services. It was initially created as an extension of the `microsites` and `site_configurations` features of the Open edX platform, but it has grown to completely replace them in order to support more robust multi tenancy model.
+If you are looking for professional development or support with multi tenancy or multi sites in the Open edX platform, you can reach out at sales@edunext.co
+
+%prep
+%autosetup -n eox-tenant-9.0.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-eox-tenant -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 9.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a1d792c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+eaa973a220033a9136171f43b193c177 eox-tenant-9.0.0.tar.gz