Name: jhighlight Version: 1.0.1 Release: 1 Summary: An embeddable pure Java syntax highlighting library License: LGPLv2+ or CDDL URL: http://svn.rifers.org/jhighlight Source0: https://github.com/codelibs/jhighlight/archive/jhighlight-%{version}.tar.gz Patch0: servlet31.patch BuildArch: noarch BuildRequires: maven-local mvn(javax.servlet:servlet-api) BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) %description JHighlight is an embeddable pure Java syntax highlighting library that supports Java, Groovy, C++, HTML, XHTML, XML and LZX languages and outputs to XHTML. It also supports RIFE (http://rifers.org) templates tags and highlights them clearly so that you can easily identify the difference between your RIFE markup and the actual marked up source. %package javadoc Summary: Javadocs for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} %patch0 %mvn_alias : com.uwyn: %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.md %doc COPYING %doc LICENSE_LGPL.txt LICENSE_CDDL.txt %files javadoc -f .mfiles-javadoc %doc LICENSE_LGPL.txt LICENSE_CDDL.txt %doc COPYING %changelog * Wed Jul 29 2020 zhanghua - 1.0.1-1 - package init