summaryrefslogtreecommitdiff
path: root/python-pipelinewise-singer-python.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-pipelinewise-singer-python.spec')
-rw-r--r--python-pipelinewise-singer-python.spec95
1 files changed, 95 insertions, 0 deletions
diff --git a/python-pipelinewise-singer-python.spec b/python-pipelinewise-singer-python.spec
new file mode 100644
index 0000000..9329014
--- /dev/null
+++ b/python-pipelinewise-singer-python.spec
@@ -0,0 +1,95 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pipelinewise-singer-python
+Version: 2.0.1
+Release: 1
+Summary: Singer.io utility library - PipelineWise compatible
+License: Apache Software License
+URL: https://github.com/transferwise/pipelinewise-singer-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/23/a4/429f4341b235d6140a6423f4b60c4e5fad3994b641a403b59ae5e83a8a9c/pipelinewise-singer-python-2.0.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytz
+Requires: python3-jsonschema
+Requires: python3-orjson
+Requires: python3-dateutil
+Requires: python3-backoff
+Requires: python3-ciso8601
+Requires: python3-pylint
+Requires: python3-ipython
+Requires: python3-ipdb
+Requires: python3-nose
+Requires: python3-unify
+
+%description
+[![PyPI version](https://badge.fury.io/py/pipelinewise-singer-python.svg)](https://badge.fury.io/py/pipelinewise-singer-python)
+[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pipelinewise-singer-python.svg)](https://pypi.org/project/pipelinewise-singer-python/)
+[![License: MIT](https://img.shields.io/badge/License-Apache2-yellow.svg)](https://opensource.org/licenses/Apache-2.0)
+Writes the Singer format from Python.
+This is a fork of [Singer's singer-python](https://github.com/singer-io/singer-python) made for [PipelineWise](https://transferwise.github.io/pipelinewise).
+
+%package -n python3-pipelinewise-singer-python
+Summary: Singer.io utility library - PipelineWise compatible
+Provides: python-pipelinewise-singer-python
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pipelinewise-singer-python
+[![PyPI version](https://badge.fury.io/py/pipelinewise-singer-python.svg)](https://badge.fury.io/py/pipelinewise-singer-python)
+[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pipelinewise-singer-python.svg)](https://pypi.org/project/pipelinewise-singer-python/)
+[![License: MIT](https://img.shields.io/badge/License-Apache2-yellow.svg)](https://opensource.org/licenses/Apache-2.0)
+Writes the Singer format from Python.
+This is a fork of [Singer's singer-python](https://github.com/singer-io/singer-python) made for [PipelineWise](https://transferwise.github.io/pipelinewise).
+
+%package help
+Summary: Development documents and examples for pipelinewise-singer-python
+Provides: python3-pipelinewise-singer-python-doc
+%description help
+[![PyPI version](https://badge.fury.io/py/pipelinewise-singer-python.svg)](https://badge.fury.io/py/pipelinewise-singer-python)
+[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pipelinewise-singer-python.svg)](https://pypi.org/project/pipelinewise-singer-python/)
+[![License: MIT](https://img.shields.io/badge/License-Apache2-yellow.svg)](https://opensource.org/licenses/Apache-2.0)
+Writes the Singer format from Python.
+This is a fork of [Singer's singer-python](https://github.com/singer-io/singer-python) made for [PipelineWise](https://transferwise.github.io/pipelinewise).
+
+%prep
+%autosetup -n pipelinewise-singer-python-2.0.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-pipelinewise-singer-python -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1
+- Package Spec generated