diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:02:05 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:02:05 +0000 |
commit | 75261a558dcf82b97b6e0f01f8604326eaf7cbcb (patch) | |
tree | 3b3b334b837bf7e9436e22ff1b244a96d61e38f4 | |
parent | c769984fa6b251f74efc265cd786fa0ce265b7c8 (diff) |
automatic import of python-cdk-iam-floyd
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-cdk-iam-floyd.spec | 89 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 91 insertions, 0 deletions
@@ -0,0 +1 @@ +/cdk-iam-floyd-0.506.0.tar.gz diff --git a/python-cdk-iam-floyd.spec b/python-cdk-iam-floyd.spec new file mode 100644 index 0000000..d08be16 --- /dev/null +++ b/python-cdk-iam-floyd.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cdk-iam-floyd +Version: 0.506.0 +Release: 1 +Summary: AWS IAM policy statement generator with fluent interface for AWS CDK +License: Apache-2.0 +URL: https://github.com/udondan/iam-floyd +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/63/2f/9d9d037873e29630f57045e70d5c1ce13b478b32904a1d2e8f7e54b1a18e/cdk-iam-floyd-0.506.0.tar.gz +BuildArch: noarch + +Requires: python3-aws-cdk-lib +Requires: python3-constructs +Requires: python3-jsii +Requires: python3-publication +Requires: python3-typeguard + +%description +## Legal +The code contained in the [lib/generated](https://github.com/udondan/iam-floyd/tree/main/lib/generated) folder is generated from the [AWS documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_actions-resources-contextkeys.html). The class- and function-names and their description therefore are property of AWS. +AWS and their services are trademarks, registered trademarks or trade dress of AWS in the U.S. and/or other countries. +This project is not affiliated, funded, or in any way associated with AWS. +IAM Floyd is licensed under [Apache License 2.0](https://github.com/udondan/iam-floyd/blob/main/LICENSE). Dependencies might be released under different licenses. Especially the bundled packages [regex-parser](https://www.npmjs.com/package/regex-parser) and [common-substrings](https://www.npmjs.com/package/common-substrings) are released under the MIT License. + +%package -n python3-cdk-iam-floyd +Summary: AWS IAM policy statement generator with fluent interface for AWS CDK +Provides: python-cdk-iam-floyd +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cdk-iam-floyd +## Legal +The code contained in the [lib/generated](https://github.com/udondan/iam-floyd/tree/main/lib/generated) folder is generated from the [AWS documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_actions-resources-contextkeys.html). The class- and function-names and their description therefore are property of AWS. +AWS and their services are trademarks, registered trademarks or trade dress of AWS in the U.S. and/or other countries. +This project is not affiliated, funded, or in any way associated with AWS. +IAM Floyd is licensed under [Apache License 2.0](https://github.com/udondan/iam-floyd/blob/main/LICENSE). Dependencies might be released under different licenses. Especially the bundled packages [regex-parser](https://www.npmjs.com/package/regex-parser) and [common-substrings](https://www.npmjs.com/package/common-substrings) are released under the MIT License. + +%package help +Summary: Development documents and examples for cdk-iam-floyd +Provides: python3-cdk-iam-floyd-doc +%description help +## Legal +The code contained in the [lib/generated](https://github.com/udondan/iam-floyd/tree/main/lib/generated) folder is generated from the [AWS documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_actions-resources-contextkeys.html). The class- and function-names and their description therefore are property of AWS. +AWS and their services are trademarks, registered trademarks or trade dress of AWS in the U.S. and/or other countries. +This project is not affiliated, funded, or in any way associated with AWS. +IAM Floyd is licensed under [Apache License 2.0](https://github.com/udondan/iam-floyd/blob/main/LICENSE). Dependencies might be released under different licenses. Especially the bundled packages [regex-parser](https://www.npmjs.com/package/regex-parser) and [common-substrings](https://www.npmjs.com/package/common-substrings) are released under the MIT License. + +%prep +%autosetup -n cdk-iam-floyd-0.506.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-cdk-iam-floyd -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.506.0-1 +- Package Spec generated @@ -0,0 +1 @@ +266a78ba5aafe04436558d7e7f7e0fb7 cdk-iam-floyd-0.506.0.tar.gz |