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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 333828 by philippem, Fri Dec 14 20:29:47 2012 UTC revision 333829 by kamil, Sat Dec 22 10:31:02 2012 UTC
# Line 1  Line 1 
1  Summary:   A fast, lightweight distributed source control management system  Summary:   A fast, lightweight distributed source control management system
2  Name:      mercurial  Name:      mercurial
3  Version:   2.4.1  Version:   2.4.1
4  Release:   %mkrel 1  Release:   %mkrel 2
5  License:   GPLv2+  License:   GPLv2+
6  Group:     Development/Other  Group:     Development/Other
7  URL:       http://www.selenic.com/mercurial/  URL:       http://www.selenic.com/mercurial/
8  Source0:   http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz  Source0:   http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root  
9  BuildRequires: python-devel  BuildRequires: python-devel
10  BuildRequires: xmlto  BuildRequires: xmlto
11  BuildRequires: asciidoc  BuildRequires: asciidoc
# Line 18  Mercurial is a fast, lightweight source Line 17  Mercurial is a fast, lightweight source
17  designed for efficient handling of very large distributed  designed for efficient handling of very large distributed
18  projects.  projects.
19    
20    
21  %prep  %prep
22  %setup -q  %setup -q
23    
# Line 25  projects. Line 25  projects.
25  %make all  %make all
26    
27  %install  %install
 %__rm -rf $RPM_BUILD_ROOT  
28  PYTHONDONTWRITEBYTECODE= %__python setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files  PYTHONDONTWRITEBYTECODE= %__python setup.py install -O1 --root $RPM_BUILD_ROOT --prefix %{_prefix} --record=%{name}.files
29  make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}  make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
30    
# Line 55  mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/ Line 54  mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/
54  install -m 644 contrib/mergetools.hgrc $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc  install -m 644 contrib/mergetools.hgrc $RPM_BUILD_ROOT/%{_sysconfdir}/mercurial/hgrc.d/mergetools.rc
55    
56  %files -f %{name}.files  %files -f %{name}.files
 %defattr(-,root,root,-)  
57  %doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi  %doc CONTRIBUTORS COPYING doc/README doc/hg*.txt doc/hg*.html *.cgi contrib/*.fcgi
58  %doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc  %doc %attr(644,root,root) contrib/*.svg contrib/sample.hgrc
59  %dir %{_sysconfdir}/mercurial  %dir %{_sysconfdir}/mercurial
# Line 69  install -m 644 contrib/mergetools.hgrc $ Line 67  install -m 644 contrib/mergetools.hgrc $
67  %{_bindir}/hgk  %{_bindir}/hgk
68  %{_bindir}/hg-ssh  %{_bindir}/hg-ssh
69  %{_bindir}/mercurial-convert-repo  %{_bindir}/mercurial-convert-repo
   
   
   

Legend:
Removed from v.333828  
changed lines
  Added in v.333829

  ViewVC Help
Powered by ViewVC 1.1.26