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