2024-01-06 00:08:28 +01:00
|
|
|
%define bootstrap 0
|
|
|
|
%define with_test 0
|
|
|
|
Name: java-mx4j
|
|
|
|
Version: 3.0.2
|
2024-01-06 00:08:29 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 00:08:28 +01:00
|
|
|
Summary: Open Source implementation of the Java(TM) Management Extensions (JMX)
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://mx4j.sourceforge.net/
|
2024-01-06 00:08:29 +01:00
|
|
|
Source0: https://sourceforge.net/projects/mx4j/files/MX4J%20Binary/%{version}/mx4j-%{version}.tar.gz
|
2024-01-06 00:08:28 +01:00
|
|
|
License: Apache Software License 2.0
|
2024-01-06 00:08:29 +01:00
|
|
|
## 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
|
2024-01-06 00:08:28 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
MX4J is an Open Source implementation of the Java Management Extensions technology, for both JSR 3 (JMX) and JSR 160 (JMX Remote API)
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n mx4j-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}/mx4j/boa
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/mx4j
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/mx4j-%{version}
|
|
|
|
|
2024-01-06 00:08:29 +01:00
|
|
|
install -m 644 lib/mx4j-impl.jar \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_javadir}/mx4j/mx4j-impl-%{version}.jar
|
2024-01-06 00:08:29 +01:00
|
|
|
install -m 644 lib/mx4j-jmx.jar \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_javadir}/mx4j/mx4j-jmx-%{version}.jar
|
2024-01-06 00:08:29 +01:00
|
|
|
install -m 644 lib/mx4j.jar \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_javadir}/mx4j/mx4j-%{version}.jar
|
|
|
|
%if ! %bootstrap
|
2024-01-06 00:08:29 +01:00
|
|
|
install -m 644 lib/mx4j-tools.jar \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_javadir}/mx4j/mx4j-tools-%{version}.jar
|
2024-01-06 00:08:29 +01:00
|
|
|
# install -m 644 lib/mx4j-tools-extra.jar \
|
|
|
|
# %{buildroot}%{_javadir}/mx4j/mx4j-tools-extra-%{version}.jar
|
|
|
|
install -m 644 lib/mx4j-soap.war \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_datadir}/mx4j-%{version}
|
|
|
|
%endif
|
2024-01-06 00:08:29 +01:00
|
|
|
install -m 644 lib/mx4j-rjmx.jar \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_javadir}/mx4j/mx4j-rjmx-%{version}.jar
|
2024-01-06 00:08:29 +01:00
|
|
|
install -m 644 lib/mx4j-rimpl.jar \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_javadir}/mx4j/mx4j-rimpl-%{version}.jar
|
2024-01-06 00:08:29 +01:00
|
|
|
install -m 644 lib/mx4j-remote.jar \
|
2024-01-06 00:08:28 +01:00
|
|
|
%{buildroot}%{_javadir}/mx4j/mx4j-remote-%{version}.jar
|
|
|
|
|
2024-01-06 00:08:29 +01:00
|
|
|
#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
|
2024-01-06 00:08:28 +01:00
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}/mx4j
|
|
|
|
for jar in *-%{version}.jar ; do
|
|
|
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 00:08:29 +01:00
|
|
|
#%{_javadir}/mx4j/boa/mx4j-remote-boa-%{version}.jar
|
|
|
|
#%{_javadir}/mx4j/boa/mx4j-rimpl-boa-%{version}.jar
|
|
|
|
#%{_javadir}/mx4j/boa/mx4j-rjmx-boa-%{version}.jar
|
2024-01-06 00:08:28 +01:00
|
|
|
%{_javadir}/mx4j/mx4j-%{version}.jar
|
|
|
|
%{_javadir}/mx4j/mx4j.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-impl-%{version}.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-impl.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-jmx-%{version}.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-jmx.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-remote-%{version}.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-remote.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-rimpl-%{version}.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-rimpl.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-rjmx-%{version}.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-rjmx.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-tools-%{version}.jar
|
|
|
|
%{_javadir}/mx4j/mx4j-tools.jar
|
2024-01-06 00:08:29 +01:00
|
|
|
#%{_javadir}/mx4j/mx4j-tools-extra-%{version}.jar
|
|
|
|
#%{_javadir}/mx4j/mx4j-tools-extra.jar
|
|
|
|
%{_datadir}/mx4j-%{version}/mx4j-soap.war
|
|
|
|
%doc LICENSE.txt
|
2024-01-06 00:08:28 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:08:29 +01:00
|
|
|
* Wed Aug 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-3mamba
|
|
|
|
- repackage from upstream binary archive
|
|
|
|
|
2024-01-06 00:08:28 +01:00
|
|
|
* Mon Nov 29 2010 gil <puntogil@libero.it> 3.0.2-2mamba
|
|
|
|
- rebuilt devel
|
|
|
|
|
|
|
|
* Mon Sep 07 2009 gil <puntogil@libero.it> 3.0.2-1mamba
|
|
|
|
- update to 3.0.2
|
|
|
|
|
|
|
|
* Mon Sep 07 2009 gil <puntogil@libero.it> 3.0.1-3mamba
|
|
|
|
- add maven2 poms
|
|
|
|
|
|
|
|
* Thu Mar 12 2009 gil <puntogil@libero.it> 3.0.1-2mamba
|
|
|
|
- add java-hessian support
|
|
|
|
|
|
|
|
* Thu Mar 12 2009 gil <puntogil@libero.it> 3.0.1-1mamba
|
|
|
|
- package created by autospec
|
|
|
|
- bootstrap
|