summaryrefslogtreecommitdiff
path: root/python-pypreservica.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 03:32:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 03:32:17 +0000
commitee92966c351e6b284fd14b33ba1c0fdbec904546 (patch)
tree301afa6b4e403f356bf946d625a9e76f9396c43e /python-pypreservica.spec
parent183638eea5eec0aed5b9a7bde644d4211657ebe6 (diff)
automatic import of python-pypreservicaopeneuler20.03
Diffstat (limited to 'python-pypreservica.spec')
-rw-r--r--python-pypreservica.spec139
1 files changed, 139 insertions, 0 deletions
diff --git a/python-pypreservica.spec b/python-pypreservica.spec
new file mode 100644
index 0000000..6c68055
--- /dev/null
+++ b/python-pypreservica.spec
@@ -0,0 +1,139 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyPreservica
+Version: 1.7.1
+Release: 1
+Summary: Python library for the Preservica API
+License: Apache License 2.0
+URL: https://pypreservica.readthedocs.io/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3d/ab/da078959d7c93c6938adb6b063fc30e1bbc4022c89949d6a2eaf81aa2bfd/pyPreservica-1.7.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-certifi
+Requires: python3-boto3
+Requires: python3-botocore
+Requires: python3-s3transfer
+Requires: python3-azure-storage-blob
+Requires: python3-tqdm
+
+%description
+[![Supported Versions](https://img.shields.io/pypi/pyversions/pyPreservica.svg)](https://pypi.org/project/pyPreservica)
+[![CodeQL](https://github.com/carj/pyPreservica/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/carj/pyPreservica/actions/workflows/codeql-analysis.yml)
+Python language binding for the Preservica API
+https://preservica.com/
+This library provides a Python class for working with the Preservica Rest API
+https://developers.preservica.com/api-reference
+Wiki with example scripts https://github.com/carj/pyPreservica/wiki
+## Documentation
+The full documentation is available at: https://pypreservica.readthedocs.io/
+[![Documentation Status](https://readthedocs.org/projects/pypreservica/badge/?version=latest)](https://pypreservica.readthedocs.io/en/latest/?badge=latest)
+## Contributing
+Bug reports and pull requests are welcome on GitHub at https://github.com/carj/pyPreservica
+For announcements about new versions and discussion of pyPreservica please subscribe to the google groups
+forum https://groups.google.com/g/pypreservica
+## License
+The package is available as open source under the terms of the Apache License 2.0
+## Installation
+pyPreservica is available from the Python Package Index (PyPI)
+https://pypi.org/project/pyPreservica/
+To install pyPreservica, simply run this simple command in your terminal of choice:
+ $ pip install pyPreservica
+
+%package -n python3-pyPreservica
+Summary: Python library for the Preservica API
+Provides: python-pyPreservica
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pyPreservica
+[![Supported Versions](https://img.shields.io/pypi/pyversions/pyPreservica.svg)](https://pypi.org/project/pyPreservica)
+[![CodeQL](https://github.com/carj/pyPreservica/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/carj/pyPreservica/actions/workflows/codeql-analysis.yml)
+Python language binding for the Preservica API
+https://preservica.com/
+This library provides a Python class for working with the Preservica Rest API
+https://developers.preservica.com/api-reference
+Wiki with example scripts https://github.com/carj/pyPreservica/wiki
+## Documentation
+The full documentation is available at: https://pypreservica.readthedocs.io/
+[![Documentation Status](https://readthedocs.org/projects/pypreservica/badge/?version=latest)](https://pypreservica.readthedocs.io/en/latest/?badge=latest)
+## Contributing
+Bug reports and pull requests are welcome on GitHub at https://github.com/carj/pyPreservica
+For announcements about new versions and discussion of pyPreservica please subscribe to the google groups
+forum https://groups.google.com/g/pypreservica
+## License
+The package is available as open source under the terms of the Apache License 2.0
+## Installation
+pyPreservica is available from the Python Package Index (PyPI)
+https://pypi.org/project/pyPreservica/
+To install pyPreservica, simply run this simple command in your terminal of choice:
+ $ pip install pyPreservica
+
+%package help
+Summary: Development documents and examples for pyPreservica
+Provides: python3-pyPreservica-doc
+%description help
+[![Supported Versions](https://img.shields.io/pypi/pyversions/pyPreservica.svg)](https://pypi.org/project/pyPreservica)
+[![CodeQL](https://github.com/carj/pyPreservica/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/carj/pyPreservica/actions/workflows/codeql-analysis.yml)
+Python language binding for the Preservica API
+https://preservica.com/
+This library provides a Python class for working with the Preservica Rest API
+https://developers.preservica.com/api-reference
+Wiki with example scripts https://github.com/carj/pyPreservica/wiki
+## Documentation
+The full documentation is available at: https://pypreservica.readthedocs.io/
+[![Documentation Status](https://readthedocs.org/projects/pypreservica/badge/?version=latest)](https://pypreservica.readthedocs.io/en/latest/?badge=latest)
+## Contributing
+Bug reports and pull requests are welcome on GitHub at https://github.com/carj/pyPreservica
+For announcements about new versions and discussion of pyPreservica please subscribe to the google groups
+forum https://groups.google.com/g/pypreservica
+## License
+The package is available as open source under the terms of the Apache License 2.0
+## Installation
+pyPreservica is available from the Python Package Index (PyPI)
+https://pypi.org/project/pyPreservica/
+To install pyPreservica, simply run this simple command in your terminal of choice:
+ $ pip install pyPreservica
+
+%prep
+%autosetup -n pyPreservica-1.7.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-pyPreservica -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.1-1
+- Package Spec generated