From 07b9a8839bf44284d549ec28f8f2b77c573dd5b6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 18:21:05 +0000 Subject: automatic import of python-ssm-parameter-store --- .gitignore | 1 + python-ssm-parameter-store.spec | 85 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 87 insertions(+) create mode 100644 python-ssm-parameter-store.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1ec4b23 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ssm-parameter-store-19.11.0.tar.gz diff --git a/python-ssm-parameter-store.spec b/python-ssm-parameter-store.spec new file mode 100644 index 0000000..43495f6 --- /dev/null +++ b/python-ssm-parameter-store.spec @@ -0,0 +1,85 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ssm-parameter-store +Version: 19.11.0 +Release: 1 +Summary: Simple Python wrapper for getting values from AWS Systems Manager Parameter Store +License: MIT +URL: http://github.com/christippett/ssm-parameter-store +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fc/9d/7e065fc277de94124923b5dcce5586874fb37bb7fcf4e5119244cd0ccebd/ssm-parameter-store-19.11.0.tar.gz +BuildArch: noarch + +Requires: python3-boto3 + +%description +[![PyPI version](https://img.shields.io/pypi/v/ssm-parameter-store.svg)](https://pypi.python.org/pypi/ssm-parameter-store) +[![Build status](https://img.shields.io/travis/christippett/ssm-parameter-store.svg)](https://travis-ci.org/christippett/ssm-parameter-store) +[![Coverage](https://img.shields.io/coveralls/github/christippett/ssm-parameter-store.svg)](https://coveralls.io/github/christippett/ssm-parameter-store?branch=master) +[![Python versions](https://img.shields.io/pypi/pyversions/ssm-parameter-store.svg)](https://pypi.python.org/pypi/ssm-parameter-store) +[![Github license](https://img.shields.io/github/license/christippett/ssm-parameter-store.svg)](https://github.com/christippett/ssm-parameter-store) + +%package -n python3-ssm-parameter-store +Summary: Simple Python wrapper for getting values from AWS Systems Manager Parameter Store +Provides: python-ssm-parameter-store +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ssm-parameter-store +[![PyPI version](https://img.shields.io/pypi/v/ssm-parameter-store.svg)](https://pypi.python.org/pypi/ssm-parameter-store) +[![Build status](https://img.shields.io/travis/christippett/ssm-parameter-store.svg)](https://travis-ci.org/christippett/ssm-parameter-store) +[![Coverage](https://img.shields.io/coveralls/github/christippett/ssm-parameter-store.svg)](https://coveralls.io/github/christippett/ssm-parameter-store?branch=master) +[![Python versions](https://img.shields.io/pypi/pyversions/ssm-parameter-store.svg)](https://pypi.python.org/pypi/ssm-parameter-store) +[![Github license](https://img.shields.io/github/license/christippett/ssm-parameter-store.svg)](https://github.com/christippett/ssm-parameter-store) + +%package help +Summary: Development documents and examples for ssm-parameter-store +Provides: python3-ssm-parameter-store-doc +%description help +[![PyPI version](https://img.shields.io/pypi/v/ssm-parameter-store.svg)](https://pypi.python.org/pypi/ssm-parameter-store) +[![Build status](https://img.shields.io/travis/christippett/ssm-parameter-store.svg)](https://travis-ci.org/christippett/ssm-parameter-store) +[![Coverage](https://img.shields.io/coveralls/github/christippett/ssm-parameter-store.svg)](https://coveralls.io/github/christippett/ssm-parameter-store?branch=master) +[![Python versions](https://img.shields.io/pypi/pyversions/ssm-parameter-store.svg)](https://pypi.python.org/pypi/ssm-parameter-store) +[![Github license](https://img.shields.io/github/license/christippett/ssm-parameter-store.svg)](https://github.com/christippett/ssm-parameter-store) + +%prep +%autosetup -n ssm-parameter-store-19.11.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-ssm-parameter-store -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 19.11.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..5279e8b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +04bdc4d789233c419ab2731ad7abd24c ssm-parameter-store-19.11.0.tar.gz -- cgit v1.2.3