From 5db44e7df36b2c93c4ef5132c442f425f9b18345 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:08:29 +0100 Subject: [PATCH] repackage from upstream binary archive [release 3.0.2-3mamba;Wed Aug 17 2022] --- ...mx4j-3.0.1-alt-local-xsl-stylesheets.patch | 10 - java-mx4j-3.0.1-iiop-Resolver.patch | 52 ---- java-mx4j-3.0.1-no-iiop.patch | 17 -- java-mx4j-3.0.1-no-poa.patch | 20 -- java-mx4j-3.0.2-build_xml.patch | 105 ------- java-mx4j-3.0.2-caucho-build.patch | 15 - java-mx4j-3.0.2-docbook.patch | 21 -- java-mx4j-3.0.2-fix-build_xml.patch | 11 - java-mx4j-3.0.2-javaxssl.patch | 24 -- java-mx4j-3.0.2-split-extratools.patch | 93 ------ java-mx4j-CatalogManager.properties | 61 ---- java-mx4j-build.policy | 15 - java-mx4j.spec | 289 +++--------------- mx4j-3.0.2.pom | 20 -- mx4j-impl-3.0.2.pom | 6 - mx4j-jmx-3.0.2.pom | 6 - mx4j-remote-3.0.2.pom | 20 -- mx4j-rimpl-3.0.2.pom | 6 - mx4j-rjmx-3.0.2.pom | 6 - mx4j-tools-3.0.2.pom | 6 - 20 files changed, 41 insertions(+), 762 deletions(-) delete mode 100644 java-mx4j-3.0.1-alt-local-xsl-stylesheets.patch delete mode 100644 java-mx4j-3.0.1-iiop-Resolver.patch delete mode 100644 java-mx4j-3.0.1-no-iiop.patch delete mode 100644 java-mx4j-3.0.1-no-poa.patch delete mode 100644 java-mx4j-3.0.2-build_xml.patch delete mode 100644 java-mx4j-3.0.2-caucho-build.patch delete mode 100644 java-mx4j-3.0.2-docbook.patch delete mode 100644 java-mx4j-3.0.2-fix-build_xml.patch delete mode 100644 java-mx4j-3.0.2-javaxssl.patch delete mode 100644 java-mx4j-3.0.2-split-extratools.patch delete mode 100644 java-mx4j-CatalogManager.properties delete mode 100644 java-mx4j-build.policy delete mode 100644 mx4j-3.0.2.pom delete mode 100644 mx4j-impl-3.0.2.pom delete mode 100644 mx4j-jmx-3.0.2.pom delete mode 100644 mx4j-remote-3.0.2.pom delete mode 100644 mx4j-rimpl-3.0.2.pom delete mode 100644 mx4j-rjmx-3.0.2.pom delete mode 100644 mx4j-tools-3.0.2.pom diff --git a/java-mx4j-3.0.1-alt-local-xsl-stylesheets.patch b/java-mx4j-3.0.1-alt-local-xsl-stylesheets.patch deleted file mode 100644 index d301907..0000000 --- a/java-mx4j-3.0.1-alt-local-xsl-stylesheets.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- mx4j-3.0.1/src/docs/xsl/mx4j-chunk.xsl 2009-03-20 19:53:52.000000000 +0100 -+++ mx4j-3.0.1/src/docs/xsl/mx4j-chunk.xsl-gil 2009-03-20 20:32:55.000000000 +0100 -@@ -1,6 +1,6 @@ - - -- -+ - - - styles.css diff --git a/java-mx4j-3.0.1-iiop-Resolver.patch b/java-mx4j-3.0.1-iiop-Resolver.patch deleted file mode 100644 index a27fc1a..0000000 --- a/java-mx4j-3.0.1-iiop-Resolver.patch +++ /dev/null @@ -1,52 +0,0 @@ ---- mx4j-3.0.1/src/core/mx4j/remote/resolver/iiop/Resolver.java 2005-03-01 11:14:14.000000000 +0100 -+++ mx4j-3.0.1/src/core/mx4j/remote/resolver/iiop/Resolver.java-gil 2009-03-17 00:52:47.000000000 +0100 -@@ -32,6 +32,7 @@ - private static final String IOR_CONTEXT = "/ior/"; - - private ORB orb; -+ private static final String ORB_KEY = "java.naming.corba.orb"; - - - //********************************************************************************************************************// -@@ -110,19 +111,29 @@ - { - if (orb == null) - { -- Properties props = new Properties(); -- // Using putAll() on a Properties is discouraged, since it expects only Strings -- for (Iterator i = environment.entrySet().iterator(); i.hasNext();) -- { -- Map.Entry entry = (Map.Entry)i.next(); -- Object key = entry.getKey(); -- Object value = entry.getValue(); -- if (key instanceof String && value instanceof String) -- { -- props.setProperty((String)key, (String)value); -+ Object candidateORB = environment.get(ORB_KEY); -+ if (candidateORB != null) -+ { -+ // Throw as required by the spec -+ if (!(candidateORB instanceof ORB)) throw new IllegalArgumentException("Property " + ORB_KEY + " must specify a " + ORB.class.getName() + ", not " + candidateORB.getClass().getName()); -+ orb = (ORB)candidateORB; -+ } -+ else -+ { -+ Properties props = new Properties(); -+ // Using putAll() on a Properties is discouraged, since it expects only Strings -+ for (Iterator i = environment.entrySet().iterator(); i.hasNext();) -+ { -+ Map.Entry entry = (Map.Entry)i.next(); -+ Object key = entry.getKey(); -+ Object value = entry.getValue(); -+ if (key instanceof String && value instanceof String) -+ { -+ props.setProperty((String)key, (String)value); -+ } - } -- } -- orb = ORB.init((String[])null, props); -+ orb = ORB.init((String[])null, props); -+ } - } - return orb; - } diff --git a/java-mx4j-3.0.1-no-iiop.patch b/java-mx4j-3.0.1-no-iiop.patch deleted file mode 100644 index 4d13ef1..0000000 --- a/java-mx4j-3.0.1-no-iiop.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- mx4j-3.0.1/build/build.xml 2009-03-17 01:59:00.000000000 +0100 -+++ mx4j-3.0.1/build/build.xml-gil 2009-03-17 02:01:13.000000000 +0100 -@@ -254,12 +254,14 @@ - - - -+ - - - diff --git a/java-mx4j-3.0.1-no-poa.patch b/java-mx4j-3.0.1-no-poa.patch deleted file mode 100644 index 0416a32..0000000 --- a/java-mx4j-3.0.1-no-poa.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- mx4j-3.0.1/build/build.xml 2009-03-17 02:05:57.000000000 +0100 -+++ mx4j-3.0.1/build/build.xml-gil 2009-03-17 02:07:44.000000000 +0100 -@@ -253,16 +253,7 @@ - - - -- -- -- -- -- -- -- -- -- -- -+ - - - diff --git a/java-mx4j-3.0.2-build_xml.patch b/java-mx4j-3.0.2-build_xml.patch deleted file mode 100644 index 2c186bd..0000000 --- a/java-mx4j-3.0.2-build_xml.patch +++ /dev/null @@ -1,105 +0,0 @@ ---- mx4j-3.0.2/build/build.xml 2006-10-13 01:12:17.000000000 +0200 -+++ mx4j-3.0.2/build/build.xml-gil 2009-09-07 19:44:29.000000000 +0200 -@@ -55,6 +55,9 @@ - - - -+ -+ -+ - - - -@@ -261,6 +264,25 @@ - - - -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - -@@ -427,8 +449,6 @@ - - - -- -- - - - > - - - -@@ -573,7 +595,8 @@ - - - -- -+ -+ - - - -@@ -602,7 +625,9 @@ - - - -- -+ -+ -+ - - - -@@ -629,6 +654,8 @@ - - - -+ -+ - - - -@@ -677,6 +704,8 @@ - - - -+ -+ - - - diff --git a/java-mx4j-3.0.2-caucho-build.patch b/java-mx4j-3.0.2-caucho-build.patch deleted file mode 100644 index 087b540..0000000 --- a/java-mx4j-3.0.2-caucho-build.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- mx4j-3.0.2/build/build.xml 2009-09-07 19:57:00.000000000 +0200 -+++ mx4j-3.0.2/build/build.xml-gil 2009-09-07 19:58:18.000000000 +0200 -@@ -318,9 +318,9 @@ - - - -- -- -- -+ -+ -+ - - - diff --git a/java-mx4j-3.0.2-docbook.patch b/java-mx4j-3.0.2-docbook.patch deleted file mode 100644 index 511926e..0000000 --- a/java-mx4j-3.0.2-docbook.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Nru mx4j-3.0.2/src/docs/index.xml mx4j-3.0.2/src/docs-gil/index.xml ---- mx4j-3.0.2/src/docs/index.xml 2006-10-13 01:12:17.000000000 +0200 -+++ mx4j-3.0.2/src/docs-gil/index.xml 2009-09-07 19:51:04.000000000 +0200 -@@ -1,5 +1,5 @@ - -- - - -diff -Nru mx4j-3.0.2/src/docs/xsl/mx4j-chunk.xsl mx4j-3.0.2/src/docs-gil/xsl/mx4j-chunk.xsl ---- mx4j-3.0.2/src/docs/xsl/mx4j-chunk.xsl 2006-10-13 01:12:17.000000000 +0200 -+++ mx4j-3.0.2/src/docs-gil/xsl/mx4j-chunk.xsl 2009-09-07 19:52:29.000000000 +0200 -@@ -1,6 +1,6 @@ - - -- -+ - - - styles.css diff --git a/java-mx4j-3.0.2-fix-build_xml.patch b/java-mx4j-3.0.2-fix-build_xml.patch deleted file mode 100644 index 861532c..0000000 --- a/java-mx4j-3.0.2-fix-build_xml.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mx4j-3.0.2/build/build.xml 2009-09-07 21:11:40.000000000 +0200 -+++ mx4j-3.0.2/build/build.xml-gil 2009-09-07 21:12:56.000000000 +0200 -@@ -512,7 +512,7 @@ - - - -- > -+ - - - diff --git a/java-mx4j-3.0.2-javaxssl.patch b/java-mx4j-3.0.2-javaxssl.patch deleted file mode 100644 index 5d94fc8..0000000 --- a/java-mx4j-3.0.2-javaxssl.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- mx4j-3.0.2/src/tools/mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactory.java 2006-10-13 01:12:17.000000000 +0200 -+++ mx4j-3.0.2/src/tools/mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactory.java-gil 2009-09-07 19:26:25.000000000 +0200 -@@ -21,9 +21,9 @@ - import javax.net.ssl.SSLServerSocket; - import javax.net.ssl.SSLServerSocketFactory; - --import com.sun.net.ssl.KeyManagerFactory; --import com.sun.net.ssl.SSLContext; --import com.sun.net.ssl.TrustManagerFactory; -+import javax.net.ssl.KeyManagerFactory; -+import javax.net.ssl.SSLContext; -+import javax.net.ssl.TrustManagerFactory; - import mx4j.log.Log; - import mx4j.log.Logger; - -@@ -60,7 +60,7 @@ - { - static - { -- addProvider(new com.sun.net.ssl.internal.ssl.Provider()); -+ //addProvider(new com.sun.net.ssl.internal.ssl.Provider()); - } - - private String m_keyStoreType = "JKS"; diff --git a/java-mx4j-3.0.2-split-extratools.patch b/java-mx4j-3.0.2-split-extratools.patch deleted file mode 100644 index 46faf9e..0000000 --- a/java-mx4j-3.0.2-split-extratools.patch +++ /dev/null @@ -1,93 +0,0 @@ ---- mx4j-3.0.2/build/build.xml 2009-09-07 20:02:13.000000000 +0200 -+++ mx4j-3.0.2/build/build.xml-gil 2009-09-07 20:09:28.000000000 +0200 -@@ -62,7 +62,9 @@ - - - -- -+ -+ -+ - - - -@@ -105,10 +107,34 @@ - - - -- -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - -@@ -118,6 +144,9 @@ - - - -+ -+ -+ - - - -@@ -313,6 +342,7 @@ - - - -+ - - - -@@ -344,6 +374,25 @@ - - - -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - diff --git a/java-mx4j-CatalogManager.properties b/java-mx4j-CatalogManager.properties deleted file mode 100644 index f68f3e2..0000000 --- a/java-mx4j-CatalogManager.properties +++ /dev/null @@ -1,61 +0,0 @@ -######################################################################## -# CatalogManager provides an interface to the catalog properties. -# Properties can come from two places: from system properties or -# from a CatalogManager.properties file. This class provides a -# transparent interface to both, with system properties preferred -# over property file values. - -####################################################################### -# Catalog Files: -# The semicolon-delimited list of catalog files. -# Example: catalogs=./xcatalog;/share/doctypes/catalog - -catalogs=/etc/xml/catalog;/etc/sgml/catalog - -####################################################################### -# Relative Catalogs: -# If false, relative catalog URIs are made absolute with respect to the -# base URI of the CatalogManager.properties file. This setting only -# applies to catalog URIs obtained from the catalogs property in the -# CatalogManager.properties file -# Example: relative-catalogs = [yes|no] - -relative-catalogs=yes - -####################################################################### -# Verbosity: -# If non-zero, the Catalog classes will print informative and debugging -# messages. The higher the number, the more messages. -# Example: verbosity = [0..99] - -verbosity=0 - -####################################################################### -# Prefer: -# Which identifier is preferred, "public" or "system"? -# Example: xml.catalog.prefer = [public|system] - -prefer=system - -####################################################################### -# Static-catalog: -# Should a single catalog be constructed for all parsing, or should a -# different catalog be created for each parser? -# Example: static-catalog = [yes|no] - -static-catalog=yes - -####################################################################### -# Allow-oasis-xml-catalog-pi -# If the source document contains "oasis-xml-catalog" processing -# instructions, should they be used? -# Example: allow-oasis-xml-catalog-pi = [yes|no] - -allow-oasis-xml-catalog-pi=yes - -####################################################################### -# catalog-class-name -# If you're using the convenience classes -# org.apache.xml.resolver.tools.*, this setting allows you to specify -# an alternate class name to use for the underlying catalog. -# Example: catalog-class-name=org.apache.xml.resolver.Resolver diff --git a/java-mx4j-build.policy b/java-mx4j-build.policy deleted file mode 100644 index ab16186..0000000 --- a/java-mx4j-build.policy +++ /dev/null @@ -1,15 +0,0 @@ -grant codeBase "file:/-" { - permission java.security.AllPermission; -}; -grant { - permission java.util.PropertyPermission "*", "read"; - permission java.io.FilePermission "/-", "read,write"; - permission java.net.SocketPermission "*", "accept, connect, listen, resolve"; - permission java.net.SocketPermission "127.0.0.1", "accept, connect, listen, resolve"; - permission java.lang.RuntimePermission "createSecurityManager"; - permission java.lang.RuntimePermission "setSecurityManager"; - permission javax.management.MBeanPermission "*", "*"; - permission javax.management.remote.SubjectDelegationPermission "*"; - permission javax.security.auth.AuthPermission "getSubject"; -}; - diff --git a/java-mx4j.spec b/java-mx4j.spec index 7b0b8d7..362e8aa 100644 --- a/java-mx4j.spec +++ b/java-mx4j.spec @@ -2,202 +2,37 @@ %define with_test 0 Name: java-mx4j Version: 3.0.2 -Release: 2mamba +Release: 3mamba Summary: Open Source implementation of the Java(TM) Management Extensions (JMX) Group: Development/Libraries/Java Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://mx4j.sourceforge.net/ -# cvs -d:pserver:anonymous@mx4j.cvs.sourceforge.net:/cvsroot/mx4j login -# cvs -z3 -d:pserver:anonymous@mx4j.cvs.sourceforge.net:/cvsroot/mx4j co -P mx4j -Source0: mx4j-%{version}-src-cvs.tar.gz -Source1: java-mx4j-build.policy -Source2: java-mx4j-CatalogManager.properties -Source3: http://mirrors.ibiblio.org/pub/mirrors/maven2/mx4j/mx4j/%{version}/mx4j-%{version}.pom -Source4: http://mirrors.ibiblio.org/pub/mirrors/maven2/mx4j/mx4j-remote/%{version}/mx4j-remote-%{version}.pom -Source5: mx4j-impl-%{version}.pom -Source6: mx4j-jmx-%{version}.pom -Source7: mx4j-rimpl-%{version}.pom -Source8: mx4j-rjmx-%{version}.pom -Source9: mx4j-tools-%{version}.pom - -Patch0: java-mx4j-3.0.2-javaxssl.patch -Patch1: java-mx4j-3.0.1-iiop-Resolver.patch -Patch2: java-mx4j-3.0.2-build_xml.patch -Patch3: java-mx4j-3.0.2-docbook.patch -Patch4: java-mx4j-3.0.1-no-poa.patch -Patch5: java-mx4j-3.0.2-caucho-build.patch -Patch6: java-mx4j-3.0.1-no-iiop.patch -Patch7: java-mx4j-3.0.1-alt-local-xsl-stylesheets.patch -Patch8: java-mx4j-3.0.2-fix-build_xml.patch -Patch9: java-mx4j-3.0.2-split-extratools.patch +Source0: https://sourceforge.net/projects/mx4j/files/MX4J%20Binary/%{version}/mx4j-%{version}.tar.gz License: Apache Software License 2.0 -BuildRequires: apache-ant -BuildRequires: apache-ant-junit -BuildRequires: apache-ant-resolver -BuildRequires: apache-ant-trax -BuildRequires: apache-log4j -BuildRequires: apache-ws-axis -BuildRequires: coreutils -BuildRequires: docbook-dtds -BuildRequires: docbook-xsl -BuildRequires: jakarta-bcel -BuildRequires: jakarta-commons-discovery -BuildRequires: jakarta-commons-logging -BuildRequires: java-classpathx-mail -BuildRequires: java-classpathx-jaf -BuildRequires: java-hessian -BuildRequires: java-sun-jaas -BuildRequires: java-sun-jaf -BuildRequires: java-sun-mail-1.4-api -BuildRequires: java-sun-saaj-1.3-api -BuildRequires: java-wsdl4j -BuildRequires: java-xdoclet -BuildRequires: jpackage-utils -BuildRequires: jython -BuildRequires: libjetty5 -BuildRequires: xalan-j2 -BuildRequires: xerces-j2 -BuildRequires: xjavadoc -BuildRequires: xml-commons -BuildRequires: xml-commons-apis -BuildRequires: xml-commons-resolver -BuildRequires: xmlunit -#BuildRequires: jsse -#BuildRequires: jce -#Requires: jsse -#Requires: jce -Requires: apache-log4j -Requires: apache-ws-axis -Requires: jakarta-bcel -Requires: jakarta-commons-logging -Requires: java-classpathx-jaf -Requires: java-classpathx-mail -Requires: xml-commons -Requires: xml-commons-apis -Requires: xml-commons-resolver -BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: javapackages +BuildRequires: javapackages +#Requires: apache-log4j +#Requires: apache-ws-axis +#Requires: jakarta-bcel +#Requires: jakarta-commons-logging +#Requires: java-classpathx-jaf +#Requires: java-classpathx-mail +#Requires: xml-commons +#Requires: xml-commons-apis +#Requires: xml-commons-resolver %description MX4J is an Open Source implementation of the Java Management Extensions technology, for both JSR 3 (JMX) and JSR 160 (JMX Remote API) -%package javadoc -Group: Documentation -Summary: Javadoc for %{name} - -%description javadoc -MX4J is an Open Source implementation of the Java Management Extensions technology, for both JSR 3 (JMX) and JSR 160 (JMX Remote API) -This package contains javadoc for %{name} - -%package manual -Group: Documentation -Summary: Manual for %{name} - -%description manual -MX4J is an Open Source implementation of the Java Management Extensions technology, for both JSR 3 (JMX) and JSR 160 (JMX Remote API) -This package contains manual for %{name}. - %prep %setup -q -n mx4j-%{version} -for j in $(find . -name "*.jar"); do - mv $j ${j}.no -done - -for j in $(find . -name "CVS"); do - rm -rf $j -done - -# To enable iiop when rmic becomes available -# turn off patch6 and turn on patch4 -# Patch4 is a backport of upstream changes (MX4J) and may go -# away on future releases - -%patch0 -p1 -%patch2 -p1 -%patch3 -p1 -#%patch4 -p1 -%patch5 -p1 -#%patch6 -p1 -#%patch7 -p1 -%patch8 -p1 -%patch9 -p1 - -cp %{SOURCE1} build/build.policy -cp %{SOURCE2} build/CatalogManager.properties - -pushd build - ln -sf $(build-classpath ant-1.7.1) ant.jar - ln -sf $(build-classpath ant-launcher) ant-launcher.jar - ln -sf $(build-classpath ant/ant-junit) ant-junit.jar - ln -sf $(build-classpath ant/ant-trax) ant-1.7.1.jar -popd - -pushd lib -%if %with_test - ln -sf $(build-classpath junit-3.8.2) junit.jar - ln -sf $(build-classpath xmlunit) . -%endif -# build - ln -sf $(build-classpath xml-commons-apis) xml-apis.jar - ln -sf $(build-classpath xercesImpl) xercesImpl.jar - ln -sf $(build-classpath xalan-j2) xalan.jar - ln -sf $(build-classpath commons-logging) . - ln -sf $(build-classpath log4j) . - ln -sf $(build-classpath servletapi5) servlet.jar - ln -sf $(build-classpath bcel) . - ln -sf $(build-classpath xml-commons-resolver) . -# ln -sf /opt/java/jre/lib/jsse.jar . -%if ! %bootstrap - ln -sf $(build-classpath hessian) hessian.jar - ln -sf $(build-classpath hessian) burlap.jar - ln -sf $(build-classpath hessian) caucho-services.jar - ln -sf $(build-classpath axis/axis) . - ln -sf $(build-classpath axis/jaxrpc) . - ln -sf $(build-classpath axis/saaj) . - ln -sf $(build-classpath wsdl4j) . - ln -sf $(build-classpath commons-discovery) . - ln -sf $(build-classpath jython) . - ln -sf $(build-classpath jetty5/jetty) org.mortbay.jetty.jar - ln -sf $(build-classpath sun-mail-api) mail.jar - ln -sf $(build-classpath xdoclet/xdoclet) . - ln -sf $(build-classpath xdoclet/xdoclet-jmx-module) . - ln -sf $(build-classpath xdoclet/xdoclet-mx4j-module) . - ln -sf $(build-classpath jaas) . - ln -sf $(build-classpath sun-jaf) activation.jar -%endif -popd - %build -mkdir -p dist/lib/boa -cd build -export CLASSPATH=$(build-classpath junit-3.8.2 xml-commons-resolver xmlunit \ - axis/axis xalan-j2-serializer ant/ant-apache-resolver ant/ant-trax) -%if %bootstrap - echo "#################################### BOOTSTRAP ###########################################" - ant \ - -Dant.build.javac.source=1.4 \ - -Dant.build.javac.target=1.4 \ - -Dbuild.sysclasspath=first \ - compile.jmx compile.rjmx -%else - %if %with_test - echo "#################################### TEST ###########################################" - ant \ - -Dant.build.javac.source=1.4 \ - -Dant.build.javac.target=1.4 \ - -Dbuild.sysclasspath=first \ - compile.jmx compile.rjmx compile.tools tests-report javadocs docs - %else - ant \ - -Dant.build.javac.source=1.4 \ - -Dant.build.javac.target=1.4 \ - -Dbuild.sysclasspath=first \ - compile.jmx compile.rjmx compile.tools javadocs docs - %endif -%endif %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -205,33 +40,33 @@ mkdir -p %{buildroot}%{_javadir}/mx4j/boa mkdir -p %{buildroot}%{_datadir}/mx4j mkdir -p %{buildroot}%{_datadir}/mx4j-%{version} -install -m 644 dist/lib/mx4j-impl.jar \ +install -m 644 lib/mx4j-impl.jar \ %{buildroot}%{_javadir}/mx4j/mx4j-impl-%{version}.jar -install -m 644 dist/lib/mx4j-jmx.jar \ +install -m 644 lib/mx4j-jmx.jar \ %{buildroot}%{_javadir}/mx4j/mx4j-jmx-%{version}.jar -install -m 644 dist/lib/mx4j.jar \ +install -m 644 lib/mx4j.jar \ %{buildroot}%{_javadir}/mx4j/mx4j-%{version}.jar %if ! %bootstrap - install -m 644 dist/lib/mx4j-tools.jar \ + install -m 644 lib/mx4j-tools.jar \ %{buildroot}%{_javadir}/mx4j/mx4j-tools-%{version}.jar - install -m 644 dist/lib/mx4j-tools-extra.jar \ - %{buildroot}%{_javadir}/mx4j/mx4j-tools-extra-%{version}.jar - install -m 644 dist/lib/mx4j-soap.war \ +# install -m 644 lib/mx4j-tools-extra.jar \ +# %{buildroot}%{_javadir}/mx4j/mx4j-tools-extra-%{version}.jar + install -m 644 lib/mx4j-soap.war \ %{buildroot}%{_datadir}/mx4j-%{version} %endif -install -m 644 dist/lib/mx4j-rjmx.jar \ +install -m 644 lib/mx4j-rjmx.jar \ %{buildroot}%{_javadir}/mx4j/mx4j-rjmx-%{version}.jar -install -m 644 dist/lib/mx4j-rimpl.jar \ +install -m 644 lib/mx4j-rimpl.jar \ %{buildroot}%{_javadir}/mx4j/mx4j-rimpl-%{version}.jar -install -m 644 dist/lib/mx4j-remote.jar \ +install -m 644 lib/mx4j-remote.jar \ %{buildroot}%{_javadir}/mx4j/mx4j-remote-%{version}.jar -install -m 644 dist/lib/boa/mx4j-rjmx-boa.jar \ - %{buildroot}%{_javadir}/mx4j/boa/mx4j-rjmx-boa-%{version}.jar -install -m 644 dist/lib/boa/mx4j-rimpl-boa.jar \ - %{buildroot}%{_javadir}/mx4j/boa/mx4j-rimpl-boa-%{version}.jar -install -m 644 dist/lib/boa/mx4j-remote-boa.jar \ - %{buildroot}%{_javadir}/mx4j/boa/mx4j-remote-boa-%{version}.jar +#install -m 644 lib/boa/mx4j-rjmx-boa.jar \ +# %{buildroot}%{_javadir}/mx4j/boa/mx4j-rjmx-boa-%{version}.jar +#install -m 644 lib/boa/mx4j-rimpl-boa.jar \ +# %{buildroot}%{_javadir}/mx4j/boa/mx4j-rimpl-boa-%{version}.jar +#install -m 644 lib/boa/mx4j-remote-boa.jar \ +# %{buildroot}%{_javadir}/mx4j/boa/mx4j-remote-boa-%{version}.jar ( cd %{buildroot}%{_javadir}/mx4j @@ -240,44 +75,14 @@ install -m 644 dist/lib/boa/mx4j-remote-boa.jar \ done ) -mkdir -p %{buildroot}%{_datadir}/maven2/poms - -%add_to_maven_depmap mx4j mx4j %{version} JPP/mx4j mx4j -install -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/maven2/poms/JPP.mx4j-mx4j.pom - -%add_to_maven_depmap mx4j mx4j-remote %{version} JPP/mx4j mx4j-remote -install -pm 644 %{SOURCE4} %{buildroot}%{_datadir}/maven2/poms/JPP.mx4j-mx4j-remote.pom - -%add_to_maven_depmap mx4j mx4j-impl %{version} JPP/mx4j mx4j-impl -install -pm 644 %{SOURCE5} %{buildroot}%{_datadir}/maven2/poms/JPP.mx4j-mx4j-impl.pom - -%add_to_maven_depmap mx4j mx4j-jmx %{version} JPP/mx4j mx4j-jmx -install -pm 644 %{SOURCE6} %{buildroot}%{_datadir}/maven2/poms/JPP.mx4j-mx4j-jmx.pom - -%add_to_maven_depmap mx4j mx4j-rimpl %{version} JPP/mx4j mx4j-rimpl -install -pm 644 %{SOURCE7} %{buildroot}%{_datadir}/maven2/poms/JPP.mx4j-mx4j-rimpl.pom - -%add_to_maven_depmap mx4j mx4j-rjmx %{version} JPP/mx4j mx4j-rjmx -install -pm 644 %{SOURCE8} %{buildroot}%{_datadir}/maven2/poms/JPP.mx4j-mx4j-rjmx.pom - -%add_to_maven_depmap mx4j mx4j-tools %{version} JPP/mx4j mx4j-tools -install -pm 644 %{SOURCE9} %{buildroot}%{_datadir}/maven2/poms/JPP.mx4j-mx4j-tools.pom - -%if ! %{bootstrap} -mkdir -p %{buildroot}%{_javadocdir}/mx4j-%{version} -cp -r dist/docs/api/* %{buildroot}%{_javadocdir}/mx4j-%{version} -ln -s mx4j-%{version} %{buildroot}%{_javadocdir}/mx4j -%endif -#%{_bindir}/aot-compile-rpm - %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) -%{_javadir}/mx4j/boa/mx4j-remote-boa-%{version}.jar -%{_javadir}/mx4j/boa/mx4j-rimpl-boa-%{version}.jar -%{_javadir}/mx4j/boa/mx4j-rjmx-boa-%{version}.jar +#%{_javadir}/mx4j/boa/mx4j-remote-boa-%{version}.jar +#%{_javadir}/mx4j/boa/mx4j-rimpl-boa-%{version}.jar +#%{_javadir}/mx4j/boa/mx4j-rjmx-boa-%{version}.jar %{_javadir}/mx4j/mx4j-%{version}.jar %{_javadir}/mx4j/mx4j.jar %{_javadir}/mx4j/mx4j-impl-%{version}.jar @@ -290,29 +95,17 @@ ln -s mx4j-%{version} %{buildroot}%{_javadocdir}/mx4j %{_javadir}/mx4j/mx4j-rimpl.jar %{_javadir}/mx4j/mx4j-rjmx-%{version}.jar %{_javadir}/mx4j/mx4j-rjmx.jar -%if ! %bootstrap %{_javadir}/mx4j/mx4j-tools-%{version}.jar %{_javadir}/mx4j/mx4j-tools.jar -%{_javadir}/mx4j/mx4j-tools-extra-%{version}.jar -%{_javadir}/mx4j/mx4j-tools-extra.jar -%{_datadir}/mx4j-%{version} -%endif -%{_datadir}/maven2/poms -%{_mavendepmapfragdir} -#%doc README.txt - -%if ! %bootstrap -%files javadoc -%defattr(-,root,root) -%{_javadocdir}/mx4j-%{version} -%{_javadocdir}/mx4j - -%files manual -%defattr(-,root,root) -%doc dist/docs/* -%endif +#%{_javadir}/mx4j/mx4j-tools-extra-%{version}.jar +#%{_javadir}/mx4j/mx4j-tools-extra.jar +%{_datadir}/mx4j-%{version}/mx4j-soap.war +%doc LICENSE.txt %changelog +* Wed Aug 17 2022 Silvan Calarco 3.0.2-3mamba +- repackage from upstream binary archive + * Mon Nov 29 2010 gil 3.0.2-2mamba - rebuilt devel diff --git a/mx4j-3.0.2.pom b/mx4j-3.0.2.pom deleted file mode 100644 index df12962..0000000 --- a/mx4j-3.0.2.pom +++ /dev/null @@ -1,20 +0,0 @@ - - 4.0.0 - mx4j - mx4j - 3.0.2 - jar - MX4J - http://mx4j.sourceforge.net - MX4J JMX API and implementation - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - http://mx4j.cvs.sourceforge.net/mx4j/ - - diff --git a/mx4j-impl-3.0.2.pom b/mx4j-impl-3.0.2.pom deleted file mode 100644 index 8a3e0c7..0000000 --- a/mx4j-impl-3.0.2.pom +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - mx4j - mx4j-impl - 3.0.2 - \ No newline at end of file diff --git a/mx4j-jmx-3.0.2.pom b/mx4j-jmx-3.0.2.pom deleted file mode 100644 index cd039c0..0000000 --- a/mx4j-jmx-3.0.2.pom +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - mx4j - mx4j-jmx - 3.0.2 - diff --git a/mx4j-remote-3.0.2.pom b/mx4j-remote-3.0.2.pom deleted file mode 100644 index f23057f..0000000 --- a/mx4j-remote-3.0.2.pom +++ /dev/null @@ -1,20 +0,0 @@ - - 4.0.0 - mx4j - mx4j-remote - 3.0.2 - jar - MX4J JMX Remote - http://mx4j.sourceforge.net - MX4J Remote - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - http://mx4j.cvs.sourceforge.net/mx4j/ - - diff --git a/mx4j-rimpl-3.0.2.pom b/mx4j-rimpl-3.0.2.pom deleted file mode 100644 index 2ed5a88..0000000 --- a/mx4j-rimpl-3.0.2.pom +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - mx4j - mx4j-rimpl - 3.0.2 - \ No newline at end of file diff --git a/mx4j-rjmx-3.0.2.pom b/mx4j-rjmx-3.0.2.pom deleted file mode 100644 index aae18a3..0000000 --- a/mx4j-rjmx-3.0.2.pom +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - mx4j - mx4j-rjmx - 3.0.2 - \ No newline at end of file diff --git a/mx4j-tools-3.0.2.pom b/mx4j-tools-3.0.2.pom deleted file mode 100644 index 5846311..0000000 --- a/mx4j-tools-3.0.2.pom +++ /dev/null @@ -1,6 +0,0 @@ - - 4.0.0 - mx4j - mx4j-tools - 3.0.2 -