]> 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.19
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Mail
8 Source0:        https://www.mhonarc.org/release/MHonArc/tar/%{name}-%{version}.tar.bz2
9 # Source0-md5:  6e74712a6da370c8c63b5bde7573f48f
10 Patch0:         %{name}-FHS2.patch
11 URL:            https://www.mhonarc.org/
12 BuildRequires:  rpm-perlprov
13 BuildRequires:  rpmbuild(macros) >= 1.745
14 BuildRequires:  sed >= 4.0
15 Requires:       perl-Unicode-MapUTF8
16 Requires:       perl-Unicode-String
17 Requires:       perl-modules >= 5.8
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.UTF-8
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 obsługuje MIME oraz łatwo przystosowuje się do wymagań
31 użytkownika.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 # some files have /usr/local/bin/perl or /net/nf/bin/perl
38 %{__sed} -i -e '1s,^#!.*bin/perl5\?,#!%{__perl},' $(grep -rl '^#!.*/bin/perl' .)
39
40 %build
41 %{__perl} Makefile.PL
42
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__perl} install.me \
49         -batch \
50         -nodoc \
51         -manpath=%{_mandir} \
52         -binpath=%{_bindir} \
53         -libpath=%{_datadir}/%{name} \
54         -root=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc ACKNOWLG BUGS CHANGES README.txt RELNOTES TODO admin doc examples extras logo
62 %attr(755,root,root) %{_bindir}/mha-dbedit
63 %attr(755,root,root) %{_bindir}/mha-dbrecover
64 %attr(755,root,root) %{_bindir}/mha-decode
65 %attr(755,root,root) %{_bindir}/mhonarc
66 %{_datadir}/%{name}
67 %{_mandir}/man1/mha-dbedit.1*
68 %{_mandir}/man1/mha-dbrecover.1*
69 %{_mandir}/man1/mha-decode.1*
70 %{_mandir}/man1/mhonarc.1*
This page took 0.105598 seconds and 3 git commands to generate.