summaryrefslogtreecommitdiff
path: root/python-tom-pittgoogle.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-tom-pittgoogle.spec')
-rw-r--r--python-tom-pittgoogle.spec123
1 files changed, 123 insertions, 0 deletions
diff --git a/python-tom-pittgoogle.spec b/python-tom-pittgoogle.spec
new file mode 100644
index 0000000..beabb14
--- /dev/null
+++ b/python-tom-pittgoogle.spec
@@ -0,0 +1,123 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tom-pittgoogle
+Version: 0.1.11
+Release: 1
+Summary: Pitt-Google broker module for the TOM Toolkit
+License: GNU General Public License v3 or later (GPLv3+)
+URL: https://pypi.org/project/tom-pittgoogle/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/27/5f/f1afd2debf4f1b42b694c354f3d7dea80383ab3c78ea67546d17459420b7/tom_pittgoogle-0.1.11.tar.gz
+BuildArch: noarch
+
+Requires: python3-fastavro
+Requires: python3-google-cloud-bigquery
+Requires: python3-google-cloud-logging
+Requires: python3-google-cloud-pubsub
+Requires: python3-google-auth-oauthlib
+Requires: python3-requests-oauthlib
+Requires: python3-tomtoolkit
+Requires: python3-whitenoise
+Requires: python3-django
+Requires: python3-django-bootstrap4
+Requires: python3-django-crispy-forms
+Requires: python3-django-environ
+Requires: python3-django-extensions
+Requires: python3-django-guardian
+Requires: python3-django-recaptcha
+Requires: python3-docutils
+Requires: python3-myst-parser
+Requires: python3-sphinx
+Requires: python3-sphinx-copybutton
+Requires: python3-sphinx-autodoc-typehints
+Requires: python3-sphinx-rtd-theme
+
+%description
+[![python](https://img.shields.io/badge/python-3.7-g.svg)]()
+[![Documentation Status](https://readthedocs.org/projects/tom-pittgoogle/badge/?version=latest)](https://tom-pittgoogle.readthedocs.io/en/latest/?badge=latest)
+
+# Pitt-Google integration with TOM Toolkit
+
+Please read the docs at [https://tom-pittgoogle.readthedocs.io/en/latest/](https://tom-pittgoogle.readthedocs.io/en/latest/).
+
+Contact Troy Raen with questions or for authentication access (Slack @troyraen on LSSTC or ztf-broker-ops, or email troy.raen@pitt.edu).
+
+
+
+
+%package -n python3-tom-pittgoogle
+Summary: Pitt-Google broker module for the TOM Toolkit
+Provides: python-tom-pittgoogle
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tom-pittgoogle
+[![python](https://img.shields.io/badge/python-3.7-g.svg)]()
+[![Documentation Status](https://readthedocs.org/projects/tom-pittgoogle/badge/?version=latest)](https://tom-pittgoogle.readthedocs.io/en/latest/?badge=latest)
+
+# Pitt-Google integration with TOM Toolkit
+
+Please read the docs at [https://tom-pittgoogle.readthedocs.io/en/latest/](https://tom-pittgoogle.readthedocs.io/en/latest/).
+
+Contact Troy Raen with questions or for authentication access (Slack @troyraen on LSSTC or ztf-broker-ops, or email troy.raen@pitt.edu).
+
+
+
+
+%package help
+Summary: Development documents and examples for tom-pittgoogle
+Provides: python3-tom-pittgoogle-doc
+%description help
+[![python](https://img.shields.io/badge/python-3.7-g.svg)]()
+[![Documentation Status](https://readthedocs.org/projects/tom-pittgoogle/badge/?version=latest)](https://tom-pittgoogle.readthedocs.io/en/latest/?badge=latest)
+
+# Pitt-Google integration with TOM Toolkit
+
+Please read the docs at [https://tom-pittgoogle.readthedocs.io/en/latest/](https://tom-pittgoogle.readthedocs.io/en/latest/).
+
+Contact Troy Raen with questions or for authentication access (Slack @troyraen on LSSTC or ztf-broker-ops, or email troy.raen@pitt.edu).
+
+
+
+
+%prep
+%autosetup -n tom-pittgoogle-0.1.11
+
+%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-tom-pittgoogle -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.11-1
+- Package Spec generated