1 Summary: A text mode mail user agent.
7 Group: Applications/Internet
8 Source: http://mutt-ng.berlios.de/snapshots/%{name}-%{version}.tar.gz
9 Url: http://mutt-ng.berlios.de/
10 Requires: slang >= 0.99.38, smtpdaemon, webclient, mailcap, gettext
11 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
12 %{!?nossl:BuildPrereq: openssl-devel}
13 %{!?nokerberos:BuildPrereq: krb5-devel}
14 BuildPrereq: /usr/sbin/sendmail slang-devel /usr/bin/automake-1.4
17 Mutt-ng is a text-mode mail user agent. Mutt-ng supports color, threading,
18 arbitrary key remapping, and a lot of customization.
20 You should install Mutt-ng if you have used it in the past and you prefer
21 it, or if you are new to mail programs and have not decided which one
25 # %setup -n %{name}-%{version} -q -a 2
26 %setup -n %{name}-%{version} -q
29 autoconf ./configure.in > ./configure
32 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
33 --with-sharedir=/etc --sysconfdir=/etc \
34 --with-docdir=%{_docdir}/mutt-%{version} \
35 --with-mandir=%{_mandir} \
36 --with-infodir=%{_infodir} \
37 --enable-pop --enable-imap \
39 %{!?nossl:--with-ssl} \
40 %{!?nokerberos:--with-gss=/usr/kerberos} \
41 --disable-warnings --with-slang --disable-domain \
42 --disable-flock --enable-fcntl \
47 rm -rf $RPM_BUILD_ROOT
48 %makeinstall sharedir=$RPM_BUILD_ROOT/etc \
49 sysconfdir=$RPM_BUILD_ROOT/etc \
50 docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \
52 mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Internet
55 cat contrib/gpg.rc >> \
56 $RPM_BUILD_ROOT/etc/Muttngrc
57 grep -5 "^color" contrib/sample.muttrc >> \
58 $RPM_BUILD_ROOT/etc/Muttngrc
61 cat >> $RPM_BUILD_ROOT/etc/Muttngrc <<EOF
63 set ispell="/usr/bin/aspell --mode=email check"
70 rm -rf $RPM_BUILD_ROOT
72 %files -f %{name}.lang
75 %config /etc/muttng-mime.types
76 %doc ABOUT-NLS BEWARE ChangeLog* COPYRIGHT GPL INSTALL NEWS README* TODO* UPGRADING
77 %doc doc/applying-patches.txt doc/*-notes.txt doc/PGP-Notes.txt doc/manual* contrib/*
80 %attr(2755,root,mail) %{_bindir}/muttng_dotlock
84 %{_bindir}/smime_keysng
85 %{_mandir}/man1/muttng.*
86 %{_mandir}/man1/muttngbug.*
87 %{_mandir}/man1/muttng_dotlock.*
88 %{_mandir}/man1/muttng-flea.*
89 %{_mandir}/man1/fleang.*
90 %{_mandir}/man5/muttngrc.*
91 %{_mandir}/man5/muttng-mbox.*
94 * Sun Mar 06 2005 Iain Lea <iain@bricbrac.de> 1:20050306-1
95 - initial muttng.spec file