From ee92966c351e6b284fd14b33ba1c0fdbec904546 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 03:32:17 +0000 Subject: automatic import of python-pypreservica --- .gitignore | 1 + python-pypreservica.spec | 139 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 141 insertions(+) create mode 100644 python-pypreservica.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..26d59af 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pyPreservica-1.7.1.tar.gz 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 - 1.7.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..72e1aca --- /dev/null +++ b/sources @@ -0,0 +1 @@ +00db2ba345a1de635823b5bd9c4c78af pyPreservica-1.7.1.tar.gz -- cgit v1.2.3