]>
Commit | Line | Data |
---|---|---|
7889805f | 1 | %include /usr/lib/rpm/macros.perl |
8985efcf | 2 | Summary: An Email-to-HTML converter |
ce11ee62 | 3 | Summary(pl.UTF-8): Konwerter Poczta->HTML |
8985efcf | 4 | Name: MHonArc |
4b4e8ed6 | 5 | Version: 2.6.18 |
d54954e0 | 6 | Release: 1 |
d8462164 | 7 | License: GPL |
8985efcf | 8 | Group: Applications/Mail |
86168081 | 9 | Source0: http://www.mhonarc.org/release/MHonArc/tar/%{name}-%{version}.tar.bz2 |
4b4e8ed6 | 10 | # Source0-md5: c3eaec31467b3cc5bae751fb68080742 |
065b7712 | 11 | Patch0: %{name}-FHS2.patch |
065b7712 | 12 | URL: http://www.mhonarc.org/ |
ce497d7e | 13 | BuildRequires: rpm-perlprov |
86168081 | 14 | BuildRequires: sed >= 4.0 |
3da0f05a | 15 | Requires: perl-Unicode-MapUTF8 |
16 | Requires: perl-Unicode-String | |
eafc1c6e | 17 | Requires: perl-modules >= 5.8 |
8985efcf | 18 | BuildArch: noarch |
4d9d8368 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a16be9d6 | 20 | |
21 | %description | |
22 | MHonArc is a Perl mail-to-HTML converter. MHonArc provides HTML mail | |
c063a700 | 23 | archiving with index, mail thread linking, etc; plus other |
24 | capabilities including support for MIME and powerful user | |
25 | customization features. | |
d8462164 | 26 | |
a5e1a9ce | 27 | %description -l pl.UTF-8 |
f2d973f5 | 28 | MHonArc to konwerter poczta->HTML napisany w Perlu. MHonArc pozwala na |
a5e1a9ce JR |
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. | |
a16be9d6 | 32 | |
33 | %prep | |
4ad0c426 | 34 | %setup -q |
86168081 | 35 | %{__sed} -i -e 's,^#!.*bin/perl5\?,#!%{__perl},' $(grep -rl '^#!.*/bin/perl' .) |
8985efcf | 36 | %patch0 -p1 |
a16be9d6 | 37 | |
4a58586a | 38 | %build |
86168081 | 39 | %{__perl} Makefile.PL |
4a58586a | 40 | %{__make} |
7afd4168 | 41 | |
a16be9d6 | 42 | %install |
43 | rm -rf $RPM_BUILD_ROOT | |
86168081 ER |
44 | %{__perl} install.me \ |
45 | -batch \ | |
46 | -nodoc \ | |
47 | -manpath=%{_mandir} \ | |
48 | -binpath=%{_bindir} \ | |
49 | -libpath=%{_datadir}/%{name} \ | |
50 | -root=$RPM_BUILD_ROOT | |
a16be9d6 | 51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
c5b56298 | 56 | %defattr(644,root,root,755) |
8f2d1cb9 | 57 | %doc doc examples extras logo admin ACKNOWLG BUGS CHANGES RELNOTES |
574269a5 | 58 | %attr(755,root,root) %{_bindir}/* |
d8462164 | 59 | %{_datadir}/%{name} |
796d18fa | 60 | %{_mandir}/man?/* |