diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:29:36 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:29:36 +0000 |
commit | 6e8230a2f88970510ae9bc405b7725044fc21680 (patch) | |
tree | d0d420c44eb111ec833811a879a556929ce1c8a6 | |
parent | e1ddde92f0c9d4a9793b830a71e9cd39a7256873 (diff) |
automatic import of python-CnpChargebackSDKopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-cnpchargebacksdk.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/CnpChargebackSDK-2.1.4.tar.gz diff --git a/python-cnpchargebacksdk.spec b/python-cnpchargebacksdk.spec new file mode 100644 index 0000000..d2a4757 --- /dev/null +++ b/python-cnpchargebacksdk.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-CnpChargebackSDK +Version: 2.1.4 +Release: 1 +Summary: Vantiv eCommerce Chargeback SDK +License: MIT +URL: https://developer.vantiv.com/community/ecommerce +Source0: https://mirrors.aliyun.com/pypi/web/packages/5e/5f/ee0b3672a84824e908a438e585aaebf8bb9471a0e8b9c39c50dd60617eaf/CnpChargebackSDK-2.1.4.tar.gz +BuildArch: noarch + +Requires: python3-PyXB +Requires: python3-paramiko +Requires: python3-requests +Requires: python3-six +Requires: python3-xmltodict +Requires: python3-unittest2 +Requires: python3-mock + +%description + + +%package -n python3-CnpChargebackSDK +Summary: Vantiv eCommerce Chargeback SDK +Provides: python-CnpChargebackSDK +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-CnpChargebackSDK + + +%package help +Summary: Development documents and examples for CnpChargebackSDK +Provides: python3-CnpChargebackSDK-doc +%description help + + +%prep +%autosetup -n CnpChargebackSDK-2.1.4 + +%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-CnpChargebackSDK -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.4-1 +- Package Spec generated @@ -0,0 +1 @@ +33715ce0c7f5f2f6da882608ba4e1083 CnpChargebackSDK-2.1.4.tar.gz |