Line
Link Here
|
0 |
-- a/python-module-twisted-mail.spec |
0 |
++ b/python-module-twisted-mail.spec |
Lines 1-18
Link Here
|
1 |
%define version 0.4.0 |
1 |
%define version 0.4.0 |
2 |
%define release alt2 |
2 |
%define release alt2.1 |
3 |
%define origname TwistedMail |
3 |
%define origname TwistedMail |
4 |
%setup_python_module twisted-mail |
4 |
%setup_python_module twisted-mail |
5 |
|
5 |
|
6 |
Name: %{packagename} |
6 |
Name: %packagename |
7 |
Version: %{version} |
7 |
Version: %version |
8 |
Release: %{release} |
8 |
Release: %release |
9 |
Summary: A Twisted Mail library, server and client |
9 |
Summary: A Twisted Mail library, server and client |
10 |
|
10 |
|
11 |
Group: Development/Python |
11 |
Group: Development/Python |
12 |
License: MIT |
12 |
License: MIT |
13 |
URL: http://www.twistedmatrix.com |
13 |
URL: http://www.twistedmatrix.com |
14 |
Packager: Sergey Alembekov <rt@altlinux.ru> |
14 |
Packager: Sergey Alembekov <rt@altlinux.ru> |
15 |
Source0: http://tmrc.mit.edu/mirror/twisted/Mail/0.4/%{origname}-%{version}.tar.bz2 |
15 |
Source0: http://tmrc.mit.edu/mirror/twisted/Mail/0.4/%origname-%version.tar.bz2 |
16 |
|
16 |
|
17 |
BuildRequires: python-module-twisted-core >= 2.5.0 |
17 |
BuildRequires: python-module-twisted-core >= 2.5.0 |
18 |
BuildRequires: python-devel |
18 |
BuildRequires: python-devel |
Lines 30-42
mail server. Also included is a read/write Maildir implementation and
Link Here
|
30 |
a basic Mail Exchange calculator. |
30 |
a basic Mail Exchange calculator. |
31 |
|
31 |
|
32 |
%prep |
32 |
%prep |
33 |
%setup -q -n %{origname}-%{version} |
33 |
%setup -q -n %origname-%version |
34 |
|
34 |
|
35 |
%build |
35 |
%build |
36 |
%__python setup.py build |
36 |
%__python setup.py build |
37 |
|
37 |
|
38 |
%install |
38 |
%install |
39 |
%__python setup.py install --root $RPM_BUILD_ROOT |
39 |
%__python setup.py install --root $RPM_BUILD_ROOT --install-purelib %python_sitelibdir |
40 |
|
40 |
|
41 |
# this .py file has a shebang line so should be executable |
41 |
# this .py file has a shebang line so should be executable |
42 |
#chmod +x $RPM_BUILD_ROOT%{python_sitelibdir}/twisted/mail/test/pop3testserver.py |
42 |
#chmod +x $RPM_BUILD_ROOT%{python_sitelibdir}/twisted/mail/test/pop3testserver.py |
Lines 44-57
a basic Mail Exchange calculator.
Link Here
|
44 |
%clean |
44 |
%clean |
45 |
|
45 |
|
46 |
%files |
46 |
%files |
47 |
%defattr(-,root,root,-) |
|
|
48 |
%doc LICENSE NEWS README doc/* |
47 |
%doc LICENSE NEWS README doc/* |
49 |
%{_bindir}/mailmail |
48 |
%_bindir/mailmail |
50 |
%{python_sitelibdir}/twisted/mail/ |
49 |
%python_sitelibdir/twisted/mail |
51 |
|
50 |
|
52 |
%{python_sitelibdir}/twisted/plugins/twisted_mail.py* |
51 |
%python_sitelibdir/twisted/plugins/twisted_mail.py* |
53 |
|
52 |
|
54 |
%changelog |
53 |
%changelog |
|
|
54 |
* Sat Oct 27 2007 Nikolay A. Fetisov <naf@altlinux.ru> 0.4.0-alt2.1 |
55 |
- Fix build on x86_64 |
56 |
- Spec file cleanup |
57 |
|
55 |
* Sun Apr 01 2007 Sergey Alembekov <rt@altlinux.ru> 0.4.0-alt2 |
58 |
* Sun Apr 01 2007 Sergey Alembekov <rt@altlinux.ru> 0.4.0-alt2 |
56 |
- spec cleanup |
59 |
- spec cleanup |
57 |
|
60 |
|