Name: java-jfree-libfonts Version: 1.1.3 Release: 2mamba Summary: TrueType Font Layouting Group: Development/Libraries/Java Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://community.hitachivantara.com/home Source: https://sourceforge.net/projects/jfreereport/files/02.%20Libraries/%{version}-stable/libfonts-%{version}.zip Patch0: java-jfree-libfonts-1.1.3-build.patch Patch1: java-jfree-libfonts-1.1.3-java11.patch Patch2: java-jfree-libfonts-1.1.3-remove-antcontrib-support.patch Patch3: java-jfree-libfonts-1.1.3-remove-commons-logging.patch License: LGPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: javapackages BuildRequires: apache-ant BuildRequires: java-jfree-libbase BuildRequires: java-jfree-libloader Requires: java-jfree-libloader Requires: javapackages %description LibFonts is a library developed to support advanced layouting in JFreeReport. This library allows to read TrueType-Font files to extract layouting specific informations. %package javadoc Group: Documentation Summary: Javadoc for %{name} %description javadoc libFonts is a layouting support library used to read and manage fonts. This package contains documentation for %{name}. %prep %setup -q -c -n libfonts %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 {} \; rm -r source/org/pentaho/reporting/libraries/fonts/itext mkdir -p lib build-jar-repository -s -p lib libbase libloader %build ant jar javadoc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_javadir} install -pm 644 dist/libfonts-%{version}.jar %{buildroot}%{_javadir}/libfonts-%{version}.jar ( cd %{buildroot}%{_javadir} for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/} done ) mkdir -p %{buildroot}%{_javadocdir}/libfonts cp -pr bin/javadoc/docs/api/* %{buildroot}%{_javadocdir}/libfonts %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_javadir}/libfonts-%{version}.jar %{_javadir}/libfonts.jar %doc ChangeLog.txt licence-LGPL.txt README.txt %files javadoc %defattr(-,root,root) %{_javadocdir}/libfonts %changelog * Fri Dec 10 2021 Silvan Calarco 1.1.3-2mamba - rebuilt without gcj * 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 * Wed Dec 09 2009 gil 0.2.7-1mamba - package created by autospec