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


1.38
date	2009.12.22.21.45.23;	author rse;	state Exp;
branches;
next	1.37;
commitid	HChWiMgwBBduVpgu;

1.37
date	2009.12.02.16.02.19;	author rse;	state Exp;
branches;
next	1.36;
commitid	dnglToL1HwtEFOdu;

1.36
date	2009.11.28.15.01.13;	author rse;	state Exp;
branches;
next	1.35;
commitid	oMIfEeWtZKXEsidu;

1.35
date	2009.10.14.09.07.31;	author rse;	state Exp;
branches;
next	1.34;
commitid	kyBglviKWI20Xt7u;

1.34
date	2009.10.04.06.58.51;	author rse;	state Exp;
branches;
next	1.33;
commitid	JuMQloJ9P9iNyb6u;

1.33
date	2009.10.03.09.04.25;	author rse;	state Exp;
branches;
next	1.32;
commitid	Ilv9mcZYC4UQh46u;

1.32
date	2009.08.01.16.37.41;	author rse;	state Exp;
branches;
next	1.31;
commitid	NZ4UBnScQDWUO0Yt;

1.31
date	2009.08.01.06.28.23;	author rse;	state Exp;
branches;
next	1.30;
commitid	IrJ9qXpETK1TrXXt;

1.30
date	2009.05.13.20.06.55;	author rse;	state Exp;
branches;
next	1.29;
commitid	mehKtmFvZkX7yKNt;

1.29
date	2009.04.25.08.32.01;	author rse;	state Exp;
branches;
next	1.28;
commitid	96Aze3cLtkDBhnLt;

1.28
date	2009.04.18.13.10.55;	author rse;	state Exp;
branches;
next	1.27;
commitid	4pHXU27WTIGCZuKt;

1.27
date	2009.04.09.07.40.28;	author rse;	state Exp;
branches;
next	1.26;
commitid	D0gk8X87MMPNvjJt;

1.26
date	2009.02.20.20.46.56;	author rse;	state Exp;
branches;
next	1.25;
commitid	pEWF9UFLQtAgpdDt;

1.25
date	2009.02.19.22.40.58;	author rse;	state Exp;
branches;
next	1.24;
commitid	QM1EufYLJ4Dn46Dt;

1.24
date	2009.01.24.11.42.40;	author rse;	state Exp;
branches;
next	1.23;
commitid	KWRCNKhaGLqmgHzt;

1.23
date	2009.01.05.19.44.53;	author rse;	state Exp;
branches;
next	1.22;
commitid	HLgTxwMZlLyExixt;

1.22
date	2008.12.13.15.27.05;	author rse;	state Exp;
branches;
next	1.21;
commitid	HBp0i1AWGrM2Rjut;

1.21
date	2008.10.10.16.55.59;	author rse;	state Exp;
branches;
next	1.20;
commitid	qSe00U39gGY5p6mt;

1.20
date	2008.07.13.17.45.20;	author rse;	state Exp;
branches;
next	1.19;
commitid	rIZtzGJhyUvoxFat;

1.19
date	2008.05.21.18.43.20;	author rse;	state Exp;
branches;
next	1.18;
commitid	n3B6rfZ8glCUyR3t;

1.18
date	2008.04.27.18.54.01;	author rse;	state Exp;
branches;
next	1.17;
commitid	WY16RHXOgnnpoM0t;

1.17
date	2008.04.26.07.14.15;	author rse;	state Exp;
branches;
next	1.16;
commitid	LBh5IzEzkdxlyA0t;

1.16
date	2008.04.15.19.05.39;	author rse;	state Exp;
branches;
next	1.15;
commitid	Lp5Ykdimf5pjQeZs;

1.15
date	2008.04.11.06.23.34;	author rse;	state Exp;
branches;
next	1.14;
commitid	gb7ZhBjuIpNQKEYs;

1.14
date	2008.02.08.09.59.43;	author rse;	state Exp;
branches;
next	1.13;
commitid	n93J6AHbZUlyYzQs;

1.13
date	2008.02.02.09.57.54;	author rse;	state Exp;
branches;
next	1.12;
commitid	TPL80XHf2kRS9OPs;

1.12
date	2008.02.01.22.29.55;	author rse;	state Exp;
branches;
next	1.11;
commitid	Q3qteqd7s6NRlKPs;

