]>
Commit | Line | Data |
---|---|---|
f38c4c45 AM |
1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: Mailboxes synchronization tool | |
3 | Name: imapsync | |
4 | Version: 1.133 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Mail | |
8 | Source0: http://www.linux-france.org/prj/imapsync/dist/%{name}-%{version}.tgz | |
9 | # Source0-md5: 4b2f2cdd2a04e7e0ef65c9ca15f4481f | |
10 | URL: http://www.linux-france.org/prj/imapsync/ | |
11 | BuildRequires: rpmbuild(macros) >= 1.202 | |
12 | BuildRequires: rpm-perlprov >= 4.1-13 | |
13 | BuildRequires: perl-base | |
14 | BuildRequires: perl-Mail-IMAPClient | |
15 | BuildRequires: perl-Term-ReadKey | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | imapsync is a tool for facilitating incremental recursive IMAP | |
21 | transfers from one mailbox to another. It is useful for mailbox | |
22 | migration, and reduces the amount of data transferred by only copying | |
23 | messages that are not present on both servers. Read, unread, and | |
24 | deleted flags are preserved, and the process can be stopped and | |
25 | resumed. The original messages can optionally be deleted after a | |
26 | successful transfer. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | %{__make} install \ | |
39 | DESTDIR=$RPM_BUILD_ROOT | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc CREDITS ChangeLog FAQ README TODO | |
47 | %attr(755,root,root) %{_bindir}/imapsync |