[RPM (6.0)] [DIST generic] serp-1.13.1-2.jpp6

Ralph Apel <[email protected]> Thu, 10 Jan 2013 05:40:58 +0100
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : serp                         Relocations: (not relocatable)
Version     : 1.13.1                            Vendor: JPackage Project
Release     : 2.jpp6                        Build Date: Thu 10 Jan 2013 04:25:44 AM CET
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 124588                           License: BSD
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://serp.sourceforge.net/
Summary     : Bytecode manipulation framework
Description :
The goal of the serp bytecode framework is to tap the full
power of bytecode modification while lowering its associated
costs. The framework provides a set of high-level APIs for
manipulating all aspects of bytecode, from large-scale
structures like class member fields to the individual
instructions that comprise the code of methods. While in
order to perform any advanced manipulation, some understanding
of the class file format and especially of the JVM instruction
set is necessary, the framework makes it as easy as possible
to enter the world of bytecode development.

---------------
Ralph Apel <[email protected]> 0:1.13.1-2
- rebuild in JPP6
- add net.sourceforge.serp depmap
---------------
serp.src: W: source-or-patch-not-bzipped serp-1.13.1-pom.patch
serp.src: W: source-or-patch-not-bzipped serp-1.13.1-site.patch
serp.src: W: no-signature
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

---------------
Index: serp-1.13.1-jpp-depmap.xml
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/serp/serp-1.13.1-jpp-depmap.xml,v
retrieving revision 1.1
diff -u -r1.1 serp-1.13.1-jpp-depmap.xml
--- serp-1.13.1-jpp-depmap.xml	13 Feb 2008 14:30:26 -0000	1.1
+++ serp-1.13.1-jpp-depmap.xml	10 Jan 2013 04:40:57 -0000
@@ -25,5 +25,18 @@
       </jpp>
    </dependency>
 
+<dependency>
+    <maven>
+      <groupId>org.apache.velocity</groupId>
+      <artifactId>velocity</artifactId>
+      <version>1.6.4</version>
+    </maven>
+    <jpp>
+      <groupId>JPP</groupId>
+      <artifactId>velocity14</artifactId>
+      <version>1.4</version>
+    </jpp>
+</dependency>
+
 
 </dependencies>
Index: serp-1.13.1-pom.patch
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/serp/serp-1.13.1-pom.patch,v
retrieving revision 1.1
diff -u -r1.1 serp-1.13.1-pom.patch
--- serp-1.13.1-pom.patch	13 Feb 2008 14:30:26 -0000	1.1
+++ serp-1.13.1-pom.patch	10 Jan 2013 04:40:57 -0000
@@ -1,6 +1,18 @@
 --- pom.xml.sav0	2007-07-25 19:16:23.000000000 +0200
-+++ pom.xml	2008-02-13 11:59:24.000000000 +0100
-@@ -127,6 +127,7 @@
++++ pom.xml	2012-12-29 14:37:39.425589165 +0100
+@@ -113,8 +113,9 @@
+   <reporting>
+     <plugins>
+       <plugin>
+-        <groupId>org.codehaus.mojo</groupId>
+-        <artifactId>jxr-maven-plugin</artifactId>
++        <groupId>org.apache.maven.plugins</groupId>
++        <artifactId>maven-jxr-plugin</artifactId>
++        <version>2.2</version>
+         <configuration>
+           <aggregate>true</aggregate>
+         </configuration>
+@@ -127,6 +128,7 @@
            <linksource>true</linksource>
            <links>
              <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
@@ -8,7 +20,7 @@
            </links>
          </configuration>
        </plugin>
-@@ -137,8 +138,7 @@
+@@ -137,8 +139,7 @@
          <artifactId>maven-project-info-reports-plugin</artifactId>
        </plugin>
        <plugin>
Index: serp.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/serp/serp.spec,v
retrieving revision 1.1
diff -u -r1.1 serp.spec
--- serp.spec	13 Feb 2008 14:30:26 -0000	1.1
+++ serp.spec	10 Jan 2013 04:40:57 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2008, JPackage Project
+# Copyright (c) 2000-2013, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -40,14 +40,12 @@
 
 Name:           serp
 Version:        1.13.1
