summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 04:09:06 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 04:09:06 +0000
commit4c2d79b8148186b98b745fd4c9ffc0026178174b (patch)
tree46d922788dbdb3e5ebda76a88891cee41860d9bb
parent62e491e2aebbea4cc7e4e0ea9fd375a21c140bfd (diff)
automatic import of python-pyemail
-rw-r--r--.gitignore1
-rw-r--r--python-pyemail.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5bce61b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyEmail-0.0.1.zip
diff --git a/python-pyemail.spec b/python-pyemail.spec
new file mode 100644
index 0000000..5941f5d
--- /dev/null
+++ b/python-pyemail.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PyEmail
+Version: 0.0.1
+Release: 1
+Summary: Python library to send emails using SMTPLIB library
+License: GNU GENERAL PUBLIC LICENSE Version 3
+URL: http://www.yashsinha.com/PyEmail
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ca/39/caf0436670b6fa9f072e322fab1a2b04d5631bdbdc8ea9857230aae02dd5/PyEmail-0.0.1.zip
+BuildArch: noarch
+
+
+%description
+UNKNOWN
+
+%package -n python3-PyEmail
+Summary: Python library to send emails using SMTPLIB library
+Provides: python-PyEmail
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PyEmail
+UNKNOWN
+
+%package help
+Summary: Development documents and examples for PyEmail
+Provides: python3-PyEmail-doc
+%description help
+UNKNOWN
+
+%prep
+%autosetup -n PyEmail-0.0.1
+
+%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-PyEmail -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5714dee
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b7a7bfe9aee1fc3a2f5a412c53b35201 PyEmail-0.0.1.zip