summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 05:10:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 05:10:23 +0000
commit5c50b6acf2755db19664d5385f5d9cf6e1b2ecf1 (patch)
treeeb6aaabbd88acaa397ae6245b6005aad2db6c239
parent4bbe3961fab26f78b986964adb6ab3aefaae8f41 (diff)
automatic import of python-dgp-server
-rw-r--r--.gitignore1
-rw-r--r--python-dgp-server.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0425254 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dgp-server-0.0.95.tar.gz
diff --git a/python-dgp-server.spec b/python-dgp-server.spec
new file mode 100644
index 0000000..f62987d
--- /dev/null
+++ b/python-dgp-server.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dgp-server
+Version: 0.0.95
+Release: 1
+Summary: A server for running dgp
+License: MIT
+URL: https://github.com/dataspot/dgp-server
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/71/8b/324bd57f95daf422043a20fed81ca0954c7ac79dd07b8f9ab16ed11e0aee/dgp-server-0.0.95.tar.gz
+BuildArch: noarch
+
+Requires: python3-dgp
+Requires: python3-gunicorn
+Requires: python3-aiohttp
+Requires: python3-aiohttp-sse
+Requires: python3-psycopg2-binary
+Requires: python3-pylama
+Requires: python3-tox
+
+%description
+# Data Genus Processor Server
+
+
+
+
+%package -n python3-dgp-server
+Summary: A server for running dgp
+Provides: python-dgp-server
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dgp-server
+# Data Genus Processor Server
+
+
+
+
+%package help
+Summary: Development documents and examples for dgp-server
+Provides: python3-dgp-server-doc
+%description help
+# Data Genus Processor Server
+
+
+
+
+%prep
+%autosetup -n dgp-server-0.0.95
+
+%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-dgp-server -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.95-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..aa1a8f1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+4f71218d69113b9b3db6a62674328edb dgp-server-0.0.95.tar.gz