Projects
Eulaceura:Mainline
mx4j
_service:obs_scm:mx4j.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:mx4j.spec of Package mx4j
Name: mx4j Version: 3.0.1 Release: 4 Epoch: 1 Summary: Open source implementation of JMX Java API License: ASL 1.1 URL: http://mx4j.sourceforge.net/ Source0: https://master.dl.sourceforge.net/project/mx4j/MX4J%20Source/3.0.1/mx4j-3.0.1-src.tar.gz Source1: mx4j-build.policy Source2: CatalogManager.properties Source3: https://repo1.maven.org/maven2/mx4j/mx4j/3.0.1/mx4j-3.0.1.pom Source4: https://repo1.maven.org/maven2/mx4j/mx4j-jmx/3.0.1/mx4j-jmx-3.0.1.pom Source5: https://repo1.maven.org/maven2/mx4j/mx4j-jmx-remote/3.0.1/mx4j-jmx-remote-3.0.1.pom Source6: https://repo1.maven.org/maven2/mx4j/mx4j-remote/3.0.1/mx4j-remote-3.0.1.pom Source7: https://repo1.maven.org/maven2/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0.1.pom Source8: https://repo1.maven.org/maven2/mx4j/mx4j-impl/2.1.1/mx4j-impl-2.1.1.pom Source9: https://repo1.maven.org/maven2/mx4j/mx4j-rimpl/2.1.1/mx4j-rimpl-2.1.1.pom Source10: https://repo1.maven.org/maven2/mx4j/mx4j-rjmx/2.1.1/mx4j-rjmx-2.1.1.pom Patch0: mx4j-javaxssl.patch Patch1: mx4j-%{version}.patch Patch2: mx4j-build.patch Patch3: mx4j-docbook.patch Patch5: mx4j-caucho-build.patch Patch6: mx4j-no-iiop.patch BuildArch: noarch BuildRequires: jpackage-utils > 0:1.6 javapackages-local ant >= 0:1.6 ant-apache-resolver BuildRequires: javamail >= 0:1.2-5jpp log4j >= 0:1.2.7 apache-commons-logging >= 0:1.0.1 BuildRequires: xml-commons-apis bcel >= 0:5.0 coreutils wsdl4j apache-commons-discovery BuildRequires: docbook-dtds >= 0:1.0 docbook-style-xsl >= 0:1.61 xml-commons-resolver BuildRequires: xml-commons xerces-j2 dos2unix Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives Requires: javamail >= 0:1.2-5jpp log4j >= 0:1.2.7 apache-commons-logging >= 0:1.0.1 Requires: xml-commons-apis bcel >= 0:5.0 xml-commons-resolver xml-commons %description OpenJMX is an open source implementation of the Java(TM) Management Extensions (JMX). %package javadoc Summary: Javadoc for %{name} Requires: jpackage-utils %description javadoc Javadoc for %{name}. %package manual Summary: Documentation for %{name} %description manual Documentation for %{name}. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -b .sav %patch3 -p1 %patch5 -p1 %patch6 -p1 cp %{SOURCE1} build cp %{_sourcedir}/CatalogManager.properties %{_builddir}/%{name}-%{version}/build/ cp %{SOURCE8} %{name}-impl-%{version}.pom cp %{SOURCE9} %{name}-rimpl-%{version}.pom cp %{SOURCE10} %{name}-rjmx-%{version}.pom sed -i "s|<version>2.1.1</version>|<version>%{version}</version>|" %{name}-*-%{version}.pom pushd lib ln -sf $(build-classpath xml-commons-apis) xml-apis.jar ln -sf $(build-classpath xerces-j2) 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 bcel) . ln -sf $(build-classpath wsdl4j) . ln -sf $(build-classpath commons-discovery) . ln -sf $(build-classpath servlet25) servlet.jar ln -sf $(build-classpath javamail/mail) . ln -sf $(build-classpath xml-commons-resolver) . popd find src/tools/mx4j/tools/remote/soap -type f -delete find src/tools/mx4j/tools/remote/provider/soap -type f -delete find src/tools/mx4j/tools/remote/resolver/soap -type f -delete %build export OPT_JAR_LIST="ant/ant-junit junit xmlunit jaxp_transform_impl ant/ant-apache-resolver xml-commons-resolver xalan-j2-serializer" cd build ant -Dbuild.sysclasspath=first compile.jmx compile.rjmx compile.tools javadocs docs %install install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} install -m 644 dist/lib/%{name}-impl.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-impl.jar install -m 644 dist/lib/%{name}-jmx.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jmx.jar install -m 644 dist/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}.jar install -m 644 dist/lib/%{name}-tools.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-tools.jar install -m 644 dist/lib/%{name}-rjmx.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-rjmx.jar install -m 644 dist/lib/%{name}-rimpl.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-rimpl.jar install -m 644 dist/lib/%{name}-remote.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-remote.jar install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}/boa install -m 644 dist/lib/boa/%{name}-rjmx-boa.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/boa/%{name}-rjmx-boa.jar install -m 644 dist/lib/boa/%{name}-rimpl-boa.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/boa/%{name}-rimpl-boa.jar install -m 644 dist/lib/boa/%{name}-remote-boa.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/boa/%{name}-remote-boa.jar install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} install -pm 644 %{SOURCE3} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}.pom %add_maven_depmap JPP.%{name}-%{name}.pom %{name}/%{name}.jar install -pm 644 %{SOURCE4} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}-jmx.pom %add_maven_depmap JPP.%{name}-%{name}-jmx.pom %{name}/%{name}-jmx.jar install -pm 644 %{SOURCE6} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}-remote.pom %add_maven_depmap JPP.%{name}-%{name}-remote.pom %{name}/%{name}-remote.jar install -pm 644 %{SOURCE7} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}-tools.pom %add_maven_depmap JPP.%{name}-%{name}-tools.pom %{name}/%{name}-tools.jar install -pm 644 %{name}-impl-%{version}.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}-impl.pom %add_maven_depmap JPP.%{name}-%{name}-impl.pom %{name}/%{name}-impl.jar install -pm 644 %{name}-rimpl-%{version}.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}-rimpl.pom %add_maven_depmap JPP.%{name}-%{name}-rimpl.pom %{name}/%{name}-rimpl.jar install -pm 644 %{name}-rjmx-%{version}.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-%{name}-rjmx.pom %add_maven_depmap JPP.%{name}-%{name}-rjmx.pom %{name}/%{name}-rjmx.jar install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} dos2unix dist/docs/styles.css README.txt LICENSE.txt cp -r dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} %pre rm -f %{_javadir}/%{name}.jar %post %{_sbindir}/update-alternatives --install %{_javadir}/jmxri.jar jmxri %{_javadir}/%{name}/%{name}-jmx.jar 0 %postun if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove jmxri %{_javadir}/%{name}/%{name}-jmx.jar fi %files -f .mfiles %{_javadir}/%{name}/boa/ %doc LICENSE.txt %doc README.txt %files javadoc %{_javadocdir}/%{name} %files manual %doc dist/docs/* %changelog * Mon Aug 22 2022 wangkai <wangkai385@h-partners.com> - 1:3.0.1-4 - Rebuild for log4j 2.17.2 fix CVE-2021-44832 * Fri Dec 24 2021 yaoxin <yaoxin30@huawei.com> - 1:3.0.1-3 - This package depends on log4j.After the log4j vulnerability CVE-2021-45105 is fixed,the version needs to be rebuild. * Thu Dec 16 2021 wangkai <wangkai385@huawei.com> - 1:3.0.1-2 - This package depends on log4j.After the log4j vulnerability CVE-2021-44228 is fixed,the version needs to be rebuild. * Thu Jul 30 2020 shaoqiang kang <kangshaoqiang1@huawei.com> - 1:3.0.1-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2