SPECS: python-TurboMail.spec (NEW) - based on python-TurboGears.spec
wiget
wiget at pld-linux.org
Fri Oct 27 16:36:15 CEST 2006
Author: wiget Date: Fri Oct 27 14:36:15 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- based on python-TurboGears.spec
---- Files affected:
SPECS:
python-TurboMail.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-TurboMail.spec
diff -u /dev/null SPECS/python-TurboMail.spec:1.1
--- /dev/null Fri Oct 27 16:36:15 2006
+++ SPECS/python-TurboMail.spec Fri Oct 27 16:36:10 2006
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+
+%define module TurboMail
+
+Summary: Multi-threaded mail queue manager for TurboGears applications
+Name: python-TurboMail
+Version: 2.0
+Release: 1
+License: need check
+Group: Development/Languages/Python
+Source0: http://cheeseshop.python.org/packages/source/T/TurboMail/TurboMail-%{version}.tar.gz
+# Source0-md5: c1b480702e3a76964fda8c3662e0c915
+URL: http://www.topfloor.ca/turbomail/
+%pyrequires_eq python
+BuildRequires: python-devel
+BuildRequires: python-setuptools >= 0.6a9
+BuildRequires: python-TurboGears
+BuildRequires: unzip
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+TurboMail is a TurboGears extension - meaning that it starts up and shuts down
+alongside TurboGears applications you write in the same way that visit tracking
+and identity do. TurboMail uses built-in Python modules for SMTP communication
+and MIME e-mail creation, but greatly simplifies these tasks by performing the
+grunt-work for you.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python ./setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d build/scripts-%{py_ver}
+python ./setup.py install \
+ --single-version-externally-managed \
+ --optimize 2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/*.egg-info
+%{py_sitescriptdir}/turbomail
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/10/27 14:36:10 wiget
+- based on python-TurboGears.spec
+
================================================================
More information about the pld-cvs-commit
mailing list