1 %include /usr/lib/rpm/macros.perl
2 Summary: Mailboxes synchronization tool
3 Summary(pl.UTF-8): Narzędzie do synchroniczacji skrzynek pocztowych
7 License: NOLIMIT Public License
8 Group: Applications/Mail
9 Source0: https://github.com/imapsync/imapsync/archive/imapsync-%{version}.tar.gz
10 # Source0-md5: 00b650f03165ecfeb6712151d5175ea1
11 URL: http://imapsync.lamiral.info/
12 BuildRequires: cpanminus
13 BuildRequires: perl-Data-Uniqid
14 BuildRequires: perl-Date-Manip
15 BuildRequires: perl-File-Copy-Recursive
16 BuildRequires: perl-IO-Tee
17 BuildRequires: perl-Mail-IMAPClient >= 3.29
18 BuildRequires: perl-Module-ScanDeps
19 BuildRequires: perl-PAR-Packer
20 BuildRequires: perl-Sys-MemInfo
21 BuildRequires: perl-Term-ReadKey
22 BuildRequires: perl-Test-MockObject
23 BuildRequires: perl-Unicode-String
24 BuildRequires: rpm-perlprov >= 4.1-13
25 BuildRequires: rpmbuild(macros) >= 1.202
26 Requires: perl-Date-Manip
28 Requires: perl-Mail-IMAPClient >= 3.29
29 Requires: perl-Term-ReadKey
30 Requires: perl-Unicode-String
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 imapsync is a tool for facilitating incremental recursive IMAP
36 transfers from one mailbox to another. It is useful for mailbox
37 migration, and reduces the amount of data transferred by only copying
38 messages that are not present on both servers. Read, unread, and
39 deleted flags are preserved, and the process can be stopped and
40 resumed. The original messages can optionally be deleted after a
43 %description -l pl.UTF-8
44 imapsync to narzędzie ułatwiające przyrostowe rekurencyjne transfery
45 IMAP z jednej skrzynki do drugiej. Jest przydatne do migracji skrzynek
46 pocztowych i zmniajsza ilość przesyłanych danych kopiując tylko
47 wiadomości nie obecne na obu serwerach. Flagi oznaczające wiadomości
48 przeczytane, nieprzeczytane i usunięte są zachowywane, a proces może
49 być zatrzymany i wznowiony. Oryginalne wiadomości opcjonalnie mogą być
50 usunięte po udanym przesłaniu.
53 %setup -q -n %{name}-%{name}-%{version}
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_bindir}
63 DESTDIR=$RPM_BUILD_ROOT
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc CREDITS ChangeLog FAQ README TODO
71 %attr(755,root,root) %{_bindir}/imapsync
72 %{_mandir}/man1/imapsync.1*