[RPM (6.0)] apache-commons-codec-1.8-1.jpp6

Ralph Apel <[email protected]> Sun, 28 Jul 2013 09:33:40 +0200
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : apache-commons-codec         Relocations: (not relocatable)
Version     : 1.8                               Vendor: JPackage Project
Release     : 1.jpp6                        Build Date: Sat 20 Jul 2013 03:38:26 PM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 313393                           License: Apache Software License 2.0
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://commons.apache.org/codec/
Summary     : Apache Commons Codec Package
Description :
Commons Codec is an attempt to provide definitive implementations of
commonly used encoders and decoders.

---------------
Ralph Apel <[email protected]> 0:1.8-1
- 1.8
---------------

---------------
Index: apache-commons-codec-jpp-depmap.xml
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/apache-commons-codec/apache-commons-codec-jpp-depmap.xml,v
retrieving revision 1.1
diff -u -r1.1 apache-commons-codec-jpp-depmap.xml
--- apache-commons-codec-jpp-depmap.xml	8 Sep 2010 08:42:25 -0000	1.1
+++ apache-commons-codec-jpp-depmap.xml	28 Jul 2013 07:33:39 -0000
@@ -11,4 +11,17 @@
             <version>1.1.3.8</version>
         </jpp>
     </dependency>
+<dependency>
+    <maven>
+        <groupId>org.apache.maven.shared</groupId>
+        <artifactId>maven-common-artifact-filters</artifactId>
+        <version>1.4</version>
+    </maven>
+    <jpp>
+        <groupId>JPP</groupId>
+        <artifactId>maven-common-artifact-filters</artifactId>
+        <version>1.4</version>
+    </jpp>
+</dependency>
+
 </dependencies>
Index: apache-commons-codec.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/apache-commons-codec/apache-commons-codec.spec,v
retrieving revision 1.4
diff -u -r1.4 apache-commons-codec.spec
--- apache-commons-codec.spec	9 Dec 2010 09:07:17 -0000	1.4
+++ apache-commons-codec.spec	28 Jul 2013 07:33:39 -0000
@@ -1,4 +1,4 @@
-# Copyright (c) 2000-2010, JPackage Project
+# Copyright (c) 2000-2013, JPackage Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -53,14 +53,14 @@
 %define section    free
 
 Name:           apache-commons-codec
-Version:        1.4
-Release:        5%{?dist}
+Version:        1.8
+Release:        1%{?dist}
 Summary:        Apache Commons Codec Package
 License:        Apache Software License 2.0
 Group:          Development/Libraries/Java
 Epoch:          0
 URL:            http://commons.apache.org/codec/
-Source0:        http://www.apache.org/dist/jakarta/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
+Source0:        http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
 Source1:        %{name}-settings.xml
 Source2:        %{name}-jpp-depmap.xml
 Source3:        %{name}-component-info.xml
@@ -74,7 +74,7 @@
 BuildRequires:  apache-commons-parent >= 0:12
 BuildRequires:  maven2 >= 0:2.0.8
 BuildRequires:  maven-surefire-maven-plugin
-BuildRequires:  maven-surefire-provider-junit
+BuildRequires:  maven-surefire-provider-junit4
 BuildRequires:  maven2-plugin-antrun
 BuildRequires:  maven2-plugin-assembly
 BuildRequires:  maven2-plugin-compiler
@@ -83,6 +83,7 @@
 BuildRequires:  maven2-plugin-jar
 BuildRequires:  maven2-plugin-javadoc
 BuildRequires:  maven2-plugin-resources
+BuildRequires:  commons-build-plugin
 %endif
 Requires(post): jpackage-utils >= 0:1.7.5
 Requires(postun): jpackage-utils >= 0:1.7.5
@@ -158,11 +159,11 @@
 %if %with maven
 export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
 mkdir -p ${MAVEN_REPO_LOCAL}
-export MAVEN_OPTS="-Dmaven2.jpp.mode=true -Dmaven2.jpp.depmap.file=%{SOURCE2} -Dmaven.repo.local=${MAVEN_REPO_LOCAL} -Dproject.build.directory=$(pwd)/target"
+export MAVEN_OPTS="-Dmaven2.jpp.mode=true -Dmaven2.jpp.depmap.file=%{SOURCE2} -Dmaven.repo.local=${MAVEN_REPO_LOCAL} -Dproject.build.directory=$(pwd)/target -Dmaven.test.failure.ignore=true"
 %{_bindir}/mvn-jpp \
         -e \
         -s $(pwd)/settings.xml \
-        install javadoc:javadoc
+        install javadoc:aggregate
 %else
 
 export CLASSPATH=$(build-classpath junit)
@@ -186,6 +187,7 @@
 mkdir -p $RPM_BUILD_ROOT%{_javadir}
 %if %with maven
 cp -p target/%{short_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
+cp -p target/%{short_name}-%{version}-tests.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-tests-%{version}.jar
 %else
 cp -p dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
 %endif
@@ -259,7 +261,7 @@
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}/*
 %if %{gcj_support}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/apache-commons-codec-1.4.jar.*
+%attr(-,root,root) %{_libdir}/gcj/%{name}/apache-commons-codec-1.8.jar.*
 %endif
 
 %files javadoc
@@ -273,6 +275,9 @@
 %endif
 
 %changelog
+* Sat Jul 06 2013 Ralph Apel <[email protected]> 0:1.8-1
+- 1.8
+
 * Thu Dec 09 2010 Ralph Apel <[email protected]> 0:1.4-5
 - Fix compat symlinks for jakarta-commons-codec