chasen-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: chasen
  2. Summary: Japanese Morphological Analysis System, ChaSen
  3. Summary(ja): 茶筌 - 日本語形態素解析システム
  4. Version: 2.4.4
  5. Release: 2%{?_dist_release}
  6. License: BSD, Other License(s), see package
  7. Group: Applications/Text
  8. URL: http://chasen-legacy.sourceforge.jp/
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: darts-devel >= 0.32
  12. Requires: ipadic
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: inagaki
  16. %description
  17. Japanese Morphological Analysis System, ChaSen
  18. ChaSen version 1.0 is officially released on 19 February 1997 by
  19. Computational Linguistics Laboratory, Graduate School of Information
  20. Science, Nara Institute of Science and Technology (NAIST). It is a
  21. FREE Japanese Morphological analyser. It grows out of developing JUMAN
  22. version 2.0 and has made a significant improvement in system
  23. performance. Origin of Package Name
  24. Where NAIST is situated (Takayama, Nara) is famous for producing a tea
  25. whisk used in traditional Japanese tea ceremony. The Japanese name for
  26. the tea whisk is called "chasen" and that is the reason for naming
  27. ChaSen for this package developed in NAIST.
  28. %package devel
  29. Summary: Libraries and header files for ChaSen developers.
  30. Summary(ja): 茶筌の開発用ライブラリおよびヘッダファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: darts >= 0.32
  34. %description devel
  35. Libraries and header files for ChaSen developers.
  36. %prep
  37. %setup -q
  38. %build
  39. %configure --with-darts=%{_includedir} --disable-static
  40. make
  41. %install
  42. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
  43. %makeinstall
  44. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  45. %clean
  46. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING ChangeLog NEWS README
  52. %doc doc/*.tex doc/*.pdf
  53. %{_bindir}/*
  54. %{_libdir}/*.so.*
  55. %{_libexecdir}/chasen
  56. %files devel
  57. %defattr(-,root,root)
  58. %{_includedir}/*
  59. %{_libdir}/*.so
  60. #{_libdir}/*.a
  61. #{_libdir}/*.la
  62. %changelog
  63. * Thu Apr 28 2011 Shu KONNO <owa@bg.wakwak.com> 2.4.4-2
  64. - rebuilt
  65. * Sun Jun 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-1
  66. - new upstream release
  67. - spec in UTF-8
  68. * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-1
  69. - applied new versioning policy
  70. * Sat Mar 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl1
  71. - new upstream release
  72. - updated url
  73. - fixed typo of kanji(ChaSen)
  74. - added %%{post,postun}
  75. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0-0vl1
  76. - new upstream release
  77. - rebuilt with new toolchain
  78. * Mon Dec 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.3-0vl3
  79. - added Japanese summary
  80. - changed Group:
  81. * Tue May 25 2004 Satoshi MACHINO <machino@vinelinux.org> 2.3.3-0vl2
  82. - added BuildPrereq and Requires
  83. * Mon May 10 2004 Satoshi MACHINO <machino@vinelinux.org> 2.3.3-0vl1
  84. - intilal release