| 1 | Summary: A Perl mail-to-HTML converter |
|---|
| 2 | Summary(ja): Eメールを HTML 形式に変換する Perl ツール |
|---|
| 3 | Name: MHonArc |
|---|
| 4 | Version: 2.6.18 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | License: GPLv2+ |
|---|
| 7 | Group: Applications/Text |
|---|
| 8 | URL: http://www.mhonarc.org/ |
|---|
| 9 | Source0: http://www.mhonarc.org/tar/%{name}-%{version}.tar.bz2 |
|---|
| 10 | |
|---|
| 11 | Provides: perl(readmail.pl) |
|---|
| 12 | Requires: perl >= 5.6 |
|---|
| 13 | Requires: perl-Unicode-String perl-Unicode-MapUTF8 |
|---|
| 14 | BuildRequires: perl >= 5.6 |
|---|
| 15 | BuildArch: noarch |
|---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | MHonArc provides HTML mail archiving with index, mail thread linking, etc; plus |
|---|
| 21 | other capabilities including support for MIME and powerful user customization |
|---|
| 22 | features. |
|---|
| 23 | |
|---|
| 24 | %description -l ja |
|---|
| 25 | MHonArc は,メールを HTML アーカイブに変換するツールで, |
|---|
| 26 | インデックス,メールのスレッドのリンク,その他 MIME サポートや |
|---|
| 27 | 強力なカスタマイズ機能を備えています. |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | %prep |
|---|
| 31 | rm -rf %{buildroot} |
|---|
| 32 | |
|---|
| 33 | %setup -q |
|---|
| 34 | |
|---|
| 35 | %build |
|---|
| 36 | for i in `find . -type f -name *.pl` admin/mhaadmin* mh* examples/* ; do |
|---|
| 37 | sed -e 's|/usr/local/|/usr/|g' $i >${i%.*}.new |
|---|
| 38 | mv ${i%.*}.new $i |
|---|
| 39 | done |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | %install |
|---|
| 43 | rm -rf %{buildroot} |
|---|
| 44 | |
|---|
| 45 | perl install.me -batch -libpath %{buildroot}%{_libdir}/MHonArc -nodoc \ |
|---|
| 46 | -manpath %{buildroot}%{_mandir} -binpath %{buildroot}%{_bindir} |
|---|
| 47 | |
|---|
| 48 | # just in case |
|---|
| 49 | cd %{buildroot} |
|---|
| 50 | find . -type f -exec perl -pi -e "s|%{buildroot}||g" {} \; |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | %clean |
|---|
| 54 | rm -rf %{buildroot} |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | %files |
|---|
| 58 | %defattr(-,root,root) |
|---|
| 59 | %doc ACKNOWLG BUGS CHANGES COPYING INSTALL README.txt RELNOTES TODO |
|---|
| 60 | %doc doc contrib examples extras logo |
|---|
| 61 | %{_bindir}/* |
|---|
| 62 | %{_libdir}/MHonArc |
|---|
| 63 | %{_mandir}/*/* |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | %changelog |
|---|
| 67 | * Fri Apr 22 2011 IWAI, Masaharu <iwai@alib.jp> 2.6.18-1 |
|---|
| 68 | - new upstream release |
|---|
| 69 | - drop Source1: upstream fixed |
|---|
| 70 | - add Provides: perl(readmail.pl) |
|---|
| 71 | |
|---|
| 72 | * Sun Feb 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.16-3 |
|---|
| 73 | - spec in utf-8 |
|---|
| 74 | - add Source1 to fix iso2022jp.pl |
|---|
| 75 | |
|---|
| 76 | * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.16-2vl5 |
|---|
| 77 | - removed Source1 (for perl(shellwords.pl)) |
|---|
| 78 | - fix license tag |
|---|
| 79 | |
|---|
| 80 | * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.16-1vl5 |
|---|
| 81 | - rebuilt with perl 5.10.0-1 |
|---|
| 82 | - added Source1 (for perl(shellwords.pl)) |
|---|
| 83 | |
|---|
| 84 | * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.16-0vl1 |
|---|
| 85 | - new upstream release |
|---|
| 86 | - added Requires: perl-Unicode-String, perl-Unicode-MapUTF8 |
|---|
| 87 | |
|---|
| 88 | * Wed Jul 01 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.11-0vl1 |
|---|
| 89 | - new upstream release |
|---|
| 90 | |
|---|
| 91 | * Tue Sep 02 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.8-0vl1 |
|---|
| 92 | - updated to 2.6.8 release |
|---|
| 93 | |
|---|
| 94 | * Wed Apr 23 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.14-0vl3 |
|---|
| 95 | - fixed spec file encoding (fixed to EUC) |
|---|
| 96 | |
|---|
| 97 | * Thu Dec 26 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.5.14-0vl2 |
|---|
| 98 | - Oops, fixed NOT to requires /usr/local/bin/perl :( |
|---|
| 99 | |
|---|
| 100 | * Thu Dec 26 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.5.14-0vl1 |
|---|
| 101 | - based on 2.5.10-1mdk from Mandrake/9.0 Contrib and built for Vine Linux |
|---|
| 102 | - added Japanese summary and description |
|---|
| 103 | - 2.5.14 is a security fix release |
|---|
| 104 | |
|---|
| 105 | * Tue Jul 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.10-1mdk |
|---|
| 106 | - 2.5.10 |
|---|
| 107 | |
|---|
| 108 | * Mon Jul 22 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.9-1mdk |
|---|
| 109 | - 2.5.9 |
|---|
| 110 | |
|---|
| 111 | * Fri Jul 12 2002 Pixel <pixel@mandrakesoft.com> 2.5.7-2mdk |
|---|
| 112 | - remove "AutoReqProv: no" (it doesn't change anything) |
|---|
| 113 | - rebuild for new perl 5.8.0 |
|---|
| 114 | |
|---|
| 115 | * Mon Jun 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.7-1mdk |
|---|
| 116 | - 2.5.7 |
|---|
| 117 | |
|---|
| 118 | * Tue Jun 18 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.6-1mdk |
|---|
| 119 | - 2.5.6 |
|---|
| 120 | |
|---|
| 121 | * Tue May 28 2002 Christian Belisle <cbelisle@mandrakesoft.com> 2.5.5-1mdk |
|---|
| 122 | - 2.5.5 |
|---|
| 123 | - quiet the %%setup |
|---|
| 124 | |
|---|
| 125 | * Tue Apr 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.3-1mdk |
|---|
| 126 | - 2.5.3 |
|---|
| 127 | |
|---|
| 128 | * Wed Jun 20 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.4.9-1mdk |
|---|
| 129 | - License |
|---|
| 130 | - updated to 2.4.9 |
|---|
| 131 | |
|---|
| 132 | * Sat Apr 14 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.4.8-1mdk |
|---|
| 133 | - Build a 2.4.8. |
|---|
| 134 | |
|---|
| 135 | * Tue Jan 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.4.7-2mdk |
|---|
| 136 | - clean spec |
|---|
| 137 | |
|---|
| 138 | * Fri Nov 03 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.4.7-1mdk |
|---|
| 139 | - shamelessly ripped from RedHat contribs. |
|---|
| 140 | |
|---|
| 141 | * Fri Feb 18 2000 Yuri Detzel <yad@mail.ru> |
|---|
| 142 | - Updated to version 2.4.5 |
|---|
| 143 | - Fixed rewriting and deleting files in lib directory |
|---|
| 144 | during building of RPM package |
|---|
| 145 | - Updated to new url of MHonArc home page |
|---|
| 146 | |
|---|
| 147 | * Wed Aug 18 1999 Chuck Mead <csm@lunar-penguin.com> |
|---|
| 148 | - Updated to version 2.4.3 |
|---|
| 149 | |
|---|
| 150 | * Sat Jun 26 1999 Jeff Breidenbach <jeff@alum.mit.edu> |
|---|
| 151 | - Updated to version 2.4.0 |
|---|
| 152 | |
|---|
| 153 | * Wed Nov 18 1998 Jeff Breidenbach <jeff@alum.mit.edu> |
|---|
| 154 | - Added utilities to RPM (mha-dbedit, mha-dbrecover) |
|---|
| 155 | |
|---|
| 156 | * Wed Nov 11 1998 Jeff Breidenbach <jeff@alum.mit.edu> |
|---|
| 157 | - Removed "BuildRoot:" to fix path problem. |
|---|
| 158 | |
|---|
| 159 | * Mon Nov 9 1998 Jeff Breidenbach <jeff@alum.mit.edu> |
|---|
| 160 | - updated to version 2.3.3 |
|---|
| 161 | - updated Perl requirement to perl 5. |
|---|
| 162 | - Removed RPM patch; used install.me command line options instead |
|---|
| 163 | |
|---|
| 164 | * Tue Oct 27 1998 Jeff Breidenbach <jeff@alum.mit.edu> |
|---|
| 165 | - updated to version 2.3.1 |
|---|
| 166 | |
|---|
| 167 | * Wed Apr 1 1998 Stig HackV舅 <stig@hackvan.com> |
|---|
| 168 | - removed bogus "%dep" macro from %install script |
|---|
| 169 | - removed bogus %doc tags from the /usr/{bin,lib} files |
|---|
| 170 | - moved to noarch architecture |
|---|
| 171 | |
|---|
| 172 | * Wed Mar 3 1998 Jeff Breidenbach <jeff@jab.org> |
|---|
| 173 | - built new version under RedHat Hurricane w/ glibc |
|---|
| 174 | |
|---|
| 175 | * Wed Nov 19 1997 Greg Boehnlein <damin@nacs.net> |
|---|
| 176 | - rebuilt under RedHat Mustang w/ glibc |
|---|
| 177 | |
|---|
| 178 | * Sat Nov 08 1997 Andrew Pimlott <pimlott@math.harvard.edu> |
|---|
| 179 | - started from a contrib'ed RPM for version 1.2.3. There was no |
|---|
| 180 | identification of the original packager. |
|---|
| 181 | - lots of clean-up |
|---|
| 182 | - BuiltRoot'ed |
|---|