X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=contrib%2Fmuttng.spec;fp=contrib%2Fmuttng.spec;h=e475bcb32d18a5564a13b5eb20f232d88abc56b4;hb=c3b4e01c2a35f1deb308ec4ca5224e031a4576bb;hp=0000000000000000000000000000000000000000;hpb=a1afd131849ad703c6b5e7b10aad05295d561555;p=apps%2Fmadmutt.git diff --git a/contrib/muttng.spec b/contrib/muttng.spec new file mode 100644 index 0000000..e475bcb --- /dev/null +++ b/contrib/muttng.spec @@ -0,0 +1,95 @@ +Summary: A text mode mail user agent. +Name: muttng +Version: 20050306 +Release: 1 +Serial: 1 +License: GPL +Group: Applications/Internet +Source: http://mutt-ng.berlios.de/snapshots/%{name}-%{version}.tar.gz +Url: http://mutt-ng.berlios.de/ +Requires: slang >= 0.99.38, smtpdaemon, webclient, mailcap, gettext +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root +%{!?nossl:BuildPrereq: openssl-devel} +%{!?nokerberos:BuildPrereq: krb5-devel} +BuildPrereq: /usr/sbin/sendmail slang-devel /usr/bin/automake-1.4 + +%description +Mutt-ng is a text-mode mail user agent. Mutt supports color, threading, +arbitrary key remapping, and a lot of customization. + +You should install mutt if you have used it in the past and you prefer +it, or if you are new to mail programs and have not decided which one +you are going to use. + +%prep +# %setup -n %{name}-%{version} -q -a 2 +%setup -n %{name}-%{version} -q + +%build +autoconf ./configure.in > ./configure +chmod 700 ./configure +export -n LINGUAS +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ + --with-sharedir=/etc --sysconfdir=/etc \ + --with-docdir=%{_docdir}/mutt-%{version} \ + --with-mandir=%{_mandir} \ + --with-infodir=%{_infodir} \ + --enable-pop --enable-imap \ + --with-sasl \ +%{!?nossl:--with-ssl} \ +%{!?nokerberos:--with-gss=/usr/kerberos} \ + --disable-warnings --with-slang --disable-domain \ + --disable-flock --enable-fcntl \ + --enable-buffy-size +make + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall sharedir=$RPM_BUILD_ROOT/etc \ + sysconfdir=$RPM_BUILD_ROOT/etc \ + docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \ + install +mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Internet + +# we like GPG here +cat contrib/gpg.rc >> \ + $RPM_BUILD_ROOT/etc/Muttngrc +grep -5 "^color" contrib/sample.muttrc >> \ + $RPM_BUILD_ROOT/etc/Muttngrc +# and we use aspell + +cat >> $RPM_BUILD_ROOT/etc/Muttngrc < 1:20050306-1 +- initial muttng.spec file