Summary: A program for handling multimedia mail using the mailcap file Name: metamail Version: 2.7 Release: %mkrel 16 License: BSD-like Group: Networking/Mail BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source0: ftp://thumper.bellcore.com/pub/nsp/metamail/mm2.7.tar.bz2 Patch0: mm-2.7-make.patch Patch1: mm-2.7-fonts.patch Patch2: mm-2.7-glibc.patch Patch3: mm-2.7-csh.patch Patch4: mm-2.7-uudecode.patch Patch5: mm-2.7-sunquote.patch Patch7: mm-2.7-ohnonotagain.patch Patch8: mm-2.7-arghhh.patch Patch9: mm-2.7-sml.patch Patch10: metamail-2.7-nl.patch Patch11: mm-2.7-linux.patch Patch12: metamail-2.7-vulns.patch Patch13: mm2.7-gcc3.4-fix.patch Patch14: metamail-2.7-boundary_crash.patch Patch15: mm2.7-gcc4.patch BuildRequires: termcap-devel Requires: mktemp Requires: sharutils Requires: csh %description Metamail is a system for handling multimedia mail, using the mailcap file. Metamail reads the mailcap file, which tells Metamail what helper program to call in order to handle a particular type of non-text mail. Note that metamail can also add multimedia support to certain non-mail programs. Metamail should be installed if you need to add multimedia support to mail programs and some other programs, using the mailcap file. %prep %setup -q -n mm2.7 %patch0 -p1 -b .make %patch1 -p1 -b .font %patch2 -p1 -b .glibc %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 -b .linux %patch12 -p0 -b .manyvulns %patch13 -p1 -b .gcc34 %patch14 -p1 -b .cve-2006-0709 %patch15 -p1 -b .gcc4 %build cd src %make RPM_OPT_FLAGS="%{optflags}" basics %install rm -rf %{buildroot} mkdir -p %{buildroot}{%{_bindir},%{_libdir}/metamail/fonts,%{_mandir}/man1} cd src make INSTROOT=%{buildroot}%{_prefix} install-all INSTALL="install -c" MAN1DIR=%{buildroot}/%{_mandir}/man1 MAN4DIR=%{buildroot}/%{_mandir}/man4 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* #%{_mandir}/man4/* %changelog * Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.7-16mdv2009.0 + Revision: 252354 - rebuild - fix no-buildroot-tag * Tue Dec 18 2007 Adam Williamson <awilliamson@mandriva.com> 2.7-14mdv2008.1 + Revision: 131975 - drop a bogus part of sml.patch (don't know how this applied before...) - don't create backup files when patching stuff in src/bin because they wind up getting installed (#36201) + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Jun 01 2007 Adam Williamson <awilliamson@mandriva.com> 2.7-13mdv2008.0 + Revision: 33523 - rebuild for new era; drop fonts (not needed) * Fri Apr 14 2006 Stew Benedict <sbenedict@mandriva.com> 2.7-12mdk - P14: security fix for CVE-2006-0709 - P15: fix compile with gcc4 - drop unused P6, some rpmlint fixes * Mon Jun 14 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.7-11mdk - fix gcc-3.4 build (P13) - use %%make macro - cosmetics * Thu Feb 19 2004 Vincent Danen <vdanen@mandrakesoft.com> 2.7-10mdk - security fix for CAN-2004-0104 and CAN-2004-0105 * Sat Jul 12 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 2.7-9mdk - s/Copyright/License/ - rebuild