1 Summary: Collection of MIME handling utilities
2 Summary(de): Sammlung von MIME-Behandlungs-Utilities
3 Summary(fr): Ensemble d'utilitaires de gestion MIME
4 Summary(pl): Zestaw narzêdzi do obs³ugi standardu MIME
5 Summary(tr): MIME iþleme araçlarý
9 Copyright: distributable
10 Group: Applications/Mail
11 Group(pl): Aplikacje/Poczta
12 Source: ftp://thumper.bellcore.com/pub/nsp/metamail/mm%{version}.tar.Z
14 Patch1: mm-fonts.patch
15 Patch2: mm-glibc.patch
17 Patch4: mm-uudecode.patch
18 Patch5: mm-sunquote.patch
19 Patch6: mm-tmpfile.patch
20 Patch7: mm-ohnonotagain.patch
21 Patch8: mm-arghhh.patch
22 Patch9: mm-ncurses.patch
24 BuildRequires: ncurses-devel >= 5.0
27 Requires: /usr/lib/sendmail
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _fontdir %{_libdir}/metamail/fonts
33 Metamail is an implementation of MIME, the Multipurpose Internet Mail
34 Extensions, a proposed standard for multimedia mail on the Internet.
35 Metamail implements MIME, and also implements extensibility and
36 configuration via the "mailcap" mechanism described in an informational RFC
37 that is a companion to the MIME document.
40 Metamail obs³uguje standard MIME (rozszerzenie poczty internetowej dla
41 ró¿nych celów) u¿ywany do przesy³ania poczt± plików multimedialnych. MIME
42 jest te¿ wykorzystywany do kodowania znaków narodowych w listach i
46 %setup -q -n mm%{version}
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_bindir},%{_fontdir},%{_mandir}/man1}
67 make install-all INSTROOT=$RPM_BUILD_ROOT%{_prefix} \
68 MAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
69 MAN4DIR=$RPM_BUILD_ROOT%{_mandir}/man4
71 install fonts/*.pcf $RPM_BUILD_ROOT%{_fontdir}
72 install fonts/fonts.alias $RPM_BUILD_ROOT%{_fontdir}
73 mkfontdir $RPM_BUILD_ROOT%{_fontdir}
75 rm -f $RPM_BUILD_ROOT%{_bindir}/*.orig
76 rm -f $RPM_BUILD_ROOT%{_bindir}/*~
78 strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/* || :
80 gzip -9nf README CREDITS mailers.txt \
81 $RPM_BUILD_ROOT%{_mandir}/man1/*
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
88 %doc src/{README,CREDITS,mailers.txt}.gz
90 %attr(755,root,root) %{_bindir}/*