[python-lamson] Initial import (#725131).

kumarpraveen kumarpraveen at fedoraproject.org
Sat Jul 23 16:17:14 UTC 2011


commit 8ec8eb76d4c718a83eb5e3fbce3ffb4690880576
Author: Praveen <daredevil at localhost.localdomain>
Date:   Sat Jul 23 21:46:15 2011 +0530

    Initial import (#725131).

 .gitignore         |    1 +
 python-lamson.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bebd68d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lamson-1.1.tar.gz
diff --git a/python-lamson.spec b/python-lamson.spec
new file mode 100644
index 0000000..a41e826
--- /dev/null
+++ b/python-lamson.spec
@@ -0,0 +1,55 @@
+%global mod_name lamson
+
+Name:           python-lamson
+Version:        1.1
+Release:        1%{?dist}
+Summary:        A modern Pythonic mail server
+
+Group:          Development/Libraries
+License:        GPLv3
+URL:            http://pypi.python.org/pypi/%{mod_name}
+Source0:        http://pypi.python.org/packages/source/l/%{mod_name}/%{mod_name}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-chardet
+BuildRequires:  python-jinja2
+BuildRequires:  python-mock
+BuildRequires:  python-nose
+BuildRequires:  python-daemon
+
+%description
+Lamson is a pure Python SMTP server designed to create robust and complex mail
+applications in the style of modern web frameworks such as Django. Unlike
+traditional SMTP servers like Postfix or Sendmail, Lamson has all the features
+of a web application stack (ORM, templates, routing, handlers, state machines,
+Python) without needing to configure alias files, run new aliases, or juggle 
+tons of tiny fragile processes. Lamson also plays well with other web 
+frameworks and Python libraries.
+
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+rm -f doc/lamsonproject.org/output/favicon.ico
+sed -i "s|\r||g" doc/lamsonproject.org/Session.vim
+sed -i "s|\r||g" README
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc doc/ LICENSE PKG-INFO README
+%{_bindir}/%{mod_name}
+%{python_sitelib}/*.egg-info/
+%{python_sitelib}/%{mod_name}
+
+%changelog
+* Fri Jul 22 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 1.1-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..d349adc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a5673d0fe9e8def9d2dfe9705f832a83  lamson-1.1.tar.gz


More information about the scm-commits mailing list