%define oname pry Name: ruby-%{oname} Epoch: 1 Version: 0.9.10 Release: %mkrel 3 Summary: An IRB alternative and runtime developer console License: Ruby License and MIT Group: Development/Ruby URL: http://rubyforge.org/projects/text-format/ Source0: http://rubygems.org/gems/%{oname}-%{version}.gem BuildRequires: rubygems BuildArch: noarch %description Pry is a powerful alternative to the standard IRB shell for Ruby. It is written from scratch to provide a number of advanced features. Pry also aims to be more than an IRB replacement; it is an attempt to bring REPL driven programming to the Ruby language. It is currently not as powerful as tools like SLIME for lisp, but that is the general direction Pry is heading. #------------------------------------------------------------------------------- %package doc Summary: Documentation for %{name} Group: Development/Ruby Requires: %{name} = %{epoch}:%{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 %{_bindir}/pry %dir %{ruby_gemdir}/gems/%{oname}-%{version}/ %{ruby_gemdir}/gems/%{oname}-%{version}/bin %{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:0.9.10-3.mga3 + Revision: 396279 - Rebuild for CVE-2013-0256 * Mon Jan 14 2013 umeabot <umeabot> 1:0.9.10-2.mga3 + Revision: 381255 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Nov 05 2012 shlomif <shlomif> 1:0.9.10-1.mga3 + Revision: 314364 - Importing the ruby-pry pkg based on the Mga ruby-text-hyphen