summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 03:56:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 03:56:42 +0000
commit6d4bd4e238778fb1d4a34c2069453356ae5f2a10 (patch)
tree2b6ee7880216acfffe1414adae5856b480324386
parent5332eb7fb454566b179ecd93b426748fb5e2387c (diff)
automatic import of python-mrackopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-mrack.spec110
-rw-r--r--sources1
3 files changed, 112 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b574eec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mrack-1.15.1.tar.gz
diff --git a/python-mrack.spec b/python-mrack.spec
new file mode 100644
index 0000000..86089de
--- /dev/null
+++ b/python-mrack.spec
@@ -0,0 +1,110 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mrack
+Version: 1.15.1
+Release: 1
+Summary: Multicloud use-case based multihost async provisioner for CIs and testing during development
+License: Apache License 2.0
+URL: https://github.com/neoave/mrack
+Source0: https://mirrors.aliyun.com/pypi/web/packages/69/94/a2712123a599f9eb2ed4e3feb130e943fb45474592dd4c0afafa078ce7f2/mrack-1.15.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-beaker-client
+Requires: python3-botocore
+Requires: python3-boto3
+Requires: python3-click
+Requires: python3-pyyaml
+Requires: python3-asyncopenstackclient
+Requires: python3-testcloud
+Requires: python3-gssapi
+
+%description
+**NOTE**
+Above command will install `mrack` package which depends on (contains) following packages:
+- mrack-cli
+- python3-mracklib
+- python3-mrack-aws
+- python3-mrack-beaker
+- python3-mrack-openstack
+- python3-mrack-podman
+- python3-mrack-virt
+The `python3-mracklib` is mandatory as it contains core mrack library.
+To install only some of `mrack` providers you should install `python3-mrack-{provider_name}`.
+
+%package -n python3-mrack
+Summary: Multicloud use-case based multihost async provisioner for CIs and testing during development
+Provides: python-mrack
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mrack
+**NOTE**
+Above command will install `mrack` package which depends on (contains) following packages:
+- mrack-cli
+- python3-mracklib
+- python3-mrack-aws
+- python3-mrack-beaker
+- python3-mrack-openstack
+- python3-mrack-podman
+- python3-mrack-virt
+The `python3-mracklib` is mandatory as it contains core mrack library.
+To install only some of `mrack` providers you should install `python3-mrack-{provider_name}`.
+
+%package help
+Summary: Development documents and examples for mrack
+Provides: python3-mrack-doc
+%description help
+**NOTE**
+Above command will install `mrack` package which depends on (contains) following packages:
+- mrack-cli
+- python3-mracklib
+- python3-mrack-aws
+- python3-mrack-beaker
+- python3-mrack-openstack
+- python3-mrack-podman
+- python3-mrack-virt
+The `python3-mracklib` is mandatory as it contains core mrack library.
+To install only some of `mrack` providers you should install `python3-mrack-{provider_name}`.
+
+%prep
+%autosetup -n mrack-1.15.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-mrack -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.15.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d77c8dc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d7f92f101d235b60fb10946c27e35838 mrack-1.15.1.tar.gz