116 lines
3.3 KiB
RPMSpec
116 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package nmh (Version 1.1)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: nmh
|
|
BuildRequires: gdbm-devel ncurses-devel postfix
|
|
License: Other License(s), see package
|
|
Group: Productivity/Networking/Email/Utilities
|
|
Requires: smtp_daemon, less
|
|
Provides: mh
|
|
Obsoletes: mh
|
|
Autoreqprov: on
|
|
Version: 1.1
|
|
Release: 227
|
|
Summary: Unix Mail Handler
|
|
URL: http://www.mhost.com/nmh/
|
|
Source: %{name}-%{version}-RC4.tar.bz2
|
|
Patch: %{name}-%{version}-destdir.diff
|
|
Patch1: %{name}-%{version}-warning.diff
|
|
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)
|
|
|
|
%prep
|
|
%setup -q -n %name-%version-RC4
|
|
%patch -p1
|
|
%patch1
|
|
|
|
%build
|
|
libtoolize --copy --force
|
|
autoreconf --force --install
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
./configure --prefix=/usr \
|
|
--mandir=$DESTDIR/%{_mandir} \
|
|
--sysconfdir=/etc/nmh \
|
|
--sharedstatedir=/var \
|
|
--enable-pop \
|
|
--with-pager=/usr/bin/less \
|
|
--libdir=/usr/lib/nmh
|
|
make
|
|
|
|
%install
|
|
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/bin/*
|
|
/usr/lib/nmh
|
|
%dir /etc/nmh/
|
|
/etc/nmh/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man5/*
|
|
%{_mandir}/man8/*
|
|
%doc docs/COMPLETION-* docs/DIFFERENCES docs/FAQ docs/MAIL.FILTERING VERSION
|
|
%doc docs/TODO docs/README* COPYRIGHT
|
|
|
|
%changelog
|
|
* Fri Mar 23 2007 - rguenther@suse.de
|
|
- add gdbm-devel and ncurses-devel BuildRequires
|
|
* Fri Jan 26 2007 - ro@suse.de
|
|
- silence a compiler warning
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Mon Oct 03 2005 - mmj@suse.de
|
|
- Update to RC4
|
|
* Fri Jun 10 2005 - meissner@suse.de
|
|
- Use RPM_OPT_FLAGS.
|
|
* Tue Jul 06 2004 - mmj@suse.de
|
|
- Install libexec helper binaries in /usr/lib/nmh [#42774]
|
|
* Fri Mar 26 2004 - mmj@suse.de
|
|
- Add postfix to # neededforbuild
|
|
* Wed Oct 15 2003 - mmj@suse.de
|
|
- Don't build as root
|
|
* Tue May 13 2003 - mmj@suse.de
|
|
- Use %%defattr
|
|
* Tue Feb 11 2003 - mmj@suse.de
|
|
- Obsoletes and Provides mh -- not conflicts.
|
|
* Tue Jan 21 2003 - meissner@suse.de
|
|
- make it build on ppc64.
|
|
* Thu Nov 28 2002 - mmj@suse.de
|
|
- Update to 1.1-RC1
|
|
- Use BuildRoot
|
|
* Tue Sep 17 2002 - ro@suse.de
|
|
- removed bogus self-provides
|
|
* Tue Apr 16 2002 - mmj@suse.de
|
|
- Fix it correctly.
|
|
* Mon Apr 15 2002 - mmj@suse.de
|
|
- Fixed specfile to own /etc/nmh
|
|
* Mon Jul 16 2001 - mmj@suse.de
|
|
- Initial package. Hopefully Maddog is happy now :)
|