%define javahome %{_jvmdir}/jdk Name: java-pentaho-libxml Version: 1.1.3 Release: 2mamba Summary: LibXML is a namespace aware SAX-Parser utility library Group: Development/Libraries/Java Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://sourceforge.net/projects/jfreereport/ Source0: http://sourceforge.net/projects/jfreereport/files/02.%20Libraries/%{version}-stable/libxml-%{version}.zip License: LGPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: javapackages Requires: javapackages Provides: java-jfree-libbase Obsoletes: java-jfree-libbase <= 1.1.3-1mamba Provides: java-jfree-libloader Obsoletes: java-jfree-libloader <= 1.1.3-1mamba Provides: java-jfree-libxml Obsoletes: java-jfree-libxml <= 1.1.3-1mamba Provides: java-jfree-libpixie Obsoletes: java-jfree-libpixie <= 1.1.3-1mamba %description LibXML is a namespace aware SAX-Parser utility library. It eases the pain of implementing non-trivial SAX input handlers. The original code of these classes had been written by Peter Becker for the JCommon library. LibXML replaces the JCommon-XML classes, which were not namespace aware. Due to JCommons frozen API, namespace awareness could not be added to the original code without creating a mess. %package javadoc Group: Documentation Summary: Javadoc for %{name} %description javadoc LibXML is a namespace aware SAX-Parser utility library. This package contains documentation for %{name}. %prep %setup -q -c %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_javadir} install -pm 644 libxml-%{version}.jar %{buildroot}%{_javadir}/libxml-%{version}.jar ln -sf libxml-%{version}.jar %{buildroot}%{_javadir}/libxml.jar for f in libbase libloader libpixie; do install -pm 644 lib/${f}-%{version}.jar %{buildroot}%{_javadir}/${f}-%{version}.jar ln -sf ${f}-%{version}.jar %{buildroot}%{_javadir}/${f}.jar done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_javadir}/libxml-%{version}.jar %{_javadir}/libxml.jar %{_javadir}/libbase-%{version}.jar %{_javadir}/libbase.jar %{_javadir}/libloader-%{version}.jar %{_javadir}/libloader.jar %{_javadir}/libpixie-%{version}.jar %{_javadir}/libpixie.jar %doc licence-LGPL.txt %changelog * Thu Dec 02 2021 Silvan Calarco 1.1.3-2mamba - restored * Sat Jan 22 2011 gil 1.1.3-1mamba - update to 1.1.3 * Wed Dec 09 2009 gil 1.0.0-2mamba - rebuilt * Wed Dec 09 2009 gil 1.0.0-1mamba - update to 1.0.0 * Tue Dec 08 2009 gil 0.9.6-1mamba - package created by autospec