nmh/nmh.spec
Reinhard Max 8014b277a5 Accepting request 624777 from home:bmwiedemann:branches:server:mail
+ check gpg sig
- Update to version 1.7.1
- Add reproducible.patch to fix build date and hostname
  (boo#1047218, boo#1084909)
- Complete unification of network security support.  All network protocols
  have been refactored to use a common set of security routines.
  This means all protocols support all SASL mechanisms and TLS.
  TLS support has been strengthened to perform certificate name validation
  and to require TLS 1.1 as a minimum protocol.
  Also, all protocols can make use of the OAuth2/XOAUTH SASL mechanism,
  which is supported by Gmail.
- send(1) now supports adding switches to post(8) based on the address or
  domain of the email address in the From: header; this more easily allows
  users to support multiple identities.
- A generic facility for passing arguments to filter programs in repl(1)
  by use of the -convertargs switch.
- Native support for the manipulation of iCalendar requests; see mhical(1)
  for more details.
- See NEWS file for more changes

OBS-URL: https://build.opensuse.org/request/show/624777
OBS-URL: https://build.opensuse.org/package/show/server:mail/nmh?expand=0&rev=9
2018-07-25 12:14:52 +00:00

80 lines
2.6 KiB
RPMSpec

#
# spec file for package nmh
#
# Copyright (c) 2015 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.7.1
Release: 0
Summary: Unix Mail Handler
License: BSD-3-Clause
Group: Productivity/Networking/Email/Clients
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
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.
%prep
%setup -q
%patch0 -p1
%build
export HOSTNAME=OBS # for boo#1084909
%configure --libdir=%{_libexecdir}/%name \
--docdir=%_defaultdocdir/%name \
--sysconfdir=%{_sysconfdir}/nmh \
--enable-pop \
--with-pager=/usr/bin/less
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libexecdir}/%name
%dir %{_sysconfdir}/nmh
%config %{_sysconfdir}/nmh/*
%{_mandir}/man*/*
%_defaultdocdir/%name
%changelog