# Generated from vagrant-scp-0.5.9.gem by gem2rpm -*- rpm-spec -*- %global vagrant_plugin_name vagrant-scp Name: %{vagrant_plugin_name} Version: 0.5.9 Release: 1%{?dist} Summary: Copy files to a Vagrant VM via SCP License: MIT URL: https://github.com/invernizzi/vagrant-scp Source0: https://rubygems.org/gems/%{vagrant_plugin_name}-%{version}.gem Requires: vagrant BuildRequires: vagrant BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(rdoc) BuildArch: noarch Provides: vagrant(%{vagrant_plugin_name}) = %{version} %description Copy files to a Vagrant VM via SCP. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{vagrant_plugin_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{vagrant_plugin_name}-%{version}.gemspec # %%vagrant_plugin_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 %vagrant_plugin_install %install mkdir -p %{buildroot}%{vagrant_plugin_dir} cp -a .%{vagrant_plugin_dir}/* \ %{buildroot}%{vagrant_plugin_dir}/ %files %dir %{vagrant_plugin_instdir} %exclude %{vagrant_plugin_instdir}/.gitignore %license %{vagrant_plugin_instdir}/LICENSE.txt %{vagrant_plugin_libdir} %exclude %{vagrant_plugin_instdir}/publish_gem.sh %exclude %{vagrant_plugin_cache} %{vagrant_plugin_spec} %files doc %doc %{vagrant_plugin_docdir} %{vagrant_plugin_instdir}/Gemfile %doc %{vagrant_plugin_instdir}/README.md %{vagrant_plugin_instdir}/Rakefile %{vagrant_plugin_instdir}/vagrant-scp.gemspec %changelog * Fri Oct 07 2022 Evgeni Golov - 0.5.9-1 - Initial package