head	1.53;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.24
	OPENPKG_E1_MP:1.24
	OPENPKG_E1_MP_2_STABLE:1.22.2.2
	OPENPKG_E1_FP:1.22.2.2
	OPENPKG_2_STABLE_MP:1.22
	OPENPKG_2_STABLE_20061018:1.22.2.2
	OPENPKG_2_STABLE:1.22.0.2
	OPENPKG_CW_FP:1.5;
locks; strict;
comment	@-- @;


1.53
date	2009.10.22.07.03.54;	author rse;	state Exp;
branches;
next	1.52;
commitid	nkHRW9LYCtZD0v8u;

1.52
date	2009.07.24.15.18.16;	author rse;	state Exp;
branches;
next	1.51;
commitid	xSnGZYrHZtGBDYWt;

1.51
date	2009.06.19.06.54.24;	author rse;	state Exp;
branches;
next	1.50;
commitid	CR1dTRmK0xCvYqSt;

1.50
date	2009.05.03.20.31.36;	author rse;	state Exp;
branches;
next	1.49;
commitid	cjleUJa8Jmsw0tMt;

1.49
date	2009.04.18.13.13.43;	author rse;	state Exp;
branches;
next	1.48;
commitid	4pHXU27WTIGCZuKt;

1.48
date	2009.03.19.07.08.35;	author rse;	state Exp;
branches;
next	1.47;
commitid	SQvNia4OGPCI0CGt;

1.47
date	2009.03.18.21.40.44;	author rse;	state Exp;
branches;
next	1.46;
commitid	OXbhGlSzagwURyGt;

1.46
date	2009.03.18.20.26.28;	author rse;	state Exp;
branches;
next	1.45;
commitid	fOHoiUr2JHMqsyGt;

1.45
date	2009.03.18.18.56.24;	author rse;	state Exp;
branches;
next	1.44;
commitid	0nV6D0keZg8xXxGt;

1.44
date	2009.03.18.18.55.20;	author rse;	state Exp;
branches;
next	1.43;
commitid	MRPLNaLw5CsaXxGt;

1.43
date	2009.03.18.18.48.18;	author rse;	state Exp;
branches;
next	1.42;
commitid	ys8fnj1yFSrKUxGt;

1.42
date	2009.02.22.22.16.44;	author rse;	state Exp;
branches;
next	1.41;
commitid	dl3LPuaDlPY4QtDt;

1.41
date	2009.01.22.18.10.46;	author rse;	state Exp;
branches;
next	1.40;
commitid	BlILRVcsaXjrttzt;

1.40
date	2008.12.19.09.01.42;	author rse;	state Exp;
branches;
next	1.39;
commitid	JdAq9gsFCYdRw3vt;

1.39
date	2008.10.23.19.13.28;	author rse;	state Exp;
branches;
next	1.38;
commitid	mLDdhOiHD3TlKMnt;

1.38
date	2008.08.19.21.21.36;	author rse;	state Exp;
branches;
next	1.37;
commitid	Lb2E5G6rc4tQxrft;

1.37
date	2008.07.04.12.05.23;	author rse;	state Exp;
branches;
next	1.36;
commitid	vXtAs47vKM3IWt9t;

1.36
date	2008.04.16.07.20.11;	author rse;	state Exp;
branches;
next	1.35;
commitid	0o2Eek5IiYNiUiZs;

1.35
date	2008.03.19.08.21.45;	author rse;	state Exp;
branches;
next	1.34;
commitid	4Wbdo5AfhD3e9IVs;

1.34
date	2008.02.21.09.26.30;	author rse;	state Exp;
branches;
next	1.33;
commitid	RzhD4Wg8QzefnfSs;

1.33
date	2008.01.15.20.24.42;	author rse;	state Exp;
branches;
next	1.32;
commitid	3F2Bvip0qgFMcyNs;

1.32
date	2008.01.01.15.01.14;	author rse;	state Exp;
branches;
next	1.31;
commitid	B8esaHJHoduuKILs;

1.31
date	2007.12.23.16.43.21;	author rse;	state Exp;
branches;
next	1.30;
commitid	zbAR1DlSskCGIzKs;

1.30
date	2007.11.21.19.21.38;	author rse;	state Exp;
branches;
next	1.29;
commitid	IjWS1HnbHQkLCtGs;

