File maildir-utils.spec of Package maildir-utils

# spec file for package maildir-utils
# Copyright (c) 2021 SUSE LLC
# 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

Name:           maildir-utils
Version:        1.4.15
Release:        0
Summary:        Maildir indexer and searcher
License:        GPL-3.0-or-later
Group:          Productivity/Networking/Email/Utilities
BuildRequires:  autoconf
BuildRequires:  automake >= 1.14
BuildRequires:  emacs-nox >= 24.4
# Optional: for outputting of messages in json
BuildRequires:  json-glib-devel
BuildRequires:  libtool
BuildRequires:  libxapian-devel
BuildRequires:  makeinfo
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gmime-3.0) >= 3.0

Set of utilities to index and search Maildirs. Upstream name is mu.

%package -n mu4e
Summary:        Emacs-based e-mail client based on the mu e-mail indexer/searcher
Group:          Productivity/Networking/Email/Clients
Requires:       %{name} = %{version}
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}

%description -n mu4e
mu4e is an emacs-based e-mail client. It is based on the mu e-mail indexer/searcher.

%setup -q -n mu-%{version}

autoreconf -i

#bsc#1111950: build individually for now. to have reproducible.
%make_build -C lib


%post -n mu4e
%install_info --info-dir=%{_infodir} %{_infodir}/

%preun -n mu4e
%install_info_delete --info-dir=%{_infodir} %{_infodir}/

%doc ChangeLog README
%license COPYING
%dir %{_datadir}/doc/mu

%files -n mu4e
%dir %{_datadir}/emacs/site-lisp/mu4e/

openSUSE Build Service is sponsored by