MHonArc-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Summary: A Perl mail-to-HTML converter
  2. Summary(ja): Eメールを HTML 形式に変換する Perl ツール
  3. Name: MHonArc
  4. Version: 2.6.16
  5. Release: 3%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Text
  8. URL: http://www.mhonarc.org/
  9. Source: http://www.mhonarc.org/tar/%{name}-%{version}.tar.bz2
  10. Source1: http://www.mhonarc.jp/2.6.x/iso2022jp.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. * Sun Feb 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.16-3
  50. - spec in utf-8
  51. - add Source1 to fix iso2022jp.pl
  52. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.16-2vl5
  53. - removed Source1 (for perl(shellwords.pl))
  54. - fix license tag
  55. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.16-1vl5
  56. - rebuilt with perl 5.10.0-1
  57. - added Source1 (for perl(shellwords.pl))
  58. * Mon Jul 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.16-0vl1
  59. - new upstream release
  60. - added Requires: perl-Unicode-String, perl-Unicode-MapUTF8
  61. * Wed Jul 01 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.11-0vl1
  62. - new upstream release
  63. * Tue Sep 02 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.8-0vl1
  64. - updated to 2.6.8 release
  65. * Wed Apr 23 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.14-0vl3
  66. - fixed spec file encoding (fixed to EUC)
  67. * Thu Dec 26 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.5.14-0vl2
  68. - Oops, fixed NOT to requires /usr/local/bin/perl :(
  69. * Thu Dec 26 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.5.14-0vl1
  70. - based on 2.5.10-1mdk from Mandrake/9.0 Contrib and built for Vine Linux
  71. - added Japanese summary and description
  72. - 2.5.14 is a security fix release
  73. * Tue Jul 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.10-1mdk
  74. - 2.5.10
  75. * Mon Jul 22 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.9-1mdk
  76. - 2.5.9
  77. * Fri Jul 12 2002 Pixel <pixel@mandrakesoft.com> 2.5.7-2mdk
  78. - remove "AutoReqProv: no" (it doesn't change anything)
  79. - rebuild for new perl 5.8.0
  80. * Mon Jun 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.7-1mdk
  81. - 2.5.7
  82. * Tue Jun 18 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.6-1mdk
  83. - 2.5.6
  84. * Tue May 28 2002 Christian Belisle <cbelisle@mandrakesoft.com> 2.5.5-1mdk
  85. - 2.5.5
  86. - quiet the %%setup
  87. * Tue Apr 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.5.3-1mdk
  88. - 2.5.3
  89. * Wed Jun 20 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.4.9-1mdk
  90. - License
  91. - updated to 2.4.9
  92. * Sat Apr 14 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.4.8-1mdk
  93. - Build a 2.4.8.
  94. * Tue Jan 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.4.7-2mdk
  95. - clean spec
  96. * Fri Nov 03 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.4.7-1mdk
  97. - shamelessly ripped from RedHat contribs.
  98. * Fri Feb 18 2000 Yuri Detzel <yad@mail.ru>
  99. - Updated to version 2.4.5
  100. - Fixed rewriting and deleting files in lib directory
  101. during building of RPM package
  102. - Updated to new url of MHonArc home page
  103. * Wed Aug 18 1999 Chuck Mead <csm@lunar-penguin.com>
  104. - Updated to version 2.4.3
  105. * Sat Jun 26 1999 Jeff Breidenbach <jeff@alum.mit.edu>
  106. - Updated to version 2.4.0
  107. * Wed Nov 18 1998 Jeff Breidenbach <jeff@alum.mit.edu>
  108. - Added utilities to RPM (mha-dbedit, mha-dbrecover)
  109. * Wed Nov 11 1998 Jeff Breidenbach <jeff@alum.mit.edu>
  110. - Removed "BuildRoot:" to fix path problem.
  111. * Mon Nov 9 1998 Jeff Breidenbach <jeff@alum.mit.edu>
  112. - updated to version 2.3.3
  113. - updated Perl requirement to perl 5.
  114. - Removed RPM patch; used install.me command line options instead
  115. * Tue Oct 27 1998 Jeff Breidenbach <jeff@alum.mit.edu>
  116. - updated to version 2.3.1
  117. * Wed Apr 1 1998 Stig HackV舅 <stig@hackvan.com>
  118. - removed bogus "%dep" macro from %install script
  119. - removed bogus %doc tags from the /usr/{bin,lib} files
  120. - moved to noarch architecture
  121. * Wed Mar 3 1998 Jeff Breidenbach <jeff@jab.org>
  122. - built new version under RedHat Hurricane w/ glibc
  123. * Wed Nov 19 1997 Greg Boehnlein <damin@nacs.net>
  124. - rebuilt under RedHat Mustang w/ glibc
  125. * Sat Nov 08 1997 Andrew Pimlott <pimlott@math.harvard.edu>
  126. - started from a contrib'ed RPM for version 1.2.3. There was no
  127. identification of the original packager.
  128. - lots of clean-up
  129. - BuiltRoot'ed