Name: ruby-zoom Summary: Ruby/ZOOM provides a Ruby binding to the Z39.50 Object-Orientation Model (ZOOM) Version: 0.2.1 Release: 2.rcn.FC5 License: LGPL Group: Development/Tools URL: http://ruby-zoom.rubyforge.org Source0: %{name}-%{version}.tar.gz Packager: Raoul <> BuildRequires: ruby-devel, libyaz-devel Requires: ruby, yaz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Ruby/ZOOM provides a Ruby binding to the Z39.50 Object-Orientation Model (ZOOM), an abstract object-oriented programming interface to a subset of the services specified by the Z39.50 standard, also known as the international standard ISO 23950. This software is based (and therefore depends) on YAZ, a free-software implementation of the Z39.50/SRW/SRU standards, but could be easily ported to any ZOOM compliant implementation. Ruby/ZOOM is free-software, covered by the GNU Lesser General Public License and provided without any warranties of any kind. # [ 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 extconf.rb %{__make} %install %{__rm} -fr %{buildroot} make install DESTDIR=%{buildroot} %clean %{__rm} -fr %{buildroot} %files %defattr(0755, root, root, 0755) %{ruby_libdir}/marc.rb %{ruby_archdir}/zoom.so %doc ChangeLog doc README sample %changelog * Sun May 21 2006 Leeksoup <> - 0.6.1-2 - Updated by Leeksoup * Tue Oct 11 2005 Raoul <> - 0.2.1-1 - Initial Package