# - new name will be probably mbsync, but project name still stays isync
Summary: Tool to synchronize IMAP4 and Maildir mailboxes
Name: isync
-Version: 1.3.4
+Version: 1.4.0
Release: 1
License: GPL v2+
Group: Applications/Networking
URL: http://isync.sourceforge.net/
Source0: http://downloads.sourceforge.net/isync/%{name}-%{version}.tar.gz
-# Source0-md5: 022e83a9d795a8f2b3e8561f5f4e13fe
+# Source0-md5: bf60773c0ec03f132aac546df9cc7b87
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: cyrus-sasl-devel
BuildRequires: db-devel >= 4.2
BuildRequires: openssl-devel
-BuildRequires: pkgconfig
+BuildRequires: perl-base >= 1:5.14
+BuildRequires: pkgconfig >= 1:0.9.0
+BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
INSTALL="install -p" \
DESTDIR=$RPM_BUILD_ROOT
-rm -r $RPM_BUILD_ROOT%{_datadir}/doc/isync
+rm -r $RPM_BUILD_ROOT%{_docdir}/isync
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample src/compat/isyncrc.sample
-%attr(755,root,root) %{_bindir}/isync
+%doc AUTHORS NEWS README TODO ChangeLog src/mbsyncrc.sample
%attr(755,root,root) %{_bindir}/mbsync
%attr(755,root,root) %{_bindir}/mdconvert
%attr(755,root,root) %{_bindir}/mbsync-get-cert