summaryrefslogtreecommitdiff
path: root/python-aws-syncr.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-aws-syncr.spec')
-rw-r--r--python-aws-syncr.spec108
1 files changed, 108 insertions, 0 deletions
diff --git a/python-aws-syncr.spec b/python-aws-syncr.spec
new file mode 100644
index 0000000..1d5a661
--- /dev/null
+++ b/python-aws-syncr.spec
@@ -0,0 +1,108 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aws_syncr
+Version: 0.6.1
+Release: 1
+Summary: Application that reads yaml and syncs definitions with amazon
+License: MIT
+URL: https://github.com/delfick/aws_syncr
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d9/71/04599b9626204bf8477005a1e20b87d2eda8ce777a2f126757adb94cb879/aws_syncr-0.6.1.tar.gz
+BuildArch: noarch
+
+
+%description
+A python application that reads YAML and syncs definitions with amazon.
+It currently supports:
+* Creation and modification of IAM roles permissions
+* Creation of instance profiles for an IAM role
+* Creation of s3 buckets
+* Modification of s3 bucket policy and s3 bucket tags
+* Modification of bucket website, logging and lifecycle configuration
+* Creation and modification of KMS keys
+* Creation and modification of KMS key grants
+* Creation and modification of Lambda functions
+* Creation and modification of apigateways
+* Creation and modification of Route53 CNAMEs
+See more documentation at http://aws_syncr.readthedocs.org
+
+%package -n python3-aws_syncr
+Summary: Application that reads yaml and syncs definitions with amazon
+Provides: python-aws_syncr
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aws_syncr
+A python application that reads YAML and syncs definitions with amazon.
+It currently supports:
+* Creation and modification of IAM roles permissions
+* Creation of instance profiles for an IAM role
+* Creation of s3 buckets
+* Modification of s3 bucket policy and s3 bucket tags
+* Modification of bucket website, logging and lifecycle configuration
+* Creation and modification of KMS keys
+* Creation and modification of KMS key grants
+* Creation and modification of Lambda functions
+* Creation and modification of apigateways
+* Creation and modification of Route53 CNAMEs
+See more documentation at http://aws_syncr.readthedocs.org
+
+%package help
+Summary: Development documents and examples for aws_syncr
+Provides: python3-aws_syncr-doc
+%description help
+A python application that reads YAML and syncs definitions with amazon.
+It currently supports:
+* Creation and modification of IAM roles permissions
+* Creation of instance profiles for an IAM role
+* Creation of s3 buckets
+* Modification of s3 bucket policy and s3 bucket tags
+* Modification of bucket website, logging and lifecycle configuration
+* Creation and modification of KMS keys
+* Creation and modification of KMS key grants
+* Creation and modification of Lambda functions
+* Creation and modification of apigateways
+* Creation and modification of Route53 CNAMEs
+See more documentation at http://aws_syncr.readthedocs.org
+
+%prep
+%autosetup -n aws_syncr-0.6.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-aws_syncr -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.1-1
+- Package Spec generated