summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 07:08:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 07:08:30 +0000
commitd5b9579a1343f19c5ba3f7e8b9c7a4820e8c0add (patch)
tree9dce287ceeba2633017360245c7acf1145f22aaf
parent1e09fefeddd4784bf9fae67d0077f9344c67f8ca (diff)
automatic import of python-gimme-aws-credsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-gimme-aws-creds.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f844799 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gimme%20aws%20creds-2.5.0.tar.gz
diff --git a/python-gimme-aws-creds.spec b/python-gimme-aws-creds.spec
new file mode 100644
index 0000000..5369bcb
--- /dev/null
+++ b/python-gimme-aws-creds.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gimme-aws-creds
+Version: 2.5.0
+Release: 1
+Summary: A CLI to get temporary AWS credentials from Okta
+License: Apache License, v2.0
+URL: https://github.com/Nike-Inc/gimme-aws-creds
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0e/63/c2aed27057343d776c95b2d95e1580a287fdc2ceb43e1ac64ae2d7bf32d5/gimme%20aws%20creds-2.5.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-boto3
+Requires: python3-beautifulsoup4
+Requires: python3-configparser
+Requires: python3-keyring
+Requires: python3-requests
+Requires: python3-fido2
+Requires: python3-okta
+Requires: python3-ctap-keyring-device
+
+%description
+
+
+%package -n python3-gimme-aws-creds
+Summary: A CLI to get temporary AWS credentials from Okta
+Provides: python-gimme-aws-creds
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-gimme-aws-creds
+
+
+%package help
+Summary: Development documents and examples for gimme-aws-creds
+Provides: python3-gimme-aws-creds-doc
+%description help
+
+
+%prep
+%autosetup -n gimme-aws-creds-2.5.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-gimme-aws-creds -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9c5c573
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e574dbe148e57809482f2705e4324e79 gimme%20aws%20creds-2.5.0.tar.gz