]> git.pld-linux.org Git - packages/metamail.git/blob - metamail.spec
- changed all BuildRoot definitons
[packages/metamail.git] / metamail.spec
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ý
6 Name:           metamail
7 Version:        2.7
8 Release:        23
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
13 Patch0:         mm-make.patch
14 Patch1:         mm-fonts.patch
15 Patch2:         mm-glibc.patch
16 Patch3:         mm-csh.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
23 Patch10:        mm-nl.patch
24 BuildRequires:  ncurses-devel >= 5.0
25 Requires:       mktemp
26 Requires:       sharutils
27 Requires:       /usr/lib/sendmail
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _fontdir        %{_libdir}/metamail/fonts
31
32 %description
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.
38
39 %description -l pl
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
43 artyku³ach news.
44
45 %prep
46 %setup -q -n mm%{version}
47 %patch0  -p1
48 %patch1  -p1
49 %patch2  -p1
50 %patch3  -p1
51 %patch4  -p1
52 %patch5  -p1
53 %patch7  -p1
54 %patch8  -p1
55 %patch9  -p1
56 %patch10 -p1
57
58 %build
59 cd src
60 make basics
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_bindir},%{_fontdir},%{_mandir}/man1}
65
66 cd src
67 make install-all INSTROOT=$RPM_BUILD_ROOT%{_prefix} \
68         MAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
69         MAN4DIR=$RPM_BUILD_ROOT%{_mandir}/man4
70
71 install fonts/*.pcf       $RPM_BUILD_ROOT%{_fontdir}
72 install fonts/fonts.alias $RPM_BUILD_ROOT%{_fontdir}
73 mkfontdir $RPM_BUILD_ROOT%{_fontdir}
74
75 rm -f $RPM_BUILD_ROOT%{_bindir}/*.orig
76 rm -f $RPM_BUILD_ROOT%{_bindir}/*~
77
78 strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/* || :
79
80 gzip -9nf README CREDITS mailers.txt \
81         $RPM_BUILD_ROOT%{_mandir}/man1/*
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc src/{README,CREDITS,mailers.txt}.gz
89
90 %attr(755,root,root) %{_bindir}/*
91
92 %{_libdir}/metamail
93 %{_mandir}/man1/*
This page took 0.082883 seconds and 3 git commands to generate.