[RPM (6.0)] [DIST generic] pnuts-1.2-2.jpp6

Ralph Apel <[email protected]> Mon, 24 Sep 2012 09:09:02 +0200
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : pnuts                        Relocations: (not relocatable)
Version     : 1.2                               Vendor: JPackage Project
Release     : 2.jpp6                        Build Date: Mon 24 Sep 2012 09:05:47 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 4219360                          License: Sun Public License
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : https://pnuts.dev.java.net/
Summary     : Pnuts Script Language
Description :
Pnuts is a script language for Java environment. It enables
interaction with Java environment, simple Web scripting,
customization for Java programs, and so on.
* Simple and clean syntax
* Interactive interpreter
* Extensible through its module system
* Customizable and embeddable through Pnuts API
* Dynamic/static translation to JVM bytecode
* One of the fastest scripting language implementations on JVM
* Inherits many advantages of Java (security, portability, etc.)

---------------
Ralph Apel <r.apel at r-apel.de> - 0:1.2-2
- First JPP-6 release
- Sources aren't online any more
---------------
pnuts.src: W: specfile-error sh: line 0: fg: no job control
pnuts.src: W: specfile-error sh: line 0: fg: no job control
pnuts.src: W: source-or-patch-not-bzipped pnuts-1.2-servlet-build.patch
pnuts.src: W: source-or-patch-not-bzipped pnuts-1.2-Pnuts.patch
pnuts.src: W: no-signature
pnuts.src: W: name-repeated-in-summary Pnuts
pnuts.src: W: invalid-license Sun Public License
1 packages and 0 specfiles checked; 0 errors, 7 warnings.

---------------
Index: pnuts.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/pnuts/pnuts.spec,v
retrieving revision 1.1
diff -u -r1.1 pnuts.spec
--- pnuts.spec	6 Oct 2008 06:18:05 -0000	1.1
+++ pnuts.spec	24 Sep 2012 07:09:01 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2008, JPackage Project
+# Copyright (c) 2000-2012, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -29,10 +29,14 @@
 #
 
 %define section   free
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           pnuts
 Version:        1.2
-Release:        1%{dist}
+Release:        2%{?dist}
 Epoch:          0
 Summary:        Pnuts Script Language
 
@@ -50,15 +54,15 @@
 
 BuildArch:      noarch
 BuildRequires:  jpackage-utils >= 0:1.7.5
-BuildRequires:  java-devel >= 0:1.5.0
-BuildRequires:  ant >= 0:1.6.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant >= 0:1.7.1
 BuildRequires:  ant-nodeps
 BuildRequires:  javacc
 BuildRequires:  servlet_2_4_api
 BuildRequires:  jsp_2_0_api
 BuildRequires:  xalan-j2
 
-Requires:  java >= 0:1.5.0
+Requires:  java >= 0:1.6.0
 
 Requires(post):   jpackage-utils >= 0:1.7.5
 Requires(postun): jpackage-utils >= 0:1.7.5
@@ -91,7 +95,7 @@
 ln -sf $(build-classpath jsp_2_0_api) modules/lib/jsp.jar
 ln -sf $(build-classpath servlet_2_4_api) modules/lib/servlet.jar
 ln -sf $(build-classpath xalan-j2) modules/lib/xalan.jar
-
+rm api/src/pnuts/lang/Token.java
 %patch0 -b .sav0
 %patch1 -b .sav1
 
@@ -99,6 +103,8 @@
 ant \
     -Dtop=$(pwd) \
     -Djavacc.home=%{_javadir} \
+    -Djavac.source=1.5 \
+    -Djavac.target=1.5 \
     all apidoc
 
 %install
@@ -150,6 +156,10 @@
 
 
 %changelog
+* Mon Sep 24 2012 Ralph Apel <r.apel at r-apel.de> - 0:1.2-2
+- First JPP-6 release
+- Sources aren't online any more
+ 
 * Mon Oct 06 2008 Ralph Apel <r.apel at r-apel.de> - 0:1.2-1.jpp5
 - First release