1.11
date	2008.01.30.18.10.33;	author rse;	state Exp;
branches;
next	1.10;
commitid	Oax3y5E73y2SYsPs;

1.10
date	2008.01.27.08.35.32;	author rse;	state Exp;
branches;
next	1.9;
commitid	pqUFmWcPJ6WzT1Ps;

1.9
date	2008.01.18.08.58.11;	author rse;	state Exp;
branches;
next	1.8;
commitid	6XPcKKGDHPLhjSNs;

1.8
date	2008.01.18.08.56.01;	author rse;	state Exp;
branches;
next	1.7;
commitid	5zvoOi48d5ayiSNs;

1.7
date	2008.01.18.08.54.34;	author rse;	state Exp;
branches;
next	1.6;
commitid	4jbECgTUbYf3iSNs;

1.6
date	2008.01.01.14.55.04;	author rse;	state Exp;
branches;
next	1.5;
commitid	B8esaHJHoduuKILs;

1.5
date	2007.12.22.08.52.44;	author cs;	state Exp;
branches;
next	1.4;
commitid	ooKEWXI0qRfe9pKs;

1.4
date	2007.12.10.18.41.20;	author rse;	state Exp;
branches;
next	1.3;
commitid	qi4gnBzTTfI4NUIs;

1.3
date	2007.08.27.10.25.03;	author rse;	state Exp;
branches;
next	1.2;
commitid	5VBCYQWYRG03qnvs;

1.2
date	2007.08.27.08.40.24;	author rse;	state Exp;
branches;
next	1.1;
commitid	pMfVGnOsGniaQmvs;

1.1
date	2007.08.25.18.50.23;	author rse;	state Exp;
branches;
next	;
commitid	DQvx60UdOcOphavs;


desc
@@


1.38
log
@upgrading package: groovy 1.6.7 -> 1.7.0
@
text
@##
##  groovy.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.
##

#   packaqge version
%define       V_groovy 1.7.0
%define       V_gant   1.8.1

#   package information
Name:         groovy
Summary:      Groovy Java Scripting Language
URL:          http://groovy.codehaus.org/
Vendor:       Codehaus
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      BSD-style
Version:      %{V_groovy}
Release:      20091222

#   list of sources
Source0:      http://dist.codehaus.org/groovy/distributions/groovy-binary-%{V_groovy}.zip
Source1:      http://dist.codehaus.org/gant/distributions/gant-%{V_gant}.zip

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, infozip
PreReq:       OpenPKG, openpkg >= 20060823, java, JAVA-JDK
AutoReq:      no
AutoReqProv:  no

%description
    Groovy is an agile and dynamic scripting language for the Java
    Virtual Machine (JVM). It builds upon the strengths of Java but has
    additional power features inspired by languages like Python, Ruby
    and Smalltalk. It can be used as a stand-alone or embedded scripting
    language for Java and provides full access to all existing Java
    class libraries.

%track
    prog groovy = {
        version   = %{V_groovy}
        url       = http://dist.codehaus.org/groovy/distributions/
        regex     = groovy-binary-(\d+\.\d+(\.\d+)*)\.(?:zip|tar\.gz)
    }
    prog groovy:gant = {
        version   = %{V_gant}
        url       = http://dist.codehaus.org/gant/distributions/
        regex     = gant-(\d+\.\d+(\.\d+)*)_groovy-(\d+\.\d+(\.\d+)*)\.(?:zip|tar\.gz)
    }

%prep
    %setup -q -T -c
    ( cd ..
    %{l_prefix}/bin/unzip -q -x %{SOURCE0}
    ) || exit $?
    %{l_prefix}/bin/unzip -q -x %{SOURCE1}

