]>
Commit | Line | Data |
---|---|---|
c76ff69d | 1 | Summary: Archive and compress old email |
4ef5d67e | 2 | Summary(pl.UTF-8): Archiwizowanie starej poczty |
c76ff69d | 3 | Name: archivemail |
be8bd2a9 AG |
4 | Version: 0.7.2 |
5 | Release: 1 | |
c76ff69d | 6 | License: GPL |
7 | Group: Applications/Mail | |
be0ef9eb | 8 | Source0: http://dl.sourceforge.net/archivemail/%{name}-%{version}.tar.gz |
be8bd2a9 | 9 | # Source0-md5: e444424688e6ec063e829176e4eb62e2 |
c76ff69d | 10 | URL: http://archivemail.sourceforge.net/ |
11 | BuildRequires: python-devel >= 2.0 | |
360c9b26 | 12 | %pyrequires_eq python |
45b2727a ER |
13 | # for warnings.py |
14 | Requires: python-modules | |
c76ff69d | 15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
d8250cee | 19 | Archivemail is a tool written in Python for archiving and |
c76ff69d | 20 | compressing old email in mailboxes. |
21 | ||
22 | It can move messages older than the specified number of days to a | |
23 | separate 'archive' mbox-format mailbox that is compressed with 'gzip'. | |
24 | ||
25 | For example, have you been subscribing to the 'linux-kernel' mailing | |
26 | list for the last 6 years and ended up with an 160-meg mailbox that | |
d8250cee | 27 | Mutt is taking a long time to load? Archivemail can move all |
c76ff69d | 28 | messages that are older than 6 months to a separate compressed |
29 | mailbox, and leave you with just the most recent messages. | |
30 | ||
31 | It supports IMAP, Maildir, MH and mbox-format mailboxes. | |
32 | ||
fa64a1ca JR |
33 | %description -l pl.UTF-8 |
34 | Archivemail jest, napisanym w języku Python, narzędziem służącym | |
17c4a056 | 35 | archiwizowaniu i kompresowaniu starej poczty. |
c76ff69d | 36 | |
fa64a1ca JR |
37 | Za pomocą programu można przenosić wiadomości starsze niż określona |
38 | liczba dni do oddzielnej skrzynki w formacie mbox, która jest | |
39 | kompresowana przy użyciu programu 'gzip'. | |
c76ff69d | 40 | |
fa64a1ca JR |
41 | Przykładowo, ktoś jest od 6 lat zapisany na listę 'linux-kernel' i |
42 | jego skrzynka zajmuje już ponad 160MB, a jej otwarcie trwa trochę | |
43 | czasu. Archivemail może przenieść wszystkie wiadomości, powiedzmy | |
44 | sprzed 6 miesięcy, do oddzielnej, skompresowanej skrzynki, zostawiając | |
d8250cee | 45 | tylko najnowsze listy. |
c76ff69d | 46 | |
fa64a1ca | 47 | Archivemail potrafi zapisywać i odczytywać następujące formaty |
8850f470 | 48 | skrzynek pocztowych: IMAP, Maildir, MH oraz mbox. |
c76ff69d | 49 | |
50 | %prep | |
51 | %setup -q | |
52 | ||
53 | %build | |
54 | # Nothing to be done here. | |
55 | ./setup.py build | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | install -d ${RPM_BUILD_ROOT}%{_mandir} | |
60 | ./setup.py install \ | |
61 | --prefix=%{_prefix} \ | |
62 | --root=${RPM_BUILD_ROOT} | |
63 | ||
64 | # This one is ugly. | |
65 | mv ${RPM_BUILD_ROOT}%{_prefix}/man/man1 ${RPM_BUILD_ROOT}%{_mandir} | |
66 | ||
67 | %clean | |
68 | rm -rf ${RPM_BUILD_ROOT} | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
360c9b26 | 72 | %doc CHANGELOG FAQ README TODO |
c76ff69d | 73 | %attr(755,root,root) %{_bindir}/* |
74 | %{_mandir}/man1/* |