2 # - new name will be probably mbsync, but project name still stays isync
3 Summary: Tool to synchronize IMAP4 and Maildir mailboxes
8 Group: Applications/Networking
9 Source0: https://downloads.sourceforge.net/isync/%{name}-%{version}.tar.gz
10 # Source0-md5: f341c0bd20e6a19b5a10b27fdb2f0a59
11 URL: https://isync.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: cyrus-sasl-devel
15 BuildRequires: db-devel >= 4.2
16 BuildRequires: openssl-devel
17 BuildRequires: perl-base >= 1:5.14
18 BuildRequires: pkgconfig >= 1:0.9.0
19 BuildRequires: zlib-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 isync is a command line application which synchronizes mailboxes;
24 currently Maildir and IMAP4 mailboxes are supported. New messages,
25 message deletions and flag changes can be propagated both ways. isync
26 is suitable for use in IMAP-disconnected mode.
40 rm -rf $RPM_BUILD_ROOT
42 INSTALL="install -p" \
43 DESTDIR=$RPM_BUILD_ROOT
45 rm -r $RPM_BUILD_ROOT%{_docdir}/isync
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample
53 %attr(755,root,root) %{_bindir}/mbsync
54 %attr(755,root,root) %{_bindir}/mdconvert
55 %attr(755,root,root) %{_bindir}/mbsync-get-cert