File muchsync.spec of Package muchsync
#
# spec file for package libhsaruntime
#
# 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: muchsync
Version: 7
Release: 0
Summary: Notmuch synchronization tool
License: GPL-2.0+
Group: Productivity/Networking/Email/Utilities
Url: http://www.muchsync.org/
Source: http://www.muchsync.org/src/muchsync-7.tar.gz
Requires: libxapian30
Requires: libopenssl1_0_0
Requires: sqlite3
Requires: notmuch
BuildRequires: gcc-c++
BuildRequires: libxapian-devel
BuildRequires: libopenssl-devel
BuildRequires: sqlite3-devel
BuildRequires: notmuch-devel
BuildRequires: unzip
BuildRequires: pandoc
%description
Tool for synchronizing notmuch databases
%prep
%setup -q -n muchsync-%{version}
%build
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir}
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_prefix}/bin/muchsync
%doc %{_mandir}/man1/muchsync.1.gz