rebuilt with ant [release 1.3.0-4mamba;Fri Dec 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 00:03:42 +01:00
parent 1ba1dea2c8
commit 1284dfabeb

View File

@ -2,18 +2,20 @@
%define javahome %{_jvmdir}/jdk %define javahome %{_jvmdir}/jdk
Name: java-flute Name: java-flute
Version: 1.3.0 Version: 1.3.0
Release: 3mamba Release: 4mamba
Summary: Java CSS parser using SAC Summary: Java CSS parser using SAC
Group: Development/Libraries/Java Group: Development/Libraries/Java
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.w3.org/Style/CSS/SAC/ 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 License: W3C, LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: javapackages BuildRequires: javapackages
BuildRequires: apache-ant
BuildRequires: java-sac
Requires: java-sac Requires: java-sac
Requires: javapackages Requires: javapackages
@ -21,15 +23,19 @@ Requires: javapackages
A Cascading Style Sheets parser using the Simple API for CSS, for Java. A Cascading Style Sheets parser using the Simple API for CSS, for Java.
%prep %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 %build
ant jar javadoc
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir} 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 ln -sf flute-%{version}.jar %{buildroot}%{_javadir}/flute.jar
%clean %clean
@ -42,6 +48,9 @@ ln -sf flute-%{version}.jar %{buildroot}%{_javadir}/flute.jar
%doc COPYRIGHT.html %doc COPYRIGHT.html
%changelog %changelog
* Fri Dec 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-4mamba
- rebuilt with ant
* Thu Dec 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba * Thu Dec 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
- rebuilt using upstream jar - rebuilt using upstream jar