# Generated from landrush-1.3.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name landrush Name: rubygem-%{gem_name} Version: 1.3.2 Release: 1%{?dist} Summary: a vagrant plugin providing consistent DNS visible on host and guests License: MIT URL: https://github.com/vagrant-landrush/landrush Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch %description Forget about IPs in Vagrant - Automated DNS for your VMs This Vagrant plugin spins up a lightweight DNS server and makes it visible to your guests and your host, so that you can easily access all your machines without having to fiddle with IP addresses. DNS records are automatically added and removed as machines are brought up and down, and you can configure static entries to be returned from the server as well. See the README for more documentation. %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} # Run the test suite. popd %files %dir %{gem_instdir} %{gem_instdir}/.config %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.rubocop_todo.yml %exclude %{gem_instdir}/.travis.yml %{gem_instdir}/Guardfile %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/appveyor.yml %{gem_libdir} %{gem_instdir}/scripts %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.adoc %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.adoc %{gem_instdir}/Rakefile %doc %{gem_instdir}/doc %{gem_instdir}/features %{gem_instdir}/landrush.gemspec %{gem_instdir}/test %changelog * Mon Sep 13 2021 mockbuilder - 1.3.2-1 - Initial package