File isync.spec of Package isync

#
# spec file for package isync
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           isync
Version:        1.3.0
Release:        0
Summary:        Utility to synchronize IMAP mailboxes with local maildir folders
License:        GPL-2.0
Group:          Productivity/Networking/Email/Utilities
Url:            http://isync.sf.net/
Source:         http://prdownloads.sourceforge.net/isync/%{name}-%{version}.tar.gz
Source2:        http://prdownloads.sourceforge.net/isync/%{name}-%{version}.tar.gz.asc
Source3:        isync.keyring
BuildRequires:  db-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(libsasl2)
BuildRequires:  pkgconfig(openssl)
BuildRequires:  pkgconfig(zlib)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
isync is a command line application which synchronizes mailboxes; currently
Maildir and IMAP4 mailboxes are supported. New messages, message deletions
and flag changes can be propagated both ways. isync is suitable for use in
IMAP-disconnected mode.

Synchronization is based on unique message identifiers (UIDs), so no
identification conflicts can occur (as opposed to some other mail
synchronizers). Synchronization state is kept in one local text file per
mailbox pair; multiple replicas of a mailbox can be maintained.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
make %{?_smp_mflags} DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install

%files
%defattr(-,root,root,-)
%doc COPYING README AUTHORS ChangeLog
%{_bindir}/mbsync-get-cert
%{_bindir}/isync
%{_bindir}/mbsync
%{_bindir}/mdconvert
%doc %{_docdir}/isync
%{_mandir}/man1/isync.1%{ext_man}
%{_mandir}/man1/mbsync.1%{ext_man}
%{_mandir}/man1/mdconvert.1%{ext_man}

%changelog