]> git.pld-linux.org Git - packages/MHonArc.git/blame - MHonArc.spec
- tabs in preamble
[packages/MHonArc.git] / MHonArc.spec
CommitLineData
7889805f 1%include /usr/lib/rpm/macros.perl
8985efcf 2Summary: An Email-to-HTML converter
ce11ee62 3Summary(pl.UTF-8): Konwerter Poczta->HTML
8985efcf 4Name: MHonArc
1c4f2bed 5Version: 2.6.10
d54954e0 6Release: 1
d8462164 7License: GPL
1e4eeaf2 8Vendor: Earl Hood <ehood@medusa.acs.uci.edu>
8985efcf 9Group: Applications/Mail
4ad0c426 10Source0: http://www.mhonarc.org/tar/%{name}-%{version}.tar.bz2
1c4f2bed 11# Source0-md5: 337dfa5660fa158e5a4e3fd74b4c2ec1
065b7712 12Patch0: %{name}-FHS2.patch
13Patch1: %{name}-DESTDIR.aptch
14URL: http://www.mhonarc.org/
ce497d7e 15BuildRequires: rpm-perlprov
3da0f05a 16Requires: perl-Unicode-MapUTF8
17Requires: perl-Unicode-String
eafc1c6e 18Requires: perl-modules >= 5.8
8985efcf 19BuildArch: noarch
4d9d8368 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a16be9d6 21
22%description
23MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail
c063a700 24archiving with index, mail thread linking, etc; plus other
25capabilities including support for MIME and powerful user
26customization features.
d8462164 27
a5e1a9ce 28%description -l pl.UTF-8
f2d973f5 29MHonArc to konwerter poczta->HTML napisany w Perlu. MHonArc pozwala na
a5e1a9ce
JR
30archiwizowanie poczty w postaci stron HTML z indeksowaniem według
31wątku. MHonArc wspiera MIME oraz łatwo przystosowuje się do wymagań
32użytkownika.
a16be9d6 33
34%prep
4ad0c426 35%setup -q
065b7712 36perl -p -i -e 's|# ?!/usr/local/bin/perl|#!/usr/bin/perl|' `find . -type f`
8985efcf 37%patch0 -p1
38%patch1 -p1
a16be9d6 39
4a58586a 40%build
41perl Makefile.PL
42%{__make}
7afd4168 43
a16be9d6 44%install
45rm -rf $RPM_BUILD_ROOT
51014095 46install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/MHonArc/{Char,CharEnt,UTF8}}
a16be9d6 47
065b7712 48install mhonarc mha-dbedit mha-dbrecover mha-decode $RPM_BUILD_ROOT%{_bindir}
49
4a58586a 50install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
51
52install lib/*.pl $RPM_BUILD_ROOT%{_datadir}/%{name}
53install lib/MHonArc/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc
51014095
JK
54install lib/MHonArc/Char/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/Char
55install lib/MHonArc/CharEnt/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/CharEnt
56install lib/MHonArc/UTF8/*.pm $RPM_BUILD_ROOT%{_datadir}/%{name}/MHonArc/UTF8
a16be9d6 57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
c5b56298 62%defattr(644,root,root,755)
8f2d1cb9 63%doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES
574269a5 64%attr(755,root,root) %{_bindir}/*
d8462164 65%{_datadir}/%{name}
796d18fa 66%{_mandir}/man?/*
This page took 0.083193 seconds and 4 git commands to generate.