Summary: home directory config manager based on git
Name: vcsh
Version: 1.2
-Release: 0.2
+Release: 0.3
License: GPL v2
Group: Applications/Console
Source0: https://github.com/RichiH/vcsh/archive/v%{version}-%{dotversion}.tar.gz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-vcsh allows you to have several git repositories, all maintaining
+%{name} allows you to have several git repositories, all maintaining
their working trees in $HOME without clobbering each other. That, in
turn, means you can have one repository per config set (zsh, vim, ssh,
etc), picking and choosing which configs you want to use on which
machine.
+%package zsh-completions
+Summary: zsh shell completion routines for %{name}
+Group: Applications/Console
+Requires: zsh
+
+%description zsh-completions
+Tab completion routines for %{name} in zsh.
+
%prep
%setup -q -n %{name}-%{version}-%{dotversion}
%patch0 -p0
%files
%defattr(644,root,root,755)
#%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/zsh/site-functions/_%{name}
+%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
+
+%files zsh-completions
+%defattr(644,root,root,755)
+%{_datadir}/zsh/site-functions/_%{name}