SPECS: git-core.spec - bash-completion and vim-syntax packages - t...
adamg
adamg at pld-linux.org
Sun Jun 24 17:41:36 CEST 2007
Author: adamg Date: Sun Jun 24 15:41:36 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- bash-completion and vim-syntax packages
- todo entry added (git-gui separation)
---- Files affected:
SPECS:
git-core.spec (1.72 -> 1.73)
---- Diffs:
================================================================
Index: SPECS/git-core.spec
diff -u SPECS/git-core.spec:1.72 SPECS/git-core.spec:1.73
--- SPECS/git-core.spec:1.72 Sun Jun 24 14:12:47 2007
+++ SPECS/git-core.spec Sun Jun 24 17:41:31 2007
@@ -1,4 +1,6 @@
# $Revision$, $Date$
+# ToDo:
+# - git-gui subpackage (depends on tk)
#
# Conditional build:
%bcond_without tests # don't perform make test
@@ -130,6 +132,18 @@
%description gitweb -l pl.UTF-8
Pakiet ten dostarcza interfejs WWW do przegl?dania repozytoriów git.
+%package -n bash-completion-git
+Summary: bash-completion for git
+Summary(pl.UTF-8): bashowe uzupe¿nianie nazw dla git
+Group: Applications/Shell
+Requires: bash-completion
+
+%description -n bash-completion-git
+This package provides bash-completion for git.
+
+%description -n bash-completion-git -l pl.UTF-8
+Pakiet ten dostarcza bashowego uzupe¿niania nazw dla git.
+
%package -n perl-Git
Summary: Perl interface to the Git version control system
Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git
@@ -152,6 +166,19 @@
nietrywialnych do wykonania przy użyciu ogólnego interfejsu
poleceń.
+%package -n vim-syntax-gitcommit
+Summary: Vim syntax: gitcommit
+Summary(pl.UTF-8): Sk¿adnia dla Vima: gitcommit
+Group: Applications/Editors/Vim
+# for _vimdatadir existence
+Requires: vim >= 4:6.3.058-3
+
+%description -n vim-syntax-gitcommit
+This plugin provides syntax highlighting for git's commit messages.
+
+%description -n vim-syntax-gitcommit -l pl.UTF-8
+Ta wtyczka dostarcza pod¿wietlanie sk¿adni dla tre¿ci commitów git.
+
%prep
%setup -q -n git-%{version}
@@ -177,6 +204,8 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_includedir}/%{name}/xdiff,%{_sharedstatedir}/git}
install -d $RPM_BUILD_ROOT{%{appdir},%{cgibindir},%{webappdir}}
+install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
%{__make} install \
INSTALLDIRS=vendor \
@@ -185,9 +214,16 @@
%{__make} -C Documentation install \
DESTDIR=$RPM_BUILD_ROOT
+# header files
install *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
install xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
+# bash completion
+install contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
+
+# vim syntax
+install contrib/vim/syntax/gitcommit.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
+
# gitweb
install gitweb/*.css gitweb/*.png $RPM_BUILD_ROOT%{appdir}
install gitweb/gitweb.cgi $RPM_BUILD_ROOT%{cgibindir}
@@ -216,7 +252,7 @@
%files
%defattr(644,root,root,755)
-%doc README Documentation/{[!g]*,g[!i]*,git,git[!k]*}.html Documentation/howto Documentation/technical
+%doc README Documentation/{[!g]*,g[!i]*,git,git[!k]*}.html Documentation/howto Documentation/technical contrib
%attr(755,root,root) %{_bindir}/git
%attr(755,root,root) %{_bindir}/git-*
%{_mandir}/man1/git-*.1*
@@ -247,17 +283,30 @@
%attr(755,root,root) %{cgibindir}/gitweb.cgi
%{appdir}
+%files -n bash-completion-git
+%defattr(644,root,root,755)
+%{_sysconfdir}/bash_completion.d/*
+
%files -n perl-Git
%defattr(644,root,root,755)
%{perl_vendorlib}/Git.pm
%{_mandir}/man3/Git.3pm*
+%files -n vim-syntax-gitcommit
+%defattr(644,root,root,755)
+%doc contrib/vim/README
+%{_datadir}/vim/vimfiles/syntax/*
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.73 2007/06/24 15:41:31 adamg
+- bash-completion and vim-syntax packages
+- todo entry added (git-gui separation)
+
Revision 1.72 2007/06/24 12:12:47 qboosh
- sanitized main file list
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/git-core.spec?r1=1.72&r2=1.73&f=u
More information about the pld-cvs-commit
mailing list