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: bf60773c0ec03f132aac546df9cc7b87
11 Patch0: unexpected_fetch_response.patch
12 URL: https://isync.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: cyrus-sasl-devel
16 BuildRequires: db-devel >= 4.2
17 BuildRequires: openssl-devel
18 BuildRequires: perl-base >= 1:5.14
19 BuildRequires: pkgconfig >= 1:0.9.0
20 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 isync is a command line application which synchronizes mailboxes;
25 currently Maildir and IMAP4 mailboxes are supported. New messages,
26 message deletions and flag changes can be propagated both ways. isync
27 is suitable for use in IMAP-disconnected mode.
42 rm -rf $RPM_BUILD_ROOT
44 INSTALL="install -p" \
45 DESTDIR=$RPM_BUILD_ROOT
47 rm -r $RPM_BUILD_ROOT%{_docdir}/isync
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample
55 %attr(755,root,root) %{_bindir}/mbsync
56 %attr(755,root,root) %{_bindir}/mdconvert
57 %attr(755,root,root) %{_bindir}/mbsync-get-cert