diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 18:21:05 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 18:21:05 +0000 |
| commit | 07b9a8839bf44284d549ec28f8f2b77c573dd5b6 (patch) | |
| tree | 5b98bda8e4ea8d382df2c82984b6224d227d1ef1 /python-ssm-parameter-store.spec | |
| parent | b8bf37d05794a66fc0251eb33d27b7f35a3682c5 (diff) | |
automatic import of python-ssm-parameter-store
Diffstat (limited to 'python-ssm-parameter-store.spec')
| -rw-r--r-- | python-ssm-parameter-store.spec | 85 |
1 files changed, 85 insertions, 0 deletions
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 +[](https://pypi.python.org/pypi/ssm-parameter-store) +[](https://travis-ci.org/christippett/ssm-parameter-store) +[](https://coveralls.io/github/christippett/ssm-parameter-store?branch=master) +[](https://pypi.python.org/pypi/ssm-parameter-store) +[](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 +[](https://pypi.python.org/pypi/ssm-parameter-store) +[](https://travis-ci.org/christippett/ssm-parameter-store) +[](https://coveralls.io/github/christippett/ssm-parameter-store?branch=master) +[](https://pypi.python.org/pypi/ssm-parameter-store) +[](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 +[](https://pypi.python.org/pypi/ssm-parameter-store) +[](https://travis-ci.org/christippett/ssm-parameter-store) +[](https://coveralls.io/github/christippett/ssm-parameter-store?branch=master) +[](https://pypi.python.org/pypi/ssm-parameter-store) +[](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 <Python_Bot@openeuler.org> - 19.11.0-1 +- Package Spec generated |
