Mercurial > hg > mercurial-crew-with-dirclash
comparison contrib/mercurial.spec @ 4743:cc0fb3500dd5
mercurial.spec: include various utility files from contrib/ in rpm
Files included:
hgk
convert-repo
hg-ssh
hg-viz
git-rev-tree
bash_completion
zsh_completion
mercurial.el
author | Adam Spiers <hg@adamspiers.org> |
---|---|
date | Sun, 03 Jun 2007 14:40:56 +0100 |
parents | 2f2d8c5e7a5c |
children | 620cea146b19 |
comparison
equal
deleted
inserted
replaced
4742:2f2d8c5e7a5c | 4743:cc0fb3500dd5 |
---|---|
34 %build | 34 %build |
35 python setup.py build | 35 python setup.py build |
36 | 36 |
37 %install | 37 %install |
38 python setup.py install --root $RPM_BUILD_ROOT --prefix %{_prefix} | 38 python setup.py install --root $RPM_BUILD_ROOT --prefix %{_prefix} |
39 install contrib/hgk $RPM_BUILD_ROOT%{_bindir} | |
40 install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo | |
41 install contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir} | |
42 install contrib/git-viz/{hg-viz,git-rev-tree} $RPM_BUILD_ROOT%{_bindir} | |
43 | |
44 bash_completion_dir=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d | |
45 mkdir -p $bash_completion_dir | |
46 install contrib/bash_completion $bash_completion_dir/mercurial.sh | |
47 | |
48 zsh_completion_dir=$RPM_BUILD_ROOT%{_datadir}/zsh/site-functions | |
49 mkdir -p $zsh_completion_dir | |
50 install contrib/zsh_completion $zsh_completion_dir/_mercurial | |
51 | |
52 lisp_dir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp | |
53 mkdir -p $lisp_dir | |
54 install contrib/mercurial.el $lisp_dir | |
39 | 55 |
40 %clean | 56 %clean |
41 rm -rf $RPM_BUILD_ROOT | 57 rm -rf $RPM_BUILD_ROOT |
42 | 58 |
43 %files | 59 %files |
44 %defattr(-,root,root,-) | 60 %defattr(-,root,root,-) |
45 %doc doc/* *.cgi | 61 %doc doc/* *.cgi |
46 %dir %{pythonlib} | 62 %dir %{pythonlib} |
47 %dir %{hgext} | 63 %dir %{hgext} |
64 %{_sysconfdir}/bash_completion.d/mercurial.sh | |
65 %{_datadir}/zsh/site-functions/_mercurial | |
66 %{_datadir}/emacs/site-lisp/mercurial.el | |
67 %{_bindir}/hg | |
68 %{_bindir}/hgk | |
48 %{_bindir}/hgmerge | 69 %{_bindir}/hgmerge |
49 %{_bindir}/hg | 70 %{_bindir}/hg-ssh |
71 %{_bindir}/hg-viz | |
72 %{_bindir}/git-rev-tree | |
73 %{_bindir}/mercurial-convert-repo | |
50 %{pythonlib}/templates | 74 %{pythonlib}/templates |
51 %{pythonlib}/*.py* | 75 %{pythonlib}/*.py* |
52 %{pythonlib}/hgweb/*.py* | 76 %{pythonlib}/hgweb/*.py* |
53 %{pythonlib}/*.so | 77 %{pythonlib}/*.so |
54 %{hgext}/*.py* | 78 %{hgext}/*.py* |