nmh/nmh.spec
Reinhard Max f0419358bc - 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
2013-10-22 20:37:37 +00:00

86 lines
2.5 KiB
RPMSpec

#
# spec file for package nmh
#
# 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
# 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: nmh
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
Url: http://www.mhost.com/nmh/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
nmh (new MH) is a powerful electronic mail handling system. It was
originally based on version 6.8.3 of the MH message system developed by
the RAND Corporation and the University of California. It is intended
to be a (mostly) compatible drop-in replacement for MH.
nmh consists of a collection of fairly simple single-purpose programs
to send, receive, save, retrieve, and manipulate e-mail messages.
Because nmh is a suite rather than a single monolithic program, you may
freely intersperse nmh commands with other commands at your shell
prompt or write custom scripts that use these commands in flexible
ways.
Authors:
--------
Richard Coleman <coleman@math.gatech.edu>
Dan Harkless <dan-nmh@dilvish.speed.net>
Shantonu Sen <ssen@mit.edu>
Doug Morris <doug@mhost.com>
de Rooij <ruud@ruud.org>
Oliver Kiddle <okiddle@yahoo.co.uk>
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" \
%configure --libdir=/usr/lib/%name \
--docdir=%_defaultdocdir/%name \
--sysconfdir=/etc/nmh \
--enable-pop \
--with-pager=/usr/bin/less
make
%install
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
/usr/bin/*
/usr/lib/nmh
%dir /etc/nmh/
%config /etc/nmh/*
%{_mandir}/man*/*
%_defaultdocdir/%name
%changelog