%define oname net-sftp Name: ruby-%{oname} Version: 2.0.5 Release: %mkrel 4 Summary: A pure Ruby implementation of the SFTP client protocol License: MIT Group: Development/Ruby URL: http://net-ssh.rubyforge.org/sftp Source0: http://rubygems.org/gems/%{oname}-%{version}.gem BuildRequires: rubygems BuildArch: noarch %description A pure Ruby implementation of the SFTP client protocol %files %dir %{ruby_gemdir}/gems/%{oname}-%{version}/ %{ruby_gemdir}/gems/%{oname}-%{version}/lib %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec #------------------------------------------------------------------------------- %package doc Summary: Documentation for %{name} Group: Development/Ruby Requires: %{name} = %{version}-%{release} %description doc Documents, Rdoc & RI documentation for %{name}. %files doc %doc %{ruby_gemdir}/doc/%{oname}-%{version} %doc %{ruby_gemdir}/gems/%{oname}-%{version}/CHANGELOG.rdoc %doc %{ruby_gemdir}/gems/%{oname}-%{version}/README.rdoc #------------------------------------------------------------------------------- %prep %setup -q tar xmf data.tar.gz %build %gem_build %install %gem_install %changelog * Fri Feb 08 2013 umeabot <umeabot> 2.0.5-4.mga3 + Revision: 396216 - Rebuild for CVE-2013-0256 * Mon Jan 14 2013 umeabot <umeabot> 2.0.5-3.mga3 + Revision: 381134 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Nov 03 2012 fwang <fwang> 2.0.5-2.mga3 + Revision: 313420 - rebuild for new ruby * Sat Feb 19 2011 shikamaru <shikamaru> 2.0.5-1.mga1 + Revision: 54116 - imported package ruby-net-sftp