Name: java-velocity Version: 2.3 Release: 1mamba Summary: Java-based template engine Group: Development/Libraries/Java Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://velocity.apache.org/ Source0: http://archive.apache.org/dist/velocity/engine/%{version}/velocity-engine-core-%{version}.jar Source1: http://archive.apache.org/dist/velocity/engine/%{version}/velocity-engine-scripting-%{version}.jar License: Apache Software License 2.0 ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: javapackages Requires: apache-log4j #Requires: apache-tomcat5-servletapi5 Requires: jakarta-bcel Requires: jakarta-commons-collections Requires: jakarta-commons-lang Requires: jakarta-commons-logging Requires: jakarta-oro Requires: java-dom #Requires: java-excalibur-avalon-logkit #Requires: werken-xpath %description Velocity is a Java-based template engine. It permits anyone to use the simple yet powerful template language to reference objects defined in Java code. %prep %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -D -m0755 %{SOURCE0} %{buildroot}%{_javadir}/velocity-engine-core-%{version}.jar install -D -m0755 %{SOURCE1} %{buildroot}%{_javadir}/velocity-engine-scripting-%{version}.jar ( cd %{buildroot}%{_javadir} for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"` done ) %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_javadir}/velocity-engine-core-%{version}.jar %{_javadir}/velocity-engine-core.jar %{_javadir}/velocity-engine-scripting-%{version}.jar %{_javadir}/velocity-engine-scripting.jar #%doc LICENSE %changelog * Tue Sep 20 2022 Silvan Calarco 2.3-1mamba - update to 2.3 * Tue Sep 20 2022 Silvan Calarco 1.7-1mamba - update to 1.7 * Sun Mar 27 2011 gil 1.4-5mamba - rebuilt with java-openjdk support * Wed Nov 10 2010 gil 1.4-4mamba - rebuilt devel * Mon Sep 14 2009 gil 1.4-3mamba - add maven 2 poms * Mon Mar 09 2009 gil 1.4-2mamba - added java-servletapi5 support * Sat Feb 28 2009 gil 1,4-1mamba - package created by autospec