cec762e573
- Update to version 20230322: - Features * Use DT_SLIST for charset variables * Support viewing html with embedded images * Account command, see the feature page * Check that sendmail and inews don't contain shell meta characters * Browser: add mailbox_folder_format config variable * Enter: add function kill-whole-line * Account command: add macOS keychain sample provider * Account command: add GPG+JSON sample provider * Expose italics attribute for colour scheme * Allow source in hooks to point to relative paths * Resolve alternates when subscribing/unsubscribing * Notmuch: allow specifying configuration file * Notmuch: allow usage of notmuch profiles * Add GNU SASL support for authentication (--gsasl configure option) * Extend colour objects to support patterns * Detect and fixup maildirs with missing "new" and "tmp" directories * Generate standard MIME types as application/pkcs7-* instead of legacy application/x-pkcs7-* * Compose: add Smime: pseudo header * Handle more X-Mutt pseudo-headers with edit_headers * Use socket_timeout to time out read/write operations * Allow %[fmt] in $folder_format * Respect attribution_locale in indent_string and post_indent_string * Pattern: add ~K to search Bcc, include Bcc in ~C, %C, ~L, and ~p * Colour postponed emails list * Allow querying user-defined variables ($my_var) with -Q * Dump user-defined variables ($my_var) with -D * Generate purely random Message-ID headers * Allow an empty sidebar_divider_char * Fix handling and display of group addresses - Bug Fixes * Fix status_on_top to work on complex windows, e.g., attach * Imap: fix off-by-one error causing bogus "Progress message 10/9" message * Attach: fix segfault when viewing HTML attachment in compose mode * Allow for longer expansions in e.g., index_format * Accept unpadded base64-encoded data, as some mailers produce * Fix hangup when trying to add email address from help screens * Handle corrupted header caches * Fix slowdown when changing folders * Improve error detection for invalid color regexes * Distinguish between old/new with mark_old unset * Parse mboxes with unconventional From lines * Fix hostname detection for hostname ending with a "." * Fix truncated SMTP lines in case of very long lines * Use smime_sign_as instead of pgp_sign_as when signing S/MIME messages * Set smime_sign_as instead of smime_default_key when signing * Fix wrong message being marked as read with $pager_read_delay = 1 * Fix negative new-mail count on maildir * Skip zero width non-joiner character in the pager * Handle text/vcard as not being an attachment, same as for text/x-vcard * Fix hdr_order not sorting last header correctly * Make exiting via SIGINT more graceful * Fix unhook index-format-hook * Send: delete signature when sending fails * SMTP: try all available methods even if SASL is not compiled in * Fix decryption issue when postponing S/MIME encrypted mails * Avoid unnecessary refreshes * Fixed a number of memory leaks and crashes - Changed Config * New * $account_command - Shell command to retrieve account credentials * $mailbox_folder_format - printf-like format string for the browser's display of mailbox folders * $nm_config_file - Configuration file for notmuch. Use 'auto' to detect configuration. * $nm_config_profile - Configuration profile for notmuch. * Renamed for consistency (old names still work) * $ask_follow_up -> $ask_followup_to * $attribution -> $attribution_intro * $connect_timeout -> $socket_timeout * $implicit_autoview -> $implicit_auto_view * $message_cachedir -> $message_cache_dir * $post_indent_string -> $attribution_trailer * $tmpdir -> $tmp_dir * sidebar_whitelist -> sidebar_pin * unsidebar_whitelist -> sidebar_unpin * Changed default * attach_format = "%u%D%I %t%4n %T%d %> [%.7m/%.10M, %.6e%?C?, %C?, %s] " * More space for the attachment filename * sidebar_divider_char = "|" * Allow an empty divider char * Deprecated * $vfolder_format use $folder_format - Translations * 100% czech_republic Czech * 100% de German * 100% hungary Hungarian * 100% lithuania Lithuanian * 100% brazil Portuguese (Brazil) * 100% serbia Serbian * 100% slovakia Slovak * 100% tr Turkish * 99% es Spanish * 99% ukraine Ukrainian * 94% poland Polish * 72% Catalan OBS-URL: https://build.opensuse.org/request/show/1074988 OBS-URL: https://build.opensuse.org/package/show/server:mail/neomutt?expand=0&rev=54
171 lines
5.2 KiB
RPMSpec
171 lines
5.2 KiB
RPMSpec
#
|
|
# spec file for package neomutt
|
|
#
|
|
# Copyright (c) 2023 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: neomutt
|
|
Version: 20230322
|
|
Release: 0
|
|
Summary: A command line mail reader (or MUA), a fork of Mutt with added features
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Networking/Email/Clients
|
|
URL: https://neomutt.org
|
|
Source: https://github.com/neomutt/neomutt/archive/%{version}.tar.gz
|
|
Source2: https://github.com/neomutt/neomutt/releases/download/%{version}/%{version}.tar.gz.sig
|
|
Source3: https://flatcap.org/id/richard.russon.neomutt.asc#/%{name}.keyring
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: cyrus-sasl-devel
|
|
BuildRequires: docbook-xsl-stylesheets
|
|
BuildRequires: gawk
|
|
BuildRequires: gdbm-devel
|
|
BuildRequires: gettext
|
|
BuildRequires: krb5-devel
|
|
BuildRequires: libdb-4_8-devel
|
|
BuildRequires: libgnutls-devel
|
|
BuildRequires: libgpgme-devel
|
|
BuildRequires: libidn-devel
|
|
BuildRequires: libkyotocabinet-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: lmdb-devel
|
|
BuildRequires: lua-devel
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: notmuch-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: pcre2-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: w3m
|
|
BuildRequires: xsltproc
|
|
BuildRequires: zlib-devel
|
|
Recommends: neomutt-doc
|
|
Recommends: neomutt-lang
|
|
|
|
%description
|
|
NeoMutt is a command line mail reader based on Mutt, brings together many
|
|
new features. Can be installed in parallel with mutt.
|
|
|
|
%package contrib
|
|
Summary: Contrib scripts for Neomutt
|
|
Group: Productivity/Networking/Email/Clients
|
|
Requires: %{name} = %{version}
|
|
Recommends: perl
|
|
Recommends: python3
|
|
BuildArch: noarch
|
|
|
|
%description contrib
|
|
Examples, scripts and helpers that are distributed with Neomutt but are not
|
|
maintained by the Neomutt authors.
|
|
|
|
%package doc
|
|
Summary: Additional documentation for neomutt
|
|
Group: Documentation/Other
|
|
Requires: %{name} = %{version}
|
|
#Recommends: perl(Expect)
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
Documentation for NeoMutt with neomuttrc examples for different environments
|
|
and requirements.
|
|
|
|
%lang_package macro
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
./configure --prefix=%{_prefix} \
|
|
--docdir=%{_docdir}/neomutt \
|
|
--with-mailpath=%{_localstatedir}/mail \
|
|
--kyotocabinet \
|
|
--lua \
|
|
--lmdb \
|
|
--gnutls \
|
|
--gpgme \
|
|
--notmuch \
|
|
--sasl \
|
|
--gss \
|
|
--idn \
|
|
--mixmaster \
|
|
--pcre2 \
|
|
--zlib
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%find_lang neomutt
|
|
|
|
%files
|
|
%config(noreplace) %{_sysconfdir}/neomuttrc
|
|
%license %{_docdir}/%{name}/LICENSE.md
|
|
%{_bindir}/neomutt
|
|
%{_mandir}/man1/neomutt.1%{?ext_man}
|
|
%{_mandir}/man5/neomuttrc.5%{?ext_man}
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
|
%dir %{_prefix}/libexec
|
|
%endif
|
|
%dir %{_prefix}/libexec/neomutt
|
|
%{_prefix}/libexec/neomutt/pgpewrap
|
|
%{_prefix}/libexec/neomutt/smime_keys
|
|
%{_mandir}/man1/pgpewrap_neomutt.1%{?ext_man}
|
|
%{_mandir}/man1/smime_keys_neomutt.1%{?ext_man}
|
|
%{_mandir}/man5/mbox_neomutt.5%{?ext_man}
|
|
%{_mandir}/man5/mmdf_neomutt.5%{?ext_man}
|
|
# this file is used from the default /etc/neomuttrc and moved from neomutt-doc
|
|
%dir %{_docdir}/%{name}
|
|
%doc %{_docdir}/%{name}/manual.txt
|
|
# helper scripts and instructions
|
|
%dir %{_datadir}/%{name}/
|
|
%dir %{_datadir}/%{name}/account-command/
|
|
%dir %{_datadir}/%{name}/account-command/gpg-json/
|
|
%dir %{_datadir}/%{name}/account-command/macos-keychain/
|
|
%doc %{_datadir}/%{name}/account-command/README.md
|
|
%{_datadir}/%{name}/account-command/gpg-json/credentials.sh
|
|
%doc %{_datadir}/%{name}/account-command/gpg-json/README.md
|
|
%{_datadir}/%{name}/account-command/macos-keychain/keychain.py
|
|
%doc %{_datadir}/%{name}/account-command/macos-keychain/README.md
|
|
|
|
%files contrib
|
|
%dir %{_datadir}/%{name}/oauth2/
|
|
%dir %{_datadir}/%{name}/vim-keys/
|
|
%{_datadir}/%{name}/oauth2/mutt_oauth2.py
|
|
%doc %{_datadir}/%{name}/oauth2/mutt_oauth2.py.README
|
|
%doc %{_datadir}/%{name}/vim-keys/vim-keys.rc
|
|
%doc %{_datadir}/%{name}/vim-keys/README.md
|
|
|
|
%files doc
|
|
%dir %{_docdir}/%{name}/
|
|
%dir %doc %{_datadir}/%{name}/colorschemes/
|
|
%dir %doc %{_datadir}/%{name}/logo/
|
|
%doc %{_docdir}/%{name}/AUTHORS.md
|
|
%doc %{_docdir}/%{name}/ChangeLog.md
|
|
%doc %{_docdir}/%{name}/CODE_OF_CONDUCT.md
|
|
%doc %{_datadir}/%{name}/colorschemes/*.neomuttrc
|
|
%doc %{_docdir}/%{name}/CONTRIBUTING.md
|
|
%doc %{_docdir}/%{name}/*.html
|
|
%doc %{_docdir}/%{name}/INSTALL.md
|
|
%doc %{_datadir}/%{name}/logo/neomutt*
|
|
%doc %{_datadir}/%{name}/mime.types
|
|
%doc %{_docdir}/%{name}/README*
|
|
%doc %{_docdir}/%{name}/SECURITY.md
|
|
%doc %{_docdir}/%{name}/smime-notes.txt
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|