diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-mandrill.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/mandrill-1.0.60.tar.gz diff --git a/python-mandrill.spec b/python-mandrill.spec new file mode 100644 index 0000000..460e32b --- /dev/null +++ b/python-mandrill.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mandrill +Version: 1.0.60 +Release: 1 +Summary: Deprecated. Replaced by mailchimp-transactional - A CLI client and Python API library for the Mandrill email as a service platform. +License: Apache-2.0 +URL: https://bitbucket.org/mailchimp/mandrill-api-python/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5e/cb/ccc2e52ce22afdc35be7b298b5a98833b8ffc83b94829d43bd2260f95c56/mandrill-1.0.60.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-docopt + +%description +This SDK is deprecated, and replaced by mailchimp-transactional +Find the current Mailchimp Transactional SDKs at https://mailchimp.com/developer/tools/ + +%package -n python3-mandrill +Summary: Deprecated. Replaced by mailchimp-transactional - A CLI client and Python API library for the Mandrill email as a service platform. +Provides: python-mandrill +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mandrill +This SDK is deprecated, and replaced by mailchimp-transactional +Find the current Mailchimp Transactional SDKs at https://mailchimp.com/developer/tools/ + +%package help +Summary: Development documents and examples for mandrill +Provides: python3-mandrill-doc +%description help +This SDK is deprecated, and replaced by mailchimp-transactional +Find the current Mailchimp Transactional SDKs at https://mailchimp.com/developer/tools/ + +%prep +%autosetup -n mandrill-1.0.60 + +%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-mandrill -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.60-1 +- Package Spec generated @@ -0,0 +1 @@ +170d767414e3dd4f0c84cd2a129aac20 mandrill-1.0.60.tar.gz |