]> git.pld-linux.org Git - packages/metamail.git/blob - metamail.spec
- added using CVS keywords in %changelog (for automating them).
[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(tr):    MIME iþleme araçlarý
5 Name:           metamail
6 Version:        2.7
7 Release:        19
8 Copyright:      Distributable
9 Group:          Applications/Mail
10 Source:         ftp://thumper.bellcore.com/pub/nsp/metamail/mm%{version}.tar.Z
11 Patch0:         mm-2.7-make.patch
12 Patch1:         mm-2.7-fonts.patch
13 Patch2:         mm-2.7-glibc.patch
14 Patch3:         mm-2.7-csh.patch
15 Patch4:         mm-2.7-uudecode.patch
16 Patch5:         mm-2.7-sunquote.patch
17 Patch6:         mm-2.7-tmpfile.patch
18 Patch7:         mm-2.7-ohnonotagain.patch
19 Patch8:         mm-2.7-arghhh.patch
20 Patch9:         mm-ncurses.patch
21 Requires:       mktemp sharutils csh
22 BuildRoot:      /tmp/%{name}-%{version}-root
23
24 %description
25 Metamail is an implementation of MIME, the Multipurpose Internet Mail
26 Extensions, a proposed standard for multimedia mail on the Internet.
27 Metamail implements MIME, and also implements extensibility and
28 configuration via the "mailcap" mechanism described in an informational RFC
29 that is a companion to the MIME document.
30
31 %description -l pl
32 Metamail obs³uguje standard MIME (rozszerzenie poczty internetowej dla
33 ró¿nych celów) u¿ywany do przesy³ania poczt± plików multimedialnych. MIME
34 jest te¿ wykorzystywany do kodowania znaków narodowych w listach i
35 artyku³ach news.
36
37 %prep
38 %setup -q -n mm2.7
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %patch3 -p1
43 %patch4 -p1
44 %patch5 -p1
45 %patch7 -p1
46 %patch8 -p1
47 %patch9 -p1
48
49 %build
50 cd src
51 make basics
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/metamail/fonts,%{_mandir}/man1}
56
57 cd src
58 make INSTROOT=$RPM_BUILD_ROOT%{_prefix} install-all
59
60 install fonts/*.pcf $RPM_BUILD_ROOT%{_libdir}/metamail/fonts
61 install fonts/fonts.alias $RPM_BUILD_ROOT%{_libdir}/metamail/fonts
62 mkfontdir $RPM_BUILD_ROOT%{_libdir}/metamail/fonts
63
64 rm -f $RPM_BUILD_ROOT%{_bindir}/*.orig
65
66 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
67         src/README src/CREDITS src/mailers.txt
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc {src/README,src/CREDITS,src/mailers.txt}.gz
75 %{_libdir}/metamail
76 %attr(755,root,root) %{_bindir}/*
77 %{_mandir}/man1/*
This page took 0.055272 seconds and 3 git commands to generate.