rss-ruby-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #%%define rlibdir ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]'
  2. Summary: RSS(RDF Site Summary) library for Ruby
  3. Name: rss-ruby
  4. Version: 0.9.1
  5. Release: 0vl2
  6. License: Ruby's
  7. Group: Development/Libraries
  8. Source0: http://www.chadfowler.com/ruby/rss/rss-ruby-%{version}.tar.gz
  9. URL: http://www.chadfowler.com/ruby/rss/
  10. BuildArch: noarch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: ruby-xmlparser, drb >= 1.2.2, ruby >= 1.6.2, ruby-uconv
  13. BuildRequires: ruby, rpm >= 3.0.6-0vl16
  14. Prefix: /usr
  15. Patch0: http://everybody.good-day.net/~iwai/patch/rss-ruby-0.9.1_description.patch
  16. Patch1: http://everybody.good-day.net/~iwai/patch/rss-ruby-0.9.1_silent.patch
  17. %description
  18. This library provides and object oriented interface for the RSS
  19. (http://http://my.netscape.com/publish/help/mnn20/quickstart.html) xml format.
  20. It currently supports RSS 0.91. Aside from RSS parsing and creation code,
  21. classes are provided for downloading and caching existing RSS content via HTTP
  22. and (very basically) providing a distributed Ruby interface to this content.
  23. %prep
  24. rm -rf ${RPM_BUILD_DIR}/%{name}-%{version}
  25. %setup -q
  26. %patch0 -p1 -b .description
  27. %patch1 -p1 -b .silent
  28. %install
  29. mkdir -p ${RPM_BUILD_ROOT}%{rlibdir}
  30. install -m 644 *.rb ${RPM_BUILD_ROOT}%{rlibdir}
  31. %clean
  32. rm -rf ${RPM_BUILD_ROOT}
  33. %files
  34. %defattr(-,root,root)
  35. %doc README ChangeLog samples
  36. %{rlibdir}/*.rb
  37. %changelog
  38. * Wed Feb 6 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.9.1-0vl2
  39. - moved the directory installed the ruby library
  40. - sitelibdir -> rubylibdir
  41. - changed rpm version in BuildRequires: 3.0.6-0vl19 -> rpm-3.0.6-0vl16
  42. * Thu Jan 3 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.9.1-0vl1
  43. - first release for Vine Linux
  44. - added description.patch (Patch0)
  45. - added silent.patch (Patch1)