1 %include /usr/lib/rpm/macros.perl
2 Summary: Mailboxes synchronization tool
3 Summary(pl.UTF-8): Narzędzie do synchroniczacji skrzynek pocztowych
8 Group: Applications/Mail
9 #Source0: http://www.linux-france.org/prj/imapsync/dist/%{name}-%{version}.tgz
10 Source0: https://fedorahosted.org/released/imapsync/%{name}-%{version}.tgz
11 # Source0-md5: 367b0810fae553d4515bcf5e8c446651
12 URL: http://imapsync.lamiral.info/
13 BuildRequires: perl-Date-Manip
14 BuildRequires: perl-Mail-IMAPClient
15 BuildRequires: perl-Term-ReadKey
16 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRequires: rpmbuild(macros) >= 1.202
18 Requires: perl-Date-Manip
19 Requires: perl-Mail-IMAPClient
20 Requires: perl-Term-ReadKey
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 imapsync is a tool for facilitating incremental recursive IMAP
26 transfers from one mailbox to another. It is useful for mailbox
27 migration, and reduces the amount of data transferred by only copying
28 messages that are not present on both servers. Read, unread, and
29 deleted flags are preserved, and the process can be stopped and
30 resumed. The original messages can optionally be deleted after a
33 %description -l pl.UTF-8
34 imapsync to narzędzie ułatwiające przyrostowe rekurencyjne transfery
35 IMAP z jednej skrzynki do drugiej. Jest przydatne do migracji skrzynek
36 pocztowych i zmniajsza ilość przesyłanych danych kopiując tylko
37 wiadomości nie obecne na obu serwerach. Flagi oznaczające wiadomości
38 przeczytane, nieprzeczytane i usunięte są zachowywane, a proces może
39 być zatrzymany i wznowiony. Oryginalne wiadomości opcjonalnie mogą być
40 usunięte po udanym przesłaniu.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_bindir}
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc CREDITS ChangeLog FAQ README TODO
61 %attr(755,root,root) %{_bindir}/imapsync
62 %{_mandir}/man1/imapsync.1*