summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20120831/b2eec9f7/attachment-0001.obj
blob: 7a02fc1cba9217e0e111898d65c66815e5958c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
%global parrot_version 4.6.0

%define parrot_dynext  %{_libdir}/parrot/%{parrot_version}/dynext
%define par_lang_perl6 %{_libdir}/parrot/%{parrot_version}/languages/perl6

Name:           rakudo
Version:        2012.08
Release:        %mkrel 1

Summary:        A Perl compiler on Parrot
License:        Artistic 2.0
Group:          Development/Perl 
URL:            http://www.rakudo.org/
Source0:        http://github.com/downloads/rakudo/rakudo/%{name}-%{version}.tar.gz

BuildRequires:  gdbm-devel
BuildRequires:  gmp-devel
BuildRequires:  libicu-devel
BuildRequires:  ncurses-devel
BuildRequires:  parrot       >= %{parrot_version}
BuildRequires:  parrot-devel >= %{parrot_version}
BuildRequires:  parrot-src   >= %{parrot_version}
BuildRequires:  readline-devel

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}

%description
Rakudo Perl 6, or just Rakudo, is a Perl 6 compiler for the Parrot virtual
machine. Rakudo is an implementation of the Perl 6 specification that runs
on the Parrot VM. 

%prep
%setup -q -n %{name}-%{version}

%build
%{__perl} Configure.pl
%make

%check
%make test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc CREDITS LICENSE README
%{_bindir}/perl6
%{_mandir}/*
%{parrot_dynext}
%{par_lang_perl6}