diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 14:57:36 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 14:57:36 +0000 |
commit | d1e54cf4da2a7a4ed8d2286928be50c4892c35d2 (patch) | |
tree | 1db1ae728929b11eeaa05515b557bce0b009bbeb /python-aliyun-python-sdk-kms.spec | |
parent | a7e2e6393fd63f5f0b3e1ecb2992c3926e7842bd (diff) |
automatic import of python-aliyun-python-sdk-kms
Diffstat (limited to 'python-aliyun-python-sdk-kms.spec')
-rw-r--r-- | python-aliyun-python-sdk-kms.spec | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/python-aliyun-python-sdk-kms.spec b/python-aliyun-python-sdk-kms.spec new file mode 100644 index 0000000..15a43b4 --- /dev/null +++ b/python-aliyun-python-sdk-kms.spec @@ -0,0 +1,73 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aliyun-python-sdk-kms +Version: 2.16.0 +Release: 1 +Summary: The kms module of Aliyun Python sdk. +License: Apache +URL: http://develop.aliyun.com/sdk/python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d5/6f/648401212f41c91f8aeb7676d57c2840ed258cca64854a9315c2280b15df/aliyun-python-sdk-kms-2.16.0.tar.gz +BuildArch: noarch + +Requires: python3-aliyun-python-sdk-core + +%description + + +%package -n python3-aliyun-python-sdk-kms +Summary: The kms module of Aliyun Python sdk. +Provides: python-aliyun-python-sdk-kms +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aliyun-python-sdk-kms + + +%package help +Summary: Development documents and examples for aliyun-python-sdk-kms +Provides: python3-aliyun-python-sdk-kms-doc +%description help + + +%prep +%autosetup -n aliyun-python-sdk-kms-2.16.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-aliyun-python-sdk-kms -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.16.0-1 +- Package Spec generated |