]> git.pld-linux.org Git - packages/MHonArc.git/blob - MHonArc.spec
741fad32f0bb200ee9bfc3db9ff58f7c1e47f528
[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 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
26
27 %description -l pl
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ñ
31 u¿ytkownika.
32
33 %prep
34 %setup -q
35 perl -p -i -e 's|# ?!/usr/local/bin/perl|#!/usr/bin/perl|' `find . -type f`
36 %patch0 -p1
37 %patch1 -p1
38
39 %build
40 perl Makefile.PL
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/MHonArc/{Char,CharEnt,UTF8}}
46
47 install mhonarc mha-dbedit mha-dbrecover mha-decode  $RPM_BUILD_ROOT%{_bindir}
48
49 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
50
51 install lib/*.pl $RPM_BUILD_ROOT%{_datadir}/%{name}
52 install lib/MHonArc/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc
53 install lib/MHonArc/Char/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/Char
54 install lib/MHonArc/CharEnt/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/CharEnt
55 install lib/MHonArc/UTF8/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/UTF8
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/%{name}
65 %{_mandir}/man?/*
This page took 0.053777 seconds and 2 git commands to generate.