]>
Commit | Line | Data |
---|---|---|
711cd737 | 1 | Summary: getmail - a mail retriever designed to allow you to get your mail |
249b9a6b | 2 | Summary(pl.UTF-8): getmail - program do ściągania poczty |
d8b91a23 | 3 | Name: getmail |
88b3829b | 4 | Version: 5.13 |
8562f9d7 | 5 | Release: 2 |
d8b91a23 KK |
6 | License: GPL v2 |
7 | Group: Applications/Mail | |
8 | Source0: http://pyropus.ca/software/getmail/old-versions/%{name}-%{version}.tar.gz | |
88b3829b | 9 | # Source0-md5: a92f3b209f475a0ad0802e3d30435681 |
d8b91a23 | 10 | URL: http://pyropus.ca/software/getmail/ |
ff6310eb AG |
11 | BuildRequires: python-modules |
12 | BuildRequires: python-setuptools | |
f88e9a47 | 13 | BuildRequires: rpm-pythonprov |
ff6310eb AG |
14 | BuildRequires: rpmbuild(macros) >= 1.714 |
15 | BuildRequires: sed >= 4.0 | |
d8b91a23 KK |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
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. | |
29 | ||
29aa5822 JR |
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. | |
711cd737 | 40 | |
d8b91a23 KK |
41 | %prep |
42 | %setup -q | |
43 | ||
ff6310eb AG |
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 | |
46 | ||
d8b91a23 | 47 | %build |
1fc0f4b8 | 48 | %py_build |
d8b91a23 KK |
49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
ff6310eb AG |
53 | %py_install |
54 | ||
55 | %py_postclean | |
d8b91a23 | 56 | |
ff6310eb | 57 | rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} |
d8b91a23 KK |
58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
ff6310eb AG |
64 | %doc README docs/* |
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/ |