1.29
date	2007.10.17.10.22.23;	author rse;	state Exp;
branches;
next	1.28;
commitid	cTAnFkJO1DWvLVBs;

1.28
date	2007.08.25.12.09.08;	author rse;	state Exp;
branches;
next	1.27;
commitid	tZCqdn9h73nL38vs;

1.27
date	2007.07.21.08.46.02;	author rse;	state Exp;
branches;
next	1.26;
commitid	OCoZT5SbaCUP3Cqs;

1.26
date	2007.06.22.08.36.59;	author rse;	state Exp;
branches;
next	1.25;
commitid	ofP5elPIzpJwWSms;

1.25
date	2007.04.20.21.33.43;	author rse;	state Exp;
branches;
next	1.24;
commitid	CNYQ8TDSloexgRes;

1.24
date	2007.01.01.17.40.34;	author rse;	state Exp;
branches;
next	1.23;
commitid	BicZD6VUl7GuqP0s;

1.23
date	2006.11.15.12.19.50;	author rse;	state Exp;
branches;
next	1.22;
commitid	asbdEhvB2kfqdLUr;

1.22
date	2006.10.13.17.31.28;	author thl;	state Exp;
branches
	1.22.2.1;
next	1.21;
commitid	q5GSxzsSDX29XxQr;

1.21
date	2006.08.11.10.37.15;	author rse;	state Exp;
branches;
next	1.20;
commitid	TCQatbpsp71yJpIr;

1.20
date	2006.08.11.10.28.24;	author rse;	state Exp;
branches;
next	1.19;
commitid	FsCyK6bELPivGpIr;

1.19
date	2006.06.20.16.37.34;	author rse;	state Exp;
branches;
next	1.18;
commitid	cetIn5KcMj4NoLBr;

1.18
date	2006.05.15.07.26.04;	author rse;	state Exp;
branches;
next	1.17;
commitid	1Hqvn8W2AOQkv5xr;

1.17
date	2006.05.03.06.38.46;	author cs;	state Exp;
branches;
next	1.16;
commitid	4PKv1KhLcov1Dxvr;

1.16
date	2006.03.10.21.18.45;	author rse;	state Exp;
branches;
next	1.15;
commitid	JFAhAqEIWTkweGor;

1.15
date	2006.01.01.13.18.33;	author rse;	state Exp;
branches;
next	1.14;
commitid	otZG8yKMCw1JFTfr;

1.14
date	2005.12.08.19.11.29;	author rse;	state Exp;
branches;
next	1.13;
commitid	CKU5DexJQpCduQcr;

1.13
date	2005.11.08.07.05.17;	author rse;	state Exp;
branches;
next	1.12;
commitid	F6BMlaDoZ4dSqV8r;

1.12
date	2005.10.11.07.12.56;	author rse;	state Exp;
branches;
next	1.11;

1.11
date	2005.10.02.06.10.26;	author rse;	state Exp;
branches;
next	1.10;

1.10
date	2005.08.06.13.17.49;	author thl;	state Exp;
branches;
next	1.9;

1.9
date	2005.07.03.18.19.47;	author rse;	state Exp;
branches;
next	1.8;

1.8
date	2005.06.05.06.57.07;	author rse;	state Exp;
branches;
next	1.7;

1.7
date	2005.05.15.17.26.00;	author rse;	state Exp;
branches;
next	1.6;

1.6
date	2005.03.24.11.19.51;	author rse;	state Exp;
branches;
next	1.5;

1.5
date	2005.03.23.11.09.50;	author rse;	state Exp;
branches;
next	1.4;

1.4
date	2005.01.01.10.53.17;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.11.18.03.51;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2004.10.11.17.58.27;	author ms;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.24.21.46.40;	author rse;	state Exp;
branches;
next	;

1.22.2.1
date	2006.10.13.17.31.28;	author rse;	state dead;
branches;
next	1.22.2.2;
commitid	iZxwRSmmWscPXUQr;

1.22.2.2
date	2006.10.16.14.53.57;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.53
log
@upgrading package: parrot 1.4.0 -> 1.7.0
@
text
@##
##  parrot.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:         parrot
Summary:      Parrot Virtual Machine
URL:          http://www.parrot.org/
Vendor:       Leo Tötsch et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      Artistic/GPL
Version:      1.7.0
Release:      20091022

