Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > aeb6a08c0fc6e3057dc4efbfcebe6f4f > files > 3

ruby-pry-debugger-0.2.0-3.mga3.src.rpm

%define oname   pry-debugger

Name:       ruby-%{oname}
Epoch:      1
Version:    0.2.0
Release:    %mkrel 3
Summary:    Combine pry with debugger
License:    Ruby License and MIT
Group:      Development/Ruby
URL:        http://rubyforge.org/projects/text-format/
Source0:    http://rubygems.org/gems/%{oname}-%{version}.gem
Patch1:     ruby-pry-debugger-to-git.diff
BuildRequires: rubygems
BuildArch:  noarch

%description
Adds 'step', 'next', and 'continue' commands to control execution to pry.

#-------------------------------------------------------------------------------
%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
%patch1 -p1
gunzip metadata.gz
perl -0777 -i.bak -lpe 's/^(\s*name: debugger.*?^ *version: )1\.1\.3/${1}1.2.0/ms' metadata
gzip metadata

%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:0.2.0-3.mga3
+ Revision: 396283
- Rebuild for CVE-2013-0256

* Mon Jan 14 2013 umeabot <umeabot> 1:0.2.0-2.mga3
+ Revision: 381260
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Nov 05 2012 shlomif <shlomif> 1:0.2.0-1.mga3
+ Revision: 314442
- Got to install by applying a patch and editing metadata.gz.
- Importing the ruby-pry-debugger pkg based on Mga ruby-pry