summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-rapidpro-dash.spec86
-rw-r--r--sources1
3 files changed, 88 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..925206b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rapidpro_dash-1.12.0.tar.gz
diff --git a/python-rapidpro-dash.spec b/python-rapidpro-dash.spec
new file mode 100644
index 0000000..885348a
--- /dev/null
+++ b/python-rapidpro-dash.spec
@@ -0,0 +1,86 @@
+%global _empty_manifest_terminate_build 0
+Name: python-rapidpro-dash
+Version: 1.12.0
+Release: 1
+Summary: Support library for RapidPro dashboards
+License: BSD
+URL: https://pypi.org/project/rapidpro-dash/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/6a/6d2bd87753452d0d195e3c6372a85a5a9283a1633de3186adbc54b04baea/rapidpro_dash-1.12.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-sorl-thumbnail
+Requires: python3-isort[pyproject]
+Requires: python3-Django
+Requires: python3-celery
+Requires: python3-django-compressor
+Requires: python3-django-hamlpy
+Requires: python3-django-redis
+Requires: python3-django-timezone-field
+Requires: python3-Pillow
+Requires: python3-phonenumbers
+Requires: python3-psycopg2-binary
+Requires: python3-dateutil
+Requires: python3-rapidpro-python
+Requires: python3-smartmin
+
+%description
+
+
+%package -n python3-rapidpro-dash
+Summary: Support library for RapidPro dashboards
+Provides: python-rapidpro-dash
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-rapidpro-dash
+
+
+%package help
+Summary: Development documents and examples for rapidpro-dash
+Provides: python3-rapidpro-dash-doc
+%description help
+
+
+%prep
+%autosetup -n rapidpro-dash-1.12.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-rapidpro-dash -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.12.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e7a4fee
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a0c19b1dad592e894d834448f61d8b45 rapidpro_dash-1.12.0.tar.gz