Name: ruby-amazon Summary: Ruby language library that allows the programmer to retrieve information from Amazon Web Services. Version: 0.9.0 Release: 2.rcn.FC5 License: GPL Group: Development/Tools URL: http://www.caliban.org/ruby/ruby-amazon.shtml Source0: %{name}-%{version}.tar.gz Packager: Raoul <> BuildRequires: ruby-devel >= 1.8.0 Requires: ruby >= 1.8.0 #BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Ruby/Amazon is a Ruby language library that allows the programmer to retrieve information from the popular Amazon Web site via Amazon Web Services. In addition to the original amazon.com site, amazon.co.uk, amazon.de, amazon.fr, amazon.ca and amazon.co.jp are also supported. This library is still in development, but already supports the vast majority of the AWS v3 API. All forms of product search are implemented, along with the transaction API and the remote shopping-cart API. # [ BEGIN Stolen from some mailing list ] # RUBY PATHS DEFINITION %{expand:%%define ruby_libdir %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")} %{expand:%%define ruby_archdir %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")} # [ END Stolen from some mailing list ] %prep %setup -q -n %{name}-%{version} %build ruby setup.rb config \ --prefix=%{_prefix} ruby setup.rb setup %install %{__rm} -fr %{buildroot} ruby setup.rb install \ --prefix=%{buildroot} %clean %{__rm} -fr %{buildroot} %files %defattr(0755, root, root, 0755) %{ruby_libdir}/amazon.rb %{ruby_libdir}/amazon %doc COPYING example INSTALL NEWS README README.rdoc TODO %changelog * Sun May 21 2006 Leeksoup <> - 0.6.1-2 - Updated by Leeksoup * Tue Oct 11 2005 Raoul <> - 0.9.0-1 - Initial Package