diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:31:10 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:31:10 +0000 |
| commit | 04730b6da3b3eb9a5e77d7d028c0ee16ed1bc87b (patch) | |
| tree | 94518f45a79403ffdeebf2a543bc7ca97567c597 | |
| parent | cd3ece51ae5bb05777a1fcc1833e054af7c030c9 (diff) | |
automatic import of python-azure-cli-servicefabricopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-azure-cli-servicefabric.spec | 85 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 87 insertions, 0 deletions
@@ -0,0 +1 @@ +/azure-cli-servicefabric-0.1.20.tar.gz diff --git a/python-azure-cli-servicefabric.spec b/python-azure-cli-servicefabric.spec new file mode 100644 index 0000000..8920eb5 --- /dev/null +++ b/python-azure-cli-servicefabric.spec @@ -0,0 +1,85 @@ +%global _empty_manifest_terminate_build 0 +Name: python-azure-cli-servicefabric +Version: 0.1.20 +Release: 1 +Summary: Microsoft Azure Service Fabric Command-Line Tools +License: MIT +URL: https://github.com/Azure/azure-cli +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/39/71/b66ddc7a72120541843641602f6fe6fab0fa1dad4e67cfc694a69f92208f/azure-cli-servicefabric-0.1.20.tar.gz +BuildArch: noarch + +Requires: python3-azure-graphrbac +Requires: python3-azure-keyvault +Requires: python3-azure-mgmt-network +Requires: python3-azure-mgmt-compute +Requires: python3-azure-mgmt-storage +Requires: python3-azure-mgmt-servicefabric +Requires: python3-azure-mgmt-keyvault +Requires: python3-azure-cli-core +Requires: python3-pyOpenSSL +Requires: python3-azure-cli-command-modules-nspkg + +%description +This package is for the `sf` module. It contains commands that can be used +to manage Service Fabric clusters. + +%package -n python3-azure-cli-servicefabric +Summary: Microsoft Azure Service Fabric Command-Line Tools +Provides: python-azure-cli-servicefabric +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-azure-cli-servicefabric +This package is for the `sf` module. It contains commands that can be used +to manage Service Fabric clusters. + +%package help +Summary: Development documents and examples for azure-cli-servicefabric +Provides: python3-azure-cli-servicefabric-doc +%description help +This package is for the `sf` module. It contains commands that can be used +to manage Service Fabric clusters. + +%prep +%autosetup -n azure-cli-servicefabric-0.1.20 + +%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-cli-servicefabric -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.20-1 +- Package Spec generated @@ -0,0 +1 @@ +06b0ab398cbdd1813a7e01acda893d70 azure-cli-servicefabric-0.1.20.tar.gz |
