]>
Commit | Line | Data |
---|---|---|
8bcb2900 | 1 | %include /usr/lib/rpm/macros.perl |
f38c4c45 | 2 | Summary: Mailboxes synchronization tool |
50108614 | 3 | Summary(pl.UTF-8): Narzędzie do synchroniczacji skrzynek pocztowych |
f38c4c45 | 4 | Name: imapsync |
067e0bad | 5 | Version: 1.882 |
f717ca0d | 6 | Release: 1 |
93068b76 | 7 | License: NOLIMIT Public License |
f38c4c45 | 8 | Group: Applications/Mail |
46a91c10 | 9 | Source0: https://github.com/imapsync/imapsync/archive/%{name}-%{version}.tar.gz |
067e0bad | 10 | # Source0-md5: 00b650f03165ecfeb6712151d5175ea1 |
3b1d26aa | 11 | URL: http://imapsync.lamiral.info/ |
067e0bad | 12 | BuildRequires: cpanminus |
46a91c10 AM |
13 | BuildRequires: perl-Authen-NTLM |
14 | BuildRequires: perl-Crypt-OpenSSL-RSA | |
067e0bad | 15 | BuildRequires: perl-Data-Uniqid |
1c015c92 | 16 | BuildRequires: perl-Date-Manip |
46a91c10 | 17 | BuildRequires: perl-Dist-CheckConflicts |
812e3bf9 | 18 | BuildRequires: perl-File-Copy-Recursive |
46a91c10 AM |
19 | BuildRequires: perl-IO-Socket-INET6 |
20 | BuildRequires: perl-IO-Socket-SSL | |
5e1fc33f | 21 | BuildRequires: perl-IO-Tee |
46a91c10 | 22 | BuildRequires: perl-JSON-WebToken |
08593afb | 23 | BuildRequires: perl-Mail-IMAPClient >= 3.29 |
067e0bad | 24 | BuildRequires: perl-Module-ScanDeps |
46a91c10 | 25 | BuildRequires: perl-Net-SSLeay |
067e0bad | 26 | BuildRequires: perl-PAR-Packer |
46a91c10 AM |
27 | BuildRequires: perl-Package-Stash-XS |
28 | BuildRequires: perl-Readonly | |
29 | BuildRequires: perl-Regexp-Common | |
067e0bad | 30 | BuildRequires: perl-Sys-MemInfo |
f38c4c45 | 31 | BuildRequires: perl-Term-ReadKey |
46a91c10 AM |
32 | BuildRequires: perl-Test-Deep |
33 | BuildRequires: perl-Test-Fatal | |
067e0bad | 34 | BuildRequires: perl-Test-MockObject |
46a91c10 AM |
35 | BuildRequires: perl-Test-NoWarnings |
36 | BuildRequires: perl-Test-Pod | |
37 | BuildRequires: perl-Test-Requires | |
38 | BuildRequires: perl-Test-Warn | |
5e1fc33f | 39 | BuildRequires: perl-Unicode-String |
2126c8aa JB |
40 | BuildRequires: rpm-perlprov >= 4.1-13 |
41 | BuildRequires: rpmbuild(macros) >= 1.202 | |
81e6849d | 42 | Requires: perl-Date-Manip |
5e1fc33f | 43 | Requires: perl-IO-Tee |
08593afb | 44 | Requires: perl-Mail-IMAPClient >= 3.29 |
81e6849d | 45 | Requires: perl-Term-ReadKey |
5e1fc33f | 46 | Requires: perl-Unicode-String |
f38c4c45 AM |
47 | BuildArch: noarch |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
49 | ||
50 | %description | |
51 | imapsync is a tool for facilitating incremental recursive IMAP | |
52 | transfers from one mailbox to another. It is useful for mailbox | |
53 | migration, and reduces the amount of data transferred by only copying | |
54 | messages that are not present on both servers. Read, unread, and | |
55 | deleted flags are preserved, and the process can be stopped and | |
56 | resumed. The original messages can optionally be deleted after a | |
57 | successful transfer. | |
58 | ||
f30e6092 JR |
59 | %description -l pl.UTF-8 |
60 | imapsync to narzędzie ułatwiające przyrostowe rekurencyjne transfery | |
2126c8aa | 61 | IMAP z jednej skrzynki do drugiej. Jest przydatne do migracji skrzynek |
f30e6092 JR |
62 | pocztowych i zmniajsza ilość przesyłanych danych kopiując tylko |
63 | wiadomości nie obecne na obu serwerach. Flagi oznaczające wiadomości | |
7a05f8ca | 64 | przeczytane, nieprzeczytane i usunięte są zachowywane, a proces może |
f30e6092 JR |
65 | być zatrzymany i wznowiony. Oryginalne wiadomości opcjonalnie mogą być |
66 | usunięte po udanym przesłaniu. | |
2126c8aa | 67 | |
f38c4c45 | 68 | %prep |
067e0bad | 69 | %setup -q -n %{name}-%{name}-%{version} |
f38c4c45 AM |
70 | |
71 | %build | |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | install -d $RPM_BUILD_ROOT%{_bindir} | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc CREDITS ChangeLog FAQ README TODO | |
87 | %attr(755,root,root) %{_bindir}/imapsync | |
8f18b6c6 | 88 | %{_mandir}/man1/imapsync.1* |