# Generated from net-ssh-2.2.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name net-ssh Name: rubygem-%{gem_name} Version: 5.2.0 Release: 1%{?dist} Summary: Net::SSH: a pure-Ruby implementation of the SSH2 client protocol License: MIT URL: https://github.com/net-ssh/net-ssh Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/net-ssh/net-ssh.git && cd net-ssh # git checkout v5.2.0 && tar cJvf net-ssh-5.2.0-tests.tar.xz test/ Source1: %{gem_name}-%{version}-tests.tar.xz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(minitest) BuildRequires: rubygem(mocha) BuildArch: noarch %description Net::SSH: a pure-Ruby implementation of the SSH2 client protocol. It allows you to write programs that invoke and interact with processes on remote servers, via SSH2. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %gemspec_add_dep -g openssl %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} tar xvf %{SOURCE1} # ed25519 is not yet in Fedora. # Logger used to be loaded by some dependency (probably RDoc?) # but it it not loaded anymore, so require it explicitly. NET_SSH_NO_ED25519=true \ ruby -Ilib:test -rlogger test/test_all.rb popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.txt %{gem_libdir} %exclude %{gem_instdir}/setup.rb %{gem_instdir}/support %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGES.txt %{gem_instdir}/Gemfile* %doc %{gem_instdir}/ISSUE_TEMPLATE.md %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Manifest %doc %{gem_instdir}/THANKS.txt %{gem_instdir}/appveyor.yml %{gem_instdir}/Rakefile # Required to run tests %{gem_instdir}/net-ssh.gemspec %exclude %{gem_instdir}/net-ssh-public_cert.pem %changelog * Fri Feb 07 2020 Pavel Valena - 5.2.0-1 - Update to net-ssh 5.2.0. * Fri Jul 26 2019 Fedora Release Engineering - 5.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 14 2019 Pavel Valena - 5.1.0-1 - Update to net-ssh 5.1.0. * Sat Feb 02 2019 Fedora Release Engineering - 5.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Sep 24 2018 pvalena - 5.0.2-1 - Update to net-ssh 5.0.2. * Sat Jul 14 2018 Fedora Release Engineering - 4.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Apr 03 2018 Vít Ondruch - 4.2.0-2 - Require Logger to fix FTBFS. * Wed Jan 31 2018 Pavel Valena - 4.2.0-1 - Update to Net::SSH 4.2.0. * Thu Jul 27 2017 Fedora Release Engineering - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 24 2017 Vít Ondruch - 4.1.0-1 - Update to Net::SSH 4.1.0. * Mon Feb 06 2017 Vít Ondruch - 3.2.0-3 - Add dependency on OpenSSL, which was gemified in Ruby 2.4. * Mon Feb 06 2017 Vít Ondruch - 3.2.0-2 - Fix Ruby 2.4 compatibility. * Fri Jul 29 2016 Vít Ondruch - 3.2.0-1 - Update to Net::SSH 3.2.0. * Thu Feb 04 2016 Fedora Release Engineering - 2.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jul 03 2014 Vít Ondruch - 2.9.1-1 - Update to net-ssh 2.9.1. * Sun Jun 08 2014 Fedora Release Engineering - 2.6.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 2.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Mar 08 2013 Vít Ondruch - 2.6.6-1 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 - Update to net-ssh 2.6.6. * Thu Feb 14 2013 Fedora Release Engineering - 2.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 2.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jan 31 2012 Bohuslav Kabrda - 2.2.1-3 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Dec 04 2011 Shreyank Gupta - 2.2.1-1 - Updated to version 2.2.1-1 * Wed Feb 09 2011 Fedora Release Engineering - 2.0.23-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Aug 24 2010 Adam Tkac - 2.0.23-5 - rebuild to ensure F14 has higher NVR than F13 * Fri Jun 11 2010 Shreyank Gupta - 2.0.23-4 - Bring back the BR: rubygem(rake) and rake test * Thu Jun 10 2010 Shreyank Gupta - 2.0.23-3 - test command from test/README.txt - Remove gem "test-unit" line - Removed Requires rubygem(rake) - BuildRequires/Requires: rubygem(mocha) for tests * Thu Jun 10 2010 Shreyank Gupta - 2.0.23-2 - Using %%exclude for setup.rb - Keeping net-ssh.gemspec for tests - Moved file-not-utf8 correction to before %%check section * Wed Jun 09 2010 Shreyank Gupta - 2.0.23-1 - Initial package