#   package options
%option       with_gmp     yes
%option       with_pcre    yes
%option       with_crypto  no
%option       with_icu     no

#   list of sources
Source0:      ftp://ftp.parrot.org/pub/parrot/releases/devel/%{version}/parrot-%{version}.tar.gz
Patch0:       parrot.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, gcc, flex, bison, make
PreReq:       OpenPKG, openpkg >= 20040130
%if "%{with_gmp}" == "yes"
BuildPreReq:  gmp
PreReq:       gmp
%endif
%if "%{with_pcre}" == "yes"
BuildPreReq:  pcre
PreReq:       pcre
%endif
%if "%{with_crypto}" == "yes"
BuildPreReq:  openssl
PreReq:       openssl
%endif
%if "%{with_icu}" == "yes"
BuildPreReq:  icu
PreReq:       icu
%endif
AutoReq:      no
AutoReqProv:  no

%description
    Parrot is a virtual machine designed to execute bytecode for
    interpreted languages efficiently. Parrot will be the target for the
    Perl 6 compiler.

%track
    prog parrot = {
        version   = %{version}
        url       = ftp://ftp.parrot.org/pub/parrot/releases/stable/
        regex     = (\d+\.\d+\.\d+)/
    }

%prep
    %setup -q
    %patch -p0

%build
    #   configure program
    %{l_shtool} subst \
        -e 's;has_dynamic_linking *=> *1;has_dynamic_linking => 0;g' \
        -e 's;parrot_is_shared *=> *1;parrot_is_shared => 0;g' \
        config/init/hints/*.pm
    %{l_prefix}/bin/perl Configure.pl \
        --prefix=%{l_prefix} \
        --debugging=0 \
        --optimize \
        --cc="%{l_cc}" \
        --cxx="%{l_cxx}" \
        --ccflags="%{l_cflags -O} %{l_cppflags icu .}" \
        --link="%{l_cxx}" \
        --linkflags="%{l_ldflags}" \
        --ld="%{l_cc}" \
        --ldflags="%{l_ldflags}" \
        --lex="flex" \
        --yacc="bison -y" \
        --libs="" \
%if "%{with_gmp}" != "yes"
        --without-gmp \
%endif
%if "%{with_pcre}" != "yes"
        --without-pcre \
%endif
%if "%{with_crypto}" != "yes"
        --without-crypto \
%endif
%if "%{with_icu}" == "yes"
        --icu-config=%{l_prefix}/bin/icu-config \
%else
        --without-icu \
%endif
        --without-gdbm \
        --without-gettext \
        --without-readline \
        --without-opengl

    #   build program
    %{l_make} %{l_mflags}

%install
    #   install program
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install \
        DESTDIR=$RPM_BUILD_ROOT

    #   strip down and adjust installation
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/parrot/blib
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
    mv  $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/parrot/*/parrot.pc \
        $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/parrot.pc
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/parrot
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.52
log
@upgrading package: parrot 1.3.0 -> 1.4.0
@
text
@d34 2
a35 2
Version:      1.4.0
Release:      20090724
d44 1
a44 1
Source0:      ftp://ftp.parrot.org/pub/parrot/releases/stable/%{version}/parrot-%{version}.tar.gz
@


1.51
log
@upgrading package: parrot 1.1.0 -> 1.3.0
@
text
@d34 2
a35 2
Version:      1.3.0
Release:      20090619
d44 1
a44 1
Source0:      ftp://ftp.parrot.org/pub/parrot/releases/devel/%{version}/parrot-%{version}.tar.gz
d79 1
a79 1
        url       = ftp://ftp.parrot.org/pub/parrot/releases/devel/
@


1.50
log
@upgrading package: parrot 1.0.0 -> 1.1.0
@
text
@d34 2
a35 2
Version:      1.1.0
Release:      20090503
@


1.49
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version:      1.0.0
Release:      20090319
d44 1
a44 1
Source0:      ftp://ftp.parrot.org/pub/parrot/releases/stable/%{version}/parrot-%{version}.tar.gz
d79 1
a79 1
        url       = ftp://ftp.parrot.org/pub/parrot/releases/stable/
d137 1
a137 1
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/parrot/doc
@


