2024-01-06 00:15:38 +01:00
|
|
|
%define javahome %{_jvmdir}/jdk
|
|
|
|
%define with_test 0
|
|
|
|
Name: java-xom
|
2024-01-06 00:15:39 +01:00
|
|
|
Version: 1.3.5
|
|
|
|
Release: 1mamba
|
2024-01-06 00:15:38 +01:00
|
|
|
Summary: XML Pull Parser
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.xom.nu/
|
|
|
|
Source0: http://www.cafeconleche.org/XOM/xom-%{version}.tar.gz
|
|
|
|
License: LGPL
|
2024-01-06 00:15:39 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
Requires: javapackages
|
2024-01-06 00:15:38 +01:00
|
|
|
Requires: xalan-j2
|
|
|
|
Requires: xerces-j2
|
2024-01-06 00:15:39 +01:00
|
|
|
#Requires: xml-commons-apis
|
2024-01-06 00:15:38 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
XOM is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with Java that strives for correctness, simplicity, and performance, in that order XOM is designed to be easy to learn and easy to use. It works very straight-forwardly, and has a very shallow learning curve. Assuming you're already familiar with XML you should be able to get up and running with XOM very quickly
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n XOM
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
2024-01-06 00:15:39 +01:00
|
|
|
install -m 644 xom-%{version}.jar \
|
2024-01-06 00:15:38 +01:00
|
|
|
%{buildroot}%{_javadir}/xom-%{version}.jar
|
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
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)
|
|
|
|
%{_javadir}/xom-%{version}.jar
|
|
|
|
%{_javadir}/xom.jar
|
2024-01-06 00:15:39 +01:00
|
|
|
%doc LICENSE.txt lgpl.txt
|
2024-01-06 00:15:38 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:15:39 +01:00
|
|
|
* Tue Aug 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.5-1mamba
|
|
|
|
- update to 1.3.5
|
|
|
|
|
2024-01-06 00:15:38 +01:00
|
|
|
* Thu Mar 24 2011 gil <puntogil@libero.it> 1.2.1-3mamba
|
|
|
|
- rebuilt with java-gcj-compat support
|
|
|
|
|
|
|
|
* Fri Nov 26 2010 gil <puntogil@libero.it> 1.2.1-2mamba
|
|
|
|
- rebuilt devel
|
|
|
|
|
|
|
|
* Sat Apr 18 2009 gil <puntogil@libero.it> 1.2.1-1mamba
|
|
|
|
- update to 1.2.1
|
|
|
|
|
|
|
|
* Wed Mar 11 2009 gil <puntogil@libero.it> 1.0-3mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sun Mar 08 2009 gil <puntogil@libero.it> 1.0-2mamba
|
|
|
|
- added java-dom4j java-tagsoup support
|
|
|
|
- added demo pakage
|
|
|
|
|
|
|
|
* Sun Mar 01 2009 gil <puntogil@libero.it> 1.0-1mamba
|
|
|
|
- package created by autospec
|