# Generated from net-ssh-7.2.3.gem by gem2rpm -*- rpm-spec -*- %global gem_name net-ssh Name: rubygem-%{gem_name} Version: 7.2.3 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 BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.6 # BuildRequires: rubygem(bcrypt_pbkdf) >= 1.0 # BuildRequires: rubygem(bcrypt_pbkdf) < 2 # BuildRequires: rubygem(ed25519) >= 1.2 # BuildRequires: rubygem(ed25519) < 2 # BuildRequires: rubygem(x25519) # BuildRequires: rubygem(rbnacl) >= 7.1 # BuildRequires: rubygem(rbnacl) < 8 # BuildRequires: rubygem(base64) # BuildRequires: rubygem(minitest) >= 5.19 # BuildRequires: rubygem(minitest) < 6 # BuildRequires: rubygem(mocha) >= 2.1.0 # BuildRequires: rubygem(mocha) < 2.2 # BuildRequires: rubygem(rubocop) >= 1.28.0 # BuildRequires: rubygem(rubocop) < 1.29 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} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.rubocop_todo.yml %{gem_instdir}/CHANGES.txt %{gem_instdir}/DEVELOPMENT.md %{gem_instdir}/Dockerfile %{gem_instdir}/Dockerfile.openssl3 %{gem_instdir}/ISSUE_TEMPLATE.md %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/Manifest %{gem_instdir}/SECURITY.md %{gem_instdir}/THANKS.txt %{gem_instdir}/appveyor.yml %{gem_libdir} %{gem_instdir}/net-ssh-public_cert.pem %{gem_instdir}/support %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/.dockerignore %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.noed25519 %{gem_instdir}/Gemfile.norbnacl %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %doc %{gem_instdir}/docker-compose.yml %{gem_instdir}/net-ssh.gemspec %changelog * Tue Jul 16 2024 mockbuilder - 7.2.3-1 - Initial package