ruby-eb-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define rarchdir %(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]')
  2. %define src_name rubyeb
  3. Summary: Ruby extention library to use EB
  4. Summary(ja): Ruby から EB を使うための拡張ライブラリ
  5. Name: ruby-eb
  6. Version: 2.6
  7. Release: 2%{?_dist_release}
  8. License: GPL
  9. Group: Development/Libraries
  10. Source: http://rubyeb.sourceforge.net/%{src_name}-%{version}.tar.gz
  11. URL: http://rubyeb.sourceforge.net/index-ja.html
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: eb-devel >= 3.3
  14. BuildRequires: ruby
  15. BuildRequires: ruby-devel
  16. Requires: ruby
  17. %description
  18. Ruby extention library to use EB for accessing CD-ROM books(EPWING/EB etc...)
  19. %description -l ja
  20. Ruby から EB を使うための拡張ライブラリです。
  21. %prep
  22. %setup -q -n %{src_name}-%{version}
  23. %build
  24. ruby extconf.rb
  25. CFLAGS=${RPM_OPT_FLAGS} make
  26. %install
  27. rm -rf ${RPM_BUILD_ROOT}
  28. #make DESTDIR=${RPM_BUILD_ROOT} install
  29. make RUBYARCHDIR=${RPM_BUILD_ROOT}%{rarchdir} install
  30. %clean
  31. rm -rf ${RPM_BUILD_ROOT}
  32. %files
  33. %defattr(-,root,root)
  34. %{rarchdir}/eb.so
  35. %doc COPYING ChangeLog eb.html hook2.rb test.rb
  36. %changelog
  37. * Wed Jul 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6-2
  38. - rebuilt with eb-4.4.1
  39. * Sat Nov 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6-1vl5
  40. - applied new versioning policy
  41. - spec in UTF-8
  42. * Sat Jan 12 2008 Shu KONNO <owa@bg.wakwak.com> 2.6-0vl2
  43. - rebuilt with eb-4.3
  44. * Fri Jul 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6-0vl1
  45. - new upstream release
  46. - build with ruby-1.8.4
  47. - changed Group to Development/Languages
  48. * Wed Oct 08 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.3-0vl1
  49. - new upstream release
  50. - build with ruby-1.8.0
  51. - change 'DESTDIR' to 'RUBYARCHDIR' for directing install directory
  52. * Mon Mar 24 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 2.2-0vl1
  53. - version up to 2.2
  54. * Sat Jul 13 2002 UECHI Yasumasa <uh@u.dhis.portside.net>
  55. - 1.7-0vl1
  56. - build with eb-devel-3.2.2-3vl2
  57. * Thu Nov 15 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  58. - 1.6-0vl3
  59. - build with eb-devel-3.1-3vl1
  60. * Fri Jul 27 2001 UECHI Yasumasa <uh@u.dhis.portside.net>
  61. - 1.6-0vl2
  62. - add ruby and ruby-devl>=1.6.4-0vl3 to BuildPreReq
  63. - use Config::CONFIG["archdir"] for eb.so path in files section
  64. * Sat Jun 23 2001 Uechi Yasumasa <uh@u.dhis.portside.net>
  65. - 1.5-0vl2
  66. - Require: eb-devel --> BuildPreReq: eb-devel
  67. * Fri Jun 22 2001 Uechi Yasumasa <uh@u.dhis.portside.net>
  68. - 1.5-0vl1
  69. - version up to 1.5
  70. - patch for EB 3.0
  71. * Fri Sep 29 2000 dellin <dellin_geo@geocities.co.jp>
  72. - Re-make for 1.6.x.
  73. * Mon Jun 26 2000 dellin <dellin_geo@geocities.co.jp>
  74. - 1st release.