[python-mailer] Initial import
Fabian Affolter
fab at fedoraproject.org
Sat Aug 14 09:03:05 UTC 2010
commit 8ea398da23d9ed0f43488340ffa377ade303e401
Author: Fabian Affolter <fabian at bernewireless.net>
Date: Sat Aug 14 11:03:01 2010 +0200
Initial import
.gitignore | 1 +
python-mailer.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4d9baa1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+mailer-0.5.zip
diff --git a/python-mailer.spec b/python-mailer.spec
new file mode 100644
index 0000000..1d09a02
--- /dev/null
+++ b/python-mailer.spec
@@ -0,0 +1,54 @@
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
+
+%global srcname mailer
+
+Name: python-%{srcname}
+Version: 0.5
+Release: 1%{?dist}
+Summary: A module that simplifies sending email
+
+Group: Development/Languages
+License: MIT
+URL: http://pypi.python.org/pypi/mailer
+Source0: http://pypi.python.org/packages/source/m/%{srcname}/%{srcname}-%{version}.zip
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+
+
+%description
+Simple front end to the smtplib and email modules, to simplify
+sending email.
+
+
+%prep
+%setup -q -n %{srcname}-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/%{srcname}.py*
+%{python_sitelib}/%{srcname}*.egg-info
+
+
+%changelog
+* Sat Jul 03 2010 Fabian Affolter <fabian at bernewireless.net> - 0.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..f5a346f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f78c8b7e1e6e740f9fd6893b9c2bd015 mailer-0.5.zip
More information about the scm-commits
mailing list