eblook-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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: 2%{?_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. * Wed Jul 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-2
  51. - rebuilt with eb-4.4.1
  52. - changed Group to Applications/Accessories
  53. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-1vl5
  54. - applied new versioning policy, spec in utf-8
  55. * Thu Dec 13 2007 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl3
  56. - rebuild with eb-4.3
  57. * Fri Oct 22 2004 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl2
  58. - add Japanese summary and description
  59. * Mon Jul 12 2004 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl1
  60. - new upstream release
  61. - build with eb-4.1
  62. * Tue May 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.6-0vl1
  63. - new upstream release
  64. * Sun Mar 16 2003 IWAI Masaharu <iwai@alib.jp> 1.5.1-0vl2
  65. - rebuild
  66. * Fri Jun 21 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.5.1-0vl1
  67. - upstream release
  68. * Tue Jan 22 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  69. - first release for Vine Linux