Summary: Provisioning and deployment of virtual instances
Name: vagrant
Version: 1.1.2
-Release: 0.13
+Release: 0.15
License: MIT
Group: Applications/Emulators
URL: http://vagrantup.com/
work is ongoing to have Vagrant run identically on every major
consumer OS platform (Linux, Mac OS X, and Windows).
+%package -n bash-completion-%{name}
+Summary: bash-completion for %{name}
+Group: Applications/Shells
+Requires: %{name}
+Requires: bash-completion
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description -n bash-completion-%{name}
+bash-completion for %{name}.
+
%package guest
Summary: Vagrant guest
Group: Development/Building
ln -s %{_appdir}/bin/%{name} $RPM_BUILD_ROOT%{_bindir}
%endif
+install -d $RPM_BUILD_ROOT/etc/bash_completion.d
+mv $RPM_BUILD_ROOT{%{_appdir}/embedded/gems/gems/vagrant-%{version}/contrib/bash/completion.sh,/etc/bash_completion.d/%{name}.sh}
+
# guest
install -d $RPM_BUILD_ROOT{%{vg_root},%{vg_home}/.ssh}
cp -a /etc/skel/.bash* $RPM_BUILD_ROOT%{vg_home}
%{_appdir}
%endif
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+/etc/bash_completion.d/*
+
%files guest
%defattr(644,root,root,755)
%dir %attr(750,vagrant,vagrant) %{vg_home}