head	1.17;
access;
symbols;
locks; strict;
comment	@-- @;


1.17
date	2009.12.02.16.02.18;	author rse;	state Exp;
branches;
next	1.16;
commitid	X3jOVL9jKAQDFOdu;

1.16
date	2009.11.18.19.48.55;	author rse;	state Exp;
branches;
next	1.15;
commitid	7e0jBSEoroPgn2cu;

1.15
date	2009.07.24.15.39.45;	author rse;	state Exp;
branches;
next	1.14;
commitid	oKma3MfEwNgZKYWt;

1.14
date	2009.07.02.16.37.44;	author rse;	state Exp;
branches;
next	1.13;
commitid	UXDVnL9UurOIM9Ut;

1.13
date	2009.04.18.13.12.43;	author rse;	state Exp;
branches;
next	1.12;
commitid	4pHXU27WTIGCZuKt;

1.12
date	2009.03.21.11.54.20;	author rse;	state Exp;
branches;
next	1.11;
commitid	ob7nYOrdOXFLwTGt;

1.11
date	2009.03.05.09.38.48;	author rse;	state Exp;
branches;
next	1.10;
commitid	ZHFonoRt5CO9iPEt;

1.10
date	2009.01.01.10.03.23;	author rse;	state Exp;
branches;
next	1.9;
commitid	YDS7457V0GI7sJwt;

1.9
date	2008.12.21.08.25.15;	author rse;	state Exp;
branches;
next	1.8;
commitid	jOKxNleFsvVogjvt;

1.8
date	2008.12.03.19.27.15;	author rse;	state Exp;
branches;
next	1.7;
commitid	NhWz0Ypajlwnv3tt;

1.7
date	2008.08.14.12.05.05;	author rse;	state Exp;
branches;
next	1.6;
commitid	Qd7oHGkAQpnTCKet;

1.6
date	2008.05.23.06.24.28;	author rse;	state Exp;
branches;
next	1.5;
commitid	bSY91l21Kh0sp34t;

1.5
date	2008.03.25.07.27.44;	author rse;	state Exp;
branches;
next	1.4;
commitid	624ItS1SCljJEtWs;

1.4
date	2008.01.01.14.58.16;	author rse;	state Exp;
branches;
next	1.3;
commitid	B8esaHJHoduuKILs;

1.3
date	2007.10.20.06.25.28;	author rse;	state Exp;
branches;
next	1.2;
commitid	eTlSjLN35sdgmiCs;

1.2
date	2007.06.26.06.10.01;	author rse;	state Exp;
branches;
next	1.1;
commitid	uldHI0j3c1Q80ons;

1.1
date	2007.01.27.09.21.40;	author rse;	state Exp;
branches;
next	;
commitid	2xetSPiEYbROS74s;


desc
@@


1.17
log
@upgrading package: mercurial 1.4 -> 1.4.1
@
text
@##
##  mercurial.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package information
Name:         mercurial
Summary:      Disributed Version Control System
URL:          http://selenic.com/mercurial/
Vendor:       Matt Mackall et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        SCM
License:      GPL
Version:      1.4.1
Release:      20091202

#   list of sources
Source0:      http://mercurial.selenic.com/release/mercurial-%{version}.tar.gz

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, python
PreReq:       OpenPKG, openpkg >= 20060823, python
AutoReq:      no
AutoReqProv:  no

%description
    Mercurial is a fast, lightweight Source Control Management (SCM)
    system designed for efficient handling of very large distributed
    projects.

%track
    prog mercurial = {
        version   = %{version}
        url       = http://mercurial.selenic.com/release/
        regex     = mercurial-(__VER__)\.tar\.gz
    }

%prep
    %setup -q

%build

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/bin \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/mercurial \
        $RPM_BUILD_ROOT%{l_prefix}/lib/mercurial \
        $RPM_BUILD_ROOT%{l_prefix}/man/man1 \
        $RPM_BUILD_ROOT%{l_prefix}/man/man5
    %{l_shtool} subst \
        -e 's;#!/usr/bin/env python;#!%{l_prefix}/bin/python;g' \
        hg
    %{l_prefix}/bin/python setup.py install \
        --root=$RPM_BUILD_ROOT \
        --prefix=%{l_prefix} \
        --install-lib=%{l_prefix}/lib/mercurial
    mv  $RPM_BUILD_ROOT%{l_prefix}/bin/hg \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/mercurial/hg
    (   echo "#!/bin/sh"
        echo "PYTHONPATH=\"%{l_prefix}/lib/mercurial\""
        echo "export PYTHONPATH"
        echo "%{l_prefix}/bin/python %{l_prefix}/libexec/mercurial/hg \${1+\"\$@@\"}"
    ) >$RPM_BUILD_ROOT%{l_prefix}/bin/hg
    chmod 755 $RPM_BUILD_ROOT%{l_prefix}/bin/hg
    %{l_shtool} install -c -m 644 \
       doc/*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
    %{l_shtool} install -c -m 644 \
       doc/*.5 $RPM_BUILD_ROOT%{l_prefix}/man/man5/
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.16
log
@upgrading package: mercurial 1.3.1 -> 1.4
@
text
@d34 2
a35 2
Version:      1.4
Release:      20091118
@


1.15
log
@upgrading package: mercurial 1.3 -> 1.3.1
@
text
@d34 2
a35 2
Version:      1.3.1
Release:      20090724
@


1.14
log
@upgrading package: mercurial 1.2.1 -> 1.3
@
text
@d34 2
a35 2
Version:      1.3
Release:      20090702
d38 1
a38 1
Source0:      http://www.selenic.com/mercurial/release/mercurial-%{version}.tar.gz
d56 1
a56 1
        url       = http://www.selenic.com/mercurial/release/
@


1.13
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version:      1.2.1
Release:      20090321
@


1.12
log
@upgrading package: mercurial 1.2 -> 1.2.1
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.11
log
@upgrading package: mercurial 1.1.2 -> 1.2
@
text
@d34 2
a35 2
Version:      1.2
Release:      20090305
@


1.10
log
@upgrading package: mercurial 1.1.1 -> 1.1.2
@
text
@d34 2
a35 2
Version:      1.1.2
Release:      20090101
@


1.9
log
@upgrading package: mercurial 1.1 -> 1.1.1
@
text
@d34 2
a35 2
Version:      1.1.1
Release:      20081221
@


1.8
log
@upgrading package: mercurial 1.0.2 -> 1.1
@
text
@d34 2
a35 2
Version:      1.1
Release:      20081203
@


1.7
log
@upgrading package: mercurial 1.0.1 -> 1.0.2
@
text
@d34 2
a35 2
Version:      1.0.2
Release:      20080814
@


1.6
log
@upgrading package: mercurial 1.0 -> 1.0.1
@
text
@d34 2
a35 2
Version:      1.0.1
Release:      20080523
@


1.5
log
@upgrading package: mercurial 0.9.5 -> 1.0
@
text
@d34 2
a35 2
Version:      1.0
Release:      20080325
@


1.4
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version:      0.9.5
Release:      20080101
@


1.3
log
@upgrading package: mercurial 0.9.4 -> 0.9.5
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d35 1
a35 1
Release:      20071020
@


1.2
log
@upgrading package: mercurial 0.9.3 -> 0.9.4
@
text
@d35 2
a36 2
Version:      0.9.4
Release:      20070626
@


1.1
log
@new package: mercurial 0.9.3 (Disributed Version Control System)
@
text
@d35 2
a36 2
Version:      0.9.3
Release:      20070127
@

