eblook-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Summary: Command-line EB and EPWING dictionary search program
  2. Summary(ja): コマンドラインでの EB と EPWING 辞書の検索プログラム
  3. Name: eblook
  4. Version: 1.6.1
  5. Release: 3%{?_dist_release}
  6. URL: http://openlab.ring.gr.jp/edict/eblook/
  7. Source0: http://openlab.ring.gr.jp/edict/eblook/dist/%{name}-%{version}.tar.gz
  8. License: GPLv2
  9. Group: Applications/Accessories
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: eb-devel >= 3.0.1
  12. Requires: eb >= 3.0.1
  13. Requires(post): /sbin/install-info
  14. Requires(preun): /sbin/install-info
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: inagaki
  18. %description
  19. Command-line EB and EPWING dictionary search program.
  20. %description -l ja
  21. コマンドラインでの EB と EPWING 辞書の検索プログラム
  22. %prep
  23. %setup -q
  24. %build
  25. %configure --with-eb-conf=%{_sysconfdir}/eb.conf
  26. make
  27. %install
  28. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  29. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  30. mkdir -p $RPM_BUILD_ROOT%{_infodir}
  31. #touch %{buildroot}%{_infodir}/dir
  32. install -m 0755 eblook %{buildroot}%{_bindir}
  33. install -m 0644 eblook.info %{buildroot}%{_infodir}
  34. %clean
  35. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  36. %post
  37. /sbin/install-info %{_infodir}/eblook.info* %{_infodir}/dir \
  38. --section="CD-ROM Book Utilities"
  39. %preun
  40. if [ $1 = 0 ] ;then
  41. /sbin/install-info %{_infodir}/eblook.info* %{_infodir}/dir \
  42. --section="CD-ROM Book Utilities"
  43. fi
  44. %files
  45. %defattr(-,root,root)
  46. %doc AUTHORS COPYING ChangeLog NEWS README
  47. %{_bindir}/eblook
  48. %{_infodir}/eblook.info*
  49. %changelog
  50. * Sun Jan 2 2011 IWAI, Masaharu <iwai@alib.jp> 1.6.1-3
  51. - build with eb 4.4.3
  52. * Wed Jul 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-2
  53. - rebuilt with eb-4.4.1
  54. - changed Group to Applications/Accessories
  55. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-1vl5
  56. - applied new versioning policy, spec in utf-8
  57. * Thu Dec 13 2007 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl3
  58. - rebuild with eb-4.3
  59. * Fri Oct 22 2004 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl2
  60. - add Japanese summary and description
  61. * Mon Jul 12 2004 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl1
  62. - new upstream release
  63. - build with eb-4.1
  64. * Tue May 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.6-0vl1
  65. - new upstream release
  66. * Sun Mar 16 2003 IWAI Masaharu <iwai@alib.jp> 1.5.1-0vl2
  67. - rebuild
  68. * Fri Jun 21 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.5.1-0vl1
  69. - upstream release
  70. * Tue Jan 22 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  71. - first release for Vine Linux