diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 14:56:03 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 14:56:03 +0000 |
commit | ceed18cb2c9e2a908fcc9732aa0be18abb7fea26 (patch) | |
tree | c3e9a9ed9587779b824363274fce27c41792c2eb | |
parent | b78df5a1a021e0d0444d12a5b61052fe33a46f63 (diff) |
automatic import of python-credstash
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-credstash.spec | 75 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 77 insertions, 0 deletions
@@ -0,0 +1 @@ +/credstash-1.17.1.tar.gz diff --git a/python-credstash.spec b/python-credstash.spec new file mode 100644 index 0000000..03334c7 --- /dev/null +++ b/python-credstash.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-credstash +Version: 1.17.1 +Release: 1 +Summary: A utility for managing secrets in the cloud using AWS KMS and DynamoDB +License: Apache2 +URL: https://github.com/fugue/credstash +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b4/89/f929fda5fec87046873be2420a4c0cb40a82ab5e30c6d9cb22ddec41450b/credstash-1.17.1.tar.gz +BuildArch: noarch + +Requires: python3-cryptography +Requires: python3-boto3 +Requires: python3-PyYAML + +%description + + +%package -n python3-credstash +Summary: A utility for managing secrets in the cloud using AWS KMS and DynamoDB +Provides: python-credstash +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-credstash + + +%package help +Summary: Development documents and examples for credstash +Provides: python3-credstash-doc +%description help + + +%prep +%autosetup -n credstash-1.17.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-credstash -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.17.1-1 +- Package Spec generated @@ -0,0 +1 @@ +5732a0f07c8211d14459183122e032af credstash-1.17.1.tar.gz |