summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-dbt-oracle.spec207
-rw-r--r--sources1
3 files changed, 209 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..acaab60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dbt-oracle-1.4.2.tar.gz
diff --git a/python-dbt-oracle.spec b/python-dbt-oracle.spec
new file mode 100644
index 0000000..93643f4
--- /dev/null
+++ b/python-dbt-oracle.spec
@@ -0,0 +1,207 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dbt-oracle
+Version: 1.4.2
+Release: 1
+Summary: dbt (data build tool) adapter for the Oracle database
+License: Apache Software License 2.0
+URL: https://github.com/oracle/dbt-oracle
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ba/a2/cf015de35ec64d01966b927979380980760439bd6299db9206af04799385/dbt-oracle-1.4.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-dbt-core
+Requires: python3-cx-Oracle
+Requires: python3-oracledb
+
+%description
+# dbt-oracle
+
+[![PyPI version](https://badge.fury.io/py/dbt-oracle.svg)](https://pypi.python.org/pypi/dbt-oracle)
+[![dbt-tests-adapter](https://github.com/oracle/dbt-oracle/actions/workflows/oracle-xe-adapter-tests.yml/badge.svg)](https://github.com/oracle/dbt-oracle/actions/workflows/oracle-xe-adapter-tests.yml)
+[![dbt-oracle docs](https://img.shields.io/badge/docs-read-blue)](https://docs.getdbt.com/reference/warehouse-setups/oracle-setup)
+[![dbt-oracle license](https://img.shields.io/badge/license-Apache%202.0-blue)][4]
+
+`dbt-oracle` implements [dbt (data build tool)](https://docs.getdbt.com/docs/introduction) functionalities for the Oracle database.
+
+> Prior to version 1.0.0, dbt-oracle was created and maintained by [Indicium](https://indicium.tech/) on [their GitHub repo](https://github.com/techindicium/dbt-oracle). Contributors in this repo are credited for laying the groundwork and maintaining the adapter till version 0.4.3.
+From version 1.0.0, dbt-oracle is maintained and distributed by Oracle.
+
+
+## Installation
+
+```bash
+pip install dbt-oracle
+```
+
+
+## Documentation
+
+Please refer to the [Oracle setup on dbt docs website][1] for documentation.
+
+## Sample project
+
+To get started, a sample dbt project can be found in the directory [/dbt_adbs_test_project][5].
+
+## Contributing
+
+This project welcomes contributions from the community. Before submitting a pull request, please [review our contribution guide](./CONTRIBUTING.md).
+
+## Security
+
+Please consult the [security guide](./SECURITY.md) for our responsible security vulnerability disclosure process.
+
+## License
+dbt-oracle is licensed under Apache 2.0 License which you can find [here][4].
+
+[1]: https://docs.getdbt.com/reference/warehouse-profiles/oracle-profile
+[2]: https://github.com/oracle/dbt-oracle/blob/main/CONTRIBUTING.md
+[3]: https://github.com/oracle/dbt-oracle/blob/main/SECURITY.md
+[4]: https://github.com/oracle/dbt-oracle/blob/main/LICENSE.txt
+[5]: https://github.com/oracle/dbt-oracle/tree/main/dbt_adbs_test_project
+
+
+%package -n python3-dbt-oracle
+Summary: dbt (data build tool) adapter for the Oracle database
+Provides: python-dbt-oracle
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dbt-oracle
+# dbt-oracle
+
+[![PyPI version](https://badge.fury.io/py/dbt-oracle.svg)](https://pypi.python.org/pypi/dbt-oracle)
+[![dbt-tests-adapter](https://github.com/oracle/dbt-oracle/actions/workflows/oracle-xe-adapter-tests.yml/badge.svg)](https://github.com/oracle/dbt-oracle/actions/workflows/oracle-xe-adapter-tests.yml)
+[![dbt-oracle docs](https://img.shields.io/badge/docs-read-blue)](https://docs.getdbt.com/reference/warehouse-setups/oracle-setup)
+[![dbt-oracle license](https://img.shields.io/badge/license-Apache%202.0-blue)][4]
+
+`dbt-oracle` implements [dbt (data build tool)](https://docs.getdbt.com/docs/introduction) functionalities for the Oracle database.
+
+> Prior to version 1.0.0, dbt-oracle was created and maintained by [Indicium](https://indicium.tech/) on [their GitHub repo](https://github.com/techindicium/dbt-oracle). Contributors in this repo are credited for laying the groundwork and maintaining the adapter till version 0.4.3.
+From version 1.0.0, dbt-oracle is maintained and distributed by Oracle.
+
+
+## Installation
+
+```bash
+pip install dbt-oracle
+```
+
+
+## Documentation
+
+Please refer to the [Oracle setup on dbt docs website][1] for documentation.
+
+## Sample project
+
+To get started, a sample dbt project can be found in the directory [/dbt_adbs_test_project][5].
+
+## Contributing
+
+This project welcomes contributions from the community. Before submitting a pull request, please [review our contribution guide](./CONTRIBUTING.md).
+
+## Security
+
+Please consult the [security guide](./SECURITY.md) for our responsible security vulnerability disclosure process.
+
+## License
+dbt-oracle is licensed under Apache 2.0 License which you can find [here][4].
+
+[1]: https://docs.getdbt.com/reference/warehouse-profiles/oracle-profile
+[2]: https://github.com/oracle/dbt-oracle/blob/main/CONTRIBUTING.md
+[3]: https://github.com/oracle/dbt-oracle/blob/main/SECURITY.md
+[4]: https://github.com/oracle/dbt-oracle/blob/main/LICENSE.txt
+[5]: https://github.com/oracle/dbt-oracle/tree/main/dbt_adbs_test_project
+
+
+%package help
+Summary: Development documents and examples for dbt-oracle
+Provides: python3-dbt-oracle-doc
+%description help
+# dbt-oracle
+
+[![PyPI version](https://badge.fury.io/py/dbt-oracle.svg)](https://pypi.python.org/pypi/dbt-oracle)
+[![dbt-tests-adapter](https://github.com/oracle/dbt-oracle/actions/workflows/oracle-xe-adapter-tests.yml/badge.svg)](https://github.com/oracle/dbt-oracle/actions/workflows/oracle-xe-adapter-tests.yml)
+[![dbt-oracle docs](https://img.shields.io/badge/docs-read-blue)](https://docs.getdbt.com/reference/warehouse-setups/oracle-setup)
+[![dbt-oracle license](https://img.shields.io/badge/license-Apache%202.0-blue)][4]
+
+`dbt-oracle` implements [dbt (data build tool)](https://docs.getdbt.com/docs/introduction) functionalities for the Oracle database.
+
+> Prior to version 1.0.0, dbt-oracle was created and maintained by [Indicium](https://indicium.tech/) on [their GitHub repo](https://github.com/techindicium/dbt-oracle). Contributors in this repo are credited for laying the groundwork and maintaining the adapter till version 0.4.3.
+From version 1.0.0, dbt-oracle is maintained and distributed by Oracle.
+
+
+## Installation
+
+```bash
+pip install dbt-oracle
+```
+
+
+## Documentation
+
+Please refer to the [Oracle setup on dbt docs website][1] for documentation.
+
+## Sample project
+
+To get started, a sample dbt project can be found in the directory [/dbt_adbs_test_project][5].
+
+## Contributing
+
+This project welcomes contributions from the community. Before submitting a pull request, please [review our contribution guide](./CONTRIBUTING.md).
+
+## Security
+
+Please consult the [security guide](./SECURITY.md) for our responsible security vulnerability disclosure process.
+
+## License
+dbt-oracle is licensed under Apache 2.0 License which you can find [here][4].
+
+[1]: https://docs.getdbt.com/reference/warehouse-profiles/oracle-profile
+[2]: https://github.com/oracle/dbt-oracle/blob/main/CONTRIBUTING.md
+[3]: https://github.com/oracle/dbt-oracle/blob/main/SECURITY.md
+[4]: https://github.com/oracle/dbt-oracle/blob/main/LICENSE.txt
+[5]: https://github.com/oracle/dbt-oracle/tree/main/dbt_adbs_test_project
+
+
+%prep
+%autosetup -n dbt-oracle-1.4.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-dbt-oracle -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0452a5e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+961b4b6bbb88f26e6ba5f4252e64449e dbt-oracle-1.4.2.tar.gz