Name: java-jfree-libloader Version: 1.1.3 Release: 2mamba Summary: LibLoader is a resource loading framework Group: Development/Libraries/Java Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://community.hitachivantara.com/home Source: http://downloads.sourceforge.net/project/jfreereport/02.%20Libraries/%{version}-stable/libloader-%{version}.zip Patch0: java-jfree-libloader-1.1.3-build.patch Patch1: java-jfree-libloader-1.1.3-java11.patch Patch2: java-jfree-libloader-1.1.3-remove-antcontrib-support.patch Patch3: java-jfree-libloader-1.1.3-remove-commons-logging.patch License: LGPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: javapackages BuildRequires: apache-ant BuildRequires: java-jfree-libbase Requires: java-jfree-libbase Requires: javapackages %description LibLoader is a general purpose resource loading framework. It has been designed to allow to load resources from any physical location and to allow the processing of that content data in a generic way, totally transparent to the user of that library. %package javadoc Group: Documentation Summary: Javadoc for %{name} %description javadoc LibLoader is a resource loading framework. This package contains documentation for %{name}. %prep %setup -q -c %patch0 -p1 -b .build %patch1 -p1 -b .java11 %patch2 -p1 -b .remove-antcontrib-support %patch3 -p1 -b .remove-commons-logging find . -name "*.jar" -exec rm -f {} \; mkdir -p lib build-jar-repository -s -p lib libbase cd lib ln -s /usr/share/java/ant ant-contrib %build ant jar javadoc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_javadir} install -pm 644 dist/libloader-%{version}.jar %{buildroot}%{_javadir}/libloader-%{version}.jar ( cd %{buildroot}%{_javadir} for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/} done ) mkdir -p %{buildroot}%{_javadocdir}/libloader cp -pr bin/javadoc/docs/api/* %{buildroot}%{_javadocdir}/libloader %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_javadir}/libloader-%{version}.jar %{_javadir}/libloader.jar %doc licence-LGPL.txt %files javadoc %defattr(-,root,root) %{_javadocdir}/libloader %changelog * Fri Dec 10 2021 Silvan Calarco 1.1.3-2mamba - rebuilt without gcj and with java 11 * Sat Jan 22 2011 gil 1.1.3-1mamba - update to 1.1.3 * Wed Dec 09 2009 gil 1.0.0-3mamba - rebuilt * 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.3.4-1mamba - package created by autospec