1 Summary: An Email-to-HTML converter
2 Summary(pl.UTF-8): Konwerter Poczta->HTML
7 Group: Applications/Mail
8 Source0: https://www.mhonarc.org/release/MHonArc/tar/%{name}-%{version}.tar.bz2
9 # Source0-md5: 6e74712a6da370c8c63b5bde7573f48f
10 Patch0: %{name}-FHS2.patch
11 URL: https://www.mhonarc.org/
12 BuildRequires: rpm-perlprov
13 BuildRequires: rpmbuild(macros) >= 1.745
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 obsługuje MIME oraz łatwo przystosowuje się do wymagań
37 # some files have /usr/local/bin/perl or /net/nf/bin/perl
38 %{__sed} -i -e '1s,^#!.*bin/perl5\?,#!%{__perl},' $(grep -rl '^#!.*/bin/perl' .)
46 rm -rf $RPM_BUILD_ROOT
48 %{__perl} install.me \
53 -libpath=%{_datadir}/%{name} \
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc ACKNOWLG BUGS CHANGES README.txt RELNOTES TODO admin doc examples extras logo
62 %attr(755,root,root) %{_bindir}/mha-dbedit
63 %attr(755,root,root) %{_bindir}/mha-dbrecover
64 %attr(755,root,root) %{_bindir}/mha-decode
65 %attr(755,root,root) %{_bindir}/mhonarc
67 %{_mandir}/man1/mha-dbedit.1*
68 %{_mandir}/man1/mha-dbrecover.1*
69 %{_mandir}/man1/mha-decode.1*
70 %{_mandir}/man1/mhonarc.1*