- New version 1.5:
* comp, forw, and dist now process all drafts through mh-format(5) and now support new command line arguments -from, -to, -cc, -fcc, and -subject. * Nmh's idea of the local mailbox is now configurable via a new profile entry, Local-Mailbox. * post now requires a “From:” header in all message that it processes. All components files have been adjusted to include an appropriate “From:” header by default. The release notes have more information on how this transition will affect users. * The -attach option is now the default for send (using the header Nmh-Attachment) and -attachformat 1 is the default attachment type. * Command editing and filename completion (via readline) is now available in whatnow * Support for using an external command to filter the body of a message through in mhl. See mhl(1) for more details, specifically the format keyword, the formatproc entry in mh-profile(5), and the -fmtproc switch for mhl and repl. * Preliminary support for improved MIME handling when replying to messages. Yes, a long requested feature has a solution. See the release notes and docs/contrib/replyfilter for more information. - Obsoletes nmh-warnings.patch OBS-URL: https://build.opensuse.org/package/show/server:mail/nmh?expand=0&rev=5
This commit is contained in:
43
nmh.spec
43
nmh.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package nmh
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,22 +15,23 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: nmh
|
||||
BuildRequires: gdbm-devel libtool ncurses-devel postfix
|
||||
BuildRequires: gdbm-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: postfix
|
||||
Requires: less
|
||||
Requires: smtp_daemon
|
||||
Provides: mh
|
||||
Obsoletes: mh <= 6.8.4
|
||||
Version: 1.5
|
||||
Release: 0
|
||||
Summary: Unix Mail Handler
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Networking/Email/Clients
|
||||
Requires: smtp_daemon, less
|
||||
Provides: mh
|
||||
Obsoletes: mh
|
||||
Version: 1.3
|
||||
Release: 1
|
||||
Summary: Unix Mail Handler
|
||||
Url: http://www.mhost.com/nmh/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch0: nmh-warnings.patch
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -59,19 +60,14 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
|
||||
%build
|
||||
libtoolize --copy --force
|
||||
autoreconf --force --install
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure --prefix=/usr \
|
||||
--mandir=$DESTDIR/%{_mandir} \
|
||||
%configure --libdir=/usr/lib/%name \
|
||||
--docdir=%_defaultdocdir/%name \
|
||||
--sysconfdir=/etc/nmh \
|
||||
--sharedstatedir=/var \
|
||||
--enable-pop \
|
||||
--with-pager=/usr/bin/less \
|
||||
--libdir=/usr/lib/nmh
|
||||
--with-pager=/usr/bin/less
|
||||
make
|
||||
|
||||
%install
|
||||
@@ -83,10 +79,7 @@ make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install
|
||||
/usr/lib/nmh
|
||||
%dir /etc/nmh/
|
||||
%config /etc/nmh/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%{_mandir}/man8/*
|
||||
%doc docs/COMPLETION-* docs/DIFFERENCES docs/FAQ docs/MAIL.FILTERING VERSION
|
||||
%doc docs/TODO docs/README* COPYRIGHT ChangeLog
|
||||
%{_mandir}/man*/*
|
||||
%_defaultdocdir/%name
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user