From d1e54cf4da2a7a4ed8d2286928be50c4892c35d2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 14:57:36 +0000 Subject: automatic import of python-aliyun-python-sdk-kms --- .gitignore | 1 + python-aliyun-python-sdk-kms.spec | 73 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 75 insertions(+) create mode 100644 python-aliyun-python-sdk-kms.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..999b94d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/aliyun-python-sdk-kms-2.16.0.tar.gz 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 - 2.16.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..c64e125 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +81ecf89c602427433c3f2b5ffd3150fc aliyun-python-sdk-kms-2.16.0.tar.gz -- cgit v1.2.3