diff --git a/java-flute.spec b/java-flute.spec index 4b65315..4c08afa 100644 --- a/java-flute.spec +++ b/java-flute.spec @@ -2,18 +2,20 @@ %define javahome %{_jvmdir}/jdk Name: java-flute Version: 1.3.0 -Release: 3mamba +Release: 4mamba Summary: Java CSS parser using SAC Group: Development/Libraries/Java Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.w3.org/Style/CSS/SAC/ -Source: https://www.w3.org/2002/06/flutejava-%{pkgver}.zip +Source: https://sourceforge.net/projects/jfreereport/files/30.%20OpenOffice%20Branches/OOo31/flute-%{version}-OOo31.zip License: W3C, LGPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: javapackages +BuildRequires: apache-ant +BuildRequires: java-sac Requires: java-sac Requires: javapackages @@ -21,15 +23,19 @@ Requires: javapackages A Cascading Style Sheets parser using the Simple API for CSS, for Java. %prep -%setup -q -n flute-%{pkgver} +%setup -q -c +find . -name "*.jar" -exec rm -f {} \; +mkdir -p lib +build-jar-repository -s -p lib sac %build +ant jar javadoc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" mkdir -p %{buildroot}%{_javadir} -install -pm 644 flute.jar %{buildroot}%{_javadir}/flute-%{version}.jar +install -pm 644 build/lib/flute.jar %{buildroot}%{_javadir}/flute-%{version}.jar ln -sf flute-%{version}.jar %{buildroot}%{_javadir}/flute.jar %clean @@ -42,6 +48,9 @@ ln -sf flute-%{version}.jar %{buildroot}%{_javadir}/flute.jar %doc COPYRIGHT.html %changelog +* Fri Dec 10 2021 Silvan Calarco 1.3.0-4mamba +- rebuilt with ant + * Thu Dec 02 2021 Silvan Calarco 1.3.0-3mamba - rebuilt using upstream jar