namazu_JFdb-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. %define jfversion 20090320
  2. %define _docdir %{_defaultdocdir}
  3. Summary: Data base file of JF documents for namazu.
  4. Summary(ja): namazuでJFの全文検索するためのdata baseです
  5. Name: namazu_JFdb
  6. Version: %{jfversion}
  7. Release: 1%{?_dist_release}
  8. License: distributable
  9. Group: Applications/Documentation
  10. Requires: namazu >= 2.0.6, JF >= %{jfversion}
  11. BuildRequires: namazu >= 2.0.6, JF >= %{jfversion}
  12. BuildArch: noarch
  13. Buildroot: %{_tmppath}/%{name}-%{version}-root
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. Data base file of JF documents for namazu.
  18. %description -l ja
  19. namazuで日本語文書(JF)の全文検索をするためのdata baseです.
  20. %{_docdir}/JF 以下におかれているドキュメント類をデータベース化し
  21. ています。(DBは mknmz -auH %{_docdir}/JF/ で作成しています)
  22. %install
  23. rm -rf %{buildroot}
  24. NMZDBDIR=%{buildroot}%{_datadir}/namazu/index
  25. mkdir -p ${NMZDBDIR}/JF
  26. cd ${NMZDBDIR}/JF
  27. mknmz -auH --indexing-lang=ja_JP.eucJP %{_docdir}/JF/ | tee log
  28. tail -14 log >mknmz.log
  29. rm -f NMZ.slog NMZ*.ja NMZ*.en
  30. ln -s ../NMZ.body.ja .
  31. ln -s ../NMZ.foot.ja .
  32. ln -s ../NMZ.head.ja .
  33. cd -
  34. %clean
  35. rm -rf %{buildroot}
  36. %files
  37. %defattr(-,root,root)
  38. %{_datadir}/namazu/index/JF/NMZ*
  39. %{_datadir}/namazu/index/JF/mknmz.log
  40. %changelog
  41. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090320-1
  42. - as of 20090320
  43. - spec in utf-8
  44. * Sun May 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20080415-1
  45. - as of 20080415
  46. * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20070728-0vl1
  47. - as of 20070728
  48. * Fri Sep 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20060910-0vl1
  49. - as of 20060910
  50. - changed Group to Applications/Documentation
  51. * Sat May 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20060412-0vl1
  52. - as of 20060412
  53. - changed Group
  54. * Wed Sep 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20050910-0vl1
  55. - as of 20050910
  56. * Thu Dec 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20041213-0vl1
  57. - as of 20041213
  58. * Sat Sep 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20040924-0vl1
  59. - as of 20040924
  60. * Sat Mar 20 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20040316-0vl1
  61. - as of 20040316
  62. * Wed Sep 17 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20030914-0vl1
  63. - as of 20030914
  64. * Wed Apr 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20030415-0vl1
  65. - as of 20030415
  66. * Tue Feb 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20030216-0vl1
  67. - as of 20030216
  68. * Sun Sep 22 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20020905-0vl1
  69. - as of 20020905
  70. * Tue Jan 15 2002 Toru Sagami <sagami@vinelinux.org> 20020115-0vl1
  71. - as of 20020115
  72. * Mon Nov 19 2001 Toru Sagami <sagami@vinelinux.org>
  73. - 20011115-0vl1
  74. * Fri Aug 17 2001 <sagami@vinelinux.org>
  75. - 20010815-0vl1: introduced %%{_docdir} definition
  76. - add --indexing-lang for mknmz, which is newly supported by namazu-2.0.6
  77. * Sun Jul 15 2001 <sagami@vinelinux.org>
  78. - 20010715-0vl1
  79. * Sun May 27 2001 Yasuhide OMORI <dasen@icntv.ne.jp>
  80. - 20010527-0vl1
  81. * Wed Apr 18 2001 sagami@vinelinux.org
  82. - 20010415-0vl1
  83. - mknmz -auH
  84. * Mon Dec 25 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  85. - 20001225-0vl1
  86. - changed to be src.rpm from nosrc.rpm actually without source
  87. * Mon Sep 4 2000 Jun Nishii <jun@vinelinux.org>
  88. - 20000831-0vl1
  89. * Wed Jun 28 2000 Jun Nishii <jun@vinelinux.org>
  90. - 20000509-0vl2
  91. - build by namazu2
  92. * Wed May 10 2000 Toru Sagami <czs14350@nifty.ne.jp>
  93. - 20000509-0vl1
  94. - fixed Buildroot, Distribution, added BuildPreReq
  95. * Mon Mar 6 2000 Yasuhide OOMORI <baoying@flatout.org>
  96. - [namazu_JFdb-20000306-1]
  97. - updated for JF-20000306.
  98. * Thu Jan 27 2000 Yasuhide OOMORI <baoying@flatout.org>
  99. - [namazu_JFdb-20000125-1]
  100. - updated for JF-20000125.
  101. * Wed Sep 22 1999 Jun Nishii <jun@vinelinux.org>
  102. - updated for JF-199909
  103. - added %defattr
  104. * Sat Aug 21 1999 Jun Nishii <jun@vinelinux.org>
  105. - updated for JF-199907
  106. * Fri Apr 23 1999 Jun Nishii <jun@vinelinux.org>
  107. - user mknmz -auRH instead of -auKRH
  108. * Tue Feb 15 1999 Jun Nishii <jun@vinelinux.org>
  109. - updated for JF-199902
  110. * Tue Feb 2 1999 Jun Nishii <jun@vinelinux.org>
  111. - updated for JF-199901
  112. - modify requires; using JF >= version insteadof "="
  113. to avoid update problem
  114. * Fri Jan 15 1999 Jun Nishii <jun@vinelinux.org>
  115. - include phrase search db
  116. - nosrc