summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:38:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:38:25 +0000
commit6c931c6637aefff1c51557ccc292b7dd067d6c1f (patch)
treec0e8f27d05685a0759ca30f23d76ee384764b3e6
parent4b378663991e1e1ff327e71e14aef7ff9ad54c00 (diff)
automatic import of python-idataapi-transform
-rw-r--r--.gitignore1
-rw-r--r--python-idataapi-transform.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c143ddf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/idataapi-transform-2.0.2.tar.gz
diff --git a/python-idataapi-transform.spec b/python-idataapi-transform.spec
new file mode 100644
index 0000000..4867e7b
--- /dev/null
+++ b/python-idataapi-transform.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-idataapi-transform
+Version: 2.0.2
+Release: 1
+Summary: convert data from a format to another format, read or write from file or database, suitable for iDataAPI
+License: None
+URL: https://github.com/zpoint/idataapi-transform
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ef/d9/59142723a16e8413dd69e8aa54b8221e062f8bebdd5903ac8325e92bcfba/idataapi-transform-2.0.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-aiohttp
+Requires: python3-openpyxl
+Requires: python3-elasticsearch-async
+Requires: python3-aioredis
+Requires: python3-confluent_kafka
+
+%description
+
+
+%package -n python3-idataapi-transform
+Summary: convert data from a format to another format, read or write from file or database, suitable for iDataAPI
+Provides: python-idataapi-transform
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-idataapi-transform
+
+
+%package help
+Summary: Development documents and examples for idataapi-transform
+Provides: python3-idataapi-transform-doc
+%description help
+
+
+%prep
+%autosetup -n idataapi-transform-2.0.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-idataapi-transform -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d615697
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+38823ba8a47cbd9af376a6681557f7cb idataapi-transform-2.0.2.tar.gz