SPECS: python-TwistedMail.spec (NEW) - initial, desc missing
adasi
adasi at pld-linux.org
Sun Dec 11 01:41:15 CET 2005
Author: adasi Date: Sun Dec 11 00:41:15 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, desc missing
---- Files affected:
SPECS:
python-TwistedMail.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-TwistedMail.spec
diff -u /dev/null SPECS/python-TwistedMail.spec:1.1
--- /dev/null Sun Dec 11 01:41:15 2005
+++ SPECS/python-TwistedMail.spec Sun Dec 11 01:41:09 2005
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define module TwistedMail
+
+Summary: Mail library for Twisted
+Summary(pl): Biblioteka Mail dla Twisted
+Name: python-%{module}
+Version: 0.2.0
+Release: 0.1
+License: MIT
+Group: Libraries/Python
+Source0: http://tmrc.mit.edu/mirror/twisted/Mail/0.2/%{module}-%{version}.tar.bz2
+# Source0-md5: bae977d92cfcb1a3a5e884262ed444cc
+URL: http://twistedmatrix.com/projects/mail
+BuildRequires: python-devel >= 2.2
+BuildRequires: python-Twisted >= 2.0
+Requires: python-Twisted >= 2.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+empty
+
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
+
+install -d $RPM_BUILD_ROOT%{py_sitedir}
+mv -f $RPM_BUILD_ROOT%{py_sitescriptdir}/* $RPM_BUILD_ROOT%{py_sitedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE NEWS README
+%{py_sitedir}/twisted/mail
+%{py_sitedir}/twisted/plugins/twisted_mail.py*
+/usr/bin/mailmail
+
+%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 2005/12/11 00:41:09 adasi
+- initial, desc missing
+
================================================================
More information about the pld-cvs-commit
mailing list