obaq-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. %define ruby /usr/bin/ruby
  2. %define rlibdir %(%{ruby} -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
  3. Summary: Object oriented framework for BAtch and Queue processing
  4. Name: obaq
  5. Version: 0.6.1
  6. Release: 1%{?_dist_release}
  7. License: GPL
  8. Group: Development/Languages
  9. Source0: http://www.brain-tokyo.jp/~research/koutetu/obaq/%{name}-%{version}.tar.gz
  10. Patch0: obaq-0.6.1-ruby186.diff
  11. URL: http://www.brain-tokyo.jp/~research/koutetu/
  12. Prefix: /usr
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: ruby ruby-devel
  16. Requires: ruby >= 1.8.1
  17. %description
  18. Object oriented framework for BAtch and Queue processing - OBAQ provides
  19. some features:
  20. * to generate HTML texts by using Ruby.
  21. * logging facility like log4j.
  22. * SQL wrappers for PostgreSQL.
  23. * to add options to objects by using outer rc-files.
  24. * environmental acquisition.
  25. %prep
  26. %setup -q
  27. %patch0 -p0 -b .ruby18
  28. %build
  29. %install
  30. rm -rf ${RPM_BUILD_ROOT}
  31. mkdir -p ${RPM_BUILD_ROOT}%{rlibdir}
  32. # installing binaries ...
  33. make install \
  34. PREFIX=${RPM_BUILD_ROOT}%{_prefix} \
  35. SITE_DIR=${RPM_BUILD_ROOT}%{rlibdir}
  36. %clean
  37. rm -rf ${RPM_BUILD_ROOT}
  38. %files
  39. %defattr(-, root, root)
  40. %{_bindir}/html2obaq
  41. %{_bindir}/obaqsql
  42. %{_bindir}/obaq
  43. %{rlibdir}/obaq
  44. %doc ChangeLog
  45. %doc test
  46. %doc sample
  47. %changelog
  48. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.1-1vl5
  49. - applied new versioning policy
  50. * Sun Apr 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.1-0vl4
  51. - update patch0 for ruby-1.8.6
  52. * Fri Mar 5 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.1-0vl3
  53. - add patch0 to support ruby-1.8
  54. * Sun Feb 15 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.1-0vl2
  55. - rebuild with ruby-1.8.1
  56. * Sun Jun 16 2002 akira yamada <akira@vinelinux.org> 0.6.1-0vl1
  57. - Initial packaging.