summaryrefslogtreecommitdiff
path: root/python-soda-sql-snowflake.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 05:43:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 05:43:21 +0000
commit3b641957a0f58e876140a403b72919dc32d73a3e (patch)
treef128e48bd450e5a7e54f8a51834379994437de2c /python-soda-sql-snowflake.spec
parente584fd6122c3aca46bbf4dec78ebff31b6576d1e (diff)
automatic import of python-soda-sql-snowflake
Diffstat (limited to 'python-soda-sql-snowflake.spec')
-rw-r--r--python-soda-sql-snowflake.spec74
1 files changed, 74 insertions, 0 deletions
diff --git a/python-soda-sql-snowflake.spec b/python-soda-sql-snowflake.spec
new file mode 100644
index 0000000..bc0069a
--- /dev/null
+++ b/python-soda-sql-snowflake.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-soda-sql-snowflake
+Version: 2.2.2
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: Apache Software License
+URL: https://pypi.org/project/soda-sql-snowflake/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/26/1e/1ea7970220d4a58c3703bea5263b62143fa4b8f13ccbb9000cad254b4a1c/soda-sql-snowflake-2.2.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-soda-sql-core
+Requires: python3-snowflake-connector-python
+
+%description
+
+
+%package -n python3-soda-sql-snowflake
+Summary: please add a summary manually as the author left a blank one
+Provides: python-soda-sql-snowflake
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-soda-sql-snowflake
+
+
+%package help
+Summary: Development documents and examples for soda-sql-snowflake
+Provides: python3-soda-sql-snowflake-doc
+%description help
+
+
+%prep
+%autosetup -n soda-sql-snowflake-2.2.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-soda-sql-snowflake -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.2-1
+- Package Spec generated