%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/groovy
    for program in grok groovy groovyConsole groovyc groovysh java2groovy gant; do
        ( echo "#!/bin/sh"
          echo "eval \`JAVA_PLATFORM=\"sun-jdk\" %{l_prefix}/bin/java-toolkit -e\`"
          echo "GROOVY_HOME=\"%{l_prefix}/libexec/groovy\"; export GROOVY_HOME"
          echo "exec %{l_prefix}/libexec/groovy/bin/$program \"\$@@\""
        ) >$program.sh
        %{l_shtool} install -c -m 755 \
            $program.sh $RPM_BUILD_ROOT%{l_prefix}/bin/$program
    done
    rm -f bin/*.bat bin/*cygwin*
    cp -rp bin conf embeddable lib \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/groovy/
    %{l_shtool} install -c -m 755 \
        gant-*/bin/gant $RPM_BUILD_ROOT%{l_prefix}/libexec/groovy/bin/
    %{l_shtool} install -c -m 644 \
        gant-*/lib/* $RPM_BUILD_ROOT%{l_prefix}/libexec/groovy/lib/
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.37
log
@upgrading package: groovy 1.6.6 -> 1.6.7
@
text
@d25 1
a25 1
%define       V_groovy 1.6.7
d39 1
a39 1
Release:      20091202
@


1.36
log
@upgrading package: groovy 1.6.5 -> 1.6.6
@
text
@d25 1
a25 1
%define       V_groovy 1.6.6
d39 1
a39 1
Release:      20091128
@


1.35
log
@modifying package: groovy-1.6.5 20091004 -> 20091014
@
text
@d25 1
a25 1
%define       V_groovy 1.6.5
d39 1
a39 1
Release:      20091014
@


1.34
log
@modifying package: groovy-1.6.5 20091003 -> 20091004
@
text
@d26 1
a26 1
%define       V_gant   1.8.0
d39 1
a39 1
Release:      20091004
@


1.33
log
@upgrading package: groovy 1.6.4 -> 1.6.5
@
text
@d26 1
a26 1
%define       V_gant   1.7.0
d39 1
a39 1
Release:      20091003
@


1.32
log
@modifying package: groovy-1.6.4 20090801 again
@
text
@d25 1
a25 1
%define       V_groovy 1.6.4
d39 1
a39 1
Release:      20090801
@


1.31
log
@upgrading package: groovy 1.6.3 -> 1.6.4
@
text
@d26 1
a26 1
%define       V_gant   1.6.1
@


1.30
log
@upgrading package: groovy 1.6.2 -> 1.6.3
@
text
@d25 1
a25 1
%define       V_groovy 1.6.3
d39 1
a39 1
Release:      20090513
@


1.29
log
@upgrading package: groovy 1.6.1 -> 1.6.2
@
text
@d25 1
a25 1
%define       V_groovy 1.6.2
d39 1
a39 1
Release:      20090425
@


1.28
log
@bump years in copyright messages
@
text
@d25 1
a25 1
%define       V_groovy 1.6.1
d39 1
a39 1
Release:      20090409
@


1.27
log
@upgrading package: groovy 1.6.0 -> 1.6.1
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.26
log
@modifying package: groovy-1.6.0 20090219 -> 20090220
@
text
@d25 1
a25 1
%define       V_groovy 1.6.0
d39 1
a39 1
Release:      20090220
@


1.25
log
@upgrading package: groovy 1.5.7 -> 1.6.0
@
text
@d26 1
a26 1
%define       V_gant   1.6.0
d39 1
a39 1
Release:      20090219
@


1.24
log
@modifying package: groovy-1.5.7 20090105 -> 20090124
@
text
@d25 1
a25 1
%define       V_groovy 1.5.7
d39 1
a39 1
Release:      20090124
@


1.23
log
@modifying package: groovy-1.5.7 20081213 -> 20090105
@
text
@d26 1
a26 1
%define       V_gant   1.5.1
d39 1
a39 1
Release:      20090105
@


1.22
log
@modifying package: groovy-1.5.7 20081010 -> 20081213
@
text
@d26 1
a26 1
%define       V_gant   1.5.0
d39 1
a39 1
Release:      20081213
@


1.21
log
@upgrading package: groovy 1.5.6 -> 1.5.7
@
text
@d26 1
a26 1
%define       V_gant   1.4.0
d39 1
a39 1
Release:      20081010
@


1.20
log
@modifying package: groovy-1.5.6 20080521 -> 20080713
@
text
@d25 1
a25 1
%define       V_groovy 1.5.6
d39 1
a39 1
Release:      20080713
@


1.19
log
@modifying package: groovy-1.5.6 20080427 -> 20080521
@
text
@d26 1
a26 1
%define       V_gant   1.3.0
d39 1
a39 1
Release:      20080521
@


1.18
log
@modifying package: groovy-1.5.6 20080426 -> 20080427
@
text
@d26 1
a26 1
%define       V_gant   1.2.0_groovy-1.5.6
d39 1
a39 1
Release:      20080427
@


1.17
log
@upgrading package: groovy 1.5.5 -> 1.5.6
@
text
@d26 1
a26 1
%define       V_gant   1.1.2_groovy-1.5.5
d39 1
a39 1
Release:      20080426
@


1.16
log
@modifying package: groovy-1.5.5 20080411 -> 20080415
@
text
@d25 1
a25 1
%define       V_groovy 1.5.5
d39 1
a39 1
Release:      20080415
@


1.15
log
@upgrading package: groovy 1.5.4 -> 1.5.5
@
text
@d26 1
a26 1
%define       V_gant   1.1.1-SNAPSHOT_groovy-1.5.4
d39 1
a39 1
Release:      20080411
@


1.14
log
@modifying package: groovy-1.5.4 20080202 -> 20080208
@
text
@d25 1
a25 1
%define       V_groovy 1.5.4
d39 1
a39 1
Release:      20080208
@


1.13
log
@upgrading package: groovy 1.5.3 -> 1.5.4
@
text
@d26 1
a26 1
%define       V_gant   1.1.0_groovy-1.5.2
d39 1
a39 1
Release:      20080202
@


1.12
log
@upgrading package: groovy 1.5.2 -> 1.5.3
@
text
@d25 1
a25 1
%define       V_groovy 1.5.3
d39 1
a39 1
Release:      20080201
@


1.11
log
@upgrading package: groovy 1.5.1 -> 1.5.2
@
text
@d25 1
a25 1
%define       V_groovy 1.5.2
d39 1
a39 1
Release:      20080130
@


1.10
log
@modifying package: groovy-1.5.1 20080118 -> 20080127
@
text
@d25 2
a26 2
%define       V_groovy 1.5.1
%define       V_gant   1.1.0-SNAPSHOT_groovy-1.5.2-SNAPSHOT
d38 2
a39 2
Version:      1.5.1
Release:      20080127
@


1.9
log
@use latest snapshot to fit Groovy 1.5.1 version
@
text
@d26 1
a26 1
%define       V_gant   1.0.3-SNAPSHOT_groovy-1.5.1
d39 1
a39 1
Release:      20080118
@


1.8
log
@no need to capture any extension
@
text
@d26 1
a26 1
%define       V_gant   1.0.2_groovy-1.5.0
@


1.7
log
@add GANT (Groovy Ant), a variant of ANT based on Groovy syntax
@
text
@d65 1
a65 1
        regex     = groovy-binary-(\d+\.\d+(\.\d+)*)\.(zip|tar\.gz)
d70 1
a70 1
        regex     = gant-(\d+\.\d+(\.\d+)*)_groovy-(\d+\.\d+(\.\d+)*)\.(zip|tar\.gz)
@


1.6
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d24 4
d39 1
a39 1
Release:      20080101
d42 2
a43 1
Source0:      http://dist.codehaus.org/groovy/distributions/groovy-binary-%{version}.zip
d63 1
a63 1
        version   = %{version}
d67 5
d75 1
a75 1
    cd ..
d77 2
d87 1
a87 1
    for program in grok groovy groovyConsole groovyc groovysh java2groovy; do
d99 4
@


1.5
log
@upgrading package: groovy 1.5.0 -> 1.5.1
@
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:      20071222
@


1.4
log
@upgrading package: groovy 1.0 -> 1.5.0
@
text
@d35 2
a36 2
Version:      1.5.0
Release:      20071210
@


1.3
log
@use new virtual target JAVA-JDK to require a real JDK as the backend for 'java'
@
text
@d35 2
a36 2
Version:      1.0
Release:      20070827
d39 1
a39 1
Source0:      http://dist.codehaus.org/groovy/distributions/groovy-%{version}.tar.gz
d44 1
a44 1
BuildPreReq:  OpenPKG, openpkg >= 20060823
d61 1
a61 1
        regex     = groovy-(\d+.\d+)\.tar\.gz
d65 3
a67 1
    %setup -q
@


1.2
log
@switch to new Java toolkit world order
@
text
@d45 1
a45 1
PreReq:       OpenPKG, openpkg >= 20060823, java, java-jdk15
@


1.1
log
@new package: groovy 1.0 (Groovy Java Scripting Language)
@
text
@d36 1
a36 1
Release:      20070825
d45 1
a45 1
PreReq:       OpenPKG, openpkg >= 20060823
d76 1
a76 1
          echo "JAVA_HOME=\"%{l_prefix}/libexec/j2se\"; export JAVA_HOME"
@

