xdic-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Summary: CD-ROM dictionary search for X
  2. Name: xdic
  3. Version: 1.1
  4. Release: 9%{?_dist_release}
  5. Group: Applications/Productivity
  6. Source: http://seki.math.sci.hokudai.ac.jp:20080/factory/xdic-1.1.tgz
  7. # vine patch
  8. Patch: xdic-1.1-readline.patch
  9. Patch1: xdic-1.1-less.patch
  10. Obsoletes: dic
  11. License: unknown
  12. Buildroot: %{_tmppath}/%{name}-root
  13. Summary(ja): CD-ROM 辞書検索プログラム
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. CD-ROM dictionary search tool for X based on dic.
  18. %description -l ja
  19. xdicはCD-ROM辞書検索プログラムのdicをX Window Systemのクライアント
  20. に改造したものです。dicの機能に加えて、外字の表示、白黒画像表示、
  21. ルビ、添字、強調表示、関連語検索、ヒストリ機能、Xのセレクション対応、
  22. 等が強化されています.
  23. dic コマンドに関してもヒストリ機能を追加しています.
  24. %prep
  25. rm -rf $RPM_BUILD_ROOT
  26. %setup
  27. %patch -p1
  28. %patch1 -p1
  29. %build
  30. xmkmf -a
  31. make xdic
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make DESTDIR="$RPM_BUILD_ROOT" install
  35. make clean
  36. cp Imakefile.dic Imakefile
  37. xmkmf -a
  38. make dic
  39. cp doc_dic/dic.man .
  40. make DESTDIR="$RPM_BUILD_ROOT" install
  41. make DESTDIR="$RPM_BUILD_ROOT" MANPATH=%{_mandir} install.man
  42. #prepare docs
  43. rm doc_dic/{makefile*,dic.*}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root)
  48. %doc README* doc_dic/
  49. %{_bindir}/*
  50. %{_mandir}/man1/*
  51. %changelog
  52. * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-9vl5
  53. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  54. * Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.1-8vl5
  55. - applied new versioning policy, spec in utf-8
  56. * Sun Apr 23 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-7vl2
  57. - rebuild with readline-5.1
  58. - s/Copyright/License/
  59. * Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1-7vl1
  60. - rebuild with readline-4.3
  61. * Fri Jun 29 2001 Jun Nishii <jun@vinelinux.org> 1.1-7
  62. - try readline patch
  63. - use less instead of more
  64. * Wed Dec 20 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  65. - 1.1-6
  66. - rebuilt with ncurses5
  67. * Thu Jun 1 2000 Jun Nishii <jun@vinelinux.org>
  68. - move man to ja from ja_JP.ujis
  69. * Sun Jan 9 2000 Jun Nishii <jun@vinelinux.org>
  70. - added %defattr
  71. * Fri Dec 24 1999 Jun Nishii <jun@vinelinux.org>
  72. - change group
  73. * Thu Nov 18 1999 Jun NISHII <jun@vinelinux.org>
  74. - 1.1-2
  75. - added dic
  76. * Thu Nov 18 1999 Jun NISHII <jun@vinelinux.org>
  77. - added Japanese Summary and description
  78. - updated to 1.1
  79. * Sat Dec 26 1998 Hideya Hane <pje@linux.or.jp>
  80. - Initial Release