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 Patch0: %{name}-FHS2.patch
12 Patch1: %{name}-DESTDIR.aptch
13 URL: http://www.mhonarc.org/
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail
20 archiving with index, mail thread linking, etc; plus other
21 capabilities including support for MIME and powerful user
22 customization features.
25 MHonArc to konwerter poczta->HTML napisany w perlu. MHonArc pozwala na
26 archiwizowanie poczty w postaci stron HTML z indeksowaniem wed³ug
27 w±tku. MHonArc wspiera MIME oraz ³atwo przystosowuje siê do wymagañ
31 %setup -q -n %{name}%{version}
32 perl -p -i -e 's|# ?!/usr/local/bin/perl|#!/usr/bin/perl|' `find . -type f`
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/MHonArc/CharEnt}
44 install mhonarc mha-dbedit mha-dbrecover mha-decode $RPM_BUILD_ROOT%{_bindir}
46 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
48 install lib/*.pl $RPM_BUILD_ROOT%{_datadir}/%{name}
49 install lib/MHonArc/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc
50 install lib/MHonArc/CharEnt*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/CharEnt
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES
58 %attr(755,root,root) %{_bindir}/*