2007-01-15 23:27:00 +00:00
|
|
|
#
|
2011-11-28 11:55:00 +00:00
|
|
|
# spec file for package nmh
|
2007-01-15 23:27:00 +00:00
|
|
|
#
|
2015-03-25 16:21:10 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:27:00 +00:00
|
|
|
#
|
2008-09-08 14:23:40 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-26 01:06:17 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:27:00 +00:00
|
|
|
#
|
|
|
|
|
2008-07-15 21:17:50 +00:00
|
|
|
|
2007-01-26 01:06:17 +00:00
|
|
|
Name: nmh
|
- 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
|
|
|
BuildRequires: gdbm-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: postfix
|
|
|
|
Requires: less
|
|
|
|
Requires: smtp_daemon
|
2007-01-26 01:06:17 +00:00
|
|
|
Provides: mh
|
- 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
|
|
|
Obsoletes: mh <= 6.8.4
|
2018-07-25 12:14:52 +00:00
|
|
|
Version: 1.7.1
|
- 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
|
|
|
Release: 0
|
2007-01-26 01:06:17 +00:00
|
|
|
Summary: Unix Mail Handler
|
- 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
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Productivity/Networking/Email/Clients
|
2018-07-25 12:14:52 +00:00
|
|
|
Url: https://www.nongnu.org/nmh/
|
|
|
|
Source0: https://download.savannah.nongnu.org/releases/nmh/%{name}-%{version}.tar.gz
|
|
|
|
Source1: https://download.savannah.nongnu.org/releases/nmh/%{name}-%{version}.tar.gz.sig
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
# PATCH-FIX-UPSTREAM bmwiedemann https://savannah.nongnu.org/support/?109535
|
|
|
|
Patch0: reproducible.patch
|
2007-01-26 01:06:17 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:27:00 +00:00
|
|
|
|
|
|
|
%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
|
2007-01-26 01:06:17 +00:00
|
|
|
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.
|
2007-01-15 23:27:00 +00:00
|
|
|
|
|
|
|
%prep
|
2007-03-28 22:56:24 +00:00
|
|
|
%setup -q
|
2018-07-25 12:14:52 +00:00
|
|
|
%patch0 -p1
|
2007-01-15 23:27:00 +00:00
|
|
|
|
|
|
|
%build
|
2018-07-25 12:14:52 +00:00
|
|
|
export HOSTNAME=OBS # for boo#1084909
|
2015-03-25 16:21:10 +00:00
|
|
|
%configure --libdir=%{_libexecdir}/%name \
|
- 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
|
|
|
--docdir=%_defaultdocdir/%name \
|
2015-03-25 16:21:10 +00:00
|
|
|
--sysconfdir=%{_sysconfdir}/nmh \
|
|
|
|
--enable-pop \
|
- 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
|
|
|
--with-pager=/usr/bin/less
|
2007-01-15 23:27:00 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2015-03-25 16:21:10 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2007-01-15 23:27:00 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-03-25 16:21:10 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_libexecdir}/%name
|
|
|
|
%dir %{_sysconfdir}/nmh
|
|
|
|
%config %{_sysconfdir}/nmh/*
|
- 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
|
|
|
%{_mandir}/man*/*
|
|
|
|
%_defaultdocdir/%name
|
2007-01-15 23:27:00 +00:00
|
|
|
|
2007-03-23 20:30:15 +00:00
|
|
|
%changelog
|