]> git.pld-linux.org Git - packages/MHonArc.git/blob - MHonArc.spec
- updated to 2.6.19 (security fix from 2014)
[packages/MHonArc.git] / MHonArc.spec
1 Summary:        An Email-to-HTML converter
2 Summary(pl.UTF-8):      Konwerter Poczta->HTML
3 Name:           MHonArc
4 Version:        2.6.18
5 Release:        1
6 License:        GPL
7 Group:          Applications/Mail
8 Source0:        http://www.mhonarc.org/release/MHonArc/tar/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c3eaec31467b3cc5bae751fb68080742
10 Patch0:         %{name}-FHS2.patch
11 URL:            http://www.mhonarc.org/
12 BuildRequires:  rpm-perlprov
13 BuildRequires:  sed >= 4.0
14 Requires:       perl-Unicode-MapUTF8
15 Requires:       perl-Unicode-String
16 Requires:       perl-modules >= 5.8
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail
22 archiving with index, mail thread linking, etc; plus other
23 capabilities including support for MIME and powerful user
24 customization features.
25
26 %description -l pl.UTF-8
27 MHonArc to konwerter poczta->HTML napisany w Perlu. MHonArc pozwala na
28 archiwizowanie poczty w postaci stron HTML z indeksowaniem według
29 wątku. MHonArc wspiera MIME oraz łatwo przystosowuje się do wymagań
30 użytkownika.
31
32 %prep
33 %setup -q
34 %{__sed} -i -e 's,^#!.*bin/perl5\?,#!%{__perl},' $(grep -rl '^#!.*/bin/perl' .)
35 %patch0 -p1
36
37 %build
38 %{__perl} Makefile.PL
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %{__perl} install.me \
44         -batch \
45         -nodoc \
46         -manpath=%{_mandir} \
47         -binpath=%{_bindir} \
48         -libpath=%{_datadir}/%{name} \
49         -root=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES
57 %attr(755,root,root) %{_bindir}/*
58 %{_datadir}/%{name}
59 %{_mandir}/man?/*
This page took 0.086481 seconds and 3 git commands to generate.