[RPM (6.0)] [DIST generic] hibernate2-2.1.8-2.jpp6
Ralph Apel <[email protected]>
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : hibernate2 Relocations: (not relocatable) Version : 2.1.8 Vendor: JPackage Project Release : 2.jpp6 Build Date: Tue 07 Aug 2012 07:29:12 AM CEST Install Date: (not installed) Build Host: linux.fritz.box Group : Database Source RPM: (none) Size : 17366670 License: LGPL Signature : (none) Packager : Ralph Apel <[email protected]> URL : http://www.hibernate.org/ Summary : Relational persistence and query service Description : Hibernate is a powerful, ultra-high performance object/relational persistence and query service for Java. Hibernate lets you develop persistent objects following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework. Extremely fine-grained, richly typed object models are possible. The Hibernate Query Language, designed as a "minimal" object-oriented extension to SQL, provides an elegant bridge between the object and relational worlds. Hibernate is now the most popular ORM solution for Java. --------------- Ralph Apel <r.apel at r-apel.de> - 0:2.1.8-2 - First JPP-6 release --------------- hibernate2.src: W: source-or-patch-not-bzipped hibernate-build_xml.patch hibernate2.src: W: source-or-patch-not-bzipped hibernate2-EhCache.patch hibernate2.src: W: source-or-patch-not-bzipped hibernate2-ResultSetWrapper.patch hibernate2.src: W: source-or-patch-not-bzipped hibernate-FumTest.patch hibernate2.src: W: source-or-patch-not-bzipped hibernate2-ClobImpl.patch hibernate2.src: W: source-or-patch-not-bzipped hibernate2-BlobImpl.patch hibernate2.src: W: no-signature hibernate2.src: W: mixed-use-of-spaces-and-tabs (spaces: line 39, tab: line 87) 1 packages and 0 specfiles checked; 0 errors, 8 warnings. --------------- Index: hibernate-FumTest.patch =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/hibernate2/hibernate-FumTest.patch,v retrieving revision 1.1 diff -u -r1.1 hibernate-FumTest.patch --- hibernate-FumTest.patch 5 Mar 2008 17:35:49 -0000 1.1 +++ hibernate-FumTest.patch 7 Aug 2012 05:41:07 -0000 @@ -1,44 +1,38 @@ -*** test/org/hibernate/test/FumTest.java.orig 2004-06-05 12:31:06.000000000 -0400 ---- test/org/hibernate/test/FumTest.java 2004-06-05 12:31:38.000000000 -0400 -*************** -*** 1,6 **** ---- 1,11 ---- - //$Id: FumTest.java,v 1.1.2.11 2004/06/02 02:24:49 steveebersole Exp $ - package org.hibernate.test; - -+ import java.io.ByteArrayInputStream; -+ import java.io.ByteArrayOutputStream; -+ import java.io.IOException; -+ import java.io.ObjectInputStream; -+ import java.io.ObjectOutputStream; - import java.io.Serializable; - import java.util.ArrayList; - import java.util.Date; -*************** -*** 18,23 **** ---- 23,29 ---- - import junit.textui.TestRunner; - import net.sf.hibernate.Criteria; - import net.sf.hibernate.FetchMode; -+ import net.sf.hibernate.FlushMode; - import net.sf.hibernate.Hibernate; - import net.sf.hibernate.LockMode; - import net.sf.hibernate.Query; -*************** -*** 33,41 **** ---- 39,53 ---- - import net.sf.hibernate.type.EntityType; - import net.sf.hibernate.type.StringType; - import net.sf.hibernate.type.Type; -+ import org.apache.commons.logging.Log; -+ import org.apache.commons.logging.LogFactory; -+ -+ - - public class FumTest extends TestCase { - -+ private static final Log log = LogFactory.getLog(FumTest.class); -+ - private static short fumKeyShort = 1; - - public FumTest(String arg) { +--- test/org/hibernate/test/FumTest.java.sav1 2005-01-30 08:48:47.000000000 +0100 ++++ test/org/hibernate/test/FumTest.java 2012-08-02 11:22:42.427694059 +0200 +@@ -1,6 +1,11 @@ + //$Id: FumTest.java,v 1.7 2004/12/28 13:50:55 maxcsaucdk Exp $ + package org.hibernate.test; + ++import java.io.ByteArrayInputStream; ++import java.io.ByteArrayOutputStream; ++import java.io.IOException; ++import java.io.ObjectInputStream; ++import java.io.ObjectOutputStream; + import java.io.Serializable; + import java.io.IOException; + import java.io.ByteArrayOutputStream; +@@ -23,6 +28,7 @@ + import junit.textui.TestRunner; + import net.sf.hibernate.Criteria; + import net.sf.hibernate.FetchMode; ++import net.sf.hibernate.FlushMode; + import net.sf.hibernate.Hibernate; + import net.sf.hibernate.LockMode; + import net.sf.hibernate.Query; +@@ -40,9 +46,15 @@ + import net.sf.hibernate.type.EntityType; + import net.sf.hibernate.type.StringType; + import net.sf.hibernate.type.Type; ++import org.apache.commons.logging.Log; ++import org.apache.commons.logging.LogFactory; ++ ++ + + public class FumTest extends TestCase { + ++ private static final Log log = LogFactory.getLog(FumTest.class); ++ + private static short fumKeyShort = 1; + + public FumTest(String arg) { Index: hibernate-build_xml.patch =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/hibernate2/hibernate-build_xml.patch,v retrieving revision 1.1 diff -u -r1.1 hibernate-build_xml.patch --- hibernate-build_xml.patch 5 Mar 2008 17:35:49 -0000 1.1 +++ hibernate-build_xml.patch 7 Aug 2012 05:41:07 -0000 @@ -1,5 +1,5 @@ --- build.xml.sav0 2005-01-30 08:48:51.000000000 +0100 -+++ build.xml 2008-02-04 11:27:30.000000000 +0100 ++++ build.xml 2012-08-02 15:40:23.542792259 +0200 @@ -17,7 +17,7 @@ <property name="name" value="hibernate"/> <property name="name2" value="hibernate2"/> @@ -22,7 +22,7 @@ value="org.eclipse.jdt.core.JDTCompilerAdapter" classpath="${java.class.path}"/> <javac -+ source="1.4" ++ source="1.4" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="lib.class.path" Index: hibernate2.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/hibernate2/hibernate2.spec,v retrieving revision 1.1 diff -u -r1.1 hibernate2.spec --- hibernate2.spec 5 Mar 2008 17:35:49 -0000 1.1 +++ hibernate2.spec 7 Aug 2012 05:41:07 -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 @@ -31,28 +31,32 @@ %define section free %define base_version 2.1 %define oname hibernate +%define _binary_payload w9.gzdio +%define _source_payload w9.gzdio +%define _binary_filedigest_algorithm 1 +%define _source_filedigest_algorithm 1 Summary: Relational persistence and query service Name: hibernate2 Version: 2.1.8 -Release: 1jpp +Release: 2%{?dist} Epoch: 0 License: LGPL URL: http://www.hibernate.org/ Group: Database -Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}} -Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} Source0: http://downloads.sourceforge.net/hibernate/hibernate-2.1.8.tar.gz Source1: http://repo1.maven.org/maven2/net/sf/hibernate/hibernate/2.1.8/hibernate-2.1.8.pom Patch0: hibernate-build_xml.patch Patch1: hibernate-FumTest.patch Patch2: hibernate2-EhCache.patch +Patch3: hibernate2-ResultSetWrapper.patch +Patch4: hibernate2-BlobImpl.patch +Patch5: hibernate2-ClobImpl.patch - -BuildRequires: jpackage-utils >= 0:1.7.4 -BuildRequires: java-devel = 0:1.5.0 +BuildRequires: jpackage-utils >= 0:1.7.5 +BuildRequires: java-devel >= 0:1.6.0 BuildRequires: junit -BuildRequires: ant >= 0:1.6.5 +BuildRequires: ant >= 0:1.7.1 BuildRequires: ant-junit BuildRequires: ant-swing BuildRequires: ant-trax @@ -60,10 +64,10 @@ BuildRequires: asm BuildRequires: c3p0 BuildRequires: cglib >= 0:2.0 -BuildRequires: jakarta-commons-collections >= 0:2.1 -BuildRequires: jakarta-commons-dbcp >= 0:1.2.1 -BuildRequires: jakarta-commons-logging -BuildRequires: jakarta-commons-pool +BuildRequires: apache-commons-collections >= 0:2.1 +BuildRequires: apache-commons-dbcp >= 0:1.2.1 +BuildRequires: apache-commons-logging +BuildRequires: apache-commons-pool BuildRequires: odmg = 0:3.0 BuildRequires: hsqldb >= 0:1.72 BuildRequires: dom4j @@ -75,23 +79,23 @@ BuildRequires: proxool BuildRequires: swarmcache BuildRequires: jakarta-jcs -BuildRequires: jboss-cache +BuildRequires: jboss-cache BuildRequires: jboss4-system >= 0:4.0.0 BuildRequires: xalan-j2 -Requires: java >= 0:1.5.0 +Requires: java >= 0:1.6.0 Requires: hibernate_jdbc_cache Requires: hibernate_in_process_cache Requires: cglib >= 0:2.0 -Requires: jakarta-commons-collections >= 0:2.1 -Requires: jakarta-commons-logging +Requires: apache-commons-collections >= 0:2.1 +Requires: apache-commons-logging Requires: odmg = 0:3.0 Requires: dom4j Requires: jta_1_0_1B_api Requires: xalan-j2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -Requires(post): jpackage-utils >= 0:1.7.4 -Requires(postun): jpackage-utils >= 0:1.7.4 +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 %description Hibernate is a powerful, ultra-high performance @@ -111,8 +115,6 @@ %package javadoc Summary: Javadoc for %{name} Group: Development/Documentation -Requires(post): /bin/rm,/bin/ln -Requires(postun): /bin/rm %description javadoc %{summary}. @@ -132,9 +134,11 @@ %patch0 -b .sav0 %patch1 -b .sav1 %patch2 -b .sav2 +%patch3 -b .sav3 +%patch4 -b .sav4 +%patch5 -b .sav5 %build -export JAVA_HOME=%{_jvmdir}/java-1.5.0 (cd lib ln -s $(build-classpath hsqldb) hsqldb.jar ) @@ -197,15 +201,6 @@ %clean rm -rf $RPM_BUILD_ROOT -%post javadoc -rm -f %{_javadocdir}/%{name} -ln -s %{name}-%{version} %{_javadocdir}/%{name} - -%postun javadoc -if [ "$1" = "0" ]; then - rm -f %{_javadocdir}/%{name} -fi - %post %update_maven_depmap @@ -217,19 +212,22 @@ %doc %{_docdir}/%{name}-%{version}/lgpl.txt %{_javadir}/*.jar %{_datadir}/%{name}-%{version} -%{_datadir}/maven2 -%{_mavendepmapfragdir} +%{_datadir}/maven2/poms/* +%{_mavendepmapfragdir}/* %files javadoc %defattr(0644,root,root,0755) -%{_javadocdir}/%{name}-%{version} -%ghost %doc %{_javadocdir}/%{name} +%doc %{_javadocdir}/%{name}-%{version} +%doc %{_javadocdir}/%{name} %files manual %defattr(0644,root,root,0755) -%{_docdir}/%{name}-%{version} +%doc %{_docdir}/%{name}-%{version} %changelog +* Mon Aug 06 2012 Ralph Apel <r.apel at r-apel.de> - 0:2.1.8-2 +- First JPP-6 release + * Wed Mar 05 2008 Ralph Apel <r.apel at r-apel.de> - 0:2.1.8-1jpp - 2.1.8 and rename to hibernate2 - Adapt to current JPP50 environment