%define oname tokyocabinet Name: ruby-%{oname} Version: 1.29 Release: %mkrel 2 Summary: Tokyo Cabinet: a modern implementation of DBM License: LGPLv2.1 Group: Development/Ruby URL: http://tokyocabinet.sourceforge.net/ Source0: http://rubygems.org/gems/%{oname}-%{version}.gem BuildRequires: rubygems BuildRequires: ruby-devel BuildRequires: tokyocabinet-devel Requires: ruby(abi) = 1.8 %description Tokyo Cabinet is a library of routines for managing a database. The database is a simple data file containing records, each is a pair of a key and a value. Every key and value is serial bytes with variable length. Both binary data and character string can be used as a key and a value. There is neither concept of data tables nor data types. Records are organized in hash table, B+ tree, or fixed-length array. %prep %setup -q tar xmf data.tar.gz %build %gem_build %install %gem_install %files %{ruby_gemdir}/gems/%{oname}-%{version}/ %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec %{ruby_sitearchdir}/%{oname}.so %changelog * Sun Jan 22 2012 kamil <kamil> 1.29-2.mga2 + Revision: 199449 - rebuild against new tokyocabinet 1.4.47 - clean .spec * Thu Feb 10 2011 shikamaru <shikamaru> 1.29-1.mga1 + Revision: 49718 - fix file list - fix License - imported package ruby-tokyocabinet * Wed Feb 09 2011 Rémy Clouard <shikamaru@mandriva.org> - 1.29-1 - Initial package