File rakudo.spec of Package rakudo

# spec file for package rakudo
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           rakudo
Version:        2012.05
Release:        0
Summary:        Perl 6 implemenation that runs on Parrot
License:        Artistic-2.0
Group:          Development/Languages/Other
Source0:        rakudo-%{version}.tar.gz
BuildRequires:  nqp
BuildRequires:  parrot-devel
Provides:       perl6 = %{version}-%{release}
Requires:       nqp
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Rakudo Perl 6, or just Rakudo, is an implementation of the Perl 6 
specification that runs on the Parrot virtual machine.

%setup -q

perl --with-nqp=/usr/bin/nqp
# currently hangs on 32bit platforms :(
#make test

PARROT_DIR=%{_libdir}`parrot_config versiondir`
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT$PARROT_DIR/dynext
install dynext/* $RPM_BUILD_ROOT$PARROT_DIR/dynext
install perl6 $RPM_BUILD_ROOT%{_bindir}/perl6



openSUSE Build Service is sponsored by