]> git.pld-linux.org Git - packages/archivemail.git/blob - archivemail.spec
- updated to 0.7.2
[packages/archivemail.git] / archivemail.spec
1 Summary:        Archive and compress old email
2 Summary(pl.UTF-8):      Archiwizowanie starej poczty
3 Name:           archivemail
4 Version:        0.7.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Mail
8 Source0:        http://dl.sourceforge.net/archivemail/%{name}-%{version}.tar.gz
9 # Source0-md5:  e444424688e6ec063e829176e4eb62e2
10 URL:            http://archivemail.sourceforge.net/
11 BuildRequires:  python-devel >= 2.0
12 %pyrequires_eq  python
13 # for warnings.py
14 Requires:       python-modules
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Archivemail is a tool written in Python for archiving and
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
27 Mutt is taking a long time to load? Archivemail can move all
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
33 %description -l pl.UTF-8
34 Archivemail jest, napisanym w języku Python, narzędziem służącym
35 archiwizowaniu i kompresowaniu starej poczty.
36
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'.
40
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
45 tylko najnowsze listy.
46
47 Archivemail potrafi zapisywać i odczytywać następujące formaty
48 skrzynek pocztowych: IMAP, Maildir, MH oraz mbox.
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)
72 %doc CHANGELOG FAQ README TODO
73 %attr(755,root,root) %{_bindir}/*
74 %{_mandir}/man1/*
This page took 0.059729 seconds and 4 git commands to generate.