MHonArc-vl.spec 5.4 KB

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