eblook-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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: 5%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Accessories
  8. URL: http://openlab.ring.gr.jp/edict/eblook/
  9. Source0: http://openlab.ring.gr.jp/edict/eblook/dist/%{name}-%{version}.tar.gz
  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. install -m 0755 eblook $RPM_BUILD_ROOT%{_bindir}
  33. install -m 0644 eblook.info $RPM_BUILD_ROOT%{_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. * Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.6.1-5
  51. - rebuilt on current VineSeed
  52. * Thu Jan 24 2013 IWAI, Masaharu <iwai@alib.jp> 1.6.1-4
  53. - build with current VineSeed
  54. - add BuildRequires: zlib-devel
  55. * Sun Jan 2 2011 IWAI, Masaharu <iwai@alib.jp> 1.6.1-3
  56. - build with eb 4.4.3
  57. * Wed Jul 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-2
  58. - rebuilt with eb-4.4.1
  59. - changed Group to Applications/Accessories
  60. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 1.6.1-1vl5
  61. - applied new versioning policy, spec in utf-8
  62. * Thu Dec 13 2007 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl3
  63. - rebuild with eb-4.3
  64. * Fri Oct 22 2004 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl2
  65. - add Japanese summary and description
  66. * Mon Jul 12 2004 IWAI, Masaharu <iwai@alib.jp> 1.6.1-0vl1
  67. - new upstream release
  68. - build with eb-4.1
  69. * Tue May 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.6-0vl1
  70. - new upstream release
  71. * Sun Mar 16 2003 IWAI Masaharu <iwai@alib.jp> 1.5.1-0vl2
  72. - rebuild
  73. * Fri Jun 21 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.5.1-0vl1
  74. - upstream release
  75. * Tue Jan 22 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  76. - first release for Vine Linux