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: a92f3b209f475a0ad0802e3d30435681
10 URL: http://pyropus.ca/software/getmail/
11 BuildRequires: python-modules
12 BuildRequires: python-setuptools
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.714
15 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 getmail is intended as a simple, secure, and reliable replacement for
21 fetchmail. It retrieves email (either all messages, or only unread
22 messages) from one or more POP3, SPDS, or IMAP4 servers (with or
23 without SSL) for one or more email accounts, and reliably delivers
24 into qmail-style Maildirs, mboxrd files, or through external MDAs
25 (command deliveries) specified on a per-account basis. getmail also
26 has excellent support for domain (multidrop) mailboxes, including
27 delivering messages to different users or destinations based on the
28 envelope recipient address.
30 %description -l pl.UTF-8
31 getmail ma być prostym, bezpiecznym i pewnym zamiennikiem fetchmaila.
32 Ściąga pocztę elektroniczną (wszystkie wiadomości albo tylko
33 nieprzeczytane) z jednego lub większej liczby serwerów POP3, SPDS lub
34 IMAP4 (z lub bez SSL) dla jednego lub większej liczby kont pocztowych,
35 a następnie w pewny sposób dostarcza ją do skrzynek Maildir w stylu
36 qmaila, plików mboxrd albo poprzez zewnętrzne polecenia MDA podawane
37 dla każdego konta. getmail ma także dobrą obsługę skrzynek domenowych
38 (multidrop), włącznie z dostarczaniem wiadomości do różnych
39 użytkowników lub celów w oparciu o adres adresata na kopercie.
44 # fix #!%{_bindir}/env python -> #!%{_bindir}/python:
45 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name} %{name}-gmail-xoauth-tokens %{name}_{maildir,fetch,mbox} %{name}core/*.py
51 rm -rf $RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/getmail
66 %attr(755,root,root) %{_bindir}/getmail_fetch
67 %attr(755,root,root) %{_bindir}/getmail_maildir
68 %attr(755,root,root) %{_bindir}/getmail_mbox
69 %attr(755,root,root) %{_bindir}/getmail-gmail-xoauth-tokens
70 %{_mandir}/man1/getmail.1*
71 %{_mandir}/man1/getmail_fetch.1*
72 %{_mandir}/man1/getmail_maildir.1*
73 %{_mandir}/man1/getmail_mbox.1*
74 %{py_sitescriptdir}/getmail*.egg-info
75 %{py_sitescriptdir}/getmailcore/