diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 08:38:19 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 08:38:19 +0000 |
| commit | 98f9b7538c22a7ec28115fab778ee63899952796 (patch) | |
| tree | 6e1c97fd9d0a1e7fd9946a5a9875be37d904f9eb | |
| parent | 59903c61af3b4cad0d8d143cf69f98bb6cfd227b (diff) | |
automatic import of python-azure-cosmosdb-nspkg
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-azure-cosmosdb-nspkg.spec | 85 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 87 insertions, 0 deletions
@@ -0,0 +1 @@ +/azure-cosmosdb-nspkg-2.0.2.tar.gz diff --git a/python-azure-cosmosdb-nspkg.spec b/python-azure-cosmosdb-nspkg.spec new file mode 100644 index 0000000..0fb8f10 --- /dev/null +++ b/python-azure-cosmosdb-nspkg.spec @@ -0,0 +1,85 @@ +%global _empty_manifest_terminate_build 0 +Name: python-azure-cosmosdb-nspkg +Version: 2.0.2 +Release: 1 +Summary: Microsoft Azure CosmosDB Namespace Package [Internal] +License: Apache License 2.0 +URL: https://github.com/Azure/azure-cosmosdb-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/1b/68df002d2b3992da134244c27ca2380ad8159535391373fac66d7fb5f9fa/azure-cosmosdb-nspkg-2.0.2.tar.gz +BuildArch: noarch + +Requires: python3-azure-nspkg + +%description +This is the Microsoft Azure CosmosDB namespace package. +This package is not intended to be installed directly by the end user. +It provides the necessary files for other packages to extend the azure.cosmosdb namespace. +If you are looking to install the Azure CosmosDB libraries, see the +`azure <https://pypi.python.org/pypi/azure>`__ bundle package. + +%package -n python3-azure-cosmosdb-nspkg +Summary: Microsoft Azure CosmosDB Namespace Package [Internal] +Provides: python-azure-cosmosdb-nspkg +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-azure-cosmosdb-nspkg +This is the Microsoft Azure CosmosDB namespace package. +This package is not intended to be installed directly by the end user. +It provides the necessary files for other packages to extend the azure.cosmosdb namespace. +If you are looking to install the Azure CosmosDB libraries, see the +`azure <https://pypi.python.org/pypi/azure>`__ bundle package. + +%package help +Summary: Development documents and examples for azure-cosmosdb-nspkg +Provides: python3-azure-cosmosdb-nspkg-doc +%description help +This is the Microsoft Azure CosmosDB namespace package. +This package is not intended to be installed directly by the end user. +It provides the necessary files for other packages to extend the azure.cosmosdb namespace. +If you are looking to install the Azure CosmosDB libraries, see the +`azure <https://pypi.python.org/pypi/azure>`__ bundle package. + +%prep +%autosetup -n azure-cosmosdb-nspkg-2.0.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-azure-cosmosdb-nspkg -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.2-1 +- Package Spec generated @@ -0,0 +1 @@ +a5a84ff24602fc52520522e4e5a7ef9a azure-cosmosdb-nspkg-2.0.2.tar.gz |
