summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 05:34:38 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 05:34:38 +0000
commit34a2cde4ba21b3b4410f75c4af422c79bbb29420 (patch)
treea0c349f667e242302afe2ad250791ef157472ea2
parente39161156e8be4e0f72c0c98bd704421492a502f (diff)
automatic import of python-snowconvert-export-sqlserveropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-snowconvert-export-sqlserver.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c7adefa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/snowconvert-export-sqlserver-0.0.18.tar.gz
diff --git a/python-snowconvert-export-sqlserver.spec b/python-snowconvert-export-sqlserver.spec
new file mode 100644
index 0000000..6d308e5
--- /dev/null
+++ b/python-snowconvert-export-sqlserver.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-snowconvert-export-sqlserver
+Version: 0.0.18
+Release: 1
+Summary: Mobilize.Net SQLServer Export Tool for SnowConvert
+License: MIT
+URL: https://github.com/mobilize/SnowConvertDDLExportScripts/SQLServer
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fc/26/47fcbd64506df60bb15c5b1d44003d51f2dc1eddb76c6b66878516e47bd2/snowconvert-export-sqlserver-0.0.18.tar.gz
+BuildArch: noarch
+
+Requires: python3-mssql-scripter
+Requires: python3-future
+Requires: python3-wheel
+
+%description
+We’re excited to introduce `sc-sqlserver-export`, a simple tool to help exporting your SQLServer Code
+so it can be migrated to Snowflake.
+
+%package -n python3-snowconvert-export-sqlserver
+Summary: Mobilize.Net SQLServer Export Tool for SnowConvert
+Provides: python-snowconvert-export-sqlserver
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-snowconvert-export-sqlserver
+We’re excited to introduce `sc-sqlserver-export`, a simple tool to help exporting your SQLServer Code
+so it can be migrated to Snowflake.
+
+%package help
+Summary: Development documents and examples for snowconvert-export-sqlserver
+Provides: python3-snowconvert-export-sqlserver-doc
+%description help
+We’re excited to introduce `sc-sqlserver-export`, a simple tool to help exporting your SQLServer Code
+so it can be migrated to Snowflake.
+
+%prep
+%autosetup -n snowconvert-export-sqlserver-0.0.18
+
+%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-snowconvert-export-sqlserver -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.18-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..45a9676
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ad0691fe69333d3f4c2c47c64bdf416d snowconvert-export-sqlserver-0.0.18.tar.gz