2024-01-05 19:45:30 +01:00
|
|
|
Name: xml-commons-apis
|
|
|
|
Version: 1.4.01
|
2024-02-03 17:00:54 +01:00
|
|
|
Release: 4mamba
|
2024-01-05 19:45:30 +01:00
|
|
|
Summary: APIs for DOM, SAX, and JAXP
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-02-03 17:00:54 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://xerces.apache.org/xml-commons/
|
|
|
|
Source0: https://dlcdn.apache.org//xerces/xml-commons/binaries/xml-commons-external-%{version}-bin.tar.gz
|
2024-01-05 19:45:30 +01:00
|
|
|
License: Apache License 2.0, W3C, Public Domain
|
2024-02-03 17:00:54 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
Requires: javapackages
|
2024-01-05 19:45:30 +01:00
|
|
|
|
|
|
|
%description
|
2024-02-03 17:00:54 +01:00
|
|
|
%{name} is designed to organize and have common packaging for the various externally-defined standard interfaces for XML. This includes the DOM, SAX, and JAXP.
|
2024-01-05 19:45:30 +01:00
|
|
|
|
|
|
|
%package manual
|
|
|
|
Summary: Manual for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
|
|
|
|
%description manual
|
2024-02-03 17:00:54 +01:00
|
|
|
%{name} is designed to organize and have common packaging for the various externally-defined standard interfaces for XML. This includes the DOM, SAX, and JAXP.
|
2024-01-05 19:45:30 +01:00
|
|
|
Manual for %{name}.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
|
|
|
|
%description javadoc
|
2024-02-03 17:00:54 +01:00
|
|
|
%{name} is designed to organize and have common packaging for the various externally-defined standard interfaces for XML. This includes the DOM, SAX, and JAXP.
|
2024-01-05 19:45:30 +01:00
|
|
|
Javadoc for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2024-02-03 17:00:54 +01:00
|
|
|
%setup -q -n xml-commons-external-%{version}
|
2024-01-05 19:45:30 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
2024-02-03 17:00:54 +01:00
|
|
|
install -pm 644 xml-apis.jar \
|
2024-01-05 19:45:30 +01:00
|
|
|
%{buildroot}%{_javadir}/%{name}-%{version}.jar
|
2024-02-03 17:00:54 +01:00
|
|
|
install -pm 644 xml-apis-ext.jar \
|
2024-01-05 19:45:30 +01:00
|
|
|
%{buildroot}%{_javadir}/%{name}-ext-%{version}.jar
|
|
|
|
|
|
|
|
(
|
|
|
|
pushd %{buildroot}%{_javadir}
|
|
|
|
for jar in %{name}-%{version}.jar; do
|
|
|
|
ln -sf ${jar} dom3-${jar}
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
pushd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}.jar; do
|
|
|
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
)
|
|
|
|
|
|
|
|
ln -sf %{name}.jar %{buildroot}%{_javadir}/jaxp13.jar
|
|
|
|
ln -sf %{name}.jar %{buildroot}%{_javadir}/jaxp.jar
|
|
|
|
ln -sf %{name}.jar %{buildroot}%{_javadir}/xml-commons-jaxp-1.3-apis.jar
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/xml-commons-apis-%{version}
|
2024-02-03 17:00:54 +01:00
|
|
|
cp -pr docs/javadoc/* %{buildroot}%{_javadocdir}/xml-commons-apis-%{version}
|
2024-01-05 19:45:30 +01:00
|
|
|
ln -s xml-commons-apis-%{version} %{buildroot}%{_javadocdir}/xml-commons-apis
|
|
|
|
rm -rf docs/javadoc
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/dom3-xml-commons-apis-%{version}.jar
|
|
|
|
%{_javadir}/dom3-xml-commons-apis.jar
|
|
|
|
%{_javadir}/jaxp.jar
|
|
|
|
%{_javadir}/jaxp13.jar
|
|
|
|
%{_javadir}/xml-commons-apis-%{version}.jar
|
|
|
|
%{_javadir}/xml-commons-apis-ext-%{version}.jar
|
|
|
|
%{_javadir}/xml-commons-apis-ext.jar
|
|
|
|
%{_javadir}/xml-commons-apis.jar
|
|
|
|
%{_javadir}/xml-commons-jaxp-1.3-apis.jar
|
|
|
|
%doc LICENSE* NOTICE README*
|
|
|
|
|
|
|
|
%files manual
|
|
|
|
%defattr(-,root,root)
|
2024-02-03 17:00:54 +01:00
|
|
|
%doc docs/*
|
2024-01-05 19:45:30 +01:00
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadocdir}/*
|
|
|
|
|
|
|
|
%changelog
|
2024-02-03 17:00:54 +01:00
|
|
|
* Sat Feb 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.01-4mamba
|
|
|
|
- rebuilt from binary distribution
|
|
|
|
|
2024-01-05 19:45:30 +01:00
|
|
|
* Wed Mar 23 2011 gil <puntogil@libero.it> 1.4.01-3mamba
|
|
|
|
- rebuilt with java-openjdk support
|
|
|
|
|
|
|
|
* Wed Dec 22 2010 gil <puntogil@libero.it> 1.4.01-2mamba
|
|
|
|
- add OSGi manifest (eclipe,)
|
|
|
|
|
|
|
|
* Tue Aug 24 2010 gil <puntogil@libero.it> 1.4.01-1mamba
|
|
|
|
- update to 1.4.01
|
|
|
|
|
|
|
|
* Sun Jan 10 2010 gil <puntogil@libero.it> 1.3.04-2mamba
|
|
|
|
- added new sub package repolib
|
|
|
|
|
|
|
|
* Thu Feb 26 2009 gil <puntogil@libero.it> 1.3.04-1mamba
|
|
|
|
- rebuilt for compatibility with previous releases
|
|
|
|
|
|
|
|
* Mon Dec 22 2008 gil <puntogil@libero.it> 1.3.04svn-1mamba
|
|
|
|
- package created by autospec
|