-Release:        1jpp
+Release:        2%{?dist}
 Epoch:          0
 Summary:        Bytecode manipulation framework
 License:        BSD
 Url:            http://serp.sourceforge.net/
 Group:          Development/Libraries/Java
-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
 Source0:        serp-1.13.1.tar.gz
 # cvs -d:pserver:[email protected]:/cvsroot/serp login
 # cvs -z3 -d:pserver:[email protected]:/cvsroot/serp export -r serp-1_13_1 serp
@@ -57,16 +55,17 @@
 Source3:        %{name}-autogenerated-files.tar.gz
 Source4:        %{name}-site.xml
 Patch0:         serp-1.13.1-pom.patch
+Patch1:         serp-1.13.1-site.patch
 
-BuildRequires:  jpackage-utils >= 0:1.7.4
-BuildRequires:  java-devel = 0:1.5.0
-BuildRequires:  ant >= 0:1.6.5
+BuildRequires:  jpackage-utils >= 0:1.7.5
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant >= 0:1.7.1
 BuildRequires:  ant-junit
 BuildRequires:  junit
 %if %{with_maven}
 BuildRequires:  maven2-common-poms
-BuildRequires:  maven2 >= 0:2.0.7
-BuildRequires:  maven2-default-skin
+BuildRequires:  maven2 >= 0:2.0.8
+BuildRequires:  maven-skins
 BuildRequires:  maven2-plugin-assembly
 BuildRequires:  maven2-plugin-ant
 BuildRequires:  maven2-plugin-compiler
@@ -77,12 +76,13 @@
 BuildRequires:  maven2-plugin-project-info-reports
 BuildRequires:  maven2-plugin-resources
 BuildRequires:  maven2-plugin-site
-BuildRequires:  maven2-plugin-surefire
-BuildRequires:  maven2-plugin-surefire-report
-BuildRequires:  mojo-maven2-plugin-jxr
+BuildRequires:  maven-surefire-plugin
+BuildRequires:  maven-surefire-provider-junit3
+BuildRequires:  maven-surefire-report-plugin
+BuildRequires:  maven-jxr
 %endif
 
-Requires:       java >= 0:1.5.0
+Requires:       java >= 0:1.6.0
 
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot
@@ -128,6 +128,7 @@
 cp %{SOURCE4} src/site/site.xml
 
 %patch0 -b .sav0
+%patch1 -b .sav1
 
 cp %{SOURCE1} settings.xml
 sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
@@ -137,8 +138,6 @@
 
 
 %build
-export JAVA_HOME=%{_jvmdir}/java-1.5.0
-
 %if %{with_maven}
 export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
 mkdir -p $MAVEN_REPO_LOCAL/JPP/maven2/default_poms/
@@ -168,6 +167,7 @@
 # jars
 install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
 %add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
+%add_to_maven_depmap net.sourceforge.%{name} %{name} %{version} JPP %{name}
 
 install -m 644 target/%{name}-%{version}.jar \
            $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
@@ -197,14 +197,6 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post javadoc
-ln -sf %{name}-%{version} %{_javadocdir}/%{name}
- 
-%postun javadoc
-if [ "$1" = "0" ]; then
-  rm -f %{_javadocdir}/%{name}
-fi
-
 %post
 %update_maven_depmap
 
@@ -215,13 +207,13 @@
 %defattr(0644,root,root,0755)
 %{_docdir}/%{name}-%{version}/LICENSE.txt
 %{_javadir}/*.jar
-%{_datadir}/maven2
-%{_mavendepmapfragdir}
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
 
 %files javadoc
 %defattr(0644,root,root,0755)
 %doc %{_javadocdir}/%{name}-%{version}
-%ghost %{_javadocdir}/%{name}
+%doc %{_javadocdir}/%{name}
 
 %if %{with_maven}
 %files manual
@@ -230,6 +222,10 @@
 %endif
 
 %changelog
+* Wed Jan 09 2013 Ralph Apel <[email protected]> 0:1.13.1-2
+- rebuild in JPP6
+- add net.sourceforge.serp depmap
+
 * Wed Feb 13 2008 Ralph Apel <[email protected]> 0:1.13.1-1jpp
 - 1.13.1