/[packages]/cauldron/mercurial/releases/2.4/1.mga3/SPECS/mercurial.spec
ViewVC logotype

Contents of /cauldron/mercurial/releases/2.4/1.mga3/SPECS/mercurial.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 318304 - (show annotations) (download)
Thu Nov 15 19:26:05 2012 UTC (7 years, 8 months ago) by schedbot
File size: 2488 byte(s)
%repsys markrelease
version: 2.4
release: 1.mga3
revision: 318300

Copying 2.4-1.mga3 to releases/ directory.
1 Summary: A fast, lightweight distributed source control management system
2 Name: mercurial
3 Version: 2.4
4 Release: %mkrel 1
5 License: GPLv2+
6 Group: Development/Other
7 URL: http://www.selenic.com/mercurial/
8 Source0: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10 BuildRequires: python-devel
11 BuildRequires: xmlto
12 BuildRequires: asciidoc
13 BuildRequires: python-docutils
14 Provides: hg = %{version}-%{release}
15
16 %description
17 Mercurial is a fast, lightweight source control management system
18 designed for efficient handling of very large distributed
19 projects.
20
21 %prep
22 %setup -q
23
24 %build
25 %make all
26
27 %install
28 %__rm -rf $RPM_BUILD_ROOT
29 PYTHONDONTWRITEBYTECODE= %__python setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files
30 make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
31
32 install contrib/hgk $RPM_BUILD_ROOT%{_bindir}
33 install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo
34 install contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir}
35
36 bash_completion_dir=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
37 mkdir -p $bash_completion_dir
38 install -m 644 contrib/bash_completion $bash_completion_dir/mercurial.sh
39
40 zsh_completion_dir=$RPM_BUILD_ROOT%{_datadir}/zsh/site-functions
41 mkdir -p $zsh_completion_dir
42 install -m 644 contrib/zsh_completion $zsh_completion_dir/_mercurial
43
44 lisp_dir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
45 mkdir -p $lisp_dir
46 install -m 644 contrib/mercurial.el $lisp_dir
47 install -m 644 contrib/mq.el $lisp_dir
48
49 xlisp_dir=$RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp
50 mkdir -p $xlisp_dir
51 install -m 644 contrib/mercurial.el $xlisp_dir
52 install -m 644 contrib/mq.el $xlisp_dir
53
54 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d
55 install -m 644 contrib/mergetools.hgrc $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc
56
57 %files -f %{name}.files
58 %defattr(-,root,root,-)
59 %doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi
60 %doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc
61 %dir %{_sysconfdir}/mercurial
62 %dir %{_sysconfdir}/mercurial/hgrc.d
63 %config(noreplace) %{_sysconfdir}/mercurial/hgrc.d/mergetools.rc
64 %{_mandir}/man*/*
65 %{_sysconfdir}/bash_completion.d/mercurial.sh
66 %{_datadir}/zsh/site-functions/_mercurial
67 %{_datadir}/emacs/site-lisp/*.el
68 %{_datadir}/xemacs/site-packages/lisp/*.el
69 %{_bindir}/hgk
70 %{_bindir}/hg-ssh
71 %{_bindir}/mercurial-convert-repo
72
73
74

  ViewVC Help
Powered by ViewVC 1.1.28