]> git.pld-linux.org Git - packages/vcsh.git/commitdiff
Subpackage zsh completion routines
authorCaleb Maclennan <caleb@pld-linux.org>
Thu, 16 May 2013 11:34:18 +0000 (14:34 +0300)
committerCaleb Maclennan <caleb@pld-linux.org>
Thu, 16 May 2013 11:34:18 +0000 (14:34 +0300)
vcsh.spec

index 5406b807e6a4bf2a210d7cc1efd1f690f426249b..fa1b4dbd70167b84e4cd7f57d4864c0b154d8d0f 100644 (file)
--- a/vcsh.spec
+++ b/vcsh.spec
@@ -2,7 +2,7 @@
 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
@@ -13,12 +13,20 @@ Requires:   mr
 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
@@ -38,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
 %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}
This page took 0.090761 seconds and 4 git commands to generate.