[nmh] - Update nmh to 1.6 - Configure with SASL and TLS support - Replaced patch of autoconf files with au

David Levine levined at fedoraproject.org
Sun Jun 29 12:51:19 UTC 2014


commit 173d73faac0a470c5cf8080d0823ee1552a1ecc0
Author: David Levine <levinedl at acm.org>
Date:   Sun Jun 29 07:50:15 2014 -0500

    - Update nmh to 1.6
    - Configure with SASL and TLS support
    - Replaced patch of autoconf files with autoreconf --force
    - Updated run-time and build dependencies

 .rpmlint                |    4 +
 nmh-autoconf-2_69.patch |22325 -----------------------------------------------
 nmh.spec                |   46 +-
 sources                 |    2 +-
 4 files changed, 33 insertions(+), 22344 deletions(-)
---
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..2578508
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,4 @@
+# false positive
+addFilter('spelling-error.* exmh')
+# the nmh INSTALL file has potentially useful information for users
+addFilter('install-file-in-docs .*/doc/nmh/INSTALL')
diff --git a/nmh.spec b/nmh.spec
index 88a2fa1..8043652 100644
--- a/nmh.spec
+++ b/nmh.spec
@@ -1,20 +1,25 @@
 Name:           nmh
-Version:        1.5
-Release:        9%{?dist}
-Summary:        A capable mail handling system with a command line interface.
+Version:        1.6
+Release:        1%{?dist}
+Summary:        A capable mail handling system with a command line interface
 
 Group:          Applications/Internet
 License:        BSD
 URL:            http://savannah.nongnu.org/projects/nmh
-Source0:        nmh-1.5.tar.gz
+Source0:        http://download.savannah.gnu.org/releases/nmh/nmh-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  ncurses-devel
-BuildRequires:  libdb-devel
+Requires:       /bin/vi
+Requires:       /usr/sbin/sendmail
+BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  /usr/sbin/sendmail
-BuildRequires:  /bin/vi
-
-Patch0:         nmh-autoconf-2_69.patch
+BuildRequires:  cyrus-sasl-devel
+BuildRequires:  flex
+BuildRequires:  libdb
+BuildRequires:  libdb-devel
+BuildRequires:  ncurses-devel
+BuildRequires:  openssl-devel
+BuildRequires:  readline
+BuildRequires:  readline-devel
 
 %description
 Nmh is an email system based on the MH email system and is intended to
@@ -28,24 +33,23 @@ email user agent, you'll want to also install exmh to provide a user
 interface for it--nmh only has a command line interface.
 
 %prep
-%setup -q -n nmh-1.5
-%patch0 -p1
+%setup -q -n nmh-%{version}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS -fno-builtin-strcasecmp"
+autoreconf --force
+CFLAGS="$RPM_OPT_FLAGS"
 %configure \
             --sysconfdir=%{_sysconfdir}/nmh \
             --libdir=%{_libexecdir}/nmh \
             --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} \
-            --with-locking=fcntl
+            --with-cyrus-sasl \
+            --with-tls
 make
 
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 
-chmod g-s $RPM_BUILD_ROOT/%{_bindir}/inc
-
 
 %files
 %{_bindir}/*
@@ -53,10 +57,16 @@ chmod g-s $RPM_BUILD_ROOT/%{_bindir}/inc
 %config(noreplace) %{_sysconfdir}/nmh/*
 %dir %{_libexecdir}/nmh
 %{_libexecdir}/nmh/*
-%{_mandir}/man[851]/*
+%{_mandir}/man[8751]/*
 %doc %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
 
 %changelog
+* Sun Jun 29 2014 David Levine <levinedl at acm.org> 1.6-1
+- Update nmh to 1.6
+- Configure with SASL and TLS support
+- Replaced patch of autoconf files with autoreconf --force
+- Updated run-time and build dependencies
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
@@ -126,7 +136,7 @@ chmod g-s $RPM_BUILD_ROOT/%{_bindir}/inc
 - Replace the libtermcap-devel buildrequires with ncurses-devel
 
 * Mon Sep 11 2006 Josh Bressers <bressers at redhat.com> 0:1.1-19.fc6
-- Use %dist tag
+- Use %\dist tag
 - Place helper programs in /usr/libexec
 - Rebuild for FC6
 
diff --git a/sources b/sources
index 222da1b..09069f4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5a7bc5a157f4428f7660bb882e842375  nmh-1.5.tar.gz
+766ff2d37736aef76243df9c6610cb77  nmh-1.6.tar.gz


More information about the scm-commits mailing list