Name: mutt %define pversion 1.4.2.1 Version: %{pversion}i Release: alt2 Serial: 3 %def_without dotlock %define docdir %_docdir/%name-%version Summary: A text mode mail and news user agent License: GPL Group: Networking/Mail Url: http://www.mutt.org/ Source: ftp://ftp.%name.org/pub/%name/%name-%version.tar.bz2 Source1: http://jblosser.firinn.org/pub/config/%name/%name-16.xpm Source2: http://jblosser.firinn.org/pub/config/%name/%name-32.xpm Source3: http://www.math.fu-berlin.de/~guckes/%name/%name-48.xpm Source4: %name.menu Source5: http://www.fefe.de/%{name}faq/faq.html Source6: mutt-FAQ.ru.html Source7: http://solidlinux.com/~justin/%name/%name-gnupg-howto.txt Source10: patchlist.sh %define rr_version 1.4 %define vvv_version 1.4 Patch11: http://mutt.kiev.ua/download/%name-%rr_version/%name-%rr_version.rr.compressed-alt.patch Patch12: http://mutt.kiev.ua/download/%name-%vvv_version/%name-%vvv_version.vvv.initials.patch Patch13: http://mutt.kiev.ua/download/%name-%vvv_version/%name-%vvv_version.vvv.nntp-alt.patch Patch14: http://mutt.kiev.ua/download/%name-%vvv_version/%name-%vvv_version.vvv.quote.patch Patch21: %name-1.3.22.1-alt-no_dotlock.patch Patch22: %name-1.2.5-alt-8bitpgp.patch Patch23: %name-1.3.28-alt-flea.patch Patch24: %name-1.3.22.1-alt-altyesorno.patch Patch25: %name-1.3.22.1-alt-send_charset-koi8-r.patch Patch26: %name-1.3.22.1-alt-muttrc-show-docs.patch Patch27: %name-1.3.22.1-alt-compressed-hooks.patch Patch28: %name-1.4-alt-m4_fixes.patch Patch29: %name-1.4-owl-muttbug-tmp.patch Patch30: %name-1.4-owl-tmp.patch Patch31: %name-1.4-alt-tmp.patch Patch32: %name-1.4-alt-fixes.patch Patch33: %name-1.4-alt-gpg.patch Patch41: %name-1.4-headercache.patch Requires: MTA, urlview %set_autoconf_version 2.13 %set_automake_version 1.4 BuildPreReq: rpm-build >= 4.0.4-alt10, autoconf = 2.13, automake = 1.4 BuildPreReq: OpenSP groff-base libncurses-devel libssl-devel sgml-tools %description Mutt is a feature-rich text-based mail user agent. Mutt supports local and remote mail spools (POP3 and IMAP, including with SSL), MIME, OpenPGP (PGP/MIME) with GnuPG and PGP, colored display, threading, and a lot of customization including arbitrary message headers, key remapping, colors, and more. %prep %setup -q -n %name-%pversion %__install -p -m755 %SOURCE10 . %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 %patch29 -p1 %patch30 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch41 -p1 find -type f -name \*.orig -print -delete %build export ac_cv_path_GDB=/usr/bin/gdb export ac_cv_path_ISPELL=/usr/bin/ispell export ac_cv_path_SENDMAIL=/usr/sbin/sendmail %if_without dotlock export mutt_cv_worldwrite=no export mutt_cv_groupwrite=no %endif # Correct manual name (#2710). %__subst -p 's,/manual\.txt\\n,/manual.txt.bz2\\n,g' Muttrc.head.in %add_optflags -D_GNU_SOURCE libtoolize --copy --force aclocal -I m4 autoheader make -C m4 -f Makefile.am.in automake autoconf %configure \ --with-sharedir=%_sysconfdir \ --with-docdir=%docdir \ --enable-pop \ --enable-imap \ --enable-nntp \ --disable-warnings \ --with-ncurses \ --disable-domain \ --enable-nfs-fix \ --with-charmaps \ --with-ssl \ --enable-compressed make clean make -C doc clean-real %make_build %install %makeinstall sharedir=$RPM_BUILD_ROOT%_sysconfdir docdir=$RPM_BUILD_ROOT%docdir # Icons. %__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_miconsdir/%name.xpm %__install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT%_iconsdir/%name.xpm %__install -pD -m644 %SOURCE3 $RPM_BUILD_ROOT%_liconsdir/%name.xpm # Menu. %__install -pD -m644 %SOURCE4 $RPM_BUILD_ROOT%_menudir/%name # More docs. %__install -p -m644 %SOURCE5 %SOURCE6 %SOURCE7 *.nntp \ $RPM_BUILD_ROOT%docdir/ find $RPM_BUILD_ROOT%docdir/ -name \*.txt -size +8k -print0 | xargs -r0 %__bzip2 -9 -- # Fix configs. find $RPM_BUILD_ROOT%_sysconfdir -type f -print0 | xargs -r0 %__grep -FZl "$RPM_BUILD_ROOT" | xargs -r0 %__subst -p "s|$RPM_BUILD_ROOT||g" -- %find_lang %name %post %update_menus %postun %clean_menus %files -f %name.lang %if_with dotlock %attr(2711,root,mail) %_bindir/mutt_dotlock %endif %config(noreplace) %_sysconfdir/Muttrc %_bindir/flea %_bindir/mutt %_bindir/muttbug %_bindir/pgp* %_mandir/man?/* %_menudir/%name %_iconsdir/*.xpm %_iconsdir/*/*.xpm %docdir %changelog * Tue Feb 17 2004 Alexey Morozov 3:1.4.2.1i-alt2 - added headercache patch (http://dwyn.net/mutt/) * Fri Feb 13 2004 Dmitry V. Levin 3:1.4.2.1i-alt1 - Updated to 1.4.2.1i (cvs-20020213-bound patch included into release). * Mon Feb 09 2004 Dmitry V. Levin 3:1.4.1i-alt3 - Backported patch from CVS to fix Mutt crash on certain e-mails; this can occur when an UTF-8 locale is used on wide terminals. * Thu Aug 28 2003 Dmitry V. Levin 3:1.4.1i-alt2 - Corrected manual filename entry (#2710). * Sat Mar 22 2003 Dmitry V. Levin 3:1.4.1i-alt1 - Updated to 1.4.1i. - Optimized by size "rr.compressed" and "vvv.nntp" patches. - Enabled regeneration of manual.txt. - Enabled compression of large text documentation files. - Updated sample gpg.rc file. * Fri Jan 24 2003 Dmitry V. Levin 2:1.4i-alt3 - Improved the package description (Owl). - Temporary files handling fixes (Owl). - Additional temporary files handling fixes for rr/vvv patches. * Thu Oct 31 2002 Dmitry V. Levin 2:1.4i-alt2 - Fixed -I/usr/include compilation warnings. - Explicitly use autoconf-2.13 and automake-1.4 for build. - Use subst instead of perl for build. * Thu May 30 2002 Dmitry V. Levin 2:1.4i-alt1 - 1.4i. * Tue May 07 2002 Dmitry V. Levin 2:1.3.99i-alt1 - 1.3.99i. - Don't use dotlocking for mailboxes, fcntl(2) should be enough. * Tue Apr 16 2002 Dmitry V. Levin 2:1.3.28i-alt2 - Fixed flea dependencies. - Optimized and updated buildrequires. * Fri Mar 15 2002 Dmitry V. Levin 2:1.3.28i-alt1 - 1.3.28i. - Added mutt-FAQ.ru.html (mike). * Mon Jan 28 2002 Dmitry V. Levin 2:1.3.27i-alt1 - 1.3.27i. - Set default send_charset to "us-ascii:iso-8859-1:koi8-r:koi8-u:windows-1251:utf-8" (#405). * Mon Jan 21 2002 Dmitry V. Levin 2:1.3.26i-alt1 - 1.3.26i. * Fri Jan 04 2002 Dmitry V. Levin 2:1.3.25i-alt1 - 1.3.25i (security). * Mon Dec 10 2001 Dmitry V. Levin 1:1.3.24i-alt1 - 1.3.24i. * Mon Nov 12 2001 Dmitry V. Levin 1:1.3.23.2i-alt1 - 1.3.23.2i. * Thu Nov 01 2001 Dmitry V. Levin 1:1.3.23.1i-alt1 - 1.3.23.1i. * Thu Sep 27 2001 Dmitry V. Levin 1.3.22.1i-alt2 - Added more default keybindings for F1 key. - Added default hooks for compressed folders. - Added mutt-gnupg-howto.txt * Tue Sep 18 2001 Dmitry V. Levin 1.3.22.1i-alt1 - 1.3.22.1i - Added patches from http://mutt.kiev.ua/download/. * Mon Jul 30 2001 Alexander Bokovoy 1.2.5i-ipl16mdk - NNTP support fixed, NNTPPost added. - Corrected mutt_dotlock permissions (ldv). - Corrected requires (ldv). * Wed Jul 25 2001 Alexander Bokovoy 1.2.5i-ipl15mdk - NNTP support added. See mutt-nntp.html for details and configuration * Fri Jun 29 2001 AEN 1.2.5i-ipl14mdk - ru.po fixed * Wed May 23 2001 Dmitry V. Levin 1.2.5i-ipl14mdk - Fixed autodependencies. * Tue May 22 2001 Dmitry V. Levin 1.2.5i-ipl12mdk - Modified 8bitpgp patch to fix build with new cpp (Mikhail Zabaluev ). * Fri Mar 23 2001 Dmitry V. Levin 1.2.5i-ipl11mdk - Added altyesorno patch (based on patch from Alexey Voinov ). * Tue Mar 20 2001 Dmitry V. Levin 1.2.5i-ipl10mdk - Merged RH patches * Thu Feb 22 2001 Dmitry V. Levin 1.2.5i-ipl9mdk - Added special recognition for "iso-8859-1" charmap. * Wed Jan 17 2001 Dmitry V. Levin 1.2.5i-ipl8mdk - Cleanup pgp patch. - Added special recognition for "ansi-x3-4-1968" charmap. * Fri Jan 05 2001 Dmitry V. Levin 1.2.5i-ipl7mdk - Added default charmap recognition. * Sat Dec 09 2000 Dmitry V. Levin 1.2.5i-ipl6mdk - Enabled ssl support. - Disabled forced 7bit pgp signed data convertion. - Fixed out $RPM_BUILD_ROOT from config file. * Tue Oct 12 2000 Dmitry V. Levin 1.2.5i-ipl5mdk - Addeded faq.html - Automatically added BuildRequires. * Wed Oct 04 2000 Daouda Lo 1.2.5i-5mdk - provide icons for menu * Mon Sep 04 2000 Dmitry V. Levin 1.2.5i-ipl4mdk - RE adaptions * Mon Aug 07 2000 Frederic Lepied 1.2.5-3mdk - automatically added BuildRequires * Wed Aug 2 2000 Vincent Danen 1.2.5i-2mdk - some of us like docs and samples so put them back in - fix docdir - more macros * Sat Jul 29 2000 Geoffrey Lee 1.2.5i-1mdk - new version - macrosifications - build for the BM * Fri Jul 07 2000 DindinX 1.2.4i-2mdk - merge Geoffrey Lee's spec changes - remove /etc/mimes.types from %files which caused a conflit w/ mailcap * Fri Jul 07 2000 Thierry Vignaud 1.2.4i-1mdk - new release (This version fixes a couple of problems present in 1.2.2, and one problem leading to crashes whose fix was missing from 1.2.3.) * Mon Jun 26 2000 DindinX 1.2.2i-3mdk - put the Serial: tag back * Fri Jun 23 2000 DindinX 1.2.2i-2mdk - fix the build as user the right way :) * Thu Jun 22 2000 Vincent Danen 1.2.2i-1mdk - 1.2.2i - removed %defattr which was causing readonly inboxes - build with ncurses instead of slang to get colors working properly - removed SSL support (won't compile due to keymaps bug) - fixed build * Tue Jun 20 2000 Vincent Danen 1.2i-2mdk - enable charmaps in configure - removed --enable-compressed (no patch) * Mon Jun 19 2000 Vincent Danen 1.2i-1mdk - 1.2i - enable SSL and NFS fixes in configure * Wed Apr 27 2000 DindinX 1.0.1i-7mdk - Recompile fix. - fix the color scheme. * Wed Apr 5 2000 Chmouel Boudjnah 1.0.1i-6mdk - By default active colors. - Believe me or not, fix menu and %post. - Use find_lang macros for locales. * Tue Apr 4 2000 Chmouel Boudjnah 1.0.1i-5mdk - Fix another chmousucks in menu (yes me too i can believe it). * Mon Apr 3 2000 Chmouel Boudjnah 1.0.1i-4mdk - Fix chmousucks in menu. - Add icons in menu. * Fri Mar 31 2000 Chmouel Boudjnah 1.0.1i-3mdk - Fix menu entry (don't only cp the meny entry from your debian box dindin ;)). * Fri Mar 24 2000 DindinX 1.0.1i-2mdk - Specs and group fixes - Added menu support * Sun Feb 06 2000 Andre Steden - 1.0.1 - add compressed folders patch - add colour patch * Sat Nov 06 1999 John Buswell - Build Release * Thu Oct 28 1999 Chmouel Boudjnah - 1.0. * Wed Oct 6 1999 Chmouel Boudjnah - 1.0pre3. * Mon Aug 09 1999 Daouda LO -0.95.7 -added manual.sgml in documents. * Sun May 09 1999 Chmouel Boudjnah - Fix bug of locales. * Wed Apr 28 1999 Chmouel Boudjnah - Mandrake adaptations. - update to 0.99.5. * Mon Mar 8 1999 Bill Nottingham - update to 0.95.4 - fixes a /tmp race * Wed Feb 24 1999 Bill Nottingham - the RETURN OF WMCONFIG! Aiyeee! * Fri Feb 12 1999 Bill Nottingham - 0.95.3 - fixes mailcap handling * Mon Jan 4 1999 Bill Nottingham - 0.95.1 * Sat Dec 12 1998 Bill Nottingham - 0.95 * Fri Jul 31 1998 Bill Nottingham - backport some 0.94.2 security fixes - fix un-setgid - update to 0.93.2 * Tue Jul 28 1998 Jeff Johnson - security fix - update to 0.93.1. - turn off setgid mail. * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Tue Apr 21 1998 Cristian Gafton - updated to 0.91.1 * Fri Apr 10 1998 Cristian Gafton - updated to mutt-0.89.1 * Thu Oct 16 1997 Otto Hammersmith - Updated to mutt 0.85. - added wmconfig entries. - removed mime.types * Mon Sep 1 1997 Donnie Barnes - Rebuilt to insure all sources were fresh and patches were clean. * Wed Aug 6 1997 Manoj Kasichainula - Initial version for 0.81(e)