]> git.pld-linux.org Git - packages/MHonArc.git/blob - MHonArc.spec
- update to 2.6.16
[packages/MHonArc.git] / MHonArc.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        An Email-to-HTML converter
3 Summary(pl.UTF-8):      Konwerter Poczta->HTML
4 Name:           MHonArc
5 Version:        2.6.16
6 Release:        1
7 License:        GPL
8 Group:          Applications/Mail
9 Source0:        http://www.mhonarc.org/release/MHonArc/tar/%{name}-%{version}.tar.bz2
10 # Source0-md5:  1aae948971869d6fdf3d810d9894b3db
11 Patch0:         %{name}-FHS2.patch
12 Patch1:         %{name}-DESTDIR.aptch
13 URL:            http://www.mhonarc.org/
14 BuildRequires:  rpm-perlprov
15 BuildRequires:  sed >= 4.0
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.UTF-8
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 %{__sed} -i -e 's,^#!.*bin/perl5\?,#!%{__perl},' $(grep -rl '^#!.*/bin/perl' .)
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 %{__perl} install.me \
47         -batch \
48         -nodoc \
49         -manpath=%{_mandir} \
50         -binpath=%{_bindir} \
51         -libpath=%{_datadir}/%{name} \
52         -root=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES
60 %attr(755,root,root) %{_bindir}/*
61 %{_datadir}/%{name}
62 %{_mandir}/man?/*
This page took 0.09541 seconds and 3 git commands to generate.