85 lines
2.5 KiB
RPMSpec
85 lines
2.5 KiB
RPMSpec
Name: apache-batik
|
|
Version: 1.16
|
|
Release: 1mamba
|
|
Summary: Scalable Vector Graphics for Java
|
|
Group: Applications/Graphics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://xmlgraphics.apache.org/batik/
|
|
Source0: https://www.apache.org/dist/xmlgraphics/batik/source/batik-src-%{version}.tar.gz
|
|
License: Apache Software License 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: java-openjdk8
|
|
BuildRequires: javapackages
|
|
BuildRequires: apache-ant
|
|
BuildRequires: xalan-j2
|
|
BuildRequires: xerces-j2
|
|
Requires: java-rhino
|
|
Requires: xalan-j2
|
|
Requires: xml-commons-apis
|
|
|
|
%description
|
|
Batik is a Java(tm) technology based toolkit for applications that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation.
|
|
|
|
%prep
|
|
%setup -q -n batik-%{version}
|
|
|
|
%build
|
|
export JAVA_HOME=%{_jvmdir}/java-8
|
|
ant all-jar
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -D -m0644 batik-%{version}/lib/batik-all-%{version}.jar %{buildroot}%{_javadir}/batik/batik-all-%{version}.jar
|
|
ln -s batik-all-%{version}.jar %{buildroot}%{_javadir}/batik/batik-all.jar
|
|
|
|
cp --no-preserve=ownership lib/*.jar %{buildroot}%{_datadir}/java/batik/
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_javadir}/batik
|
|
%{_javadir}/batik/*.jar
|
|
|
|
%changelog
|
|
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
|
|
- update to 1.14
|
|
|
|
* Tue Nov 09 2010 gil <puntogil@libero.it> 1.7-10mamba
|
|
- rebuilt devel
|
|
|
|
* Mon May 31 2010 gil <puntogil@libero.it> 1.7-9mamba
|
|
- add apache-fop(transcoder) support
|
|
|
|
* Mon May 31 2010 gil <puntogil@libero.it> 1.7-8mamba
|
|
- rebuilt
|
|
|
|
* Mon May 31 2010 gil <puntogil@libero.it> 1.7-7mamba
|
|
- rebuilt with sun-java 6u20 support
|
|
|
|
* Mon May 31 2010 gil <puntogil@libero.it> 1.7-6mamba
|
|
- rebuilt with jython support
|
|
|
|
* Fri Nov 20 2009 gil <puntogil@libero.it> 1.7-5mamba
|
|
- added apache-fop java-xml-stylebook support
|
|
|
|
* Mon Jun 08 2009 gil <puntogil@libero.it> 1.7-4mamba
|
|
- added sub package rasterizertask
|
|
|
|
* Mon Jun 08 2009 gil <puntogil@libero.it> 1.7-3mamba
|
|
- rebuilt added OSGi manifest
|
|
|
|
* Mon Jun 08 2009 gil <puntogil@libero.it> 1.7-2mamba
|
|
- rebuilt
|
|
|
|
* Wed Mar 04 2009 gil <puntogil@libero.it> 1.7-1mamba
|
|
- package created by autospec
|