namazu_JMANdb-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. %define rel 20081015
  2. %define idir %{_datadir}/namazu/index
  3. %define jmdir %{_datadir}/jman
  4. Summary: Data base file of Japanese Manuals for namazu.
  5. Summary(ja): namazu で jman, xjman の全文検索するためのデータベース
  6. Name: namazu_JMANdb
  7. Version: 05x04
  8. Release: %{rel}%{?_dist_release}
  9. License: distributable
  10. Group: Applications/Documentation
  11. Requires: namazu >= 2.0, jman_pages >= 0.5-%{rel}
  12. BuildRequires: namazu >= 2.0, jman_pages >= 0.5-%{rel}
  13. BuildRequires: nkf
  14. BuildArch: noarch
  15. Buildroot: %{_tmppath}/%{name}-%{version}-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. Data base file of Japanese manuals pages for namazu.
  20. %description -l ja
  21. namazuで日本語マニュアル(JMAN,XJMANプロジェクトによる翻訳マニュアル)
  22. 全文検索をするためのdata baseです. (DBは mknmz -auH で作成してます)
  23. %install
  24. rm -rf %{buildroot}
  25. NMZDBDIR=%{buildroot}%{idir}/
  26. mkdir -p ${NMZDBDIR}/JMAN
  27. FLIST=%{_tmppath}/%{name}.list
  28. find %{jmdir} -type f | \
  29. grep -v %{jmdir}/whatis > $FLIST
  30. #find /usr/X11R6/man/ja/ -type f >> $FLIST
  31. cd ${NMZDBDIR}/JMAN
  32. mknmz -auH --indexing-lang=ja_JP.eucJP -F $FLIST | tee log
  33. tail -14 log | nkf -w > mknmz.log
  34. rm -f NMZ.slog NMZ*.ja NMZ*.en
  35. ln -s ../NMZ.body.ja .
  36. ln -s ../NMZ.foot.ja .
  37. ln -s ../NMZ.head.ja .
  38. cd -
  39. rm $FLIST
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root)
  44. %{idir}/JMAN/NMZ*
  45. %{idir}/JMAN/mknmz.log
  46. %changelog
  47. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20081015vl5
  48. - Source as of 20081015
  49. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 05x04-20080315vl5
  50. - applied new versioning policy, spec in utf-8
  51. * Sun Mar 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20080315vl1
  52. - Source as of 20080315
  53. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20070815vl1
  54. - Source as of 20070815
  55. * Thu Oct 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20061015vl1
  56. - Source as of 20061015
  57. * Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20060715vl1
  58. - Source as of 20060715
  59. - changed Group to Applications/Documentation
  60. * Mon Jan 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20060115vl1
  61. - Source as of 20060115
  62. - changed Group:
  63. * Mon Sep 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20050915vl1
  64. - Source as of 20050915
  65. * Fri Jun 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20050615vl1
  66. - Source as of 20050615
  67. * Wed Feb 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20050215vl1
  68. - Source as of 20050215
  69. * Wed Sep 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20040915vl1
  70. - Source as of 20040915
  71. * Wed Jun 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20040615vl1
  72. - Source as of 20040615
  73. * Wed May 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20040415vl1
  74. - Source as of 20040415
  75. - rebuild with namazu-2.0.13
  76. * Sun Dec 21 2003 IWAI, Masaharu <iwai@alib.jp> 05x04-20031215vl1
  77. - Source as of 20031215
  78. * Wed Oct 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20031015vl1
  79. - Source as of 20031015
  80. * Wed Apr 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20030415vl1
  81. - as of 20030415
  82. * Tue Feb 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20030217vl1
  83. - as of 20030217
  84. * Sun Sep 22 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 05x04-20020915vl1
  85. - as of 20020915
  86. * Tue Jan 15 2002 Toru Sagami <sagami@vinelinux.org> 05x04-20020115vl1
  87. - as of 20020115
  88. * Mon Nov 19 2001 Toru Sagami <sagami@vinelinux.org>
  89. - 05x04-20011115vl1
  90. * Sat Aug 18 2001 <sagami@vinelinux.org>
  91. - 05x04-20010815vl1
  92. * Mon Jul 16 2001 <sagami@vinelinux.org>
  93. - 05x04-20010715vl1
  94. - use %%{_tmppath} for FLIST directory
  95. * Wed Apr 18 2001 sagami@vinelinux.org
  96. - 05x04-20010415vl1
  97. - changed to be src.rpm from nosrc.rpm actually without any source
  98. - mknmz -auH
  99. - note: silent BuildPreReq: XFree86, XFree86-{3DLabs,8514,AGX,I128,Mach32,Mach64,Mach8,Mono,P9000,S3,S3V,SVGA,VGA16,W32,XF86Setup,Xnest,Xvfb,devel,xfs}
  100. * Fri Sep 8 2000 Jun Nishii <jun@vinelinux.org>
  101. - 05x04-20000815vl1
  102. - build for jman_pages-0.5-20000815vl1 by namazu2
  103. * Wed Jun 28 2000 Jun Nishii <jun@vinelinux.org>
  104. - build for jman_pages-0.5-20000415.1 by namazu2
  105. * Tue Mar 14 2000 Jun Nishii <jun@vinelinux.org>
  106. - rebuild with /usr/X11R6/man/ja/
  107. * Mon Dec 20 1999 Yasuhide OOMORI <baoying@flatout.org>
  108. - build for jman_pages-0.5-19991215.1
  109. * Fri Nov 12 1999 Jun Nishii <jun@flatout.org>
  110. - build for jman_pages-0.5 and xjman in XFree86
  111. * Tue Sep 28 1999 Jun Nishii <jun@flatout.org>
  112. - added %defattr
  113. * Sat Aug 21 1999 Jun Nishii <jun@flatout.org>
  114. - build for jman_pages-0.4x0.3.1
  115. * Fri Apr 23 1999 Jun Nishii <jun@flatout.org>
  116. - use mknmz -rRH instead of -rKRH
  117. * Fri Mar 5 1999 Jun Nishii <jun@flatout.org>
  118. - rebuild to adapt updated jman_pages
  119. * Wed Feb 3 1999 Jun Nishii <jun@flatout.org>
  120. - modify requires; using jman_pages >= version insteadof "="
  121. to avoid update problem
  122. * Fri Jan 15 1999 Jun Nishii <jun@flatout.org>
  123. - include phrase search db
  124. - nosrc
  125. * Sat Jan 2 1999 Jun Nishii <jun@flatout.org>
  126. - build for jman-0.4 and xjman-0.2