ipadic-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #%define dict_dir %{_prefix}/lib/chasen/dic
  2. %define dict_dir %{_libdir}/chasen/dic
  3. Name: ipadic
  4. License: BSD, Other License(s), see package
  5. Group: Applications/Text
  6. Autoreqprov: on
  7. Version: 2.7.0
  8. Release: 1%{?_dist_release}
  9. #URL: http://chasen.aist-nara.ac.jp/
  10. URL: http://chasen-legacy.sourceforge.jp/
  11. Source0: ipadic-2.7.0.tar.gz
  12. Patch0: ipadic.patch
  13. #BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildPreReq: chasen-devel autoconf automake16
  16. Requires: chasen
  17. Summary: Standard Japanese dictionary for ChaSen
  18. %description
  19. Standard Japanese dictionary for ChaSen
  20. Authors:
  21. --------
  22. chasen@cl.aist-nara.ac.jp
  23. matsu@is.aist-nara.ac.jp
  24. masayu-a@is.aist-nara.ac.jp
  25. %prep
  26. %setup -q
  27. %patch0 -p 1
  28. %build
  29. %configure --with-chasenrc-path=/etc/chasenrc --with-dicdir=%{dict_dir}
  30. make
  31. %install
  32. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  33. mkdir -p $RPM_BUILD_ROOT/etc
  34. %makeinstall DESTDIR=$RPM_BUILD_ROOT
  35. rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
  36. %clean
  37. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  38. %files
  39. %defattr(-, root, root)
  40. %doc AUTHORS COPYING ChangeLog INSTALL* NEWS* README*
  41. %doc doc/*.pdf
  42. %config /etc/chasenrc
  43. %{dict_dir}/ipadic
  44. %changelog
  45. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.0-1vl5
  46. - applied new versioning policy
  47. * Sat Mar 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.0-0vl3
  48. - dropt 'BuildArch: noarch'
  49. - added configure option '--with-dicdir'
  50. - added macro 'dict_dir'
  51. - changed url
  52. * Mon Dec 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.0-0vl2
  53. - changed Group:
  54. * Mon May 10 2004 Satoshi MACHINO <machino@vinelinux.org> 2.7.0-0vl1
  55. - initial release