java-flute/java-flute.spec

55 lines
1.4 KiB
RPMSpec
Raw Normal View History

%define pkgver %(echo %version | cut -d. -f1-2)
%define javahome %{_jvmdir}/jdk
Name: java-flute
Version: 1.3.0
Release: 3mamba
Summary: Java CSS parser using SAC
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.w3.org/Style/CSS/SAC/
Source: https://www.w3.org/2002/06/flutejava-%{pkgver}.zip
License: W3C, LGPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: javapackages
Requires: java-sac
Requires: javapackages
%description
A Cascading Style Sheets parser using the Simple API for CSS, for Java.
%prep
%setup -q -n flute-%{pkgver}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir}
install -pm 644 flute.jar %{buildroot}%{_javadir}/flute-%{version}.jar
ln -sf flute-%{version}.jar %{buildroot}%{_javadir}/flute.jar
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_javadir}/flute-%{version}.jar
%{_javadir}/flute.jar
%doc COPYRIGHT.html
%changelog
* Thu Dec 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
- rebuilt using upstream jar
* 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