1.48
log
@modifying package: parrot-1.0.0 20090318 -> 20090319
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.47
log
@cleanup packaging
@
text
@d35 1
a35 1
Release:      20090318
d94 1
a94 1
        --prefix=%{l_prefix}/share/parrot \
d133 1
a133 7
        DESTDIR=$RPM_BUILD_ROOT \
        PREFIX=%{l_prefix}/share/parrot \
        EXEC_PREFIX=%{l_prefix}/share/parrot \
        BIN_DIR=%{l_prefix}/bin \
        LIB_DIR=%{l_prefix}/lib \
        DOC_DIR=%{l_prefix}/share/parrot/doc \
        INCLUDE_DIR=%{l_prefix}/include
d138 1
a138 1
    mv  $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/*/parrot.pc \
@


1.46
log
@modifying package: parrot-1.0.0 20090318 again
@
text
@d94 1
a140 6
    #   install headers (are not installed by default)
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/lib \
        $RPM_BUILD_ROOT%{l_prefix}/include/parrot
    cp -rp include/parrot/* $RPM_BUILD_ROOT%{l_prefix}/include/parrot/

d144 1
a144 1
    mv  $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/parrot/*/parrot.pc \
a147 2
    %{l_shtool} install -c -m 644 \
        blib/lib/libparrot.a $RPM_BUILD_ROOT%{l_prefix}/lib/
@


1.45
log
@modifying package: parrot-1.0.0 20090318 again
@
text
@d38 4
a41 1
%option       with_icu  no
d52 1
d55 9
a93 5
%if "%{with_icu}" == "yes"
        --icu-config=%{l_prefix}/bin/icu-config \
%else
        --without-icu \
%endif
d105 19
a123 1
        --libs=""
