%define oname shoulda-matchers Name: ruby-%{oname} Version: 1.4.1 Release: %mkrel 3 Summary: Making tests easy on the fingers and eyes Group: Development/Ruby License: GPLv2 URL: http://thoughtbot.com/community/ Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem BuildRequires: rubygems BuildArch: noarch %description Making tests easy on the fingers and eyes. #------------------------------------------------------------------------------- %package doc Summary: Documentation for %{name} Group: Development/Ruby Requires: %{name} = %{version}-%{release} %description doc Documents, Rdoc & RI documentation for %{name}. #------------------------------------------------------------------------------- %prep %setup -q tar xmf data.tar.gz %build %gem_build %install %gem_install %files %dir %{ruby_gemdir}/gems/%{oname}-%{version}/ %{ruby_gemdir}/gems/%{oname}-%{version}/lib %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec %files doc %doc %{ruby_gemdir}/doc/%{oname}-%{version} %changelog * Fri Feb 08 2013 umeabot <umeabot> 1.4.1-3.mga3 + Revision: 396482 - Rebuild for CVE-2013-0256 * Mon Jan 14 2013 umeabot <umeabot> 1.4.1-2.mga3 + Revision: 381479 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Nov 04 2012 fwang <fwang> 1.4.1-1.mga3 + Revision: 313942 - imported package ruby-shoulda-matchers