[nqp/f18] initial upload for this branch

Gerd Pokorra gerd at fedoraproject.org
Thu Aug 30 06:55:34 UTC 2012


commit 76aecab747e266de0830bc84e3395ad8c0775ac2
Author: gerd <gp at zimt.uni-siegen.de>
Date:   Thu Aug 30 08:48:34 2012 +0200

    initial upload for this branch

 .gitignore |    1 +
 nqp.spec   |   99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 101 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7d4c3ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nqp-2012.07.tar.gz
diff --git a/nqp.spec b/nqp.spec
new file mode 100644
index 0000000..9c0af52
--- /dev/null
+++ b/nqp.spec
@@ -0,0 +1,99 @@
+%global year 2012
+%global month 07
+%global parrot_version 4.6.0
+
+%global PAR_LIB_DIR %{_libdir}/parrot/%{parrot_version}
+%global parrot_dynext %{PAR_LIB_DIR}/dynext
+
+Name:		nqp
+Version:	0.0.%{year}.%{month}
+Release:	5%{?dist}
+Summary:	Not Quite Perl (6)
+
+Group:		Development/Libraries
+License:	Artistic 2.0 and ISC and WTFPL
+URL:		https://github.com/perl6/nqp
+Source0:	http://github.com/downloads/perl6/nqp/nqp-%{year}.%{month}.tar.gz
+
+BuildRequires:	readline-devel, gmp-devel, libicu-devel
+BuildRequires:	perl(Test::Harness)
+BuildRequires:	parrot >= %{parrot_version}
+BuildRequires:	parrot-devel >= %{parrot_version}
+BuildRequires:	parrot-tools >= %{parrot_version}
+
+Requires:	parrot >= %{parrot_version}
+
+%description
+This is "Not Quite Perl" -- a compiler for quickly generating PIR routines
+from Perl6-like code. The key feature of NQP is that it's
+designed to be a very small compiler (as compared with, say, perl6
+or Rakudo) and is focused on being a high-level way to create
+compilers and libraries for virtual machines (such as the Parrot
+Virtual Machine). Unlike a full-fledged implementation of Perl 6,
+NQP strives to have as small a run-time footprint as it can, while
+still providing a Perl 6 object model and regular expression engine
+for the virtual machine.
+
+
+%prep
+%setup -q -n %{name}-%{year}.%{month}
+
+
+%build
+%{__perl} Configure.pl
+
+%{__make} # %{?_smp_mflags}
+
+
+%install
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+# Force executable permission on shared objects so they get stripped
+%{__chmod} 755 $RPM_BUILD_ROOT%{parrot_dynext}/nqp*.so
+
+
+%check
+%ifarch %{ix86}
+  # This test fails on this architecture
+  %{__rm} -f t/nqp/60-bigint.t
+%endif
+%{?!_without_tests: make test}
+
+
+%files
+%doc CREDITS LICENSE README
+%{_bindir}/nqp
+
+# The unversioned shared system library files are needed for the essential work
+# of the nqp executable, otherwise the executing of nqp fails
+# with error message "PARROT VM: Could not load bytecode ..."
+%{parrot_dynext}/nqp_group.so
+%{parrot_dynext}/nqp_ops.so
+%{parrot_dynext}/nqp_bigint_ops.so
+%{parrot_dynext}/nqp_dyncall_ops.so
+
+%{PAR_LIB_DIR}/languages/nqp
+%{PAR_LIB_DIR}/library/ModuleLoader.pbc
+%{PAR_LIB_DIR}/library/PASTRegex.pbc
+
+
+%changelog
+* Tue Aug 14 2012 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2012.07-5
+- added check section
+- removed clean section
+- added ISC to License tag
+
+* Mon Aug 13 2012 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2012.07-4
+- changed License tag  
+- removed defattr
+
+* Mon Aug 13 2012 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2012.07-3
+- replaced "define" with "global"
+- removed BuildRoot tag
+
+* Wed Aug 08 2012 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2012.07-2
+- fixed description error from rpmlint
+
+* Tue Aug 07 2012 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2012.07-1
+- did not build with _smp_mflags
+- initial .spec file created
diff --git a/sources b/sources
index e69de29..dfc4fd1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9162768357ff2f38267fb2bf9abf77b3  nqp-2012.07.tar.gz


More information about the scm-commits mailing list