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

David Levine levined at fedoraproject.org
Mon Jun 30 02:36:50 UTC 2014


commit 7b1a7f93dfb93b2e0c3a016a666bd421e925f10c
Author: David Levine <levinedl at acm.org>
Date:   Sun Jun 29 21:36: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..7753bb8
--- /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-1.6/INSTALL')
diff --git a/nmh.spec b/nmh.spec
index 70aaa64..475b47c 100644
--- a/nmh.spec
+++ b/nmh.spec
@@ -1,20 +1,25 @@
 Name:           nmh
-Version:        1.5
-Release:        7%{?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=%{_datadir}/doc/nmh-%{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 %{_datadir}/doc/nmh-%{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
+
 * Fri Aug 09 2013 Josh Bressers <bressers at redhat.com> 0:1.5-7
 - Re-run autoconf to pick 2.69 changes
 - Properly package the doc directory
@@ -120,7 +130,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