summaryrefslogtreecommitdiff
path: root/python-edx-event-routing-backends.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-edx-event-routing-backends.spec')
-rw-r--r--python-edx-event-routing-backends.spec90
1 files changed, 90 insertions, 0 deletions
diff --git a/python-edx-event-routing-backends.spec b/python-edx-event-routing-backends.spec
new file mode 100644
index 0000000..2565a6f
--- /dev/null
+++ b/python-edx-event-routing-backends.spec
@@ -0,0 +1,90 @@
+%global _empty_manifest_terminate_build 0
+Name: python-edx-event-routing-backends
+Version: 5.2.2
+Release: 1
+Summary: Various backends for receiving edX LMS events.
+License: AGPL 3.0
+URL: https://github.com/openedx/event-routing-backends
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/66/c9/a09f19bc8c3e0957a602c1e50df19308e5d14974dc3c003510e8fd9b9526/edx-event-routing-backends-5.2.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-Django
+Requires: python3-django-config-models
+Requires: python3-djfernet
+Requires: python3-edx-celeryutils
+Requires: python3-edx-toggles
+Requires: python3-event-tracking
+Requires: python3-isodate
+Requires: python3-jsonfield
+Requires: python3-dateutil
+Requires: python3-pytz
+Requires: python3-requests
+Requires: python3-tincan
+
+%description
+|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge|
+|license-badge|
+Various backends for retransmitting edX LMS events to external services.
+
+%package -n python3-edx-event-routing-backends
+Summary: Various backends for receiving edX LMS events.
+Provides: python-edx-event-routing-backends
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-edx-event-routing-backends
+|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge|
+|license-badge|
+Various backends for retransmitting edX LMS events to external services.
+
+%package help
+Summary: Development documents and examples for edx-event-routing-backends
+Provides: python3-edx-event-routing-backends-doc
+%description help
+|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge|
+|license-badge|
+Various backends for retransmitting edX LMS events to external services.
+
+%prep
+%autosetup -n edx-event-routing-backends-5.2.2
+
+%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-edx-event-routing-backends -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 5.2.2-1
+- Package Spec generated