]>
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 |
94c0f19a | 4 | Version: 4.7.1 |
57204197 | 5 | Release: 1 |
d8b91a23 KK |
6 | License: GPL v2 |
7 | Group: Applications/Mail | |
8 | Source0: http://pyropus.ca/software/getmail/old-versions/%{name}-%{version}.tar.gz | |
94c0f19a | 9 | # Source0-md5: ee17ddba077ca2cf43e4a2b96fc06a27 |
d8b91a23 | 10 | URL: http://pyropus.ca/software/getmail/ |
bc18a66b | 11 | BuildRequires: python-devel >= 1:2.3.3 |
f88e9a47 | 12 | BuildRequires: rpm-pythonprov |
d8b91a23 KK |
13 | %pyrequires_eq python-modules |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
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. | |
27 | ||
29aa5822 JR |
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. | |
711cd737 | 38 | |
d8b91a23 KK |
39 | %prep |
40 | %setup -q | |
41 | ||
42 | %build | |
bc18a66b | 43 | %{__python} setup.py build |
d8b91a23 KK |
44 | |
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
bc18a66b | 48 | %{__python} setup.py install --optimize=2 --root=$RPM_BUILD_ROOT |
d8b91a23 KK |
49 | |
50 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \; | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
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 | |
60 | %{_mandir}/man1/* |