SHA256
1
0
forked from pool/isync
isync/isync.spec

78 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package isync
#
# Copyright (c) 2015 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/
#
%define makeinstall make install DESTDIR=%{buildroot}
#
Name: isync
Version: 1.2.1
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: openssl-devel
#
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.
Authors:
----------
Michael Elkins <me@mutt.org>
Oswald Buddenhagen <ossi@users.sf.net>
Theodore Ts'o <tytso@mit.edu>
Nicolas Boullis <nboullis@debian.org>
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags} docdir=%{_docdir}/%{name}/
%files
%defattr(-,root,root,-)
%{_bindir}/get-cert
%{_bindir}/isync
%{_bindir}/mbsync
%{_bindir}/mdconvert
%doc %{_docdir}/%{name}/
%{_mandir}/man1/isync.1.gz
%{_mandir}/man1/mbsync.1.gz
%{_mandir}/man1/mdconvert.1.gz