eblook-vl.spec 2.6 KB

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