1 %include /usr/lib/rpm/macros.perl
2 Summary: An Email-to-HTML converter
3 Summary(pl.UTF-8): Konwerter Poczta->HTML
8 Group: Applications/Mail
9 Source0: http://www.mhonarc.org/release/MHonArc/tar/%{name}-%{version}.tar.bz2
10 # Source0-md5: c3eaec31467b3cc5bae751fb68080742
11 Patch0: %{name}-FHS2.patch
12 URL: http://www.mhonarc.org/
13 BuildRequires: rpm-perlprov
14 BuildRequires: sed >= 4.0
15 Requires: perl-Unicode-MapUTF8
16 Requires: perl-Unicode-String
17 Requires: perl-modules >= 5.8
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail
23 archiving with index, mail thread linking, etc; plus other
24 capabilities including support for MIME and powerful user
25 customization features.
27 %description -l pl.UTF-8
28 MHonArc to konwerter poczta->HTML napisany w Perlu. MHonArc pozwala na
29 archiwizowanie poczty w postaci stron HTML z indeksowaniem według
30 wątku. MHonArc wspiera MIME oraz łatwo przystosowuje się do wymagań
35 %{__sed} -i -e 's,^#!.*bin/perl5\?,#!%{__perl},' $(grep -rl '^#!.*/bin/perl' .)
43 rm -rf $RPM_BUILD_ROOT
44 %{__perl} install.me \
49 -libpath=%{_datadir}/%{name} \
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}/*