1 Summary: getmail - a mail retriever designed to allow you to get your mail
2 Summary(pl.UTF-8): getmail - program do ściągania poczty
7 Group: Applications/Mail
8 Source0: http://pyropus.ca/software/getmail/old-versions/%{name}-%{version}.tar.gz
9 # Source0-md5: 3ea7cff8a80d845c5a6086551737311f
10 URL: http://pyropus.ca/software/getmail/
11 BuildRequires: python-devel >= 1:2.3.3
12 BuildRequires: rpm-pythonprov
13 %pyrequires_eq python-modules
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 getmail is intended as a simple, secure, and reliable replacement for
19 fetchmail. It retrieves email (either all messages, or only unread
20 messages) from one or more POP3, SPDS, or IMAP4 servers (with or
21 without SSL) for one or more email accounts, and reliably delivers
22 into qmail-style Maildirs, mboxrd files, or through external MDAs
23 (command deliveries) specified on a per-account basis. getmail also
24 has excellent support for domain (multidrop) mailboxes, including
25 delivering messages to different users or destinations based on the
26 envelope recipient address.
28 %description -l pl.UTF-8
29 getmail ma być prostym, bezpiecznym i pewnym zamiennikiem fetchmaila.
30 Ściąga pocztę elektroniczną (wszystkie wiadomości albo tylko
31 nieprzeczytane) z jednego lub większej liczby serwerów POP3, SPDS lub
32 IMAP4 (z lub bez SSL) dla jednego lub większej liczby kont pocztowych,
33 a następnie w pewny sposób dostarcza ją do skrzynek Maildir w stylu
34 qmaila, plików mboxrd albo poprzez zewnętrzne polecenia MDA podawane
35 dla każdego konta. getmail ma także dobrą obsługę skrzynek domenowych
36 (multidrop), włącznie z dostarczaniem wiadomości do różnych
37 użytkowników lub celów w oparciu o adres adresata na kopercie.
43 %{__python} setup.py build
46 rm -rf $RPM_BUILD_ROOT
48 %{__python} setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
50 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc README docs/{CHANGELOG,THANKS,TODO,getmailrc-examples} docs/*.txt
58 %attr(755,root,root) %{_bindir}/*
59 %{py_sitescriptdir}/getmailcore