summaryrefslogtreecommitdiff
path: root/python-mandrill.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 12:50:29 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 12:50:29 +0000
commit8f66530d622f11981b2d93a7c9614c272fe83951 (patch)
tree75eda2f5389d8867de95dc2d785a0ee5cbb8c589 /python-mandrill.spec
parent60c4a81d20259c7b3dabf72c0ac2f139042267c6 (diff)
automatic import of python-mandrill
Diffstat (limited to 'python-mandrill.spec')
-rw-r--r--python-mandrill.spec77
1 files changed, 77 insertions, 0 deletions
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