[RPM (6.0)] [DIST generic] mockejb-0.6-0.b2.4.jpp6

Ralph Apel <[email protected]> Thu, 23 Aug 2012 09:20:15 +0200
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : mockejb                      Relocations: (not relocatable)
Version     : 0.6                               Vendor: JPackage Project
Release     : 0.b2.4.jpp6                   Build Date: Thu 23 Aug 2012 09:15:20 AM CEST
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 1643399                          License: Apache Software License
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://mockejb.sourceforge.net/
Summary     : Framework for running EJBs
Description :
MockEJB is a lightweight framework for running EJBs. MockEJB
implements javax.ejb APIs and creates Home and EJBObject
implementation classes for your EJBs. Internally, MockEJB relies
on dynamic proxies and interceptors. MockEJB has two primary usages:
* It allows for running EJBs outside of the container for unit
  testing.You can run EJBs directly from your favorite IDE with
  the minimal setup effort.
* It allows for deploying mock EJBs (i.e., mock EJB implementation
  classes) into the container. Mock EJBs provide very effective way
  of isolating EJBs under test from the rest of the application.
  Mock EJBs return predefined test data and can override the actual
  "non-mock" deployed EJBs. Once again, the purpose of MockEJB is
  twofold and it works inside and outside of the container. So you
  can benefit from it even if you continue running all your test
  classes inside the container using Cactus.
Additionally, MockEJB comes with the "mock" implementation of non-EJB
APIs. Currently it provides in-memory JNDI and JMS implementations
which can be used independently from MockEJB's EJB support.
MockEJB is not a full-blown EJB container. It does not fully implement
J2EE/EJB specs, however it supports all vital APIs.

---------------
Ralph Apel <r.apel at r-apel.de> - 0:0.6-0.b2.4
- First JPP-6.0 release
---------------
mockejb.src: W: source-or-patch-not-bzipped mockejb-0.6-build_properties.patch
mockejb.src: W: source-or-patch-not-bzipped mockejb-build_mockejb.patch
mockejb.src: W: source-or-patch-not-bzipped mockejb-AllTests.patch
mockejb.src: W: source-or-patch-not-bzipped mockejb-MockEjbContext.patch
mockejb.src: W: no-signature
1 packages and 0 specfiles checked; 0 errors, 5 warnings.

---------------
Index: mockejb.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/mockejb/mockejb.spec,v
retrieving revision 1.1
diff -u -r1.1 mockejb.spec
--- mockejb.spec	28 Jan 2008 15:54:09 -0000	1.1
+++ mockejb.spec	23 Aug 2012 07:20:14 -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
@@ -28,25 +28,25 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
 # If you want tests to be built,
 # give rpmbuild option '--with tests'
 %define with_tests %{!?_with_tests:0}%{?_with_tests:1}
 %define without_tests %{?_without_tests:1}%{!?_without_tests:0}
 
 %define section free
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Summary:        Framework for running EJBs
 Name:           mockejb
 Version:        0.6
-Release:        0.b2.3jpp
+Release:        0.b2.4%{?dist}
 Epoch:          0
 License:        Apache Software License
 URL:            http://mockejb.sourceforge.net/
 Group:          Development/Libraries/Java
-Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
-Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
 Source0:        mockejb-0.6-beta2.zip
 Source1:        mockejb-0.6-beta2.pom
 Patch0:         mockejb-0.6-build_properties.patch
@@ -54,16 +54,16 @@
 Patch2:         mockejb-MockEjbContext.patch
 Patch3:         mockejb-build_mockejb.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
 BuildRequires:  asm
 BuildRequires:  aspectj
 BuildRequires:  cglib
 BuildRequires:  easymock
-BuildRequires:  jakarta-commons-logging
+BuildRequires:  apache-commons-logging
 BuildRequires:  jakarta-cactus
 BuildRequires:  jakarta-oro
 BuildRequires:  geronimo-j2ee-1.4-apis
@@ -72,19 +72,11 @@
 %if %{with_tests}
 BuildRequires:  mockrunner
 %endif
-Requires:  jakarta-commons-logging
-%if ! %{gcj_support}
+Requires:  apache-commons-logging
 BuildArch:      noarch
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-%if %{gcj_support}
-BuildRequires:    gnu-crypto
-BuildRequires:    java-gcj-compat-devel
-Requires(post):   java-gcj-compat
-Requires(postun): java-gcj-compat
-%endif
-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
 MockEJB is a lightweight framework for running EJBs. MockEJB 
@@ -111,8 +103,6 @@
 %package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Documentation
-Requires(post):   /bin/rm,/bin/ln
-Requires(postun): /bin/rm
 
 %description javadoc
 %{summary}.
@@ -184,40 +174,14 @@
 cp -pr build/%{name}/%{name}-%{version}-beta2/doc/* \
     $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
-%if %{gcj_support}
-export CLASSPATH=$(build-classpath gnu-crypto)
-%{_bindir}/aot-compile-rpm
-%endif
-
 %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
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(0644,root,root,0755)
@@ -225,21 +189,20 @@
 %doc %{_docdir}/%{name}-%{version}/ReleaseNotes.html
 %{_datadir}/maven2
 %{_mavendepmapfragdir}
-%if %{gcj_support}
-%dir %attr(-,root,root) %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/%{name}-%{version}.jar.*
-%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)
 %{_javadocdir}/%{name}-%{version}
-%ghost %{_javadocdir}/%{name}
+%{_javadocdir}/%{name}
 
 %files manual
 %defattr(0644,root,root,0755)
 %doc %{_docdir}/%{name}-%{version}
 
 %changelog
+* Thu Aug 23 2012 Ralph Apel <r.apel at r-apel.de> - 0:0.6-0.b2.4
+- First JPP-6.0 release
+
 * Wed Feb 28 2007 Ralph Apel <r.apel at r-apel.de> - 0:0.6-0.b2.3jpp
 - First JPP-5.0 release
 - Add pom and depmap frags