%global gem_name hashery %global rubyabi 1.9.1 Summary: Facets bread collection of Hash-like classes Name: rubygem-%{gem_name} Version: 2.0.0 Release: 3%{?dist} Group: Development/Languages # https://github.com/rubyworks/hashery/issues/11 License: MIT 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 mkdir -p %{buildroot}%{gem_dir} gem install --local --install-dir %{buildroot}%{gem_dir} \ --force --rdoc %{SOURCE0} %files %dir %{gem_instdir} %{gem_libdir} %doc %{gem_instdir}/HISTORY.rdoc %doc %{gem_instdir}/LICENSE.txt %doc %{gem_instdir}/NOTICE.txt %doc %{gem_instdir}/README.rdoc %{gem_cache} %{gem_spec} %files doc %{gem_instdir}/test %{gem_instdir}/.ruby %{gem_instdir}/.yardopts %{gem_instdir}/Config.rb %{gem_docdir} %doc %{gem_instdir}/DEMO.rdoc %doc %{gem_instdir}/LICENSE.txt %doc %{gem_instdir}/NOTICE.txt %changelog * Thu Feb 14 2013 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 26 2012 Marek Goldmann - 2.0.0-1 - Upstream release 2.0.0 - License clarification, RHBZ#787167 - Spec cleanup * 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