]> git.pld-linux.org Git - packages/MHonArc.git/blame - MHonArc.spec
- updated to 2.6.19 (security fix from 2014)
[packages/MHonArc.git] / MHonArc.spec
CommitLineData
8985efcf 1Summary: An Email-to-HTML converter
ce11ee62 2Summary(pl.UTF-8): Konwerter Poczta->HTML
8985efcf 3Name: MHonArc
13358df2 4Version: 2.6.19
d54954e0 5Release: 1
13358df2 6License: GPL v2+
8985efcf 7Group: Applications/Mail
13358df2
JB
8Source0: https://www.mhonarc.org/release/MHonArc/tar/%{name}-%{version}.tar.bz2
9# Source0-md5: 6e74712a6da370c8c63b5bde7573f48f
065b7712 10Patch0: %{name}-FHS2.patch
13358df2 11URL: https://www.mhonarc.org/
ce497d7e 12BuildRequires: rpm-perlprov
13358df2 13BuildRequires: rpmbuild(macros) >= 1.745
86168081 14BuildRequires: sed >= 4.0
3da0f05a 15Requires: perl-Unicode-MapUTF8
16Requires: perl-Unicode-String
eafc1c6e 17Requires: perl-modules >= 5.8
8985efcf 18BuildArch: noarch
4d9d8368 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a16be9d6 20
21%description
22MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail
c063a700 23archiving with index, mail thread linking, etc; plus other
24capabilities including support for MIME and powerful user
25customization features.
d8462164 26
a5e1a9ce 27%description -l pl.UTF-8
f2d973f5 28MHonArc to konwerter poczta->HTML napisany w Perlu. MHonArc pozwala na
a5e1a9ce 29archiwizowanie poczty w postaci stron HTML z indeksowaniem według
13358df2 30wątku. MHonArc obsługuje MIME oraz łatwo przystosowuje się do wymagań
a5e1a9ce 31użytkownika.
a16be9d6 32
33%prep
4ad0c426 34%setup -q
8985efcf 35%patch0 -p1
a16be9d6 36
13358df2
JB
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' .)
39
4a58586a 40%build
86168081 41%{__perl} Makefile.PL
13358df2 42
4a58586a 43%{__make}
7afd4168 44
a16be9d6 45%install
46rm -rf $RPM_BUILD_ROOT
13358df2 47
86168081
ER
48%{__perl} install.me \
49 -batch \
50 -nodoc \
51 -manpath=%{_mandir} \
52 -binpath=%{_bindir} \
53 -libpath=%{_datadir}/%{name} \
54 -root=$RPM_BUILD_ROOT
a16be9d6 55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
c5b56298 60%defattr(644,root,root,755)
13358df2
JB
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
d8462164 66%{_datadir}/%{name}
13358df2
JB
67%{_mandir}/man1/mha-dbedit.1*
68%{_mandir}/man1/mha-dbrecover.1*
69%{_mandir}/man1/mha-decode.1*
70%{_mandir}/man1/mhonarc.1*
This page took 0.115528 seconds and 4 git commands to generate.