]> git.pld-linux.org Git - packages/MHonArc.git/blob - MHonArc.spec
- added Requires perl-modules >= 5.8
[packages/MHonArc.git] / MHonArc.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        An Email-to-HTML converter
3 Summary(pl):    Konwerter Poczta->HTML
4 Name:           MHonArc
5 Version:        2.6.10
6 Release:        1
7 License:        GPL
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 # Source0-md5:  337dfa5660fa158e5a4e3fd74b4c2ec1
12 Patch0:         %{name}-FHS2.patch
13 Patch1:         %{name}-DESTDIR.aptch
14 URL:            http://www.mhonarc.org/
15 BuildRequires:  perl
16 Requires:       perl-Unicode-MapUTF8
17 Requires:       perl-Unicode-String
18 Requires:       perl-modules >= 5.8
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail
24 archiving with index, mail thread linking, etc; plus other
25 capabilities including support for MIME and powerful user
26 customization features.
27
28 %description -l pl
29 MHonArc to konwerter poczta->HTML napisany w perlu. MHonArc pozwala na
30 archiwizowanie poczty w postaci stron HTML z indeksowaniem wed³ug
31 w±tku. MHonArc wspiera MIME oraz ³atwo przystosowuje siê do wymagañ
32 u¿ytkownika.
33
34 %prep
35 %setup -q
36 perl -p -i -e 's|# ?!/usr/local/bin/perl|#!/usr/bin/perl|' `find . -type f`
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41 perl Makefile.PL
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/MHonArc/{Char,CharEnt,UTF8}}
47
48 install mhonarc mha-dbedit mha-dbrecover mha-decode  $RPM_BUILD_ROOT%{_bindir}
49
50 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
51
52 install lib/*.pl $RPM_BUILD_ROOT%{_datadir}/%{name}
53 install lib/MHonArc/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc
54 install lib/MHonArc/Char/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/Char
55 install lib/MHonArc/CharEnt/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/CharEnt
56 install lib/MHonArc/UTF8/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/UTF8
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/%{name}
66 %{_mandir}/man?/*
This page took 0.0658 seconds and 3 git commands to generate.