%global gem_name hashery %global rubyabi 1.9.1 Summary: Facets bread collection of Hash-like classes Name: rubygem-%{gem_name} Version: 1.4.0 Release: 5%{?dist} Group: Development/Languages License: ASL 2.0 and GPL+ and (GPLv2 or Ruby) URL: http://rubyworks.github.com/hashery Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(abi) = %{rubyabi} BuildRequires: rubygems-devel BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description The Hashery is a collection of Hash-like classes, spun-off from the original Ruby Facets library. Included are the widely used OrderedHash, the related but more featured Dictionary class, a number of open classes, similiar to the standard OpenStruct and a few variations on the standard Hash. %package doc Summary: Documentation for %{name} Group: Documentation Requires:%{name} = %{version}-%{release} %description doc Documentation for %{name} %prep %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} gem install --local --install-dir %{buildroot}%{gem_dir} \ --force --rdoc %{SOURCE0} %files %defattr(-, root, root, -) %dir %{gem_instdir} %{gem_libdir} %doc %{gem_instdir}/HISTORY.rdoc %doc %{gem_instdir}/LICENSE %doc %{gem_instdir}/NOTICE %doc %{gem_instdir}/README.rdoc %{gem_cache} %{gem_spec} %files doc %defattr(-, root, root, -) %{gem_instdir}/test %{gem_instdir}/qed %{gem_instdir}/.ruby %{gem_docdir} %changelog * Thu Feb 02 2012 Vít Ondruch - 1.4.0-5 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jan 20 2011 Marek Goldmann - 1.4.0-2 - Fixed files section * Thu Jan 20 2011 Marek Goldmann - 1.4.0-1 - Updated to new upstream release: 1.4.0 * Fri Nov 26 2010 Marek Goldmann - 1.3.0-3 - Added R: rubygem(facets) * Mon Nov 15 2010 Marek Goldmann - 1.3.0-2 - Updated license * Mon Nov 15 2010 Marek Goldmann - 1.3.0-1 - Initial package