summaryrefslogtreecommitdiff
path: root/python-azure-multiapi-storage.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 12:30:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 12:30:23 +0000
commitbbc7deea678a657c1f3a23b604bc3e34347a4ec8 (patch)
tree1261d5e626027ad96c1d1f185a6c111ae9052a4d /python-azure-multiapi-storage.spec
parentd56a9e8b5232e9d3051347ac864fa70364510a49 (diff)
automatic import of python-azure-multiapi-storage
Diffstat (limited to 'python-azure-multiapi-storage.spec')
-rw-r--r--python-azure-multiapi-storage.spec98
1 files changed, 98 insertions, 0 deletions
diff --git a/python-azure-multiapi-storage.spec b/python-azure-multiapi-storage.spec
new file mode 100644
index 0000000..d718507
--- /dev/null
+++ b/python-azure-multiapi-storage.spec
@@ -0,0 +1,98 @@
+%global _empty_manifest_terminate_build 0
+Name: python-azure-multiapi-storage
+Version: 1.0.0
+Release: 1
+Summary: Microsoft Azure Storage Client Library for Python with multi API version support.
+License: MIT
+URL: https://github.com/Azure/azure-multiapi-storage-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bd/df/5221bb0e12270f83c4fa80315be6a81e91407d637274dbde6dbe9e38b34a/azure-multiapi-storage-1.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-azure-common
+Requires: python3-dateutil
+Requires: python3-requests
+Requires: python3-azure-core
+Requires: python3-msrest
+Requires: python3-cryptography
+Requires: python3-azure-nspkg
+Requires: python3-futures
+
+%description
+Handles multi-API versions of Azure Storage Data Plane originally from https://github.com/Azure/azure-storage-python.
+**NOTE:**
+- This is not an official Azure Storage SDK.
+- It is used by https://github.com/Azure/azure-cli to support multiple API versions.
+- The official Azure Storage SDK is at https://github.com/Azure/azure-storage-python.
+- The official Azure CosmosDB Table SDK is at https://github.com/Azure/azure-cosmosdb-python/tree/master/azure-cosmosdb-table.
+- **Please file issues at the appropriate repository above.**
+
+%package -n python3-azure-multiapi-storage
+Summary: Microsoft Azure Storage Client Library for Python with multi API version support.
+Provides: python-azure-multiapi-storage
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-azure-multiapi-storage
+Handles multi-API versions of Azure Storage Data Plane originally from https://github.com/Azure/azure-storage-python.
+**NOTE:**
+- This is not an official Azure Storage SDK.
+- It is used by https://github.com/Azure/azure-cli to support multiple API versions.
+- The official Azure Storage SDK is at https://github.com/Azure/azure-storage-python.
+- The official Azure CosmosDB Table SDK is at https://github.com/Azure/azure-cosmosdb-python/tree/master/azure-cosmosdb-table.
+- **Please file issues at the appropriate repository above.**
+
+%package help
+Summary: Development documents and examples for azure-multiapi-storage
+Provides: python3-azure-multiapi-storage-doc
+%description help
+Handles multi-API versions of Azure Storage Data Plane originally from https://github.com/Azure/azure-storage-python.
+**NOTE:**
+- This is not an official Azure Storage SDK.
+- It is used by https://github.com/Azure/azure-cli to support multiple API versions.
+- The official Azure Storage SDK is at https://github.com/Azure/azure-storage-python.
+- The official Azure CosmosDB Table SDK is at https://github.com/Azure/azure-cosmosdb-python/tree/master/azure-cosmosdb-table.
+- **Please file issues at the appropriate repository above.**
+
+%prep
+%autosetup -n azure-multiapi-storage-1.0.0
+
+%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-azure-multiapi-storage -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1
+- Package Spec generated