summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 22:03:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 22:03:08 +0000
commit518b462ecd7c7f24e793d57ddf837ffe99a1197f (patch)
tree7848d07daad3a705fcfe1c56378c82ec30b398bd
parent24757f63b8080762f0b43802cc86dc0e7532adec (diff)
automatic import of python-awsume
-rw-r--r--.gitignore1
-rw-r--r--python-awsume.spec95
-rw-r--r--sources1
3 files changed, 97 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d76b292 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/awsume-4.5.3.tar.gz
diff --git a/python-awsume.spec b/python-awsume.spec
new file mode 100644
index 0000000..15628b0
--- /dev/null
+++ b/python-awsume.spec
@@ -0,0 +1,95 @@
+%global _empty_manifest_terminate_build 0
+Name: python-awsume
+Version: 4.5.3
+Release: 1
+Summary: Awsume - A cli that makes using AWS IAM credentials easy
+License: MIT
+URL: https://github.com/trek10inc/awsume
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2f/d4/2f9621851aa22e06b0242d1c5dc2fbeb6267d5beca92c0adf875438793c2/awsume-4.5.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-colorama
+Requires: python3-boto3
+Requires: python3-psutil
+Requires: python3-pluggy
+Requires: python3-pyyaml
+Requires: python3-awsume-console-plugin
+Requires: python3-levenshtein
+Requires: python3-xmltodict
+
+%description
+# AWSume: AWS Assume Made Awesome
+
+Check out the documentation at [awsu.me](https://awsu.me)!
+
+
+
+
+%package -n python3-awsume
+Summary: Awsume - A cli that makes using AWS IAM credentials easy
+Provides: python-awsume
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-awsume
+# AWSume: AWS Assume Made Awesome
+
+Check out the documentation at [awsu.me](https://awsu.me)!
+
+
+
+
+%package help
+Summary: Development documents and examples for awsume
+Provides: python3-awsume-doc
+%description help
+# AWSume: AWS Assume Made Awesome
+
+Check out the documentation at [awsu.me](https://awsu.me)!
+
+
+
+
+%prep
+%autosetup -n awsume-4.5.3
+
+%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-awsume -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 4.5.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..366d6c1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+08a59fd8104416bfb3d8db8702b10e0d awsume-4.5.3.tar.gz