Show More
@@ -19,6 +19,9 b' BuildRoot: %{_tmppath}/%{name}-%{version' | |||
|
19 | 19 | # |
|
20 | 20 | BuildRequires: python >= 2.4, python-devel, make, gcc, docutils >= 0.5 |
|
21 | 21 | Provides: hg = %{version}-%{release} |
|
22 | Requires: python >= 2.4 | |
|
23 | # The hgk extension uses the wish tcl interpreter, but we don't enforce it | |
|
24 | #Requires: tk | |
|
22 | 25 | |
|
23 | 26 | %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))') |
|
24 | 27 | %define emacs_lispdir %{_datadir}/emacs/site-lisp |
@@ -41,7 +44,8 b' make install-doc DESTDIR=$RPM_BUILD_ROOT' | |||
|
41 | 44 | install contrib/hgk $RPM_BUILD_ROOT%{_bindir} |
|
42 | 45 | install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo |
|
43 | 46 | install contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir} |
|
44 |
install contrib/git-viz/ |
|
|
47 | install contrib/git-viz/hg-viz $RPM_BUILD_ROOT%{_bindir} | |
|
48 | install contrib/git-viz/git-rev-tree $RPM_BUILD_ROOT%{_bindir} | |
|
45 | 49 | |
|
46 | 50 | bash_completion_dir=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d |
|
47 | 51 | mkdir -p $bash_completion_dir |
@@ -53,6 +57,7 b' install -m 644 contrib/zsh_completion $z' | |||
|
53 | 57 | |
|
54 | 58 | mkdir -p $RPM_BUILD_ROOT%{emacs_lispdir} |
|
55 | 59 | install contrib/mercurial.el $RPM_BUILD_ROOT%{emacs_lispdir} |
|
60 | install contrib/mq.el $RPM_BUILD_ROOT%{emacs_lispdir} | |
|
56 | 61 | |
|
57 | 62 | mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d |
|
58 | 63 | install contrib/mergetools.hgrc $RPM_BUILD_ROOT%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc |
@@ -63,11 +68,12 b' rm -rf $RPM_BUILD_ROOT' | |||
|
63 | 68 | %files |
|
64 | 69 | %defattr(-,root,root,-) |
|
65 | 70 | %doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html doc/ja *.cgi contrib/*.fcgi |
|
66 |
%doc %attr(644,root,root) %{_mandir}/man?/hg* |
|
|
71 | %doc %attr(644,root,root) %{_mandir}/man?/hg* | |
|
67 | 72 | %doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc |
|
68 | 73 | %{_sysconfdir}/bash_completion.d/mercurial.sh |
|
69 | 74 | %{_datadir}/zsh/site-functions/_mercurial |
|
70 | 75 | %{_datadir}/emacs/site-lisp/mercurial.el |
|
76 | %{_datadir}/emacs/site-lisp/mq.el | |
|
71 | 77 | %{_bindir}/hg |
|
72 | 78 | %{_bindir}/hgk |
|
73 | 79 | %{_bindir}/hg-ssh |
General Comments 0
You need to be logged in to leave comments.
Login now