ruby-rica-vl.spec 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. %define version 0.9
  2. Summary: Ruby Internet relay Chat Agents (based on RFC1459)
  3. Name: ruby-rica
  4. Version: %{version}
  5. Release: 0vl1
  6. #License: Artistic
  7. Copyright: Artistic
  8. Group: Development/Libraries
  9. Source0: http://www.koka-in.org/~zophos/lib/rica/rica-%{version}.tar.bz2
  10. URL: http://www.koka-in.org/~zophos/SideA/lsnt/rica.html
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: ruby >= 1.6
  14. Prefix: /usr
  15. %define rubylibdir %{_libdir}/ruby/1.6
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. Rica is RFC1459 matched irc clients class library for Ruby 1.6.x.
  20. %prep
  21. rm -rf ${RPM_BUILD_DIR}/%{name}-%{version}
  22. %setup -q -n rica
  23. mkdir samples
  24. mv erica.rb samples
  25. mv erica.txt samples
  26. mv ricaco.rb samples
  27. %install
  28. mkdir -p ${RPM_BUILD_ROOT}%{rubylibdir}
  29. install -m 644 rica.rb ${RPM_BUILD_ROOT}%{rubylibdir}
  30. install -m 644 logholder.rb ${RPM_BUILD_ROOT}%{rubylibdir}
  31. install -m 644 ctcpresponder.rb ${RPM_BUILD_ROOT}%{rubylibdir}
  32. %clean
  33. rm -rf ${RPM_BUILD_ROOT}
  34. %files
  35. %defattr(-,root,root)
  36. %doc CHANGES COPYING README classes_and_methods.txt event.lst
  37. %doc rica-omt.png rica_classes.png samples
  38. %{rubylibdir}/rica.rb
  39. %{rubylibdir}/logholder.rb
  40. %{rubylibdir}/ctcpresponder.rb
  41. %changelog
  42. * Mon Oct 1 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  43. - 0.9-0vl1
  44. - first release for Vine Linux
  45. * Sat Sep 29 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  46. - 0.9-1
  47. - first release