xmlrpc4r-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %define over 1_7_4
  2. %define dver %(echo %{over} | sed -e s/_/./g)
  3. %define rblibdir %(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
  4. Name: xmlrpc4r
  5. Version: %{dver}
  6. Release: 0vl1
  7. Copyright: distributable
  8. Group: Development/Languages
  9. Source: http://www.fantasy-coders.de/ruby/xmlrpc4r/%{name}-%{over}.tar.gz
  10. Patch1: xmlrpc4r-1.7.3.install.rb.patch
  11. URL: http://www.fantasy-coders.de/ruby/xmlrpc4r/index.html
  12. Prefix: /usr
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildPreReq: ruby, ruby-devel >= 1.6.4-0vl3
  16. Requires: nqxml
  17. Summary: XML-RPC support for Ruby
  18. Summary(ja): Ruby用のXML-RPCライブラリ
  19. %description
  20. XML-RPC provides remote procedure calls over HTTP with XML. It is
  21. like SOAP but much easier. For more information see the XML-RPC
  22. homepage <URL:http:// www.xmlrpc.com/>. This package provides XML-RPC
  23. support for Ruby.
  24. Note: The package also can be used with ruby-xmlparser.
  25. %description -l ja
  26. XML-RPCはHTTP上でXMLを使ってリモードプロシジャコールを可能とするもので,
  27. SOAPに似ていますがより簡単です.XML-RPCについての詳しい情報はXML-RPCの
  28. ホームページ<URL:http:// www.xmlrpc.com/>で参照できます.このパッケー
  29. ジはRuby用のXML-RPCサポートライブラリです.
  30. なおこのライブラリはruby-xmlparserと組み合わせて使用することも可能です.
  31. %prep
  32. %setup -q -c
  33. cd %{name}-%{over}
  34. %patch1 -p1
  35. cd ..
  36. %build
  37. %install
  38. rm -rf ${RPM_BUILD_ROOT}
  39. mkdir -p ${RPM_BUILD_ROOT}%{rblibdir}
  40. cd %{name}-%{over}
  41. ruby install.rb ${RPM_BUILD_ROOT}
  42. cd ..
  43. (find \
  44. $RPM_BUILD_ROOT%{_libdir} \
  45. -type f -o -type l) |
  46. sort | sed -e "s,^$RPM_BUILD_ROOT,," > xmlrpc4r.files
  47. %clean
  48. rm -f xmlrpc4r.files
  49. rm -rf ${RPM_BUILD_ROOT}
  50. %pre
  51. %post
  52. %files -f xmlrpc4r.files
  53. %defattr(-, root, root)
  54. %doc %{name}-%{over}/ChangeLog
  55. %doc %{name}-%{over}/ToDo
  56. %doc %{name}-%{over}/README
  57. %doc %{name}-%{over}/doc
  58. %doc %{name}-%{over}/redist
  59. %doc %{name}-%{over}/samples
  60. %doc %{name}-%{over}/test
  61. %changelog
  62. * Tue Oct 23 2001 akira yamada <akira@vinelinux.org> 1.7.4-0vl1
  63. - new upstream version.
  64. * Sun Oct 14 2001 akira yamada <akira@vinelinux.org> 1.7.3-0vl1
  65. - Initial packaging.