/[packages]/cauldron/mercurial/current/SPECS/mercurial.spec
ViewVC logotype

Annotation of /cauldron/mercurial/current/SPECS/mercurial.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86180 - (hide annotations) (download)
Sat Apr 16 09:46:37 2011 UTC (12 years, 11 months ago) by misc
File size: 3581 byte(s)
- update to 1.8.1

1 philippem 46853 Summary: A fast, lightweight distributed source control management system
2     Name: mercurial
3 misc 86180 Version: 1.8.1
4 philippem 46853 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. Major features include:
20    
21     * Extremely high-performance delta-compressed storage scheme
22     * Optimized for disk layout and access efficiency
23     * Complete cross-indexing of files and changesets
24     * Bandwidth and CPU efficient HTTP and SSH sync protocols
25     * Distributed development model supports unlimited numbers of developers
26     * Allows arbitrary merging between developer branches
27     * Doesn't significantly degrade with large numbers of files or changesets
28     * No waiting for locks!
29     * SHA1 integrity checking on repository data
30     * Append-only storage model with transaction journalling
31     * Fast full-repository verification
32     * Convenient backup
33     * Most commands are familiar to users of CVS and other systems
34     * Built-in command help
35     * Integrated stand-alone web interface (example)
36     * Works with various GUI tools
37     * Runs on UNIX, MacOS X, and Windows
38     * Conversion tools available for many popular SCMs
39     * Allows a variety of usage models
40     * Supports user-defined hooks and extensions
41     * Source code available under the GPL license
42     * Actively community supported and developed
43    
44     %prep
45     %setup -q
46    
47     %build
48     %make all
49    
50     %install
51     %__rm -rf $RPM_BUILD_ROOT
52     PYTHONDONTWRITEBYTECODE= %__python setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files
53     make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
54    
55     install contrib/hgk $RPM_BUILD_ROOT%{_bindir}
56     install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo
57     install contrib/hg-ssh $RPM_BUILD_ROOT%{_bindir}
58    
59     bash_completion_dir=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
60     mkdir -p $bash_completion_dir
61     install -m 644 contrib/bash_completion $bash_completion_dir/mercurial.sh
62    
63     zsh_completion_dir=$RPM_BUILD_ROOT%{_datadir}/zsh/site-functions
64     mkdir -p $zsh_completion_dir
65     install -m 644 contrib/zsh_completion $zsh_completion_dir/_mercurial
66    
67     lisp_dir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
68     mkdir -p $lisp_dir
69     install -m 644 contrib/mercurial.el $lisp_dir
70     install -m 644 contrib/mq.el $lisp_dir
71    
72     xlisp_dir=$RPM_BUILD_ROOT%{_datadir}/xemacs/site-packages/lisp
73     mkdir -p $xlisp_dir
74     install -m 644 contrib/mercurial.el $xlisp_dir
75     install -m 644 contrib/mq.el $xlisp_dir
76    
77     mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d
78     install -m 644 contrib/mergetools.hgrc $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc
79    
80     %clean
81     %__rm -rf $RPM_BUILD_ROOT
82    
83     %files -f %{name}.files
84     %defattr(-,root,root,-)
85     %doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi
86     %doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc
87     %dir %{_sysconfdir}/mercurial
88     %dir %{_sysconfdir}/mercurial/hgrc.d
89     %config(noreplace) %{_sysconfdir}/mercurial/hgrc.d/mergetools.rc
90     %{_mandir}/man*/*
91     %{_sysconfdir}/bash_completion.d/mercurial.sh
92     %{_datadir}/zsh/site-functions/_mercurial
93     %{_datadir}/emacs/site-lisp/*.el
94     %{_datadir}/xemacs/site-packages/lisp/*.el
95     %{_bindir}/hgk
96     %{_bindir}/hg-ssh
97     %{_bindir}/mercurial-convert-repo
98    
99    
100    

  ViewVC Help
Powered by ViewVC 1.1.30