File nqp.spec of Package nqp

#
# spec file for package nqp
#
# 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 http://bugs.opensuse.org/
#


Name:           nqp
Version:        2012.05
Release:        0
Summary:        Not Quite Perl
License:        Artistic-2.0
Group:          Development/Languages/Other
Url:            http://rakudo.org/
Source:         nqp-%{version}.tar.gz
Patch:          nqp.diff
Patch1:         nqp-bootstrap.diff
BuildRequires:  parrot-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This is "Not Quite Perl" -- a compiler for quickly generating PIR
routines from Perl6-like code.

%prep
%setup -q
%patch
%patch1

%build
perl Configure.pl
make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc CREDITS LICENSE README 
%{_bindir}/*
%{_libdir}/parrot/*/languages/nqp
%{_libdir}/parrot/*/library/*
%{_libdir}/parrot/*/dynext/*

%changelog