d149 3
a151 3
    mv  $RPM_BUILD_ROOT%{l_prefix}/pkgconfig/parrot/*/parrot.pc \
        $RPM_BUILD_ROOT%{l_prefix}/pkgconfig/parrot.pc
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/pkgconfig/parrot
@


1.44
log
@build everything under %build now
@
text
@d123 3
@


1.43
log
@upgrading package: parrot 0.9.1 -> 1.0.0
@
text
@d100 1
a100 1
    %{l_make} %{l_mflags} parrot
@


1.42
log
@upgrading package: parrot 0.9.0.1 -> 0.9.1
@
text
@d34 2
a35 2
Version:      0.9.1
Release:      20090222
d41 1
a41 1
Source0:      ftp://ftp.parrot.org/pub/parrot/releases/devel/%{version}/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = ftp://ftp.parrot.org/pub/parrot/releases/devel/
@


1.41
log
@upgrading package: parrot 0.8.2 -> 0.9.0.1
@
text
@d27 1
a27 1
URL:          http://www.parrotcode.org/
d34 2
a35 2
Version:      0.9.0.1
Release:      20090122
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/C/CH/CHROMATIC/parrot-%{version}.tar.gz
d66 2
a67 2
        url       = http://www.cpan.org/authors/id/C/CH/CHROMATIC/
        regex     = parrot-(__VER__)\.tar\.gz
d100 1
a100 2
    %{l_make} %{l_mflags} \
        parrot pdump
@


1.40
log
@upgrading package: parrot 0.8.0 -> 0.8.2
@
text
@d34 2
a35 2
Version:      0.8.2
Release:      20081219
d106 1
a106 1
    %{l_make} %{l_mflags} reallyinstall \
@


1.39
log
@upgrading package: parrot 0.7.0 -> 0.8.0
@
text
@d34 2
a35 2
Version:      0.8.0
Release:      20081023
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/P/PA/PARTICLE/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = http://www.cpan.org/authors/id/R/RG/RGRJR/
@


1.38
log
@upgrading package: parrot 0.6.2 -> 0.7.0
@
text
@d34 2
a35 2
Version:      0.7.0
Release:      20080819
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/R/RG/RGRJR/parrot-%{version}.tar.gz
d76 4
@


1.37
log
@upgrading package: parrot 0.6.1 -> 0.6.2
@
text
@d34 2
a35 2
Version:      0.6.2
Release:      20080704
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/C/CH/CHROMATIC/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = http://www.cpan.org/authors/id/C/CH/CHROMATIC/
d97 1
a97 1
        parrot pdb pdump
@


1.36
log
@upgrading package: parrot 0.6.0 -> 0.6.1
@
text
@d34 2
a35 2
Version:      0.6.1
Release:      20080416
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/P/PA/PARTICLE/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = http://www.cpan.org/authors/id/P/PA/PARTICLE/
@


1.35
log
@upgrading package: parrot 0.5.3 -> 0.6.0
@
text
@d34 2
a35 2
Version:      0.6.0
Release:      20080319
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/B/BS/BSCHMAL/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = http://www.cpan.org/authors/id/B/BS/BSCHMAL/
@


1.34
log
@upgrading package: parrot 0.5.2 -> 0.5.3
@
text
@d34 2
a35 2
Version:      0.5.3
Release:      20080221
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/P/PM/PMIC/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = http://www.cpan.org/authors/id/P/PM/PMIC/
@


1.33
log
@upgrading package: parrot 0.5.1 -> 0.5.2
@
text
@d34 2
a35 2
Version:      0.5.2
Release:      20080115
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/R/RG/RGRJR/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = http://www.cpan.org/authors/id/R/RG/RGRJR/
@


1.32
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.5.1
Release:      20080101
d41 1
a41 1
Source0:      http://www.cpan.org/authors/id/J/JO/JONATHAN/parrot-%{version}.tar.gz
d66 1
a66 1
        url       = http://www.cpan.org/authors/id/J/JO/JONATHAN/
@


1.31
log
@upgrading package: parrot 0.5.0 -> 0.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:      20071223
@


1.30
log
@upgrading package: parrot 0.4.17 -> 0.5.0
@
text
@d35 2
a36 2
Version:      0.5.0
Release:      20071121
d42 1
a42 1
Source0:      http://www.cpan.org/authors/id/C/CH/CHROMATIC/parrot-%{version}.tar.gz
d67 1
a67 1
        url       = http://www.cpan.org/authors/id/C/CH/CHROMATIC/
@


1.29
log
@upgrading package: parrot 0.4.15 -> 0.4.17
@
text
@d35 2
a36 2
Version:      0.4.17
Release:      20071017
d42 1
a42 1
Source0:      http://www.cpan.org/authors/id/C/CO/COKE/parrot-%{version}.tar.gz
d67 1
a67 1
        url       = http://www.cpan.org/authors/id/C/CO/COKE/
@


1.28
log
@upgrading package: parrot 0.4.14 -> 0.4.15
@
text
@d35 2
a36 2
Version:      0.4.15
Release:      20070825
d42 1
a42 1
Source0:      http://www.cpan.org/authors/id/P/PM/PMIC/parrot-%{version}.tar.gz
d67 1
a67 1
        url       = http://www.cpan.org/authors/id/P/PM/PMIC/
@


1.27
log
@upgrading package: parrot 0.4.13 -> 0.4.14
@
text
@d35 2
a36 2
Version:      0.4.14
Release:      20070721
d42 1
a42 1
Source0:      http://www.cpan.org/authors/id/P/PA/PARTICLE/parrot-%{version}.tar.gz
d67 1
a67 1
        url       = http://www.cpan.org/authors/id/P/PA/PARTICLE/
@


1.26
log
@upgrading package: parrot 0.4.11 -> 0.4.13
@
text
@d35 2
a36 2
Version:      0.4.13
Release:      20070622
d42 1
a42 1
Source0:      http://www.cpan.org/authors/id/A/AR/ARANDAL/parrot-%{version}.tar.gz
d67 1
a67 1
        url       = http://www.cpan.org/authors/id/A/AR/ARANDAL/
@


1.25
log
@upgrading package: parrot 0.4.7 -> 0.4.11
@
text
@d35 2
a36 2
Version:      0.4.11
Release:      20070420
d42 1
a42 1
Source0:      ftp://ftp.cpan.org/pub/CPAN/authors/id/M/MD/MDIEP/parrot-%{version}.tar.gz
d67 1
a67 1
        url       = ftp://ftp.cpan.org/pub/CPAN/authors/id/M/MD/MDIEP/
@


1.24
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version:      0.4.7
Release:      20061115
d42 1
a42 1
Source0:      ftp://ftp.cpan.org/pub/CPAN/authors/id/C/CH/CHIPS/parrot-%{version}.tar.gz
d67 1
a67 1
        url       = ftp://ftp.cpan.org/pub/CPAN/authors/id/C/CH/CHIPS/
d103 1
a103 1
    %{l_make} %{l_mflags} install \
@


1.23
log
@upgrading package: parrot 0.4.6 -> 0.4.7
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.22
log
@new world order for "Packager" and "Distribution" headers
@
text
@d35 2
a36 2
Version:      0.4.6
Release:      20061013
@


1.22.2.1
log
@file parrot.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:53:57 +0000
@
text
@d1 132
@


1.22.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 132
##
##  parrot.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  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:         parrot
Summary:      Parrot Virtual Machine
URL:          http://www.parrotcode.org/
Vendor:       Leo Tötsch et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Language
License:      Artistic/GPL
Version:      0.4.6
Release:      2.20061018

#   package options
%option       with_icu  no

#   list of sources
Source0:      ftp://ftp.cpan.org/pub/CPAN/authors/id/C/CH/CHIPS/parrot-%{version}.tar.gz
Patch0:       parrot.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, perl, gcc, flex, bison, make
PreReq:       OpenPKG, openpkg >= 2.20061018
BuildPreReq:  gmp
PreReq:       gmp
%if "%{with_icu}" == "yes"
BuildPreReq:  icu
PreReq:       icu
%endif
AutoReq:      no
AutoReqProv:  no

%description
    Parrot is a virtual machine designed to execute bytecode for
    interpreted languages efficiently. Parrot will be the target for the
    Perl 6 compiler.

%track
    prog parrot = {
        version   = %{version}
        url       = ftp://ftp.cpan.org/pub/CPAN/authors/id/C/CH/CHIPS/
        regex     = parrot-(__VER__)\.tar\.gz
    }

%prep
    %setup -q
    %patch -p0

%build
    #   configure program
    %{l_prefix}/bin/perl Configure.pl \
%if "%{with_icu}" == "yes"
        --icu-config=%{l_prefix}/bin/icu-config \
%else
        --without-icu \
%endif
        --debugging=0 \
        --optimize \
        --cc="%{l_cc}" \
        --cxx="%{l_cxx}" \
        --ccflags="%{l_cflags -O} %{l_cppflags icu .}" \
        --link="%{l_cxx}" \
        --linkflags="%{l_ldflags}" \
        --ld="%{l_cc}" \
        --ldflags="%{l_ldflags}" \
        --lex="flex" \
        --yacc="bison -y" \
        --libs=""

    #   build program
    %{l_make} %{l_mflags} \
        parrot pdb pdump

%install
    #   install program
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install \
        DESTDIR=$RPM_BUILD_ROOT \
        PREFIX=%{l_prefix}/share/parrot \
        EXEC_PREFIX=%{l_prefix}/share/parrot \
        BIN_DIR=%{l_prefix}/bin \
        LIB_DIR=%{l_prefix}/lib \
        DOC_DIR=%{l_prefix}/share/parrot/doc \
        INCLUDE_DIR=%{l_prefix}/include

    #   install headers (are not installed by default)
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/lib \
        $RPM_BUILD_ROOT%{l_prefix}/include/parrot
    cp -rp include/parrot/* $RPM_BUILD_ROOT%{l_prefix}/include/parrot/

    #   strip down and adjust installation
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/parrot/blib
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/parrot/doc
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    %{l_shtool} install -c -m 644 \
        blib/lib/libparrot.a $RPM_BUILD_ROOT%{l_prefix}/lib/

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.21
log
@make ICU (Unicode) optional
@
text
@d30 2
a31 2
Packager:     OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release:      20060811
@


1.20
log
@upgrading package: parrot 0.4.5 -> 0.4.6
@
text
@d38 3
d50 6
a55 2
BuildPreReq:  gmp, icu
PreReq:       gmp, icu
d78 1
d80 3
@


1.19
log
@upgrading package: parrot 0.4.4 -> 0.4.5
@
text
@d35 2
a36 2
Version:      0.4.5
Release:      20060620
d39 1
a39 1
Source0:      ftp://ftp.cpan.org/pub/CPAN/authors/id/L/LT/LTOETSCH/parrot-%{version}.tar.gz
d60 1
a60 1
        url       = ftp://ftp.cpan.org/pub/CPAN/authors/id/L/LT/LTOETSCH/
@


1.18
log
@upgrading package: parrot 0.4.3 -> 0.4.4
@
text
@d35 2
a36 2
Version:      0.4.4
Release:      20060515
@


1.17
log
@upgrading package: parrot 0.4.2 -> 0.4.3
@
text
@d35 2
a36 2
Version:      0.4.3
Release:      20060503
@


1.16
log
@upgrading package: parrot 0.4.0 -> 0.4.2
@
text
@d35 2
a36 2
Version:      0.4.2
Release:      20060310
@


1.15
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version:      0.4.0
Release:      20051208
d93 1
a93 1
        BUILDPREFIX=$RPM_BUILD_ROOT \
d98 1
d109 1
@


1.14
log
@upgrading package: parrot 0.3.1 -> 0.4.0
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.13
log
@upgrading package: parrot 0.3.0 -> 0.3.1
@
text
@d35 2
a36 2
Version:      0.3.1
Release:      20051108
@


1.12
log
@requires GNU make
@
text
@d35 2
a36 2
Version:      0.3.0
Release:      20051011
@


1.11
log
@upgrading package: parrot 0.2.3 -> 0.3.0
@
text
@d36 1
a36 1
Release:      20051002
d45 1
a45 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, gcc, flex, bison
@


1.10
log
@upgrading package: parrot 0.2.2 -> 0.2.3
@
text
@d35 2
a36 2
Version:      0.2.3
Release:      20050806
@


1.9
log
@upgrading package: parrot 0.2.1 -> 0.2.2
@
text
@d35 2
a36 2
Version:      0.2.2
Release:      20050703
@


1.8
log
@upgrading package: parrot 0.2.0 -> 0.2.1
@
text
@d35 2
a36 2
Version:      0.2.1
Release:      20050605
@


1.7
log
@upgrading package: parrot 0.1.2 -> 0.2.0
@
text
@d35 2
a36 2
Version:      0.2.0
Release:      20050515
@


1.6
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d35 2
a36 2
Version:      0.1.2
Release:      20050323
@


1.5
log
@upgrading package: parrot 0.1.1 -> 0.1.2
@
text
@d2 3
a4 4
##  parrot.spec -- OpenPKG RPM Specification
##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2005 Cable & Wireless <http://www.cw.com/>
d30 1
a30 1
Packager:     The OpenPKG Project
@


1.4
log
@Happy New Year 2005
@
text
@d36 2
a37 2
Version:      0.1.1
Release:      20041011
d41 1
d46 4
a49 2
BuildPreReq:  OpenPKG, openpkg >= 20040130, gmp, perl, gcc, flex, bison
PreReq:       OpenPKG, openpkg >= 20040130, gmp
d67 1
d72 1
d77 1
a77 1
        --ccflags="%{l_cflags -O} %{l_cppflags}" \
d95 5
a99 5
        PREFIX=%{l_prefix} \
        EXEC_PREFIX=%{l_prefix} \
        BINDIR=%{l_prefix}/bin \
        LIBDIR=%{l_prefix}/lib \
        INCLUDEDIR=%{l_prefix}/include
d108 1
a109 1
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/bin/languages
d111 1
a111 3
        blib/lib/libparrot.a \
        $RPM_BUILD_ROOT%{l_prefix}/lib/
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/blib
@


1.3
log
@fix indent
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2004 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
@


1.2
log
@requires gmp, uses C++ linking, and fails to install libparrot.a (which I assume is important)
@
text
@d105 1
a105 1
     %{l_shtool} install -c -m 644 \
@


1.1
log
@new package: parrot 0.1.0 (Parrot Virtual Machine)
@
text
@d36 2
a37 2
Version:      0.1.0
Release:      20040724
d45 2
a46 2
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, gcc, flex, bison
PreReq:       OpenPKG, openpkg >= 20040130
d71 1
d73 1
a73 1
        --link="%{l_cc}" \
d98 1
d105 3
a107 2
    mv $RPM_BUILD_ROOT%{l_prefix}/lib/blib/lib/libparrot.a \
       $RPM_BUILD_ROOT%{l_prefix}/lib/libparrot.a
@

