MHonArc-vl.spec 5.3 KB

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