1 %include /usr/lib/rpm/macros.perl
2 Summary: An Email-to-HTML converter
3 Summary(pl): Konwerter Poczta->HTML
8 Vendor: Earl Hood <ehood@medusa.acs.uci.edu>
9 Group: Applications/Mail
10 Source0: http://www.mhonarc.org/tar/%{name}%{version}.tar.bz2
11 # Source0-md5: 00ade643290b287c40d098f2acd1c1b6
12 Patch0: %{name}-FHS2.patch
13 Patch1: %{name}-DESTDIR.aptch
14 URL: http://www.mhonarc.org/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail
21 archiving with index, mail thread linking, etc; plus other
22 capabilities including support for MIME and powerful user
23 customization features.
26 MHonArc to konwerter poczta->HTML napisany w perlu. MHonArc pozwala na
27 archiwizowanie poczty w postaci stron HTML z indeksowaniem wed³ug
28 w±tku. MHonArc wspiera MIME oraz ³atwo przystosowuje siê do wymagañ
32 %setup -q -n %{name}%{version}
33 perl -p -i -e 's|# ?!/usr/local/bin/perl|#!/usr/bin/perl|' `find . -type f`
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/MHonArc/CharEnt}
45 install mhonarc mha-dbedit mha-dbrecover mha-decode $RPM_BUILD_ROOT%{_bindir}
47 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
49 install lib/*.pl $RPM_BUILD_ROOT%{_datadir}/%{name}
50 install lib/MHonArc/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc
51 install lib/MHonArc/CharEnt*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/CharEnt
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES
59 %attr(755,root,root) %{_bindir}/*