rpms/python-twisted-mail/devel python-twisted-mail.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thomas Vander Stichele (thomasvs) fedora-extras-commits at redhat.com
Thu Jan 4 10:17:30 UTC 2007


Author: thomasvs

Update of /cvs/extras/rpms/python-twisted-mail/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21057/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-twisted-mail.spec 
Log Message:
auto-import python-twisted-mail-0.3.0-4.fc6 on branch devel from python-twisted-mail-0.3.0-4.fc6.src.rpm


--- NEW FILE python-twisted-mail.spec ---
%{?!python:%define python python}
%{?!pybasever:%{expand:%%define pybasever %(%{__python} -c "import sys ; print sys.version[:3]")}}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

%define origname TwistedMail

Name:           %{python}-twisted-mail
Version:        0.3.0
Release:        4%{?dist}
Summary:        A Twisted Mail library, server and client

Group:          Development/Libraries
License:        MIT
URL:            http://www.twistedmatrix.com
Source0:        http://tmrc.mit.edu/mirror/twisted/Mail/0.3/TwistedMail-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  %{python}-twisted-core >= 2.4.0
BuildRequires:  python-devel

# for FC3 and earlier
%if "%{pybasever}" < "2.4"
Requires:       python(abi) = %{pybasever}
%endif

Requires:       %{python}-twisted-core
Requires:       %{python}-twisted-names

# a noarch-turned-arch package should not have debuginfo
%define debug_package %{nil}

%description
Twisted is an event-based framework for internet applications.

Twisted Mail contains high-level, efficient protocol implementations
for both clients and servers of SMTP, POP3, and IMAP4. Additionally,
it contains an "out of the box" combination SMTP/POP3 virtual-hosting
mail server. Also included is a read/write Maildir implementation and
a basic Mail Exchange calculator.

%prep
%setup -n %{origname}-%{version} -q

%build

%install
rm -rf $RPM_BUILD_ROOT
# this is a pure python package, but extending the twisted namespace from
# python-twisted-core, which is arch-specific, so it needs to go in sitearch
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT --install-purelib %{python_sitearch}

# Man pages
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
cp -a doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
rm -rf doc/man

# this .py file has a shebang line so should be executable
chmod +x $RPM_BUILD_ROOT%{python_sitearch}/twisted/mail/test/pop3testserver.py

%clean
rm -rf $RPM_BUILD_ROOT

%post -p %{_libexecdir}/twisted-dropin-cache

%postun -p %{_libexecdir}/twisted-dropin-cache

%files
%defattr(-,root,root,-)
%doc LICENSE NEWS README doc/*
%{_mandir}/man1/*
%{_bindir}/mailmail

%{python_sitearch}/twisted/mail/

%{python_sitearch}/twisted/plugins/twisted_mail.py*

%changelog
* Wed Jan 03 2007 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.3.0-4
- add python-devel BR
- add docs

* Wed Nov 01 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.3.0-3
- make script with shebang executable

* Tue Sep 26 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.3.0-2
- no longer ghost .pyo files
- rebuild the dropin.cache

* Wed Jun 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.3.0-1
- new release
- remove noarch

* Tue Aug 23 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-2
- disttag

* Fri Mar 25 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-1
- final release

* Wed Mar 16 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-0.1.a3
- upstream release

* Sat Mar 12 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-0.1.a2
- prerelease; FE versioning

* Mon Feb 07 2005 Jeff Pitman <symbiont+pyvault at berlios.de> 0.1.0-1
- prep for split



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-mail/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Jan 2007 10:16:31 -0000	1.1
+++ .cvsignore	4 Jan 2007 10:17:00 -0000	1.2
@@ -0,0 +1 @@
+TwistedMail-0.3.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-mail/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Jan 2007 10:16:31 -0000	1.1
+++ sources	4 Jan 2007 10:17:00 -0000	1.2
@@ -0,0 +1 @@
+33667938b399ee5513c59b5d4087294b  TwistedMail-0.3.0.tar.bz2




More information about the scm-commits mailing list