1 |
slords |
1.1 |
%define name getmail |
2 |
|
|
%define version 4.7.5 |
3 |
|
|
%define release 1 |
4 |
|
|
|
5 |
|
|
Summary: a mail retrieval, sorting, and delivering system |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
Source0: %{name}-%{version}.tar.gz |
10 |
|
|
License: GNU GPL version 2 |
11 |
|
|
Group: Applications/Email |
12 |
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
13 |
|
|
Prefix: %{_prefix} |
14 |
|
|
BuildArchitectures: noarch |
15 |
|
|
Requires: python >= 2.3.3 |
16 |
|
|
Url: http://pyropus.ca/software/getmail/ |
17 |
|
|
|
18 |
|
|
%description |
19 |
|
|
getmail is a multi-protocol mail retrieval system with support for simple and domain POP3 and IMAP4 mailboxes, domain SDPS mailboxes, POP3-over-SSL and IMAP-over-SSL, mail sorting, message filtering, and delivery to Maildirs, Mboxrd files, external MDAs, and other advanced features. |
20 |
|
|
|
21 |
|
|
%prep |
22 |
|
|
%setup |
23 |
|
|
|
24 |
|
|
%build |
25 |
|
|
python setup.py build |
26 |
|
|
|
27 |
|
|
%install |
28 |
|
|
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
29 |
|
|
sed -i 's|\(man/.*\)|\1.gz|' INSTALLED_FILES |
30 |
|
|
|
31 |
|
|
%clean |
32 |
|
|
rm -rf $RPM_BUILD_ROOT |
33 |
|
|
|
34 |
|
|
%files -f INSTALLED_FILES |
35 |
|
|
%defattr(-,root,root) |