summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:06:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:06:30 +0000
commit86429d0dfba09cc3e26bf453a6a46ef7fa488525 (patch)
tree966b4aaec04ab79edd845dc9d27980e64d8878d6
parent471766674e52a693dd9b134f6bdbb54f2946d5a6 (diff)
automatic import of python-openimis-be-coreopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-openimis-be-core.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5ec6732 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/openimis-be-core-1.5.1.tar.gz
diff --git a/python-openimis-be-core.spec b/python-openimis-be-core.spec
new file mode 100644
index 0000000..88a1af7
--- /dev/null
+++ b/python-openimis-be-core.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-openimis-be-core
+Version: 1.5.1
+Release: 1
+Summary: The openIMIS Backend Core reference module.
+License: GNU AGPL v3
+URL: https://openimis.org/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2d/ce/e3f724d1e6846c0fe1ab7e2da941af96090e9af08a6ad162f4a64abeb915/openimis-be-core-1.5.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-isodate
+Requires: python3-django
+Requires: python3-django-db-signals
+Requires: python3-djangorestframework
+Requires: python3-cached-property
+Requires: python3-nepalicalendar
+Requires: python3-django-simple-history
+Requires: python3-django-dirtyfields
+Requires: python3-websocket-client
+
+%description
+
+
+%package -n python3-openimis-be-core
+Summary: The openIMIS Backend Core reference module.
+Provides: python-openimis-be-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-openimis-be-core
+
+
+%package help
+Summary: Development documents and examples for openimis-be-core
+Provides: python3-openimis-be-core-doc
+%description help
+
+
+%prep
+%autosetup -n openimis-be-core-1.5.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-openimis-be-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2624cd2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+207208b8f47f23dbae50ca14a3c4f347 openimis-be-core-1.5.1.tar.gz