rpms/rakudo/devel import.log, NONE, 1.1 rakudo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Gerd Pokorra gerd at fedoraproject.org
Mon Aug 3 07:03:55 UTC 2009


Author: gerd

Update of /cvs/pkgs/rpms/rakudo/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29770/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log rakudo.spec 
Log Message:
add initial package



--- NEW FILE import.log ---
rakudo-2009_07-3_fc11:HEAD:rakudo-2009.07-3.fc11.src.rpm:1249282522


--- NEW FILE rakudo.spec ---
%global year 2009
%global month 07
%global parrot_version 1.4.0

Name:           rakudo
Version:        %{year}.%{month}
Release:        3%{?dist}
Summary:        A Perl compiler on Parrot
License:        Artistic 2.0
Group:          Development/Languages
URL:            http://www.rakudo.org/

Source0:        http://cloud.github.com/downloads/rakudo/rakudo/rakudo-%{year}-%{month}.tar.gz
Source1:        ftp://ftp.parrot.org/pub/parrot/releases/stable/%{parrot_version}/parrot-%{parrot_version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  readline-devel
BuildRequires:  ncurses-devel
BuildRequires:  gmp-devel
BuildRequires:  gdbm-devel
BuildRequires:  libicu-devel
BuildRequires:  perl(Test::Harness)
BuildRequires:  perl(Test::Simple)
BuildRequires:  ctags
BuildRequires:  openssl-devel

%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 rakudo-%{year}-%{month} -a1
exit 0

%build
%ifarch %{ix86} x86_64
    RPM_OPT_FLAGS="$RPM_OPT_FLAGS -maccumulate-outgoing-args"
%else
# The PowerPC-architecture do not build with the '-maccumulate-outgoing-args'
# option.
    RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%endif

cd parrot-%{parrot_version}
export LD_LIBRARY_PATH=$( pwd )/blib/lib

%{__perl} Configure.pl --parrot_is_shared \
  --disable-rpath \
  --optimize="$RPM_OPT_FLAGS" 
make
cd ..
%{__perl} Configure.pl --parrot-config=./parrot-1.4.0/parrot_config
make

%install
rm -rf $RPM_BUILD_ROOT
%{__install} -D --mode=755 perl6 $RPM_BUILD_ROOT/usr/bin/perl6

%check
make test
exit 0

%clean
rm -rf $RPM_BUILD_ROOT


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

%changelog
* Fri Jul 31 2009 Gerd Pokorra <gp at zimt.uni-siegen.de> 2009.07-3
- Fix versioning
- Provide full SourceURLs
- strip binary

* Fri Jul 31 2009 Gerd Pokorra <gp at zimt.uni-siegen.de> 2009.07-2
- first .spec file created


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rakudo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	2 Aug 2009 23:32:04 -0000	1.1
+++ .cvsignore	3 Aug 2009 07:03:43 -0000	1.2
@@ -0,0 +1,2 @@
+parrot-1.4.0.tar.gz
+rakudo-2009-07.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rakudo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	2 Aug 2009 23:32:04 -0000	1.1
+++ sources	3 Aug 2009 07:03:51 -0000	1.2
@@ -0,0 +1,2 @@
+3f66816c0f2ba18bdd2cf7bedd59f045  parrot-1.4.0.tar.gz
+df841289a91a804a5bd2fe3125dfc06b  rakudo-2009-07.tar.gz




More information about the fedora-extras-commits mailing list