File muchsync.spec of Package muchsync

Name:           muchsync
Version:        5
Release:        1%{?dist}
Summary:        Synchronize notmuch mail across machines

%{?suse_version:License:         GPL-2.0-or-later}
%if 0%{?rhl}%{?fedora}
License:        GPLv2+
# ver. 5:
# sha256sum 8b0afc2ce2dca636ae318659452902e26ac804d1b8b1982e74dbc4222f2155cc
# same checksum in Debian sources
Source0:        %{url}src/%{name}-%{version}.tar.gz
# commits since last release
Patch0:         0001-catch-exceptions-by-reference.patch
Patch1:         0002-print-file-opening-error.patch
Patch2:         0003-fix-typo.patch
Patch3:         0004-change-commit_interval-from-10-to-90-seconds.patch
Patch4:         0005-list-hash-in-error.patch
%{?suse_version:Group: Productivity/Networking/Email/Utilities}

BuildRequires:  notmuch-devel
%if 0%{?rhl}%{?fedora}
BuildRequires:  xapian-core-devel
%{?suse_version:BuildRequires: libxapian-devel}
BuildRequires:  pkgconfig(sqlite3)
BuildRequires:  pkgconfig(libcrypto)
BuildRequires:  gcc-c++
BuildRequires:  pandoc
Requires:       openssh
Requires:       notmuch


Muchsync synchronizes the contents of maildirs and notmuch tags across machines
using ssh.

%autosetup -p1

# make_build macro is not present in OpenSUSE Leap 42.x
%if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
%__make %{?_smp_mflags}


%license COPYING

* Sat Jan 12 2019 Dan Čermák <> - 5-1
- Fix rpmlint warnings for SUSE

* Tue Jan  1 2019 Dan Čermák <> - 5-1
- Initial version
openSUSE Build Service is sponsored by