]> git.pld-linux.org Git - packages/imapsync.git/blob - imapsync.spec
c6f66a1c03011141aec75b01cabdb4e4010ec13a
[packages/imapsync.git] / imapsync.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Mailboxes synchronization tool
3 Summary(pl.UTF-8):      Narzędzie do synchroniczacji skrzynek pocztowych
4 Name:           imapsync
5 Version:        1.882
6 Release:        1
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
27 Requires:       perl-IO-Tee
28 Requires:       perl-Mail-IMAPClient >= 3.29
29 Requires:       perl-Term-ReadKey
30 Requires:       perl-Unicode-String
31 BuildArch:      noarch
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
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
41 successful transfer.
42
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.
51
52 %prep
53 %setup -q -n %{name}-%{name}-%{version}
54
55 %build
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_bindir}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
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*
This page took 0.086606 seconds and 2 git commands to generate.