2024-01-06 00:03:42 +01:00
|
|
|
%define pkgver %(echo %version | cut -d. -f1-2)
|
2024-01-06 00:03:42 +01:00
|
|
|
%define javahome %{_jvmdir}/jdk
|
|
|
|
Name: java-flute
|
|
|
|
Version: 1.3.0
|
2024-01-06 00:03:42 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 00:03:42 +01:00
|
|
|
Summary: Java CSS parser using SAC
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:03:42 +01:00
|
|
|
URL: https://www.w3.org/Style/CSS/SAC/
|
|
|
|
Source: https://www.w3.org/2002/06/flutejava-%{pkgver}.zip
|
2024-01-06 00:03:42 +01:00
|
|
|
License: W3C, LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 00:03:42 +01:00
|
|
|
BuildRequires: javapackages
|
2024-01-06 00:03:42 +01:00
|
|
|
Requires: java-sac
|
2024-01-06 00:03:42 +01:00
|
|
|
Requires: javapackages
|
2024-01-06 00:03:42 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A Cascading Style Sheets parser using the Simple API for CSS, for Java.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:03:42 +01:00
|
|
|
%setup -q -n flute-%{pkgver}
|
2024-01-06 00:03:42 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
2024-01-06 00:03:42 +01:00
|
|
|
install -pm 644 flute.jar %{buildroot}%{_javadir}/flute-%{version}.jar
|
|
|
|
ln -sf flute-%{version}.jar %{buildroot}%{_javadir}/flute.jar
|
2024-01-06 00:03:42 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/flute-%{version}.jar
|
|
|
|
%{_javadir}/flute.jar
|
2024-01-06 00:03:42 +01:00
|
|
|
%doc COPYRIGHT.html
|
2024-01-06 00:03:42 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:03:42 +01:00
|
|
|
* Thu Dec 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
|
|
|
|
- rebuilt using upstream jar
|
|
|
|
|
2024-01-06 00:03:42 +01:00
|
|
|
* Sat Jan 22 2011 gil <puntogil@libero.it> 1.3.0-2mamba
|
|
|
|
- rebuilt devel
|
|
|
|
- add gcj sub package
|
|
|
|
- rebuilt with java-openjdk
|
|
|
|
|
|
|
|
* Wed Dec 09 2009 gil <puntogil@libero.it> 1.3.0-1mamba
|
|
|
|
- package created by autospec
|