# template: default %global gem_name net-scp Name: rubygem-%{gem_name} Version: 4.0.0 Release: 1%{?dist} Summary: A pure Ruby implementation of the SCP client protocol License: MIT URL: https://github.com/net-ssh/net-scp Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # start specfile generated dependencies Requires: ruby BuildRequires: ruby BuildRequires: rubygems-devel BuildArch: noarch # end specfile generated dependencies %description A pure Ruby implementation of the SCP client protocol. %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}/ %files %dir %{gem_instdir} %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE.txt %exclude %{gem_instdir}/Manifest %{gem_libdir} %exclude %{gem_instdir}/net-scp-public_cert.pem %exclude %{gem_instdir}/setup.rb %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGES.txt %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %exclude %{gem_instdir}/net-scp.gemspec %changelog * Sun Oct 23 2022 Foreman Packaging Automation 4.0.0-1 - Update to 4.0.0 * Fri Jul 22 2022 Foreman Packaging Automation 3.0.0-1 - Update to 3.0.0 * Thu Mar 11 2021 Eric D. Helms - 1.2.1-5 - Rebuild against rh-ruby27 * Wed Apr 08 2020 Zach Huntington-Meath - 1.2.1-4 - Bump release to build for el8 * Wed Sep 05 2018 Eric D. Helms - 1.2.1-3 - Rebuild for Rails 5.2 and Ruby 2.5 * Fri Jan 05 2018 Ewoud Kohl van Wijngaarden 1.2.1-2 - Final set of rebuilds (ericdhelms@gmail.com) - Use HTTPS URLs for github and rubygems (ewoud@kohlvanwijngaarden.nl) * Fri May 19 2017 Dominic Cleal 1.2.1-1 - Update net-scp to 1.2.1 (dominic@cleal.org) * Thu Apr 21 2016 Dominic Cleal 1.1.0-6 - Rebuild tfm against sclo-ror42 (dominic@cleal.org) * Tue Dec 22 2015 Dominic Cleal 1.1.0-5 - Update dependencies to ror SCL (dcleal@redhat.com) - Replace ruby(abi) for ruby22 rebuild (dcleal@redhat.com) - Fix build errors and modernise specs (dcleal@redhat.com) * Wed Aug 26 2015 Dominic Cleal 1.1.0-4 - Converted to tfm SCL (dcleal@redhat.com) * Thu Jul 04 2013 Dominic Cleal 1.1.0-3 - change ruby(abi) to ruby(release) for F19+ (dcleal@redhat.com) - delete all zero sized tito.props (msuchy@redhat.com) - with recent tito you do not need SCL meta package (msuchy@redhat.com) * Fri May 03 2013 Ivan Necas 1.1.0-2 - Net scp requires newer mocha for running tests (inecas@redhat.com) * Fri May 03 2013 Ivan Necas 1.1.0-1 - Update due to fog dependency (inecas@redhat.com) * Wed Mar 13 2013 Miroslav Suchý 1.0.4-6 - new package built with tito * Sat Jul 21 2012 Fedora Release Engineering - 1.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jan 31 2012 Bohuslav Kabrda - 1.0.4-4 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 1.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Mar 17 2011 Vít Ondruch - 1.0.4-2 - Removed obsolete cleanup. - Removed explicit requires. * Tue Feb 08 2011 Vít Ondruch - 1.0.4-1 - Initial package